From 8871ba8a2c0f3b8adc57d1bb96d7940bf88eaab1 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Thu, 2 Mar 2023 07:28:06 +0000 Subject: [PATCH] Generated 2019-05-10 for ltl. --- VERSION | 2 +- ltl/CMakeLists.txt | 274 +++ ltl/include/alibabacloud/ltl/LtlClient.h | 430 ++++ ltl/include/alibabacloud/ltl/LtlExport.h | 32 + .../model/ApplyDataModelConfigInfoRequest.h | 51 + .../model/ApplyDataModelConfigInfoResult.h | 57 + .../ltl/model/AttachDataRequest.h | 54 + .../alibabacloud/ltl/model/AttachDataResult.h | 57 + .../model/AttachDataWithSignatureRequest.h | 72 + .../ltl/model/AttachDataWithSignatureResult.h | 57 + .../ltl/model/AuthorizeDeviceGroupRequest.h | 48 + .../ltl/model/AuthorizeDeviceGroupResult.h | 57 + .../ltl/model/AuthorizeDeviceRequest.h | 51 + .../ltl/model/AuthorizeDeviceResult.h | 57 + ...ploadMPCoSPhaseDigestInfoByDeviceRequest.h | 72 + ...UploadMPCoSPhaseDigestInfoByDeviceResult.h | 57 + .../BatchUploadMPCoSPhaseDigestInfoRequest.h | 54 + .../BatchUploadMPCoSPhaseDigestInfoResult.h | 57 + ...hUploadMPCoSPhaseTextInfoByDeviceRequest.h | 72 + ...chUploadMPCoSPhaseTextInfoByDeviceResult.h | 57 + .../BatchUploadMPCoSPhaseTextInfoRequest.h | 54 + .../BatchUploadMPCoSPhaseTextInfoResult.h | 57 + .../ltl/model/CreateMPCoSPhaseGroupRequest.h | 51 + .../ltl/model/CreateMPCoSPhaseGroupResult.h | 57 + .../ltl/model/CreateMPCoSPhaseRequest.h | 54 + .../ltl/model/CreateMPCoSPhaseResult.h | 57 + .../ltl/model/CreateMemberRequest.h | 60 + .../ltl/model/CreateMemberResult.h | 57 + .../ltl/model/DescribeCapacityInfoRequest.h | 45 + .../ltl/model/DescribeCapacityInfoResult.h | 66 + .../DescribeMPCoSAuthorizedInfoRequest.h | 51 + .../model/DescribeMPCoSAuthorizedInfoResult.h | 72 + .../ltl/model/DescribeMPCoSPhaseInfoRequest.h | 57 + .../ltl/model/DescribeMPCoSPhaseInfoResult.h | 78 + .../model/DescribeMPCoSResourceInfoRequest.h | 45 + .../model/DescribeMPCoSResourceInfoResult.h | 72 + .../model/DescribeMemberCapacityInfoRequest.h | 45 + .../model/DescribeMemberCapacityInfoResult.h | 65 + .../ltl/model/DescribeResourceInfoRequest.h | 45 + .../ltl/model/DescribeResourceInfoResult.h | 65 + .../ltl/model/GetBlockChainInfoRequest.h | 51 + .../ltl/model/GetBlockChainInfoResult.h | 57 + .../ltl/model/GetDataModelConfigInfoRequest.h | 48 + .../ltl/model/GetDataModelConfigInfoResult.h | 57 + .../alibabacloud/ltl/model/GetDataRequest.h | 51 + .../alibabacloud/ltl/model/GetDataResult.h | 57 + .../ltl/model/GetHistoryDataCountRequest.h | 54 + .../ltl/model/GetHistoryDataCountResult.h | 57 + .../ltl/model/GetHistoryDataListRequest.h | 60 + .../ltl/model/GetHistoryDataListResult.h | 57 + .../model/ListDependentDataModelsRequest.h | 45 + .../ltl/model/ListDependentDataModelsResult.h | 62 + .../ltl/model/ListDeviceGroupRequest.h | 54 + .../ltl/model/ListDeviceGroupResult.h | 74 + .../ltl/model/ListDeviceRequest.h | 57 + .../alibabacloud/ltl/model/ListDeviceResult.h | 71 + .../ltl/model/ListMPCoSPhaseGroupRequest.h | 54 + .../ltl/model/ListMPCoSPhaseGroupResult.h | 70 + .../ltl/model/ListMPCoSPhaseHistoryRequest.h | 66 + .../ltl/model/ListMPCoSPhaseHistoryResult.h | 77 + .../ltl/model/ListMPCoSPhaseRequest.h | 57 + .../ltl/model/ListMPCoSPhaseResult.h | 71 + .../ltl/model/ListMemberRequest.h | 54 + .../alibabacloud/ltl/model/ListMemberResult.h | 74 + .../ListMultiPartyCollaborationChainRequest.h | 51 + .../ListMultiPartyCollaborationChainResult.h | 71 + .../model/ListPSMemberDataTypeCodeRequest.h | 54 + .../model/ListPSMemberDataTypeCodeResult.h | 71 + .../ltl/model/ListProofChainRequest.h | 51 + .../ltl/model/ListProofChainResult.h | 73 + .../ltl/model/LockMemberRequest.h | 48 + .../alibabacloud/ltl/model/LockMemberResult.h | 57 + .../ltl/model/ModifyMPCoSPhaseGroupRequest.h | 54 + .../ltl/model/ModifyMPCoSPhaseGroupResult.h | 57 + .../ltl/model/ModifyMPCoSPhaseRequest.h | 54 + .../ltl/model/ModifyMPCoSPhaseResult.h | 57 + .../ltl/model/ModifyMemberRequest.h | 63 + .../ltl/model/ModifyMemberResult.h | 57 + .../ltl/model/RegisterDeviceGroupRequest.h | 57 + .../ltl/model/RegisterDeviceGroupResult.h | 57 + .../alibabacloud/ltl/model/SetDataRequest.h | 51 + .../alibabacloud/ltl/model/SetDataResult.h | 57 + .../ltl/model/SetDataWithSignatureRequest.h | 69 + .../ltl/model/SetDataWithSignatureResult.h | 57 + .../ltl/model/UnAuthorizeDeviceGroupRequest.h | 48 + .../ltl/model/UnAuthorizeDeviceGroupResult.h | 57 + .../ltl/model/UnAuthorizeDeviceRequest.h | 51 + .../ltl/model/UnAuthorizeDeviceResult.h | 57 + .../ltl/model/UnLockMemberRequest.h | 48 + .../ltl/model/UnLockMemberResult.h | 57 + .../model/UpdateMPCoSAuthorizedInfoRequest.h | 54 + .../model/UpdateMPCoSAuthorizedInfoResult.h | 57 + ...ploadMPCoSPhaseDigestInfoByDeviceRequest.h | 81 + ...UploadMPCoSPhaseDigestInfoByDeviceResult.h | 57 + .../model/UploadMPCoSPhaseDigestInfoRequest.h | 63 + .../model/UploadMPCoSPhaseDigestInfoResult.h | 57 + .../UploadMPCoSPhaseTextInfoByDeviceRequest.h | 81 + .../UploadMPCoSPhaseTextInfoByDeviceResult.h | 57 + .../model/UploadMPCoSPhaseTextInfoRequest.h | 63 + .../model/UploadMPCoSPhaseTextInfoResult.h | 57 + ltl/src/LtlClient.cc | 1781 +++++++++++++++++ .../model/ApplyDataModelConfigInfoRequest.cc | 63 + .../model/ApplyDataModelConfigInfoResult.cc | 72 + ltl/src/model/AttachDataRequest.cc | 72 + ltl/src/model/AttachDataResult.cc | 72 + .../model/AttachDataWithSignatureRequest.cc | 126 ++ .../model/AttachDataWithSignatureResult.cc | 72 + ltl/src/model/AuthorizeDeviceGroupRequest.cc | 54 + ltl/src/model/AuthorizeDeviceGroupResult.cc | 72 + ltl/src/model/AuthorizeDeviceRequest.cc | 63 + ltl/src/model/AuthorizeDeviceResult.cc | 72 + ...loadMPCoSPhaseDigestInfoByDeviceRequest.cc | 126 ++ ...ploadMPCoSPhaseDigestInfoByDeviceResult.cc | 72 + .../BatchUploadMPCoSPhaseDigestInfoRequest.cc | 72 + .../BatchUploadMPCoSPhaseDigestInfoResult.cc | 72 + ...UploadMPCoSPhaseTextInfoByDeviceRequest.cc | 126 ++ ...hUploadMPCoSPhaseTextInfoByDeviceResult.cc | 72 + .../BatchUploadMPCoSPhaseTextInfoRequest.cc | 72 + .../BatchUploadMPCoSPhaseTextInfoResult.cc | 72 + ltl/src/model/CreateMPCoSPhaseGroupRequest.cc | 63 + ltl/src/model/CreateMPCoSPhaseGroupResult.cc | 72 + ltl/src/model/CreateMPCoSPhaseRequest.cc | 72 + ltl/src/model/CreateMPCoSPhaseResult.cc | 72 + ltl/src/model/CreateMemberRequest.cc | 90 + ltl/src/model/CreateMemberResult.cc | 72 + ltl/src/model/DescribeCapacityInfoRequest.cc | 45 + ltl/src/model/DescribeCapacityInfoResult.cc | 83 + .../DescribeMPCoSAuthorizedInfoRequest.cc | 63 + .../DescribeMPCoSAuthorizedInfoResult.cc | 91 + .../model/DescribeMPCoSPhaseInfoRequest.cc | 81 + ltl/src/model/DescribeMPCoSPhaseInfoResult.cc | 105 + .../model/DescribeMPCoSResourceInfoRequest.cc | 45 + .../model/DescribeMPCoSResourceInfoResult.cc | 93 + .../DescribeMemberCapacityInfoRequest.cc | 45 + .../model/DescribeMemberCapacityInfoResult.cc | 86 + ltl/src/model/DescribeResourceInfoRequest.cc | 45 + ltl/src/model/DescribeResourceInfoResult.cc | 81 + ltl/src/model/GetBlockChainInfoRequest.cc | 63 + ltl/src/model/GetBlockChainInfoResult.cc | 72 + .../model/GetDataModelConfigInfoRequest.cc | 54 + ltl/src/model/GetDataModelConfigInfoResult.cc | 72 + ltl/src/model/GetDataRequest.cc | 63 + ltl/src/model/GetDataResult.cc | 72 + ltl/src/model/GetHistoryDataCountRequest.cc | 72 + ltl/src/model/GetHistoryDataCountResult.cc | 72 + ltl/src/model/GetHistoryDataListRequest.cc | 90 + ltl/src/model/GetHistoryDataListResult.cc | 73 + .../model/ListDependentDataModelsRequest.cc | 45 + .../model/ListDependentDataModelsResult.cc | 80 + ltl/src/model/ListDeviceGroupRequest.cc | 72 + ltl/src/model/ListDeviceGroupResult.cc | 97 + ltl/src/model/ListDeviceRequest.cc | 81 + ltl/src/model/ListDeviceResult.cc | 91 + ltl/src/model/ListMPCoSPhaseGroupRequest.cc | 72 + ltl/src/model/ListMPCoSPhaseGroupResult.cc | 89 + ltl/src/model/ListMPCoSPhaseHistoryRequest.cc | 108 + ltl/src/model/ListMPCoSPhaseHistoryResult.cc | 103 + ltl/src/model/ListMPCoSPhaseRequest.cc | 81 + ltl/src/model/ListMPCoSPhaseResult.cc | 91 + ltl/src/model/ListMemberRequest.cc | 72 + ltl/src/model/ListMemberResult.cc | 97 + ...ListMultiPartyCollaborationChainRequest.cc | 63 + .../ListMultiPartyCollaborationChainResult.cc | 91 + .../model/ListPSMemberDataTypeCodeRequest.cc | 72 + .../model/ListPSMemberDataTypeCodeResult.cc | 91 + ltl/src/model/ListProofChainRequest.cc | 63 + ltl/src/model/ListProofChainResult.cc | 95 + ltl/src/model/LockMemberRequest.cc | 54 + ltl/src/model/LockMemberResult.cc | 72 + ltl/src/model/ModifyMPCoSPhaseGroupRequest.cc | 72 + ltl/src/model/ModifyMPCoSPhaseGroupResult.cc | 72 + ltl/src/model/ModifyMPCoSPhaseRequest.cc | 72 + ltl/src/model/ModifyMPCoSPhaseResult.cc | 72 + ltl/src/model/ModifyMemberRequest.cc | 99 + ltl/src/model/ModifyMemberResult.cc | 72 + ltl/src/model/RegisterDeviceGroupRequest.cc | 81 + ltl/src/model/RegisterDeviceGroupResult.cc | 72 + ltl/src/model/SetDataRequest.cc | 63 + ltl/src/model/SetDataResult.cc | 72 + ltl/src/model/SetDataWithSignatureRequest.cc | 117 ++ ltl/src/model/SetDataWithSignatureResult.cc | 72 + .../model/UnAuthorizeDeviceGroupRequest.cc | 54 + ltl/src/model/UnAuthorizeDeviceGroupResult.cc | 72 + ltl/src/model/UnAuthorizeDeviceRequest.cc | 63 + ltl/src/model/UnAuthorizeDeviceResult.cc | 72 + ltl/src/model/UnLockMemberRequest.cc | 54 + ltl/src/model/UnLockMemberResult.cc | 72 + .../model/UpdateMPCoSAuthorizedInfoRequest.cc | 72 + .../model/UpdateMPCoSAuthorizedInfoResult.cc | 72 + ...loadMPCoSPhaseDigestInfoByDeviceRequest.cc | 153 ++ ...ploadMPCoSPhaseDigestInfoByDeviceResult.cc | 72 + .../UploadMPCoSPhaseDigestInfoRequest.cc | 99 + .../model/UploadMPCoSPhaseDigestInfoResult.cc | 72 + ...UploadMPCoSPhaseTextInfoByDeviceRequest.cc | 153 ++ .../UploadMPCoSPhaseTextInfoByDeviceResult.cc | 72 + .../model/UploadMPCoSPhaseTextInfoRequest.cc | 99 + .../model/UploadMPCoSPhaseTextInfoResult.cc | 72 + 197 files changed, 15615 insertions(+), 1 deletion(-) create mode 100644 ltl/CMakeLists.txt create mode 100644 ltl/include/alibabacloud/ltl/LtlClient.h create mode 100644 ltl/include/alibabacloud/ltl/LtlExport.h create mode 100644 ltl/include/alibabacloud/ltl/model/ApplyDataModelConfigInfoRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/ApplyDataModelConfigInfoResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/AttachDataRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/AttachDataResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/AttachDataWithSignatureRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/AttachDataWithSignatureResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/AuthorizeDeviceGroupRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/AuthorizeDeviceGroupResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/AuthorizeDeviceRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/AuthorizeDeviceResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseDigestInfoByDeviceRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseDigestInfoByDeviceResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseDigestInfoRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseDigestInfoResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseTextInfoByDeviceRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseTextInfoByDeviceResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseTextInfoRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseTextInfoResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/CreateMPCoSPhaseGroupRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/CreateMPCoSPhaseGroupResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/CreateMPCoSPhaseRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/CreateMPCoSPhaseResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/CreateMemberRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/CreateMemberResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/DescribeCapacityInfoRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/DescribeCapacityInfoResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/DescribeMPCoSAuthorizedInfoRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/DescribeMPCoSAuthorizedInfoResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/DescribeMPCoSPhaseInfoRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/DescribeMPCoSPhaseInfoResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/DescribeMPCoSResourceInfoRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/DescribeMPCoSResourceInfoResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/DescribeMemberCapacityInfoRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/DescribeMemberCapacityInfoResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/DescribeResourceInfoRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/DescribeResourceInfoResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/GetBlockChainInfoRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/GetBlockChainInfoResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/GetDataModelConfigInfoRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/GetDataModelConfigInfoResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/GetDataRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/GetDataResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/GetHistoryDataCountRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/GetHistoryDataCountResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/GetHistoryDataListRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/GetHistoryDataListResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/ListDependentDataModelsRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/ListDependentDataModelsResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/ListDeviceGroupRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/ListDeviceGroupResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/ListDeviceRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/ListDeviceResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/ListMPCoSPhaseGroupRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/ListMPCoSPhaseGroupResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/ListMPCoSPhaseHistoryRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/ListMPCoSPhaseHistoryResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/ListMPCoSPhaseRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/ListMPCoSPhaseResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/ListMemberRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/ListMemberResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/ListMultiPartyCollaborationChainRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/ListMultiPartyCollaborationChainResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/ListPSMemberDataTypeCodeRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/ListPSMemberDataTypeCodeResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/ListProofChainRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/ListProofChainResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/LockMemberRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/LockMemberResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/ModifyMPCoSPhaseGroupRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/ModifyMPCoSPhaseGroupResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/ModifyMPCoSPhaseRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/ModifyMPCoSPhaseResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/ModifyMemberRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/ModifyMemberResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/RegisterDeviceGroupRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/RegisterDeviceGroupResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/SetDataRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/SetDataResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/SetDataWithSignatureRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/SetDataWithSignatureResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/UnAuthorizeDeviceGroupRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/UnAuthorizeDeviceGroupResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/UnAuthorizeDeviceRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/UnAuthorizeDeviceResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/UnLockMemberRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/UnLockMemberResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/UpdateMPCoSAuthorizedInfoRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/UpdateMPCoSAuthorizedInfoResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseDigestInfoByDeviceRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseDigestInfoByDeviceResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseDigestInfoRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseDigestInfoResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseTextInfoByDeviceRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseTextInfoByDeviceResult.h create mode 100644 ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseTextInfoRequest.h create mode 100644 ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseTextInfoResult.h create mode 100644 ltl/src/LtlClient.cc create mode 100644 ltl/src/model/ApplyDataModelConfigInfoRequest.cc create mode 100644 ltl/src/model/ApplyDataModelConfigInfoResult.cc create mode 100644 ltl/src/model/AttachDataRequest.cc create mode 100644 ltl/src/model/AttachDataResult.cc create mode 100644 ltl/src/model/AttachDataWithSignatureRequest.cc create mode 100644 ltl/src/model/AttachDataWithSignatureResult.cc create mode 100644 ltl/src/model/AuthorizeDeviceGroupRequest.cc create mode 100644 ltl/src/model/AuthorizeDeviceGroupResult.cc create mode 100644 ltl/src/model/AuthorizeDeviceRequest.cc create mode 100644 ltl/src/model/AuthorizeDeviceResult.cc create mode 100644 ltl/src/model/BatchUploadMPCoSPhaseDigestInfoByDeviceRequest.cc create mode 100644 ltl/src/model/BatchUploadMPCoSPhaseDigestInfoByDeviceResult.cc create mode 100644 ltl/src/model/BatchUploadMPCoSPhaseDigestInfoRequest.cc create mode 100644 ltl/src/model/BatchUploadMPCoSPhaseDigestInfoResult.cc create mode 100644 ltl/src/model/BatchUploadMPCoSPhaseTextInfoByDeviceRequest.cc create mode 100644 ltl/src/model/BatchUploadMPCoSPhaseTextInfoByDeviceResult.cc create mode 100644 ltl/src/model/BatchUploadMPCoSPhaseTextInfoRequest.cc create mode 100644 ltl/src/model/BatchUploadMPCoSPhaseTextInfoResult.cc create mode 100644 ltl/src/model/CreateMPCoSPhaseGroupRequest.cc create mode 100644 ltl/src/model/CreateMPCoSPhaseGroupResult.cc create mode 100644 ltl/src/model/CreateMPCoSPhaseRequest.cc create mode 100644 ltl/src/model/CreateMPCoSPhaseResult.cc create mode 100644 ltl/src/model/CreateMemberRequest.cc create mode 100644 ltl/src/model/CreateMemberResult.cc create mode 100644 ltl/src/model/DescribeCapacityInfoRequest.cc create mode 100644 ltl/src/model/DescribeCapacityInfoResult.cc create mode 100644 ltl/src/model/DescribeMPCoSAuthorizedInfoRequest.cc create mode 100644 ltl/src/model/DescribeMPCoSAuthorizedInfoResult.cc create mode 100644 ltl/src/model/DescribeMPCoSPhaseInfoRequest.cc create mode 100644 ltl/src/model/DescribeMPCoSPhaseInfoResult.cc create mode 100644 ltl/src/model/DescribeMPCoSResourceInfoRequest.cc create mode 100644 ltl/src/model/DescribeMPCoSResourceInfoResult.cc create mode 100644 ltl/src/model/DescribeMemberCapacityInfoRequest.cc create mode 100644 ltl/src/model/DescribeMemberCapacityInfoResult.cc create mode 100644 ltl/src/model/DescribeResourceInfoRequest.cc create mode 100644 ltl/src/model/DescribeResourceInfoResult.cc create mode 100644 ltl/src/model/GetBlockChainInfoRequest.cc create mode 100644 ltl/src/model/GetBlockChainInfoResult.cc create mode 100644 ltl/src/model/GetDataModelConfigInfoRequest.cc create mode 100644 ltl/src/model/GetDataModelConfigInfoResult.cc create mode 100644 ltl/src/model/GetDataRequest.cc create mode 100644 ltl/src/model/GetDataResult.cc create mode 100644 ltl/src/model/GetHistoryDataCountRequest.cc create mode 100644 ltl/src/model/GetHistoryDataCountResult.cc create mode 100644 ltl/src/model/GetHistoryDataListRequest.cc create mode 100644 ltl/src/model/GetHistoryDataListResult.cc create mode 100644 ltl/src/model/ListDependentDataModelsRequest.cc create mode 100644 ltl/src/model/ListDependentDataModelsResult.cc create mode 100644 ltl/src/model/ListDeviceGroupRequest.cc create mode 100644 ltl/src/model/ListDeviceGroupResult.cc create mode 100644 ltl/src/model/ListDeviceRequest.cc create mode 100644 ltl/src/model/ListDeviceResult.cc create mode 100644 ltl/src/model/ListMPCoSPhaseGroupRequest.cc create mode 100644 ltl/src/model/ListMPCoSPhaseGroupResult.cc create mode 100644 ltl/src/model/ListMPCoSPhaseHistoryRequest.cc create mode 100644 ltl/src/model/ListMPCoSPhaseHistoryResult.cc create mode 100644 ltl/src/model/ListMPCoSPhaseRequest.cc create mode 100644 ltl/src/model/ListMPCoSPhaseResult.cc create mode 100644 ltl/src/model/ListMemberRequest.cc create mode 100644 ltl/src/model/ListMemberResult.cc create mode 100644 ltl/src/model/ListMultiPartyCollaborationChainRequest.cc create mode 100644 ltl/src/model/ListMultiPartyCollaborationChainResult.cc create mode 100644 ltl/src/model/ListPSMemberDataTypeCodeRequest.cc create mode 100644 ltl/src/model/ListPSMemberDataTypeCodeResult.cc create mode 100644 ltl/src/model/ListProofChainRequest.cc create mode 100644 ltl/src/model/ListProofChainResult.cc create mode 100644 ltl/src/model/LockMemberRequest.cc create mode 100644 ltl/src/model/LockMemberResult.cc create mode 100644 ltl/src/model/ModifyMPCoSPhaseGroupRequest.cc create mode 100644 ltl/src/model/ModifyMPCoSPhaseGroupResult.cc create mode 100644 ltl/src/model/ModifyMPCoSPhaseRequest.cc create mode 100644 ltl/src/model/ModifyMPCoSPhaseResult.cc create mode 100644 ltl/src/model/ModifyMemberRequest.cc create mode 100644 ltl/src/model/ModifyMemberResult.cc create mode 100644 ltl/src/model/RegisterDeviceGroupRequest.cc create mode 100644 ltl/src/model/RegisterDeviceGroupResult.cc create mode 100644 ltl/src/model/SetDataRequest.cc create mode 100644 ltl/src/model/SetDataResult.cc create mode 100644 ltl/src/model/SetDataWithSignatureRequest.cc create mode 100644 ltl/src/model/SetDataWithSignatureResult.cc create mode 100644 ltl/src/model/UnAuthorizeDeviceGroupRequest.cc create mode 100644 ltl/src/model/UnAuthorizeDeviceGroupResult.cc create mode 100644 ltl/src/model/UnAuthorizeDeviceRequest.cc create mode 100644 ltl/src/model/UnAuthorizeDeviceResult.cc create mode 100644 ltl/src/model/UnLockMemberRequest.cc create mode 100644 ltl/src/model/UnLockMemberResult.cc create mode 100644 ltl/src/model/UpdateMPCoSAuthorizedInfoRequest.cc create mode 100644 ltl/src/model/UpdateMPCoSAuthorizedInfoResult.cc create mode 100644 ltl/src/model/UploadMPCoSPhaseDigestInfoByDeviceRequest.cc create mode 100644 ltl/src/model/UploadMPCoSPhaseDigestInfoByDeviceResult.cc create mode 100644 ltl/src/model/UploadMPCoSPhaseDigestInfoRequest.cc create mode 100644 ltl/src/model/UploadMPCoSPhaseDigestInfoResult.cc create mode 100644 ltl/src/model/UploadMPCoSPhaseTextInfoByDeviceRequest.cc create mode 100644 ltl/src/model/UploadMPCoSPhaseTextInfoByDeviceResult.cc create mode 100644 ltl/src/model/UploadMPCoSPhaseTextInfoRequest.cc create mode 100644 ltl/src/model/UploadMPCoSPhaseTextInfoResult.cc diff --git a/VERSION b/VERSION index dceecf93d..eaee6faeb 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1477 \ No newline at end of file +1.36.1478 \ No newline at end of file diff --git a/ltl/CMakeLists.txt b/ltl/CMakeLists.txt new file mode 100644 index 000000000..85152c124 --- /dev/null +++ b/ltl/CMakeLists.txt @@ -0,0 +1,274 @@ +# +# 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. +# + +set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include) + +set(ltl_public_header + include/alibabacloud/ltl/LtlClient.h + include/alibabacloud/ltl/LtlExport.h ) + +set(ltl_public_header_model + include/alibabacloud/ltl/model/ApplyDataModelConfigInfoRequest.h + include/alibabacloud/ltl/model/ApplyDataModelConfigInfoResult.h + include/alibabacloud/ltl/model/AttachDataRequest.h + include/alibabacloud/ltl/model/AttachDataResult.h + include/alibabacloud/ltl/model/AttachDataWithSignatureRequest.h + include/alibabacloud/ltl/model/AttachDataWithSignatureResult.h + include/alibabacloud/ltl/model/AuthorizeDeviceRequest.h + include/alibabacloud/ltl/model/AuthorizeDeviceResult.h + include/alibabacloud/ltl/model/AuthorizeDeviceGroupRequest.h + include/alibabacloud/ltl/model/AuthorizeDeviceGroupResult.h + include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseDigestInfoRequest.h + include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseDigestInfoResult.h + include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseDigestInfoByDeviceRequest.h + include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseDigestInfoByDeviceResult.h + include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseTextInfoRequest.h + include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseTextInfoResult.h + include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseTextInfoByDeviceRequest.h + include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseTextInfoByDeviceResult.h + include/alibabacloud/ltl/model/CreateMPCoSPhaseRequest.h + include/alibabacloud/ltl/model/CreateMPCoSPhaseResult.h + include/alibabacloud/ltl/model/CreateMPCoSPhaseGroupRequest.h + include/alibabacloud/ltl/model/CreateMPCoSPhaseGroupResult.h + include/alibabacloud/ltl/model/CreateMemberRequest.h + include/alibabacloud/ltl/model/CreateMemberResult.h + include/alibabacloud/ltl/model/DescribeCapacityInfoRequest.h + include/alibabacloud/ltl/model/DescribeCapacityInfoResult.h + include/alibabacloud/ltl/model/DescribeMPCoSAuthorizedInfoRequest.h + include/alibabacloud/ltl/model/DescribeMPCoSAuthorizedInfoResult.h + include/alibabacloud/ltl/model/DescribeMPCoSPhaseInfoRequest.h + include/alibabacloud/ltl/model/DescribeMPCoSPhaseInfoResult.h + include/alibabacloud/ltl/model/DescribeMPCoSResourceInfoRequest.h + include/alibabacloud/ltl/model/DescribeMPCoSResourceInfoResult.h + include/alibabacloud/ltl/model/DescribeMemberCapacityInfoRequest.h + include/alibabacloud/ltl/model/DescribeMemberCapacityInfoResult.h + include/alibabacloud/ltl/model/DescribeResourceInfoRequest.h + include/alibabacloud/ltl/model/DescribeResourceInfoResult.h + include/alibabacloud/ltl/model/GetBlockChainInfoRequest.h + include/alibabacloud/ltl/model/GetBlockChainInfoResult.h + include/alibabacloud/ltl/model/GetDataRequest.h + include/alibabacloud/ltl/model/GetDataResult.h + include/alibabacloud/ltl/model/GetDataModelConfigInfoRequest.h + include/alibabacloud/ltl/model/GetDataModelConfigInfoResult.h + include/alibabacloud/ltl/model/GetHistoryDataCountRequest.h + include/alibabacloud/ltl/model/GetHistoryDataCountResult.h + include/alibabacloud/ltl/model/GetHistoryDataListRequest.h + include/alibabacloud/ltl/model/GetHistoryDataListResult.h + include/alibabacloud/ltl/model/ListDependentDataModelsRequest.h + include/alibabacloud/ltl/model/ListDependentDataModelsResult.h + include/alibabacloud/ltl/model/ListDeviceRequest.h + include/alibabacloud/ltl/model/ListDeviceResult.h + include/alibabacloud/ltl/model/ListDeviceGroupRequest.h + include/alibabacloud/ltl/model/ListDeviceGroupResult.h + include/alibabacloud/ltl/model/ListMPCoSPhaseRequest.h + include/alibabacloud/ltl/model/ListMPCoSPhaseResult.h + include/alibabacloud/ltl/model/ListMPCoSPhaseGroupRequest.h + include/alibabacloud/ltl/model/ListMPCoSPhaseGroupResult.h + include/alibabacloud/ltl/model/ListMPCoSPhaseHistoryRequest.h + include/alibabacloud/ltl/model/ListMPCoSPhaseHistoryResult.h + include/alibabacloud/ltl/model/ListMemberRequest.h + include/alibabacloud/ltl/model/ListMemberResult.h + include/alibabacloud/ltl/model/ListMultiPartyCollaborationChainRequest.h + include/alibabacloud/ltl/model/ListMultiPartyCollaborationChainResult.h + include/alibabacloud/ltl/model/ListPSMemberDataTypeCodeRequest.h + include/alibabacloud/ltl/model/ListPSMemberDataTypeCodeResult.h + include/alibabacloud/ltl/model/ListProofChainRequest.h + include/alibabacloud/ltl/model/ListProofChainResult.h + include/alibabacloud/ltl/model/LockMemberRequest.h + include/alibabacloud/ltl/model/LockMemberResult.h + include/alibabacloud/ltl/model/ModifyMPCoSPhaseRequest.h + include/alibabacloud/ltl/model/ModifyMPCoSPhaseResult.h + include/alibabacloud/ltl/model/ModifyMPCoSPhaseGroupRequest.h + include/alibabacloud/ltl/model/ModifyMPCoSPhaseGroupResult.h + include/alibabacloud/ltl/model/ModifyMemberRequest.h + include/alibabacloud/ltl/model/ModifyMemberResult.h + include/alibabacloud/ltl/model/RegisterDeviceGroupRequest.h + include/alibabacloud/ltl/model/RegisterDeviceGroupResult.h + include/alibabacloud/ltl/model/SetDataRequest.h + include/alibabacloud/ltl/model/SetDataResult.h + include/alibabacloud/ltl/model/SetDataWithSignatureRequest.h + include/alibabacloud/ltl/model/SetDataWithSignatureResult.h + include/alibabacloud/ltl/model/UnAuthorizeDeviceRequest.h + include/alibabacloud/ltl/model/UnAuthorizeDeviceResult.h + include/alibabacloud/ltl/model/UnAuthorizeDeviceGroupRequest.h + include/alibabacloud/ltl/model/UnAuthorizeDeviceGroupResult.h + include/alibabacloud/ltl/model/UnLockMemberRequest.h + include/alibabacloud/ltl/model/UnLockMemberResult.h + include/alibabacloud/ltl/model/UpdateMPCoSAuthorizedInfoRequest.h + include/alibabacloud/ltl/model/UpdateMPCoSAuthorizedInfoResult.h + include/alibabacloud/ltl/model/UploadMPCoSPhaseDigestInfoRequest.h + include/alibabacloud/ltl/model/UploadMPCoSPhaseDigestInfoResult.h + include/alibabacloud/ltl/model/UploadMPCoSPhaseDigestInfoByDeviceRequest.h + include/alibabacloud/ltl/model/UploadMPCoSPhaseDigestInfoByDeviceResult.h + include/alibabacloud/ltl/model/UploadMPCoSPhaseTextInfoRequest.h + include/alibabacloud/ltl/model/UploadMPCoSPhaseTextInfoResult.h + include/alibabacloud/ltl/model/UploadMPCoSPhaseTextInfoByDeviceRequest.h + include/alibabacloud/ltl/model/UploadMPCoSPhaseTextInfoByDeviceResult.h ) + +set(ltl_src + src/LtlClient.cc + src/model/ApplyDataModelConfigInfoRequest.cc + src/model/ApplyDataModelConfigInfoResult.cc + src/model/AttachDataRequest.cc + src/model/AttachDataResult.cc + src/model/AttachDataWithSignatureRequest.cc + src/model/AttachDataWithSignatureResult.cc + src/model/AuthorizeDeviceRequest.cc + src/model/AuthorizeDeviceResult.cc + src/model/AuthorizeDeviceGroupRequest.cc + src/model/AuthorizeDeviceGroupResult.cc + src/model/BatchUploadMPCoSPhaseDigestInfoRequest.cc + src/model/BatchUploadMPCoSPhaseDigestInfoResult.cc + src/model/BatchUploadMPCoSPhaseDigestInfoByDeviceRequest.cc + src/model/BatchUploadMPCoSPhaseDigestInfoByDeviceResult.cc + src/model/BatchUploadMPCoSPhaseTextInfoRequest.cc + src/model/BatchUploadMPCoSPhaseTextInfoResult.cc + src/model/BatchUploadMPCoSPhaseTextInfoByDeviceRequest.cc + src/model/BatchUploadMPCoSPhaseTextInfoByDeviceResult.cc + src/model/CreateMPCoSPhaseRequest.cc + src/model/CreateMPCoSPhaseResult.cc + src/model/CreateMPCoSPhaseGroupRequest.cc + src/model/CreateMPCoSPhaseGroupResult.cc + src/model/CreateMemberRequest.cc + src/model/CreateMemberResult.cc + src/model/DescribeCapacityInfoRequest.cc + src/model/DescribeCapacityInfoResult.cc + src/model/DescribeMPCoSAuthorizedInfoRequest.cc + src/model/DescribeMPCoSAuthorizedInfoResult.cc + src/model/DescribeMPCoSPhaseInfoRequest.cc + src/model/DescribeMPCoSPhaseInfoResult.cc + src/model/DescribeMPCoSResourceInfoRequest.cc + src/model/DescribeMPCoSResourceInfoResult.cc + src/model/DescribeMemberCapacityInfoRequest.cc + src/model/DescribeMemberCapacityInfoResult.cc + src/model/DescribeResourceInfoRequest.cc + src/model/DescribeResourceInfoResult.cc + src/model/GetBlockChainInfoRequest.cc + src/model/GetBlockChainInfoResult.cc + src/model/GetDataRequest.cc + src/model/GetDataResult.cc + src/model/GetDataModelConfigInfoRequest.cc + src/model/GetDataModelConfigInfoResult.cc + src/model/GetHistoryDataCountRequest.cc + src/model/GetHistoryDataCountResult.cc + src/model/GetHistoryDataListRequest.cc + src/model/GetHistoryDataListResult.cc + src/model/ListDependentDataModelsRequest.cc + src/model/ListDependentDataModelsResult.cc + src/model/ListDeviceRequest.cc + src/model/ListDeviceResult.cc + src/model/ListDeviceGroupRequest.cc + src/model/ListDeviceGroupResult.cc + src/model/ListMPCoSPhaseRequest.cc + src/model/ListMPCoSPhaseResult.cc + src/model/ListMPCoSPhaseGroupRequest.cc + src/model/ListMPCoSPhaseGroupResult.cc + src/model/ListMPCoSPhaseHistoryRequest.cc + src/model/ListMPCoSPhaseHistoryResult.cc + src/model/ListMemberRequest.cc + src/model/ListMemberResult.cc + src/model/ListMultiPartyCollaborationChainRequest.cc + src/model/ListMultiPartyCollaborationChainResult.cc + src/model/ListPSMemberDataTypeCodeRequest.cc + src/model/ListPSMemberDataTypeCodeResult.cc + src/model/ListProofChainRequest.cc + src/model/ListProofChainResult.cc + src/model/LockMemberRequest.cc + src/model/LockMemberResult.cc + src/model/ModifyMPCoSPhaseRequest.cc + src/model/ModifyMPCoSPhaseResult.cc + src/model/ModifyMPCoSPhaseGroupRequest.cc + src/model/ModifyMPCoSPhaseGroupResult.cc + src/model/ModifyMemberRequest.cc + src/model/ModifyMemberResult.cc + src/model/RegisterDeviceGroupRequest.cc + src/model/RegisterDeviceGroupResult.cc + src/model/SetDataRequest.cc + src/model/SetDataResult.cc + src/model/SetDataWithSignatureRequest.cc + src/model/SetDataWithSignatureResult.cc + src/model/UnAuthorizeDeviceRequest.cc + src/model/UnAuthorizeDeviceResult.cc + src/model/UnAuthorizeDeviceGroupRequest.cc + src/model/UnAuthorizeDeviceGroupResult.cc + src/model/UnLockMemberRequest.cc + src/model/UnLockMemberResult.cc + src/model/UpdateMPCoSAuthorizedInfoRequest.cc + src/model/UpdateMPCoSAuthorizedInfoResult.cc + src/model/UploadMPCoSPhaseDigestInfoRequest.cc + src/model/UploadMPCoSPhaseDigestInfoResult.cc + src/model/UploadMPCoSPhaseDigestInfoByDeviceRequest.cc + src/model/UploadMPCoSPhaseDigestInfoByDeviceResult.cc + src/model/UploadMPCoSPhaseTextInfoRequest.cc + src/model/UploadMPCoSPhaseTextInfoResult.cc + src/model/UploadMPCoSPhaseTextInfoByDeviceRequest.cc + src/model/UploadMPCoSPhaseTextInfoByDeviceResult.cc ) + +add_library(ltl ${LIB_TYPE} + ${ltl_public_header} + ${ltl_public_header_model} + ${ltl_src}) + +set_target_properties(ltl + PROPERTIES + LINKER_LANGUAGE CXX + ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin + OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}ltl + ) + +if(${LIB_TYPE} STREQUAL "SHARED") + set_target_properties(ltl + PROPERTIES + DEFINE_SYMBOL ALIBABACLOUD_LTL_LIBRARY) +endif() + +target_include_directories(ltl + PRIVATE include + ${CMAKE_SOURCE_DIR}/core/include + ) +target_link_libraries(ltl + core) + +if(CMAKE_HOST_WIN32) + ExternalProject_Get_Property(jsoncpp INSTALL_DIR) + set(jsoncpp_install_dir ${INSTALL_DIR}) + add_dependencies(ltl + jsoncpp) + target_include_directories(ltl + PRIVATE ${jsoncpp_install_dir}/include) + target_link_libraries(ltl + ${jsoncpp_install_dir}/lib/jsoncpp.lib) + set_target_properties(ltl + PROPERTIES + COMPILE_OPTIONS "/bigobj") +else() + target_include_directories(ltl + PRIVATE /usr/include/jsoncpp) + target_link_libraries(ltl + jsoncpp) +endif() + +install(FILES ${ltl_public_header} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/ltl) +install(FILES ${ltl_public_header_model} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/ltl/model) +install(TARGETS ltl + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + ) \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/LtlClient.h b/ltl/include/alibabacloud/ltl/LtlClient.h new file mode 100644 index 000000000..c029222dd --- /dev/null +++ b/ltl/include/alibabacloud/ltl/LtlClient.h @@ -0,0 +1,430 @@ +/* + * 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_LTL_LTLCLIENT_H_ +#define ALIBABACLOUD_LTL_LTLCLIENT_H_ + +#include +#include +#include +#include +#include "LtlExport.h" +#include "model/ApplyDataModelConfigInfoRequest.h" +#include "model/ApplyDataModelConfigInfoResult.h" +#include "model/AttachDataRequest.h" +#include "model/AttachDataResult.h" +#include "model/AttachDataWithSignatureRequest.h" +#include "model/AttachDataWithSignatureResult.h" +#include "model/AuthorizeDeviceRequest.h" +#include "model/AuthorizeDeviceResult.h" +#include "model/AuthorizeDeviceGroupRequest.h" +#include "model/AuthorizeDeviceGroupResult.h" +#include "model/BatchUploadMPCoSPhaseDigestInfoRequest.h" +#include "model/BatchUploadMPCoSPhaseDigestInfoResult.h" +#include "model/BatchUploadMPCoSPhaseDigestInfoByDeviceRequest.h" +#include "model/BatchUploadMPCoSPhaseDigestInfoByDeviceResult.h" +#include "model/BatchUploadMPCoSPhaseTextInfoRequest.h" +#include "model/BatchUploadMPCoSPhaseTextInfoResult.h" +#include "model/BatchUploadMPCoSPhaseTextInfoByDeviceRequest.h" +#include "model/BatchUploadMPCoSPhaseTextInfoByDeviceResult.h" +#include "model/CreateMPCoSPhaseRequest.h" +#include "model/CreateMPCoSPhaseResult.h" +#include "model/CreateMPCoSPhaseGroupRequest.h" +#include "model/CreateMPCoSPhaseGroupResult.h" +#include "model/CreateMemberRequest.h" +#include "model/CreateMemberResult.h" +#include "model/DescribeCapacityInfoRequest.h" +#include "model/DescribeCapacityInfoResult.h" +#include "model/DescribeMPCoSAuthorizedInfoRequest.h" +#include "model/DescribeMPCoSAuthorizedInfoResult.h" +#include "model/DescribeMPCoSPhaseInfoRequest.h" +#include "model/DescribeMPCoSPhaseInfoResult.h" +#include "model/DescribeMPCoSResourceInfoRequest.h" +#include "model/DescribeMPCoSResourceInfoResult.h" +#include "model/DescribeMemberCapacityInfoRequest.h" +#include "model/DescribeMemberCapacityInfoResult.h" +#include "model/DescribeResourceInfoRequest.h" +#include "model/DescribeResourceInfoResult.h" +#include "model/GetBlockChainInfoRequest.h" +#include "model/GetBlockChainInfoResult.h" +#include "model/GetDataRequest.h" +#include "model/GetDataResult.h" +#include "model/GetDataModelConfigInfoRequest.h" +#include "model/GetDataModelConfigInfoResult.h" +#include "model/GetHistoryDataCountRequest.h" +#include "model/GetHistoryDataCountResult.h" +#include "model/GetHistoryDataListRequest.h" +#include "model/GetHistoryDataListResult.h" +#include "model/ListDependentDataModelsRequest.h" +#include "model/ListDependentDataModelsResult.h" +#include "model/ListDeviceRequest.h" +#include "model/ListDeviceResult.h" +#include "model/ListDeviceGroupRequest.h" +#include "model/ListDeviceGroupResult.h" +#include "model/ListMPCoSPhaseRequest.h" +#include "model/ListMPCoSPhaseResult.h" +#include "model/ListMPCoSPhaseGroupRequest.h" +#include "model/ListMPCoSPhaseGroupResult.h" +#include "model/ListMPCoSPhaseHistoryRequest.h" +#include "model/ListMPCoSPhaseHistoryResult.h" +#include "model/ListMemberRequest.h" +#include "model/ListMemberResult.h" +#include "model/ListMultiPartyCollaborationChainRequest.h" +#include "model/ListMultiPartyCollaborationChainResult.h" +#include "model/ListPSMemberDataTypeCodeRequest.h" +#include "model/ListPSMemberDataTypeCodeResult.h" +#include "model/ListProofChainRequest.h" +#include "model/ListProofChainResult.h" +#include "model/LockMemberRequest.h" +#include "model/LockMemberResult.h" +#include "model/ModifyMPCoSPhaseRequest.h" +#include "model/ModifyMPCoSPhaseResult.h" +#include "model/ModifyMPCoSPhaseGroupRequest.h" +#include "model/ModifyMPCoSPhaseGroupResult.h" +#include "model/ModifyMemberRequest.h" +#include "model/ModifyMemberResult.h" +#include "model/RegisterDeviceGroupRequest.h" +#include "model/RegisterDeviceGroupResult.h" +#include "model/SetDataRequest.h" +#include "model/SetDataResult.h" +#include "model/SetDataWithSignatureRequest.h" +#include "model/SetDataWithSignatureResult.h" +#include "model/UnAuthorizeDeviceRequest.h" +#include "model/UnAuthorizeDeviceResult.h" +#include "model/UnAuthorizeDeviceGroupRequest.h" +#include "model/UnAuthorizeDeviceGroupResult.h" +#include "model/UnLockMemberRequest.h" +#include "model/UnLockMemberResult.h" +#include "model/UpdateMPCoSAuthorizedInfoRequest.h" +#include "model/UpdateMPCoSAuthorizedInfoResult.h" +#include "model/UploadMPCoSPhaseDigestInfoRequest.h" +#include "model/UploadMPCoSPhaseDigestInfoResult.h" +#include "model/UploadMPCoSPhaseDigestInfoByDeviceRequest.h" +#include "model/UploadMPCoSPhaseDigestInfoByDeviceResult.h" +#include "model/UploadMPCoSPhaseTextInfoRequest.h" +#include "model/UploadMPCoSPhaseTextInfoResult.h" +#include "model/UploadMPCoSPhaseTextInfoByDeviceRequest.h" +#include "model/UploadMPCoSPhaseTextInfoByDeviceResult.h" + + +namespace AlibabaCloud +{ + namespace Ltl + { + class ALIBABACLOUD_LTL_EXPORT LtlClient : public RpcServiceClient + { + public: + typedef Outcome ApplyDataModelConfigInfoOutcome; + typedef std::future ApplyDataModelConfigInfoOutcomeCallable; + typedef std::function&)> ApplyDataModelConfigInfoAsyncHandler; + typedef Outcome AttachDataOutcome; + typedef std::future AttachDataOutcomeCallable; + typedef std::function&)> AttachDataAsyncHandler; + typedef Outcome AttachDataWithSignatureOutcome; + typedef std::future AttachDataWithSignatureOutcomeCallable; + typedef std::function&)> AttachDataWithSignatureAsyncHandler; + typedef Outcome AuthorizeDeviceOutcome; + typedef std::future AuthorizeDeviceOutcomeCallable; + typedef std::function&)> AuthorizeDeviceAsyncHandler; + typedef Outcome AuthorizeDeviceGroupOutcome; + typedef std::future AuthorizeDeviceGroupOutcomeCallable; + typedef std::function&)> AuthorizeDeviceGroupAsyncHandler; + typedef Outcome BatchUploadMPCoSPhaseDigestInfoOutcome; + typedef std::future BatchUploadMPCoSPhaseDigestInfoOutcomeCallable; + typedef std::function&)> BatchUploadMPCoSPhaseDigestInfoAsyncHandler; + typedef Outcome BatchUploadMPCoSPhaseDigestInfoByDeviceOutcome; + typedef std::future BatchUploadMPCoSPhaseDigestInfoByDeviceOutcomeCallable; + typedef std::function&)> BatchUploadMPCoSPhaseDigestInfoByDeviceAsyncHandler; + typedef Outcome BatchUploadMPCoSPhaseTextInfoOutcome; + typedef std::future BatchUploadMPCoSPhaseTextInfoOutcomeCallable; + typedef std::function&)> BatchUploadMPCoSPhaseTextInfoAsyncHandler; + typedef Outcome BatchUploadMPCoSPhaseTextInfoByDeviceOutcome; + typedef std::future BatchUploadMPCoSPhaseTextInfoByDeviceOutcomeCallable; + typedef std::function&)> BatchUploadMPCoSPhaseTextInfoByDeviceAsyncHandler; + typedef Outcome CreateMPCoSPhaseOutcome; + typedef std::future CreateMPCoSPhaseOutcomeCallable; + typedef std::function&)> CreateMPCoSPhaseAsyncHandler; + typedef Outcome CreateMPCoSPhaseGroupOutcome; + typedef std::future CreateMPCoSPhaseGroupOutcomeCallable; + typedef std::function&)> CreateMPCoSPhaseGroupAsyncHandler; + typedef Outcome CreateMemberOutcome; + typedef std::future CreateMemberOutcomeCallable; + typedef std::function&)> CreateMemberAsyncHandler; + typedef Outcome DescribeCapacityInfoOutcome; + typedef std::future DescribeCapacityInfoOutcomeCallable; + typedef std::function&)> DescribeCapacityInfoAsyncHandler; + typedef Outcome DescribeMPCoSAuthorizedInfoOutcome; + typedef std::future DescribeMPCoSAuthorizedInfoOutcomeCallable; + typedef std::function&)> DescribeMPCoSAuthorizedInfoAsyncHandler; + typedef Outcome DescribeMPCoSPhaseInfoOutcome; + typedef std::future DescribeMPCoSPhaseInfoOutcomeCallable; + typedef std::function&)> DescribeMPCoSPhaseInfoAsyncHandler; + typedef Outcome DescribeMPCoSResourceInfoOutcome; + typedef std::future DescribeMPCoSResourceInfoOutcomeCallable; + typedef std::function&)> DescribeMPCoSResourceInfoAsyncHandler; + typedef Outcome DescribeMemberCapacityInfoOutcome; + typedef std::future DescribeMemberCapacityInfoOutcomeCallable; + typedef std::function&)> DescribeMemberCapacityInfoAsyncHandler; + typedef Outcome DescribeResourceInfoOutcome; + typedef std::future DescribeResourceInfoOutcomeCallable; + typedef std::function&)> DescribeResourceInfoAsyncHandler; + typedef Outcome GetBlockChainInfoOutcome; + typedef std::future GetBlockChainInfoOutcomeCallable; + typedef std::function&)> GetBlockChainInfoAsyncHandler; + typedef Outcome GetDataOutcome; + typedef std::future GetDataOutcomeCallable; + typedef std::function&)> GetDataAsyncHandler; + typedef Outcome GetDataModelConfigInfoOutcome; + typedef std::future GetDataModelConfigInfoOutcomeCallable; + typedef std::function&)> GetDataModelConfigInfoAsyncHandler; + typedef Outcome GetHistoryDataCountOutcome; + typedef std::future GetHistoryDataCountOutcomeCallable; + typedef std::function&)> GetHistoryDataCountAsyncHandler; + typedef Outcome GetHistoryDataListOutcome; + typedef std::future GetHistoryDataListOutcomeCallable; + typedef std::function&)> GetHistoryDataListAsyncHandler; + typedef Outcome ListDependentDataModelsOutcome; + typedef std::future ListDependentDataModelsOutcomeCallable; + typedef std::function&)> ListDependentDataModelsAsyncHandler; + typedef Outcome ListDeviceOutcome; + typedef std::future ListDeviceOutcomeCallable; + typedef std::function&)> ListDeviceAsyncHandler; + typedef Outcome ListDeviceGroupOutcome; + typedef std::future ListDeviceGroupOutcomeCallable; + typedef std::function&)> ListDeviceGroupAsyncHandler; + typedef Outcome ListMPCoSPhaseOutcome; + typedef std::future ListMPCoSPhaseOutcomeCallable; + typedef std::function&)> ListMPCoSPhaseAsyncHandler; + typedef Outcome ListMPCoSPhaseGroupOutcome; + typedef std::future ListMPCoSPhaseGroupOutcomeCallable; + typedef std::function&)> ListMPCoSPhaseGroupAsyncHandler; + typedef Outcome ListMPCoSPhaseHistoryOutcome; + typedef std::future ListMPCoSPhaseHistoryOutcomeCallable; + typedef std::function&)> ListMPCoSPhaseHistoryAsyncHandler; + typedef Outcome ListMemberOutcome; + typedef std::future ListMemberOutcomeCallable; + typedef std::function&)> ListMemberAsyncHandler; + typedef Outcome ListMultiPartyCollaborationChainOutcome; + typedef std::future ListMultiPartyCollaborationChainOutcomeCallable; + typedef std::function&)> ListMultiPartyCollaborationChainAsyncHandler; + typedef Outcome ListPSMemberDataTypeCodeOutcome; + typedef std::future ListPSMemberDataTypeCodeOutcomeCallable; + typedef std::function&)> ListPSMemberDataTypeCodeAsyncHandler; + typedef Outcome ListProofChainOutcome; + typedef std::future ListProofChainOutcomeCallable; + typedef std::function&)> ListProofChainAsyncHandler; + typedef Outcome LockMemberOutcome; + typedef std::future LockMemberOutcomeCallable; + typedef std::function&)> LockMemberAsyncHandler; + typedef Outcome ModifyMPCoSPhaseOutcome; + typedef std::future ModifyMPCoSPhaseOutcomeCallable; + typedef std::function&)> ModifyMPCoSPhaseAsyncHandler; + typedef Outcome ModifyMPCoSPhaseGroupOutcome; + typedef std::future ModifyMPCoSPhaseGroupOutcomeCallable; + typedef std::function&)> ModifyMPCoSPhaseGroupAsyncHandler; + typedef Outcome ModifyMemberOutcome; + typedef std::future ModifyMemberOutcomeCallable; + typedef std::function&)> ModifyMemberAsyncHandler; + typedef Outcome RegisterDeviceGroupOutcome; + typedef std::future RegisterDeviceGroupOutcomeCallable; + typedef std::function&)> RegisterDeviceGroupAsyncHandler; + typedef Outcome SetDataOutcome; + typedef std::future SetDataOutcomeCallable; + typedef std::function&)> SetDataAsyncHandler; + typedef Outcome SetDataWithSignatureOutcome; + typedef std::future SetDataWithSignatureOutcomeCallable; + typedef std::function&)> SetDataWithSignatureAsyncHandler; + typedef Outcome UnAuthorizeDeviceOutcome; + typedef std::future UnAuthorizeDeviceOutcomeCallable; + typedef std::function&)> UnAuthorizeDeviceAsyncHandler; + typedef Outcome UnAuthorizeDeviceGroupOutcome; + typedef std::future UnAuthorizeDeviceGroupOutcomeCallable; + typedef std::function&)> UnAuthorizeDeviceGroupAsyncHandler; + typedef Outcome UnLockMemberOutcome; + typedef std::future UnLockMemberOutcomeCallable; + typedef std::function&)> UnLockMemberAsyncHandler; + typedef Outcome UpdateMPCoSAuthorizedInfoOutcome; + typedef std::future UpdateMPCoSAuthorizedInfoOutcomeCallable; + typedef std::function&)> UpdateMPCoSAuthorizedInfoAsyncHandler; + typedef Outcome UploadMPCoSPhaseDigestInfoOutcome; + typedef std::future UploadMPCoSPhaseDigestInfoOutcomeCallable; + typedef std::function&)> UploadMPCoSPhaseDigestInfoAsyncHandler; + typedef Outcome UploadMPCoSPhaseDigestInfoByDeviceOutcome; + typedef std::future UploadMPCoSPhaseDigestInfoByDeviceOutcomeCallable; + typedef std::function&)> UploadMPCoSPhaseDigestInfoByDeviceAsyncHandler; + typedef Outcome UploadMPCoSPhaseTextInfoOutcome; + typedef std::future UploadMPCoSPhaseTextInfoOutcomeCallable; + typedef std::function&)> UploadMPCoSPhaseTextInfoAsyncHandler; + typedef Outcome UploadMPCoSPhaseTextInfoByDeviceOutcome; + typedef std::future UploadMPCoSPhaseTextInfoByDeviceOutcomeCallable; + typedef std::function&)> UploadMPCoSPhaseTextInfoByDeviceAsyncHandler; + + LtlClient(const Credentials &credentials, const ClientConfiguration &configuration); + LtlClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); + LtlClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); + ~LtlClient(); + ApplyDataModelConfigInfoOutcome applyDataModelConfigInfo(const Model::ApplyDataModelConfigInfoRequest &request)const; + void applyDataModelConfigInfoAsync(const Model::ApplyDataModelConfigInfoRequest& request, const ApplyDataModelConfigInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ApplyDataModelConfigInfoOutcomeCallable applyDataModelConfigInfoCallable(const Model::ApplyDataModelConfigInfoRequest& request) const; + AttachDataOutcome attachData(const Model::AttachDataRequest &request)const; + void attachDataAsync(const Model::AttachDataRequest& request, const AttachDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AttachDataOutcomeCallable attachDataCallable(const Model::AttachDataRequest& request) const; + AttachDataWithSignatureOutcome attachDataWithSignature(const Model::AttachDataWithSignatureRequest &request)const; + void attachDataWithSignatureAsync(const Model::AttachDataWithSignatureRequest& request, const AttachDataWithSignatureAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AttachDataWithSignatureOutcomeCallable attachDataWithSignatureCallable(const Model::AttachDataWithSignatureRequest& request) const; + AuthorizeDeviceOutcome authorizeDevice(const Model::AuthorizeDeviceRequest &request)const; + void authorizeDeviceAsync(const Model::AuthorizeDeviceRequest& request, const AuthorizeDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AuthorizeDeviceOutcomeCallable authorizeDeviceCallable(const Model::AuthorizeDeviceRequest& request) const; + AuthorizeDeviceGroupOutcome authorizeDeviceGroup(const Model::AuthorizeDeviceGroupRequest &request)const; + void authorizeDeviceGroupAsync(const Model::AuthorizeDeviceGroupRequest& request, const AuthorizeDeviceGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AuthorizeDeviceGroupOutcomeCallable authorizeDeviceGroupCallable(const Model::AuthorizeDeviceGroupRequest& request) const; + BatchUploadMPCoSPhaseDigestInfoOutcome batchUploadMPCoSPhaseDigestInfo(const Model::BatchUploadMPCoSPhaseDigestInfoRequest &request)const; + void batchUploadMPCoSPhaseDigestInfoAsync(const Model::BatchUploadMPCoSPhaseDigestInfoRequest& request, const BatchUploadMPCoSPhaseDigestInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchUploadMPCoSPhaseDigestInfoOutcomeCallable batchUploadMPCoSPhaseDigestInfoCallable(const Model::BatchUploadMPCoSPhaseDigestInfoRequest& request) const; + BatchUploadMPCoSPhaseDigestInfoByDeviceOutcome batchUploadMPCoSPhaseDigestInfoByDevice(const Model::BatchUploadMPCoSPhaseDigestInfoByDeviceRequest &request)const; + void batchUploadMPCoSPhaseDigestInfoByDeviceAsync(const Model::BatchUploadMPCoSPhaseDigestInfoByDeviceRequest& request, const BatchUploadMPCoSPhaseDigestInfoByDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchUploadMPCoSPhaseDigestInfoByDeviceOutcomeCallable batchUploadMPCoSPhaseDigestInfoByDeviceCallable(const Model::BatchUploadMPCoSPhaseDigestInfoByDeviceRequest& request) const; + BatchUploadMPCoSPhaseTextInfoOutcome batchUploadMPCoSPhaseTextInfo(const Model::BatchUploadMPCoSPhaseTextInfoRequest &request)const; + void batchUploadMPCoSPhaseTextInfoAsync(const Model::BatchUploadMPCoSPhaseTextInfoRequest& request, const BatchUploadMPCoSPhaseTextInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchUploadMPCoSPhaseTextInfoOutcomeCallable batchUploadMPCoSPhaseTextInfoCallable(const Model::BatchUploadMPCoSPhaseTextInfoRequest& request) const; + BatchUploadMPCoSPhaseTextInfoByDeviceOutcome batchUploadMPCoSPhaseTextInfoByDevice(const Model::BatchUploadMPCoSPhaseTextInfoByDeviceRequest &request)const; + void batchUploadMPCoSPhaseTextInfoByDeviceAsync(const Model::BatchUploadMPCoSPhaseTextInfoByDeviceRequest& request, const BatchUploadMPCoSPhaseTextInfoByDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchUploadMPCoSPhaseTextInfoByDeviceOutcomeCallable batchUploadMPCoSPhaseTextInfoByDeviceCallable(const Model::BatchUploadMPCoSPhaseTextInfoByDeviceRequest& request) const; + CreateMPCoSPhaseOutcome createMPCoSPhase(const Model::CreateMPCoSPhaseRequest &request)const; + void createMPCoSPhaseAsync(const Model::CreateMPCoSPhaseRequest& request, const CreateMPCoSPhaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateMPCoSPhaseOutcomeCallable createMPCoSPhaseCallable(const Model::CreateMPCoSPhaseRequest& request) const; + CreateMPCoSPhaseGroupOutcome createMPCoSPhaseGroup(const Model::CreateMPCoSPhaseGroupRequest &request)const; + void createMPCoSPhaseGroupAsync(const Model::CreateMPCoSPhaseGroupRequest& request, const CreateMPCoSPhaseGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateMPCoSPhaseGroupOutcomeCallable createMPCoSPhaseGroupCallable(const Model::CreateMPCoSPhaseGroupRequest& request) const; + CreateMemberOutcome createMember(const Model::CreateMemberRequest &request)const; + void createMemberAsync(const Model::CreateMemberRequest& request, const CreateMemberAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateMemberOutcomeCallable createMemberCallable(const Model::CreateMemberRequest& request) const; + DescribeCapacityInfoOutcome describeCapacityInfo(const Model::DescribeCapacityInfoRequest &request)const; + void describeCapacityInfoAsync(const Model::DescribeCapacityInfoRequest& request, const DescribeCapacityInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCapacityInfoOutcomeCallable describeCapacityInfoCallable(const Model::DescribeCapacityInfoRequest& request) const; + DescribeMPCoSAuthorizedInfoOutcome describeMPCoSAuthorizedInfo(const Model::DescribeMPCoSAuthorizedInfoRequest &request)const; + void describeMPCoSAuthorizedInfoAsync(const Model::DescribeMPCoSAuthorizedInfoRequest& request, const DescribeMPCoSAuthorizedInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeMPCoSAuthorizedInfoOutcomeCallable describeMPCoSAuthorizedInfoCallable(const Model::DescribeMPCoSAuthorizedInfoRequest& request) const; + DescribeMPCoSPhaseInfoOutcome describeMPCoSPhaseInfo(const Model::DescribeMPCoSPhaseInfoRequest &request)const; + void describeMPCoSPhaseInfoAsync(const Model::DescribeMPCoSPhaseInfoRequest& request, const DescribeMPCoSPhaseInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeMPCoSPhaseInfoOutcomeCallable describeMPCoSPhaseInfoCallable(const Model::DescribeMPCoSPhaseInfoRequest& request) const; + DescribeMPCoSResourceInfoOutcome describeMPCoSResourceInfo(const Model::DescribeMPCoSResourceInfoRequest &request)const; + void describeMPCoSResourceInfoAsync(const Model::DescribeMPCoSResourceInfoRequest& request, const DescribeMPCoSResourceInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeMPCoSResourceInfoOutcomeCallable describeMPCoSResourceInfoCallable(const Model::DescribeMPCoSResourceInfoRequest& request) const; + DescribeMemberCapacityInfoOutcome describeMemberCapacityInfo(const Model::DescribeMemberCapacityInfoRequest &request)const; + void describeMemberCapacityInfoAsync(const Model::DescribeMemberCapacityInfoRequest& request, const DescribeMemberCapacityInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeMemberCapacityInfoOutcomeCallable describeMemberCapacityInfoCallable(const Model::DescribeMemberCapacityInfoRequest& request) const; + DescribeResourceInfoOutcome describeResourceInfo(const Model::DescribeResourceInfoRequest &request)const; + void describeResourceInfoAsync(const Model::DescribeResourceInfoRequest& request, const DescribeResourceInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeResourceInfoOutcomeCallable describeResourceInfoCallable(const Model::DescribeResourceInfoRequest& request) const; + GetBlockChainInfoOutcome getBlockChainInfo(const Model::GetBlockChainInfoRequest &request)const; + void getBlockChainInfoAsync(const Model::GetBlockChainInfoRequest& request, const GetBlockChainInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetBlockChainInfoOutcomeCallable getBlockChainInfoCallable(const Model::GetBlockChainInfoRequest& request) const; + GetDataOutcome getData(const Model::GetDataRequest &request)const; + void getDataAsync(const Model::GetDataRequest& request, const GetDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetDataOutcomeCallable getDataCallable(const Model::GetDataRequest& request) const; + GetDataModelConfigInfoOutcome getDataModelConfigInfo(const Model::GetDataModelConfigInfoRequest &request)const; + void getDataModelConfigInfoAsync(const Model::GetDataModelConfigInfoRequest& request, const GetDataModelConfigInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetDataModelConfigInfoOutcomeCallable getDataModelConfigInfoCallable(const Model::GetDataModelConfigInfoRequest& request) const; + GetHistoryDataCountOutcome getHistoryDataCount(const Model::GetHistoryDataCountRequest &request)const; + void getHistoryDataCountAsync(const Model::GetHistoryDataCountRequest& request, const GetHistoryDataCountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetHistoryDataCountOutcomeCallable getHistoryDataCountCallable(const Model::GetHistoryDataCountRequest& request) const; + GetHistoryDataListOutcome getHistoryDataList(const Model::GetHistoryDataListRequest &request)const; + void getHistoryDataListAsync(const Model::GetHistoryDataListRequest& request, const GetHistoryDataListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetHistoryDataListOutcomeCallable getHistoryDataListCallable(const Model::GetHistoryDataListRequest& request) const; + ListDependentDataModelsOutcome listDependentDataModels(const Model::ListDependentDataModelsRequest &request)const; + void listDependentDataModelsAsync(const Model::ListDependentDataModelsRequest& request, const ListDependentDataModelsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDependentDataModelsOutcomeCallable listDependentDataModelsCallable(const Model::ListDependentDataModelsRequest& request) const; + ListDeviceOutcome listDevice(const Model::ListDeviceRequest &request)const; + void listDeviceAsync(const Model::ListDeviceRequest& request, const ListDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDeviceOutcomeCallable listDeviceCallable(const Model::ListDeviceRequest& request) const; + ListDeviceGroupOutcome listDeviceGroup(const Model::ListDeviceGroupRequest &request)const; + void listDeviceGroupAsync(const Model::ListDeviceGroupRequest& request, const ListDeviceGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDeviceGroupOutcomeCallable listDeviceGroupCallable(const Model::ListDeviceGroupRequest& request) const; + ListMPCoSPhaseOutcome listMPCoSPhase(const Model::ListMPCoSPhaseRequest &request)const; + void listMPCoSPhaseAsync(const Model::ListMPCoSPhaseRequest& request, const ListMPCoSPhaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListMPCoSPhaseOutcomeCallable listMPCoSPhaseCallable(const Model::ListMPCoSPhaseRequest& request) const; + ListMPCoSPhaseGroupOutcome listMPCoSPhaseGroup(const Model::ListMPCoSPhaseGroupRequest &request)const; + void listMPCoSPhaseGroupAsync(const Model::ListMPCoSPhaseGroupRequest& request, const ListMPCoSPhaseGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListMPCoSPhaseGroupOutcomeCallable listMPCoSPhaseGroupCallable(const Model::ListMPCoSPhaseGroupRequest& request) const; + ListMPCoSPhaseHistoryOutcome listMPCoSPhaseHistory(const Model::ListMPCoSPhaseHistoryRequest &request)const; + void listMPCoSPhaseHistoryAsync(const Model::ListMPCoSPhaseHistoryRequest& request, const ListMPCoSPhaseHistoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListMPCoSPhaseHistoryOutcomeCallable listMPCoSPhaseHistoryCallable(const Model::ListMPCoSPhaseHistoryRequest& request) const; + ListMemberOutcome listMember(const Model::ListMemberRequest &request)const; + void listMemberAsync(const Model::ListMemberRequest& request, const ListMemberAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListMemberOutcomeCallable listMemberCallable(const Model::ListMemberRequest& request) const; + ListMultiPartyCollaborationChainOutcome listMultiPartyCollaborationChain(const Model::ListMultiPartyCollaborationChainRequest &request)const; + void listMultiPartyCollaborationChainAsync(const Model::ListMultiPartyCollaborationChainRequest& request, const ListMultiPartyCollaborationChainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListMultiPartyCollaborationChainOutcomeCallable listMultiPartyCollaborationChainCallable(const Model::ListMultiPartyCollaborationChainRequest& request) const; + ListPSMemberDataTypeCodeOutcome listPSMemberDataTypeCode(const Model::ListPSMemberDataTypeCodeRequest &request)const; + void listPSMemberDataTypeCodeAsync(const Model::ListPSMemberDataTypeCodeRequest& request, const ListPSMemberDataTypeCodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListPSMemberDataTypeCodeOutcomeCallable listPSMemberDataTypeCodeCallable(const Model::ListPSMemberDataTypeCodeRequest& request) const; + ListProofChainOutcome listProofChain(const Model::ListProofChainRequest &request)const; + void listProofChainAsync(const Model::ListProofChainRequest& request, const ListProofChainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListProofChainOutcomeCallable listProofChainCallable(const Model::ListProofChainRequest& request) const; + LockMemberOutcome lockMember(const Model::LockMemberRequest &request)const; + void lockMemberAsync(const Model::LockMemberRequest& request, const LockMemberAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + LockMemberOutcomeCallable lockMemberCallable(const Model::LockMemberRequest& request) const; + ModifyMPCoSPhaseOutcome modifyMPCoSPhase(const Model::ModifyMPCoSPhaseRequest &request)const; + void modifyMPCoSPhaseAsync(const Model::ModifyMPCoSPhaseRequest& request, const ModifyMPCoSPhaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyMPCoSPhaseOutcomeCallable modifyMPCoSPhaseCallable(const Model::ModifyMPCoSPhaseRequest& request) const; + ModifyMPCoSPhaseGroupOutcome modifyMPCoSPhaseGroup(const Model::ModifyMPCoSPhaseGroupRequest &request)const; + void modifyMPCoSPhaseGroupAsync(const Model::ModifyMPCoSPhaseGroupRequest& request, const ModifyMPCoSPhaseGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyMPCoSPhaseGroupOutcomeCallable modifyMPCoSPhaseGroupCallable(const Model::ModifyMPCoSPhaseGroupRequest& request) const; + ModifyMemberOutcome modifyMember(const Model::ModifyMemberRequest &request)const; + void modifyMemberAsync(const Model::ModifyMemberRequest& request, const ModifyMemberAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyMemberOutcomeCallable modifyMemberCallable(const Model::ModifyMemberRequest& request) const; + RegisterDeviceGroupOutcome registerDeviceGroup(const Model::RegisterDeviceGroupRequest &request)const; + void registerDeviceGroupAsync(const Model::RegisterDeviceGroupRequest& request, const RegisterDeviceGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RegisterDeviceGroupOutcomeCallable registerDeviceGroupCallable(const Model::RegisterDeviceGroupRequest& request) const; + SetDataOutcome setData(const Model::SetDataRequest &request)const; + void setDataAsync(const Model::SetDataRequest& request, const SetDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetDataOutcomeCallable setDataCallable(const Model::SetDataRequest& request) const; + SetDataWithSignatureOutcome setDataWithSignature(const Model::SetDataWithSignatureRequest &request)const; + void setDataWithSignatureAsync(const Model::SetDataWithSignatureRequest& request, const SetDataWithSignatureAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetDataWithSignatureOutcomeCallable setDataWithSignatureCallable(const Model::SetDataWithSignatureRequest& request) const; + UnAuthorizeDeviceOutcome unAuthorizeDevice(const Model::UnAuthorizeDeviceRequest &request)const; + void unAuthorizeDeviceAsync(const Model::UnAuthorizeDeviceRequest& request, const UnAuthorizeDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UnAuthorizeDeviceOutcomeCallable unAuthorizeDeviceCallable(const Model::UnAuthorizeDeviceRequest& request) const; + UnAuthorizeDeviceGroupOutcome unAuthorizeDeviceGroup(const Model::UnAuthorizeDeviceGroupRequest &request)const; + void unAuthorizeDeviceGroupAsync(const Model::UnAuthorizeDeviceGroupRequest& request, const UnAuthorizeDeviceGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UnAuthorizeDeviceGroupOutcomeCallable unAuthorizeDeviceGroupCallable(const Model::UnAuthorizeDeviceGroupRequest& request) const; + UnLockMemberOutcome unLockMember(const Model::UnLockMemberRequest &request)const; + void unLockMemberAsync(const Model::UnLockMemberRequest& request, const UnLockMemberAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UnLockMemberOutcomeCallable unLockMemberCallable(const Model::UnLockMemberRequest& request) const; + UpdateMPCoSAuthorizedInfoOutcome updateMPCoSAuthorizedInfo(const Model::UpdateMPCoSAuthorizedInfoRequest &request)const; + void updateMPCoSAuthorizedInfoAsync(const Model::UpdateMPCoSAuthorizedInfoRequest& request, const UpdateMPCoSAuthorizedInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateMPCoSAuthorizedInfoOutcomeCallable updateMPCoSAuthorizedInfoCallable(const Model::UpdateMPCoSAuthorizedInfoRequest& request) const; + UploadMPCoSPhaseDigestInfoOutcome uploadMPCoSPhaseDigestInfo(const Model::UploadMPCoSPhaseDigestInfoRequest &request)const; + void uploadMPCoSPhaseDigestInfoAsync(const Model::UploadMPCoSPhaseDigestInfoRequest& request, const UploadMPCoSPhaseDigestInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UploadMPCoSPhaseDigestInfoOutcomeCallable uploadMPCoSPhaseDigestInfoCallable(const Model::UploadMPCoSPhaseDigestInfoRequest& request) const; + UploadMPCoSPhaseDigestInfoByDeviceOutcome uploadMPCoSPhaseDigestInfoByDevice(const Model::UploadMPCoSPhaseDigestInfoByDeviceRequest &request)const; + void uploadMPCoSPhaseDigestInfoByDeviceAsync(const Model::UploadMPCoSPhaseDigestInfoByDeviceRequest& request, const UploadMPCoSPhaseDigestInfoByDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UploadMPCoSPhaseDigestInfoByDeviceOutcomeCallable uploadMPCoSPhaseDigestInfoByDeviceCallable(const Model::UploadMPCoSPhaseDigestInfoByDeviceRequest& request) const; + UploadMPCoSPhaseTextInfoOutcome uploadMPCoSPhaseTextInfo(const Model::UploadMPCoSPhaseTextInfoRequest &request)const; + void uploadMPCoSPhaseTextInfoAsync(const Model::UploadMPCoSPhaseTextInfoRequest& request, const UploadMPCoSPhaseTextInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UploadMPCoSPhaseTextInfoOutcomeCallable uploadMPCoSPhaseTextInfoCallable(const Model::UploadMPCoSPhaseTextInfoRequest& request) const; + UploadMPCoSPhaseTextInfoByDeviceOutcome uploadMPCoSPhaseTextInfoByDevice(const Model::UploadMPCoSPhaseTextInfoByDeviceRequest &request)const; + void uploadMPCoSPhaseTextInfoByDeviceAsync(const Model::UploadMPCoSPhaseTextInfoByDeviceRequest& request, const UploadMPCoSPhaseTextInfoByDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UploadMPCoSPhaseTextInfoByDeviceOutcomeCallable uploadMPCoSPhaseTextInfoByDeviceCallable(const Model::UploadMPCoSPhaseTextInfoByDeviceRequest& request) const; + + private: + std::shared_ptr endpointProvider_; + }; + } +} + +#endif // !ALIBABACLOUD_LTL_LTLCLIENT_H_ diff --git a/ltl/include/alibabacloud/ltl/LtlExport.h b/ltl/include/alibabacloud/ltl/LtlExport.h new file mode 100644 index 000000000..68ed35269 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/LtlExport.h @@ -0,0 +1,32 @@ +/* + * 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_LTL_LTLEXPORT_H_ +#define ALIBABACLOUD_LTL_LTLEXPORT_H_ + +#include + +#if defined(ALIBABACLOUD_SHARED) +# if defined(ALIBABACLOUD_LTL_LIBRARY) +# define ALIBABACLOUD_LTL_EXPORT ALIBABACLOUD_DECL_EXPORT +# else +# define ALIBABACLOUD_LTL_EXPORT ALIBABACLOUD_DECL_IMPORT +# endif +#else +# define ALIBABACLOUD_LTL_EXPORT +#endif + +#endif // !ALIBABACLOUD_LTL_LTLEXPORT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/ApplyDataModelConfigInfoRequest.h b/ltl/include/alibabacloud/ltl/model/ApplyDataModelConfigInfoRequest.h new file mode 100644 index 000000000..b99cfee31 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ApplyDataModelConfigInfoRequest.h @@ -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_LTL_MODEL_APPLYDATAMODELCONFIGINFOREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_APPLYDATAMODELCONFIGINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT ApplyDataModelConfigInfoRequest : public RpcServiceRequest { +public: + ApplyDataModelConfigInfoRequest(); + ~ApplyDataModelConfigInfoRequest(); + std::string getConfiguration() const; + void setConfiguration(const std::string &configuration); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getProductKey() const; + void setProductKey(const std::string &productKey); + std::string getDataModelCode() const; + void setDataModelCode(const std::string &dataModelCode); + +private: + std::string configuration_; + std::string apiVersion_; + std::string productKey_; + std::string dataModelCode_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_APPLYDATAMODELCONFIGINFOREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/ApplyDataModelConfigInfoResult.h b/ltl/include/alibabacloud/ltl/model/ApplyDataModelConfigInfoResult.h new file mode 100644 index 000000000..7118d73a8 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ApplyDataModelConfigInfoResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_APPLYDATAMODELCONFIGINFORESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_APPLYDATAMODELCONFIGINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT ApplyDataModelConfigInfoResult : public ServiceResult + { + public: + + + ApplyDataModelConfigInfoResult(); + explicit ApplyDataModelConfigInfoResult(const std::string &payload); + ~ApplyDataModelConfigInfoResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_APPLYDATAMODELCONFIGINFORESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/AttachDataRequest.h b/ltl/include/alibabacloud/ltl/model/AttachDataRequest.h new file mode 100644 index 000000000..4003094d3 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/AttachDataRequest.h @@ -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_LTL_MODEL_ATTACHDATAREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_ATTACHDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT AttachDataRequest : public RpcServiceRequest { +public: + AttachDataRequest(); + ~AttachDataRequest(); + std::string getBusinessId() const; + void setBusinessId(const std::string &businessId); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getProductKey() const; + void setProductKey(const std::string &productKey); + std::string getValue() const; + void setValue(const std::string &value); + std::string getKey() const; + void setKey(const std::string &key); + +private: + std::string businessId_; + std::string apiVersion_; + std::string productKey_; + std::string value_; + std::string key_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_ATTACHDATAREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/AttachDataResult.h b/ltl/include/alibabacloud/ltl/model/AttachDataResult.h new file mode 100644 index 000000000..f25cb7872 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/AttachDataResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_ATTACHDATARESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_ATTACHDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT AttachDataResult : public ServiceResult + { + public: + + + AttachDataResult(); + explicit AttachDataResult(const std::string &payload); + ~AttachDataResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_ATTACHDATARESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/AttachDataWithSignatureRequest.h b/ltl/include/alibabacloud/ltl/model/AttachDataWithSignatureRequest.h new file mode 100644 index 000000000..1f5eab80d --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/AttachDataWithSignatureRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_ATTACHDATAWITHSIGNATUREREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_ATTACHDATAWITHSIGNATUREREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT AttachDataWithSignatureRequest : public RpcServiceRequest { +public: + AttachDataWithSignatureRequest(); + ~AttachDataWithSignatureRequest(); + std::string getIotSignature() const; + void setIotSignature(const std::string &iotSignature); + std::string getIotAuthType() const; + void setIotAuthType(const std::string &iotAuthType); + std::string getIotIdSource() const; + void setIotIdSource(const std::string &iotIdSource); + std::string getBusinessId() const; + void setBusinessId(const std::string &businessId); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getProductKey() const; + void setProductKey(const std::string &productKey); + std::string getIotId() const; + void setIotId(const std::string &iotId); + std::string getIotDataDigest() const; + void setIotDataDigest(const std::string &iotDataDigest); + std::string getIotIdServiceProvider() const; + void setIotIdServiceProvider(const std::string &iotIdServiceProvider); + std::string getValue() const; + void setValue(const std::string &value); + std::string getKey() const; + void setKey(const std::string &key); + +private: + std::string iotSignature_; + std::string iotAuthType_; + std::string iotIdSource_; + std::string businessId_; + std::string apiVersion_; + std::string productKey_; + std::string iotId_; + std::string iotDataDigest_; + std::string iotIdServiceProvider_; + std::string value_; + std::string key_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_ATTACHDATAWITHSIGNATUREREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/AttachDataWithSignatureResult.h b/ltl/include/alibabacloud/ltl/model/AttachDataWithSignatureResult.h new file mode 100644 index 000000000..4849bfdbb --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/AttachDataWithSignatureResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_ATTACHDATAWITHSIGNATURERESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_ATTACHDATAWITHSIGNATURERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT AttachDataWithSignatureResult : public ServiceResult + { + public: + + + AttachDataWithSignatureResult(); + explicit AttachDataWithSignatureResult(const std::string &payload); + ~AttachDataWithSignatureResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_ATTACHDATAWITHSIGNATURERESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/AuthorizeDeviceGroupRequest.h b/ltl/include/alibabacloud/ltl/model/AuthorizeDeviceGroupRequest.h new file mode 100644 index 000000000..c696b0620 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/AuthorizeDeviceGroupRequest.h @@ -0,0 +1,48 @@ +/* + * 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_LTL_MODEL_AUTHORIZEDEVICEGROUPREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_AUTHORIZEDEVICEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT AuthorizeDeviceGroupRequest : public RpcServiceRequest { +public: + AuthorizeDeviceGroupRequest(); + ~AuthorizeDeviceGroupRequest(); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getDeviceGroupId() const; + void setDeviceGroupId(const std::string &deviceGroupId); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + +private: + std::string apiVersion_; + std::string deviceGroupId_; + std::string bizChainId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_AUTHORIZEDEVICEGROUPREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/AuthorizeDeviceGroupResult.h b/ltl/include/alibabacloud/ltl/model/AuthorizeDeviceGroupResult.h new file mode 100644 index 000000000..bba4e80ac --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/AuthorizeDeviceGroupResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_AUTHORIZEDEVICEGROUPRESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_AUTHORIZEDEVICEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT AuthorizeDeviceGroupResult : public ServiceResult + { + public: + + + AuthorizeDeviceGroupResult(); + explicit AuthorizeDeviceGroupResult(const std::string &payload); + ~AuthorizeDeviceGroupResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_AUTHORIZEDEVICEGROUPRESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/AuthorizeDeviceRequest.h b/ltl/include/alibabacloud/ltl/model/AuthorizeDeviceRequest.h new file mode 100644 index 000000000..c4d1d7cea --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/AuthorizeDeviceRequest.h @@ -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_LTL_MODEL_AUTHORIZEDEVICEREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_AUTHORIZEDEVICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT AuthorizeDeviceRequest : public RpcServiceRequest { +public: + AuthorizeDeviceRequest(); + ~AuthorizeDeviceRequest(); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getDeviceGroupId() const; + void setDeviceGroupId(const std::string &deviceGroupId); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + +private: + std::string apiVersion_; + std::string deviceId_; + std::string deviceGroupId_; + std::string bizChainId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_AUTHORIZEDEVICEREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/AuthorizeDeviceResult.h b/ltl/include/alibabacloud/ltl/model/AuthorizeDeviceResult.h new file mode 100644 index 000000000..13ad3632f --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/AuthorizeDeviceResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_AUTHORIZEDEVICERESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_AUTHORIZEDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT AuthorizeDeviceResult : public ServiceResult + { + public: + + + AuthorizeDeviceResult(); + explicit AuthorizeDeviceResult(const std::string &payload); + ~AuthorizeDeviceResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_AUTHORIZEDEVICERESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseDigestInfoByDeviceRequest.h b/ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseDigestInfoByDeviceRequest.h new file mode 100644 index 000000000..6ad117fe3 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseDigestInfoByDeviceRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_BATCHUPLOADMPCOSPHASEDIGESTINFOBYDEVICEREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_BATCHUPLOADMPCOSPHASEDIGESTINFOBYDEVICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT BatchUploadMPCoSPhaseDigestInfoByDeviceRequest : public RpcServiceRequest { +public: + BatchUploadMPCoSPhaseDigestInfoByDeviceRequest(); + ~BatchUploadMPCoSPhaseDigestInfoByDeviceRequest(); + std::string getIotSignature() const; + void setIotSignature(const std::string &iotSignature); + std::string getIotAuthType() const; + void setIotAuthType(const std::string &iotAuthType); + std::string getIotIdSource() const; + void setIotIdSource(const std::string &iotIdSource); + std::string getPhaseId() const; + void setPhaseId(const std::string &phaseId); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + std::map getPhaseDataList() const; + void setPhaseDataList(std::map phaseDataList); + std::string getIotId() const; + void setIotId(const std::string &iotId); + std::string getPhaseGroupId() const; + void setPhaseGroupId(const std::string &phaseGroupId); + std::string getIotDataDigest() const; + void setIotDataDigest(const std::string &iotDataDigest); + std::string getIotIdServiceProvider() const; + void setIotIdServiceProvider(const std::string &iotIdServiceProvider); + +private: + std::string iotSignature_; + std::string iotAuthType_; + std::string iotIdSource_; + std::string phaseId_; + std::string apiVersion_; + std::string bizChainId_; + std::map phaseDataList_; + std::string iotId_; + std::string phaseGroupId_; + std::string iotDataDigest_; + std::string iotIdServiceProvider_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_BATCHUPLOADMPCOSPHASEDIGESTINFOBYDEVICEREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseDigestInfoByDeviceResult.h b/ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseDigestInfoByDeviceResult.h new file mode 100644 index 000000000..03a974cba --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseDigestInfoByDeviceResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_BATCHUPLOADMPCOSPHASEDIGESTINFOBYDEVICERESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_BATCHUPLOADMPCOSPHASEDIGESTINFOBYDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT BatchUploadMPCoSPhaseDigestInfoByDeviceResult : public ServiceResult + { + public: + + + BatchUploadMPCoSPhaseDigestInfoByDeviceResult(); + explicit BatchUploadMPCoSPhaseDigestInfoByDeviceResult(const std::string &payload); + ~BatchUploadMPCoSPhaseDigestInfoByDeviceResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_BATCHUPLOADMPCOSPHASEDIGESTINFOBYDEVICERESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseDigestInfoRequest.h b/ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseDigestInfoRequest.h new file mode 100644 index 000000000..17a6053f7 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseDigestInfoRequest.h @@ -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_LTL_MODEL_BATCHUPLOADMPCOSPHASEDIGESTINFOREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_BATCHUPLOADMPCOSPHASEDIGESTINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT BatchUploadMPCoSPhaseDigestInfoRequest : public RpcServiceRequest { +public: + BatchUploadMPCoSPhaseDigestInfoRequest(); + ~BatchUploadMPCoSPhaseDigestInfoRequest(); + std::map getPhaseDataList() const; + void setPhaseDataList(std::map phaseDataList); + std::string getPhaseId() const; + void setPhaseId(const std::string &phaseId); + std::string getPhaseGroupId() const; + void setPhaseGroupId(const std::string &phaseGroupId); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + +private: + std::map phaseDataList_; + std::string phaseId_; + std::string phaseGroupId_; + std::string apiVersion_; + std::string bizChainId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_BATCHUPLOADMPCOSPHASEDIGESTINFOREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseDigestInfoResult.h b/ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseDigestInfoResult.h new file mode 100644 index 000000000..059fe49ee --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseDigestInfoResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_BATCHUPLOADMPCOSPHASEDIGESTINFORESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_BATCHUPLOADMPCOSPHASEDIGESTINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT BatchUploadMPCoSPhaseDigestInfoResult : public ServiceResult + { + public: + + + BatchUploadMPCoSPhaseDigestInfoResult(); + explicit BatchUploadMPCoSPhaseDigestInfoResult(const std::string &payload); + ~BatchUploadMPCoSPhaseDigestInfoResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_BATCHUPLOADMPCOSPHASEDIGESTINFORESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseTextInfoByDeviceRequest.h b/ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseTextInfoByDeviceRequest.h new file mode 100644 index 000000000..48fe38176 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseTextInfoByDeviceRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_BATCHUPLOADMPCOSPHASETEXTINFOBYDEVICEREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_BATCHUPLOADMPCOSPHASETEXTINFOBYDEVICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT BatchUploadMPCoSPhaseTextInfoByDeviceRequest : public RpcServiceRequest { +public: + BatchUploadMPCoSPhaseTextInfoByDeviceRequest(); + ~BatchUploadMPCoSPhaseTextInfoByDeviceRequest(); + std::string getIotSignature() const; + void setIotSignature(const std::string &iotSignature); + std::string getIotAuthType() const; + void setIotAuthType(const std::string &iotAuthType); + std::string getIotIdSource() const; + void setIotIdSource(const std::string &iotIdSource); + std::string getPhaseId() const; + void setPhaseId(const std::string &phaseId); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + std::map getPhaseDataList() const; + void setPhaseDataList(std::map phaseDataList); + std::string getIotId() const; + void setIotId(const std::string &iotId); + std::string getPhaseGroupId() const; + void setPhaseGroupId(const std::string &phaseGroupId); + std::string getIotDataDigest() const; + void setIotDataDigest(const std::string &iotDataDigest); + std::string getIotIdServiceProvider() const; + void setIotIdServiceProvider(const std::string &iotIdServiceProvider); + +private: + std::string iotSignature_; + std::string iotAuthType_; + std::string iotIdSource_; + std::string phaseId_; + std::string apiVersion_; + std::string bizChainId_; + std::map phaseDataList_; + std::string iotId_; + std::string phaseGroupId_; + std::string iotDataDigest_; + std::string iotIdServiceProvider_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_BATCHUPLOADMPCOSPHASETEXTINFOBYDEVICEREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseTextInfoByDeviceResult.h b/ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseTextInfoByDeviceResult.h new file mode 100644 index 000000000..44514e524 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseTextInfoByDeviceResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_BATCHUPLOADMPCOSPHASETEXTINFOBYDEVICERESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_BATCHUPLOADMPCOSPHASETEXTINFOBYDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT BatchUploadMPCoSPhaseTextInfoByDeviceResult : public ServiceResult + { + public: + + + BatchUploadMPCoSPhaseTextInfoByDeviceResult(); + explicit BatchUploadMPCoSPhaseTextInfoByDeviceResult(const std::string &payload); + ~BatchUploadMPCoSPhaseTextInfoByDeviceResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_BATCHUPLOADMPCOSPHASETEXTINFOBYDEVICERESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseTextInfoRequest.h b/ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseTextInfoRequest.h new file mode 100644 index 000000000..9e5240634 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseTextInfoRequest.h @@ -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_LTL_MODEL_BATCHUPLOADMPCOSPHASETEXTINFOREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_BATCHUPLOADMPCOSPHASETEXTINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT BatchUploadMPCoSPhaseTextInfoRequest : public RpcServiceRequest { +public: + BatchUploadMPCoSPhaseTextInfoRequest(); + ~BatchUploadMPCoSPhaseTextInfoRequest(); + std::map getPhaseDataList() const; + void setPhaseDataList(std::map phaseDataList); + std::string getPhaseId() const; + void setPhaseId(const std::string &phaseId); + std::string getPhaseGroupId() const; + void setPhaseGroupId(const std::string &phaseGroupId); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + +private: + std::map phaseDataList_; + std::string phaseId_; + std::string phaseGroupId_; + std::string apiVersion_; + std::string bizChainId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_BATCHUPLOADMPCOSPHASETEXTINFOREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseTextInfoResult.h b/ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseTextInfoResult.h new file mode 100644 index 000000000..862cb9994 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/BatchUploadMPCoSPhaseTextInfoResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_BATCHUPLOADMPCOSPHASETEXTINFORESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_BATCHUPLOADMPCOSPHASETEXTINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT BatchUploadMPCoSPhaseTextInfoResult : public ServiceResult + { + public: + + + BatchUploadMPCoSPhaseTextInfoResult(); + explicit BatchUploadMPCoSPhaseTextInfoResult(const std::string &payload); + ~BatchUploadMPCoSPhaseTextInfoResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_BATCHUPLOADMPCOSPHASETEXTINFORESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/CreateMPCoSPhaseGroupRequest.h b/ltl/include/alibabacloud/ltl/model/CreateMPCoSPhaseGroupRequest.h new file mode 100644 index 000000000..6bc468722 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/CreateMPCoSPhaseGroupRequest.h @@ -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_LTL_MODEL_CREATEMPCOSPHASEGROUPREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_CREATEMPCOSPHASEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT CreateMPCoSPhaseGroupRequest : public RpcServiceRequest { +public: + CreateMPCoSPhaseGroupRequest(); + ~CreateMPCoSPhaseGroupRequest(); + std::string getName() const; + void setName(const std::string &name); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getRemark() const; + void setRemark(const std::string &remark); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + +private: + std::string name_; + std::string apiVersion_; + std::string remark_; + std::string bizChainId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_CREATEMPCOSPHASEGROUPREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/CreateMPCoSPhaseGroupResult.h b/ltl/include/alibabacloud/ltl/model/CreateMPCoSPhaseGroupResult.h new file mode 100644 index 000000000..a2011ef9f --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/CreateMPCoSPhaseGroupResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_CREATEMPCOSPHASEGROUPRESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_CREATEMPCOSPHASEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT CreateMPCoSPhaseGroupResult : public ServiceResult + { + public: + + + CreateMPCoSPhaseGroupResult(); + explicit CreateMPCoSPhaseGroupResult(const std::string &payload); + ~CreateMPCoSPhaseGroupResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_CREATEMPCOSPHASEGROUPRESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/CreateMPCoSPhaseRequest.h b/ltl/include/alibabacloud/ltl/model/CreateMPCoSPhaseRequest.h new file mode 100644 index 000000000..3debd51ff --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/CreateMPCoSPhaseRequest.h @@ -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_LTL_MODEL_CREATEMPCOSPHASEREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_CREATEMPCOSPHASEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT CreateMPCoSPhaseRequest : public RpcServiceRequest { +public: + CreateMPCoSPhaseRequest(); + ~CreateMPCoSPhaseRequest(); + std::string getName() const; + void setName(const std::string &name); + std::string getPhaseGroupId() const; + void setPhaseGroupId(const std::string &phaseGroupId); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getRemark() const; + void setRemark(const std::string &remark); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + +private: + std::string name_; + std::string phaseGroupId_; + std::string apiVersion_; + std::string remark_; + std::string bizChainId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_CREATEMPCOSPHASEREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/CreateMPCoSPhaseResult.h b/ltl/include/alibabacloud/ltl/model/CreateMPCoSPhaseResult.h new file mode 100644 index 000000000..e81424e3a --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/CreateMPCoSPhaseResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_CREATEMPCOSPHASERESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_CREATEMPCOSPHASERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT CreateMPCoSPhaseResult : public ServiceResult + { + public: + + + CreateMPCoSPhaseResult(); + explicit CreateMPCoSPhaseResult(const std::string &payload); + ~CreateMPCoSPhaseResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_CREATEMPCOSPHASERESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/CreateMemberRequest.h b/ltl/include/alibabacloud/ltl/model/CreateMemberRequest.h new file mode 100644 index 000000000..bf4184c88 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/CreateMemberRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_CREATEMEMBERREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_CREATEMEMBERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT CreateMemberRequest : public RpcServiceRequest { +public: + CreateMemberRequest(); + ~CreateMemberRequest(); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getRemark() const; + void setRemark(const std::string &remark); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + std::string getMemberUid() const; + void setMemberUid(const std::string &memberUid); + std::string getMemberContact() const; + void setMemberContact(const std::string &memberContact); + std::string getMemberPhone() const; + void setMemberPhone(const std::string &memberPhone); + std::string getMemberName() const; + void setMemberName(const std::string &memberName); + +private: + std::string apiVersion_; + std::string remark_; + std::string bizChainId_; + std::string memberUid_; + std::string memberContact_; + std::string memberPhone_; + std::string memberName_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_CREATEMEMBERREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/CreateMemberResult.h b/ltl/include/alibabacloud/ltl/model/CreateMemberResult.h new file mode 100644 index 000000000..170ae2c93 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/CreateMemberResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_CREATEMEMBERRESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_CREATEMEMBERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT CreateMemberResult : public ServiceResult + { + public: + + + CreateMemberResult(); + explicit CreateMemberResult(const std::string &payload); + ~CreateMemberResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_CREATEMEMBERRESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/DescribeCapacityInfoRequest.h b/ltl/include/alibabacloud/ltl/model/DescribeCapacityInfoRequest.h new file mode 100644 index 000000000..6afab937f --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/DescribeCapacityInfoRequest.h @@ -0,0 +1,45 @@ +/* + * 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_LTL_MODEL_DESCRIBECAPACITYINFOREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_DESCRIBECAPACITYINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT DescribeCapacityInfoRequest : public RpcServiceRequest { +public: + DescribeCapacityInfoRequest(); + ~DescribeCapacityInfoRequest(); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + +private: + std::string apiVersion_; + std::string bizChainId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_DESCRIBECAPACITYINFOREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/DescribeCapacityInfoResult.h b/ltl/include/alibabacloud/ltl/model/DescribeCapacityInfoResult.h new file mode 100644 index 000000000..4397c7ac4 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/DescribeCapacityInfoResult.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_DESCRIBECAPACITYINFORESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_DESCRIBECAPACITYINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT DescribeCapacityInfoResult : public ServiceResult + { + public: + struct Data + { + long countQuota; + long memberUsedCapacity; + long capacityQuota; + long usedCapacity; + long usedCount; + long memberUsedCount; + }; + + + DescribeCapacityInfoResult(); + explicit DescribeCapacityInfoResult(const std::string &payload); + ~DescribeCapacityInfoResult(); + std::string getMessage()const; + Data getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_DESCRIBECAPACITYINFORESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/DescribeMPCoSAuthorizedInfoRequest.h b/ltl/include/alibabacloud/ltl/model/DescribeMPCoSAuthorizedInfoRequest.h new file mode 100644 index 000000000..084569279 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/DescribeMPCoSAuthorizedInfoRequest.h @@ -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_LTL_MODEL_DESCRIBEMPCOSAUTHORIZEDINFOREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_DESCRIBEMPCOSAUTHORIZEDINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT DescribeMPCoSAuthorizedInfoRequest : public RpcServiceRequest { +public: + DescribeMPCoSAuthorizedInfoRequest(); + ~DescribeMPCoSAuthorizedInfoRequest(); + std::string getPhaseGroupId() const; + void setPhaseGroupId(const std::string &phaseGroupId); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + std::string getMemberId() const; + void setMemberId(const std::string &memberId); + +private: + std::string phaseGroupId_; + std::string apiVersion_; + std::string bizChainId_; + std::string memberId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_DESCRIBEMPCOSAUTHORIZEDINFOREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/DescribeMPCoSAuthorizedInfoResult.h b/ltl/include/alibabacloud/ltl/model/DescribeMPCoSAuthorizedInfoResult.h new file mode 100644 index 000000000..b4dbbd986 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/DescribeMPCoSAuthorizedInfoResult.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_DESCRIBEMPCOSAUTHORIZEDINFORESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_DESCRIBEMPCOSAUTHORIZEDINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT DescribeMPCoSAuthorizedInfoResult : public ServiceResult + { + public: + struct Data + { + struct AuthorizedPhase + { + std::string phaseId; + std::string phaseName; + }; + struct UnAuthorizedPhase + { + std::string phaseId; + std::string phaseName; + }; + std::vector authorizedPhaseList; + std::vector unAuthorizedPhaseList; + }; + + + DescribeMPCoSAuthorizedInfoResult(); + explicit DescribeMPCoSAuthorizedInfoResult(const std::string &payload); + ~DescribeMPCoSAuthorizedInfoResult(); + std::string getMessage()const; + Data getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_DESCRIBEMPCOSAUTHORIZEDINFORESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/DescribeMPCoSPhaseInfoRequest.h b/ltl/include/alibabacloud/ltl/model/DescribeMPCoSPhaseInfoRequest.h new file mode 100644 index 000000000..e42d68101 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/DescribeMPCoSPhaseInfoRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_DESCRIBEMPCOSPHASEINFOREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_DESCRIBEMPCOSPHASEINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT DescribeMPCoSPhaseInfoRequest : public RpcServiceRequest { +public: + DescribeMPCoSPhaseInfoRequest(); + ~DescribeMPCoSPhaseInfoRequest(); + std::string getDataKey() const; + void setDataKey(const std::string &dataKey); + std::string getDataSeq() const; + void setDataSeq(const std::string &dataSeq); + std::string getPhaseId() const; + void setPhaseId(const std::string &phaseId); + std::string getPhaseGroupId() const; + void setPhaseGroupId(const std::string &phaseGroupId); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + +private: + std::string dataKey_; + std::string dataSeq_; + std::string phaseId_; + std::string phaseGroupId_; + std::string apiVersion_; + std::string bizChainId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_DESCRIBEMPCOSPHASEINFOREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/DescribeMPCoSPhaseInfoResult.h b/ltl/include/alibabacloud/ltl/model/DescribeMPCoSPhaseInfoResult.h new file mode 100644 index 000000000..4556f8e54 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/DescribeMPCoSPhaseInfoResult.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_DESCRIBEMPCOSPHASEINFORESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_DESCRIBEMPCOSPHASEINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT DescribeMPCoSPhaseInfoResult : public ServiceResult + { + public: + struct Data + { + struct RelatedData + { + std::string relatedPhaseId; + std::string relatedDataKey; + std::string relatedPhaseDataHash; + std::string relatedDataSeq; + std::string relatedPhaseName; + }; + std::string iotId; + std::string dataValue; + std::string blockHash; + std::string previousHash; + std::string transactionHash; + long blockNumber; + std::vector relatedDataList; + long timestamp; + std::string productKey; + std::string dataHash; + }; + + + DescribeMPCoSPhaseInfoResult(); + explicit DescribeMPCoSPhaseInfoResult(const std::string &payload); + ~DescribeMPCoSPhaseInfoResult(); + std::string getMessage()const; + Data getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_DESCRIBEMPCOSPHASEINFORESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/DescribeMPCoSResourceInfoRequest.h b/ltl/include/alibabacloud/ltl/model/DescribeMPCoSResourceInfoRequest.h new file mode 100644 index 000000000..c68ba1a11 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/DescribeMPCoSResourceInfoRequest.h @@ -0,0 +1,45 @@ +/* + * 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_LTL_MODEL_DESCRIBEMPCOSRESOURCEINFOREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_DESCRIBEMPCOSRESOURCEINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT DescribeMPCoSResourceInfoRequest : public RpcServiceRequest { +public: + DescribeMPCoSResourceInfoRequest(); + ~DescribeMPCoSResourceInfoRequest(); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + +private: + std::string apiVersion_; + std::string bizChainId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_DESCRIBEMPCOSRESOURCEINFOREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/DescribeMPCoSResourceInfoResult.h b/ltl/include/alibabacloud/ltl/model/DescribeMPCoSResourceInfoResult.h new file mode 100644 index 000000000..b8ede8c80 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/DescribeMPCoSResourceInfoResult.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_DESCRIBEMPCOSRESOURCEINFORESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_DESCRIBEMPCOSRESOURCEINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT DescribeMPCoSResourceInfoResult : public ServiceResult + { + public: + struct Data + { + struct PhaseQuotaInfo + { + std::string phaseGroupId; + std::string phaseGroupName; + long phaseQuota; + long usedPhase; + }; + long phaseGroupQuota; + long usedPhaseGroup; + long usedMember; + std::vector phaseQuotaInfoList; + long memberQuota; + }; + + + DescribeMPCoSResourceInfoResult(); + explicit DescribeMPCoSResourceInfoResult(const std::string &payload); + ~DescribeMPCoSResourceInfoResult(); + std::string getMessage()const; + Data getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_DESCRIBEMPCOSRESOURCEINFORESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/DescribeMemberCapacityInfoRequest.h b/ltl/include/alibabacloud/ltl/model/DescribeMemberCapacityInfoRequest.h new file mode 100644 index 000000000..354b8184a --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/DescribeMemberCapacityInfoRequest.h @@ -0,0 +1,45 @@ +/* + * 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_LTL_MODEL_DESCRIBEMEMBERCAPACITYINFOREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_DESCRIBEMEMBERCAPACITYINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT DescribeMemberCapacityInfoRequest : public RpcServiceRequest { +public: + DescribeMemberCapacityInfoRequest(); + ~DescribeMemberCapacityInfoRequest(); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + +private: + std::string apiVersion_; + std::string bizChainId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_DESCRIBEMEMBERCAPACITYINFOREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/DescribeMemberCapacityInfoResult.h b/ltl/include/alibabacloud/ltl/model/DescribeMemberCapacityInfoResult.h new file mode 100644 index 000000000..c381d6c69 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/DescribeMemberCapacityInfoResult.h @@ -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_LTL_MODEL_DESCRIBEMEMBERCAPACITYINFORESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_DESCRIBEMEMBERCAPACITYINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT DescribeMemberCapacityInfoResult : public ServiceResult + { + public: + struct MemberCapacityInfo + { + std::string memberId; + std::string memberUid; + std::string usedCapacity; + std::string memberName; + std::string usedCount; + }; + + + DescribeMemberCapacityInfoResult(); + explicit DescribeMemberCapacityInfoResult(const std::string &payload); + ~DescribeMemberCapacityInfoResult(); + std::string getMessage()const; + std::vector getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::vector data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_DESCRIBEMEMBERCAPACITYINFORESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/DescribeResourceInfoRequest.h b/ltl/include/alibabacloud/ltl/model/DescribeResourceInfoRequest.h new file mode 100644 index 000000000..7497f8dad --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/DescribeResourceInfoRequest.h @@ -0,0 +1,45 @@ +/* + * 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_LTL_MODEL_DESCRIBERESOURCEINFOREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_DESCRIBERESOURCEINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT DescribeResourceInfoRequest : public RpcServiceRequest { +public: + DescribeResourceInfoRequest(); + ~DescribeResourceInfoRequest(); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + +private: + std::string apiVersion_; + std::string bizChainId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_DESCRIBERESOURCEINFOREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/DescribeResourceInfoResult.h b/ltl/include/alibabacloud/ltl/model/DescribeResourceInfoResult.h new file mode 100644 index 000000000..0986d09f4 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/DescribeResourceInfoResult.h @@ -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_LTL_MODEL_DESCRIBERESOURCEINFORESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_DESCRIBERESOURCEINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT DescribeResourceInfoResult : public ServiceResult + { + public: + struct Data + { + std::string status; + std::string authorizeType; + long effectiveTime; + long expiredTime; + std::string region; + }; + + + DescribeResourceInfoResult(); + explicit DescribeResourceInfoResult(const std::string &payload); + ~DescribeResourceInfoResult(); + std::string getMessage()const; + Data getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_DESCRIBERESOURCEINFORESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/GetBlockChainInfoRequest.h b/ltl/include/alibabacloud/ltl/model/GetBlockChainInfoRequest.h new file mode 100644 index 000000000..cf1bea9c6 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/GetBlockChainInfoRequest.h @@ -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_LTL_MODEL_GETBLOCKCHAININFOREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_GETBLOCKCHAININFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT GetBlockChainInfoRequest : public RpcServiceRequest { +public: + GetBlockChainInfoRequest(); + ~GetBlockChainInfoRequest(); + std::string getBusinessId() const; + void setBusinessId(const std::string &businessId); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getProductKey() const; + void setProductKey(const std::string &productKey); + std::string getKey() const; + void setKey(const std::string &key); + +private: + std::string businessId_; + std::string apiVersion_; + std::string productKey_; + std::string key_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_GETBLOCKCHAININFOREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/GetBlockChainInfoResult.h b/ltl/include/alibabacloud/ltl/model/GetBlockChainInfoResult.h new file mode 100644 index 000000000..3f16034b9 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/GetBlockChainInfoResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_GETBLOCKCHAININFORESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_GETBLOCKCHAININFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT GetBlockChainInfoResult : public ServiceResult + { + public: + + + GetBlockChainInfoResult(); + explicit GetBlockChainInfoResult(const std::string &payload); + ~GetBlockChainInfoResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_GETBLOCKCHAININFORESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/GetDataModelConfigInfoRequest.h b/ltl/include/alibabacloud/ltl/model/GetDataModelConfigInfoRequest.h new file mode 100644 index 000000000..039bd6423 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/GetDataModelConfigInfoRequest.h @@ -0,0 +1,48 @@ +/* + * 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_LTL_MODEL_GETDATAMODELCONFIGINFOREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_GETDATAMODELCONFIGINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT GetDataModelConfigInfoRequest : public RpcServiceRequest { +public: + GetDataModelConfigInfoRequest(); + ~GetDataModelConfigInfoRequest(); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getProductKey() const; + void setProductKey(const std::string &productKey); + std::string getDataModelCode() const; + void setDataModelCode(const std::string &dataModelCode); + +private: + std::string apiVersion_; + std::string productKey_; + std::string dataModelCode_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_GETDATAMODELCONFIGINFOREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/GetDataModelConfigInfoResult.h b/ltl/include/alibabacloud/ltl/model/GetDataModelConfigInfoResult.h new file mode 100644 index 000000000..6c9a94870 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/GetDataModelConfigInfoResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_GETDATAMODELCONFIGINFORESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_GETDATAMODELCONFIGINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT GetDataModelConfigInfoResult : public ServiceResult + { + public: + + + GetDataModelConfigInfoResult(); + explicit GetDataModelConfigInfoResult(const std::string &payload); + ~GetDataModelConfigInfoResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_GETDATAMODELCONFIGINFORESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/GetDataRequest.h b/ltl/include/alibabacloud/ltl/model/GetDataRequest.h new file mode 100644 index 000000000..969de63a3 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/GetDataRequest.h @@ -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_LTL_MODEL_GETDATAREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_GETDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT GetDataRequest : public RpcServiceRequest { +public: + GetDataRequest(); + ~GetDataRequest(); + std::string getBusinessId() const; + void setBusinessId(const std::string &businessId); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getProductKey() const; + void setProductKey(const std::string &productKey); + std::string getKey() const; + void setKey(const std::string &key); + +private: + std::string businessId_; + std::string apiVersion_; + std::string productKey_; + std::string key_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_GETDATAREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/GetDataResult.h b/ltl/include/alibabacloud/ltl/model/GetDataResult.h new file mode 100644 index 000000000..c26298a4d --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/GetDataResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_GETDATARESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_GETDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT GetDataResult : public ServiceResult + { + public: + + + GetDataResult(); + explicit GetDataResult(const std::string &payload); + ~GetDataResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_GETDATARESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/GetHistoryDataCountRequest.h b/ltl/include/alibabacloud/ltl/model/GetHistoryDataCountRequest.h new file mode 100644 index 000000000..9c30bb622 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/GetHistoryDataCountRequest.h @@ -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_LTL_MODEL_GETHISTORYDATACOUNTREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_GETHISTORYDATACOUNTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT GetHistoryDataCountRequest : public RpcServiceRequest { +public: + GetHistoryDataCountRequest(); + ~GetHistoryDataCountRequest(); + long getEndTime() const; + void setEndTime(long endTime); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + long getStartTime() const; + void setStartTime(long startTime); + std::string getProductKey() const; + void setProductKey(const std::string &productKey); + std::string getKey() const; + void setKey(const std::string &key); + +private: + long endTime_; + std::string apiVersion_; + long startTime_; + std::string productKey_; + std::string key_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_GETHISTORYDATACOUNTREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/GetHistoryDataCountResult.h b/ltl/include/alibabacloud/ltl/model/GetHistoryDataCountResult.h new file mode 100644 index 000000000..9c702d27a --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/GetHistoryDataCountResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_GETHISTORYDATACOUNTRESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_GETHISTORYDATACOUNTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT GetHistoryDataCountResult : public ServiceResult + { + public: + + + GetHistoryDataCountResult(); + explicit GetHistoryDataCountResult(const std::string &payload); + ~GetHistoryDataCountResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_GETHISTORYDATACOUNTRESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/GetHistoryDataListRequest.h b/ltl/include/alibabacloud/ltl/model/GetHistoryDataListRequest.h new file mode 100644 index 000000000..669374375 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/GetHistoryDataListRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_GETHISTORYDATALISTREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_GETHISTORYDATALISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT GetHistoryDataListRequest : public RpcServiceRequest { +public: + GetHistoryDataListRequest(); + ~GetHistoryDataListRequest(); + long getEndTime() const; + void setEndTime(long endTime); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + int getCurrentPage() const; + void setCurrentPage(int currentPage); + long getStartTime() const; + void setStartTime(long startTime); + std::string getProductKey() const; + void setProductKey(const std::string &productKey); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getKey() const; + void setKey(const std::string &key); + +private: + long endTime_; + std::string apiVersion_; + int currentPage_; + long startTime_; + std::string productKey_; + int pageSize_; + std::string key_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_GETHISTORYDATALISTREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/GetHistoryDataListResult.h b/ltl/include/alibabacloud/ltl/model/GetHistoryDataListResult.h new file mode 100644 index 000000000..1ddad7856 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/GetHistoryDataListResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_GETHISTORYDATALISTRESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_GETHISTORYDATALISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT GetHistoryDataListResult : public ServiceResult + { + public: + + + GetHistoryDataListResult(); + explicit GetHistoryDataListResult(const std::string &payload); + ~GetHistoryDataListResult(); + std::string getMessage()const; + std::vector getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::vector data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_GETHISTORYDATALISTRESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/ListDependentDataModelsRequest.h b/ltl/include/alibabacloud/ltl/model/ListDependentDataModelsRequest.h new file mode 100644 index 000000000..5b0f08859 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ListDependentDataModelsRequest.h @@ -0,0 +1,45 @@ +/* + * 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_LTL_MODEL_LISTDEPENDENTDATAMODELSREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_LISTDEPENDENTDATAMODELSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT ListDependentDataModelsRequest : public RpcServiceRequest { +public: + ListDependentDataModelsRequest(); + ~ListDependentDataModelsRequest(); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getProductKey() const; + void setProductKey(const std::string &productKey); + +private: + std::string apiVersion_; + std::string productKey_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_LISTDEPENDENTDATAMODELSREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/ListDependentDataModelsResult.h b/ltl/include/alibabacloud/ltl/model/ListDependentDataModelsResult.h new file mode 100644 index 000000000..ce44b10f3 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ListDependentDataModelsResult.h @@ -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_LTL_MODEL_LISTDEPENDENTDATAMODELSRESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_LISTDEPENDENTDATAMODELSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT ListDependentDataModelsResult : public ServiceResult + { + public: + struct DataModelInfo + { + std::string dataModelName; + std::string dataModelCode; + }; + + + ListDependentDataModelsResult(); + explicit ListDependentDataModelsResult(const std::string &payload); + ~ListDependentDataModelsResult(); + std::string getMessage()const; + std::vector getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::vector data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_LISTDEPENDENTDATAMODELSRESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/ListDeviceGroupRequest.h b/ltl/include/alibabacloud/ltl/model/ListDeviceGroupRequest.h new file mode 100644 index 000000000..d257e22ca --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ListDeviceGroupRequest.h @@ -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_LTL_MODEL_LISTDEVICEGROUPREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_LISTDEVICEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT ListDeviceGroupRequest : public RpcServiceRequest { +public: + ListDeviceGroupRequest(); + ~ListDeviceGroupRequest(); + int getSize() const; + void setSize(int size); + int getNum() const; + void setNum(int num); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getProductKey() const; + void setProductKey(const std::string &productKey); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + +private: + int size_; + int num_; + std::string apiVersion_; + std::string productKey_; + std::string bizChainId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_LISTDEVICEGROUPREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/ListDeviceGroupResult.h b/ltl/include/alibabacloud/ltl/model/ListDeviceGroupResult.h new file mode 100644 index 000000000..32a72630f --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ListDeviceGroupResult.h @@ -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_LTL_MODEL_LISTDEVICEGROUPRESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_LISTDEVICEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT ListDeviceGroupResult : public ServiceResult + { + public: + struct Data + { + struct DeviceGroupInfo + { + std::string status; + std::string authorizeType; + std::string ownerName; + std::string deviceGroupId; + std::string ownerUid; + std::string productKey; + std::string remark; + }; + std::vector pageData; + int size; + int num; + int total; + }; + + + ListDeviceGroupResult(); + explicit ListDeviceGroupResult(const std::string &payload); + ~ListDeviceGroupResult(); + std::string getMessage()const; + Data getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_LISTDEVICEGROUPRESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/ListDeviceRequest.h b/ltl/include/alibabacloud/ltl/model/ListDeviceRequest.h new file mode 100644 index 000000000..adfa001c7 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ListDeviceRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_LISTDEVICEREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_LISTDEVICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT ListDeviceRequest : public RpcServiceRequest { +public: + ListDeviceRequest(); + ~ListDeviceRequest(); + std::string getIotId() const; + void setIotId(const std::string &iotId); + int getSize() const; + void setSize(int size); + int getNum() const; + void setNum(int num); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getDeviceGroupId() const; + void setDeviceGroupId(const std::string &deviceGroupId); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + +private: + std::string iotId_; + int size_; + int num_; + std::string apiVersion_; + std::string deviceGroupId_; + std::string bizChainId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_LISTDEVICEREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/ListDeviceResult.h b/ltl/include/alibabacloud/ltl/model/ListDeviceResult.h new file mode 100644 index 000000000..e4a8eae34 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ListDeviceResult.h @@ -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_LTL_MODEL_LISTDEVICERESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_LISTDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT ListDeviceResult : public ServiceResult + { + public: + struct Data + { + struct DeviceInfo + { + std::string status; + std::string iotId; + long lastSaveTime; + std::string deviceId; + }; + std::vector pageData; + int size; + int num; + int total; + }; + + + ListDeviceResult(); + explicit ListDeviceResult(const std::string &payload); + ~ListDeviceResult(); + std::string getMessage()const; + Data getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_LISTDEVICERESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/ListMPCoSPhaseGroupRequest.h b/ltl/include/alibabacloud/ltl/model/ListMPCoSPhaseGroupRequest.h new file mode 100644 index 000000000..357551141 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ListMPCoSPhaseGroupRequest.h @@ -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_LTL_MODEL_LISTMPCOSPHASEGROUPREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_LISTMPCOSPHASEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT ListMPCoSPhaseGroupRequest : public RpcServiceRequest { +public: + ListMPCoSPhaseGroupRequest(); + ~ListMPCoSPhaseGroupRequest(); + int getSize() const; + void setSize(int size); + int getNum() const; + void setNum(int num); + std::string getName() const; + void setName(const std::string &name); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + +private: + int size_; + int num_; + std::string name_; + std::string apiVersion_; + std::string bizChainId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_LISTMPCOSPHASEGROUPREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/ListMPCoSPhaseGroupResult.h b/ltl/include/alibabacloud/ltl/model/ListMPCoSPhaseGroupResult.h new file mode 100644 index 000000000..7870a8376 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ListMPCoSPhaseGroupResult.h @@ -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_LTL_MODEL_LISTMPCOSPHASEGROUPRESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_LISTMPCOSPHASEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT ListMPCoSPhaseGroupResult : public ServiceResult + { + public: + struct Data + { + struct PhaseGroupInfo + { + std::string phaseGroupId; + std::string name; + std::string remark; + }; + std::vector pageData; + int size; + int num; + int total; + }; + + + ListMPCoSPhaseGroupResult(); + explicit ListMPCoSPhaseGroupResult(const std::string &payload); + ~ListMPCoSPhaseGroupResult(); + std::string getMessage()const; + Data getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_LISTMPCOSPHASEGROUPRESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/ListMPCoSPhaseHistoryRequest.h b/ltl/include/alibabacloud/ltl/model/ListMPCoSPhaseHistoryRequest.h new file mode 100644 index 000000000..b39673dd6 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ListMPCoSPhaseHistoryRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_LISTMPCOSPHASEHISTORYREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_LISTMPCOSPHASEHISTORYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT ListMPCoSPhaseHistoryRequest : public RpcServiceRequest { +public: + ListMPCoSPhaseHistoryRequest(); + ~ListMPCoSPhaseHistoryRequest(); + int getNum() const; + void setNum(int num); + std::string getPhaseId() const; + void setPhaseId(const std::string &phaseId); + long getEndTime() const; + void setEndTime(long endTime); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + long getStartTime() const; + void setStartTime(long startTime); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + std::string getDataKey() const; + void setDataKey(const std::string &dataKey); + int getSize() const; + void setSize(int size); + std::string getPhaseGroupId() const; + void setPhaseGroupId(const std::string &phaseGroupId); + +private: + int num_; + std::string phaseId_; + long endTime_; + std::string apiVersion_; + long startTime_; + std::string bizChainId_; + std::string dataKey_; + int size_; + std::string phaseGroupId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_LISTMPCOSPHASEHISTORYREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/ListMPCoSPhaseHistoryResult.h b/ltl/include/alibabacloud/ltl/model/ListMPCoSPhaseHistoryResult.h new file mode 100644 index 000000000..8b66f5b60 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ListMPCoSPhaseHistoryResult.h @@ -0,0 +1,77 @@ +/* + * 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_LTL_MODEL_LISTMPCOSPHASEHISTORYRESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_LISTMPCOSPHASEHISTORYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT ListMPCoSPhaseHistoryResult : public ServiceResult + { + public: + struct Data + { + struct HistoryDataInfo + { + std::string iotId; + std::string dataValue; + std::string blockHash; + std::string dataSeq; + std::string previousHash; + std::string transactionHash; + long blockNumber; + long timestamp; + std::string productKey; + std::string dataHash; + }; + std::vector pageData; + int size; + int num; + int total; + }; + + + ListMPCoSPhaseHistoryResult(); + explicit ListMPCoSPhaseHistoryResult(const std::string &payload); + ~ListMPCoSPhaseHistoryResult(); + std::string getMessage()const; + Data getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_LISTMPCOSPHASEHISTORYRESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/ListMPCoSPhaseRequest.h b/ltl/include/alibabacloud/ltl/model/ListMPCoSPhaseRequest.h new file mode 100644 index 000000000..ae059df06 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ListMPCoSPhaseRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_LISTMPCOSPHASEREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_LISTMPCOSPHASEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT ListMPCoSPhaseRequest : public RpcServiceRequest { +public: + ListMPCoSPhaseRequest(); + ~ListMPCoSPhaseRequest(); + int getSize() const; + void setSize(int size); + int getNum() const; + void setNum(int num); + std::string getName() const; + void setName(const std::string &name); + std::string getPhaseGroupId() const; + void setPhaseGroupId(const std::string &phaseGroupId); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + +private: + int size_; + int num_; + std::string name_; + std::string phaseGroupId_; + std::string apiVersion_; + std::string bizChainId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_LISTMPCOSPHASEREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/ListMPCoSPhaseResult.h b/ltl/include/alibabacloud/ltl/model/ListMPCoSPhaseResult.h new file mode 100644 index 000000000..6e3e921c8 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ListMPCoSPhaseResult.h @@ -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_LTL_MODEL_LISTMPCOSPHASERESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_LISTMPCOSPHASERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT ListMPCoSPhaseResult : public ServiceResult + { + public: + struct Data + { + struct PhaseInfo + { + std::string phaseId; + int accessPermission; + std::string name; + std::string remark; + }; + std::vector pageData; + int size; + int num; + int total; + }; + + + ListMPCoSPhaseResult(); + explicit ListMPCoSPhaseResult(const std::string &payload); + ~ListMPCoSPhaseResult(); + std::string getMessage()const; + Data getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_LISTMPCOSPHASERESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/ListMemberRequest.h b/ltl/include/alibabacloud/ltl/model/ListMemberRequest.h new file mode 100644 index 000000000..c0a9b88a1 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ListMemberRequest.h @@ -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_LTL_MODEL_LISTMEMBERREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_LISTMEMBERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT ListMemberRequest : public RpcServiceRequest { +public: + ListMemberRequest(); + ~ListMemberRequest(); + int getSize() const; + void setSize(int size); + std::string getMemberUid() const; + void setMemberUid(const std::string &memberUid); + int getNum() const; + void setNum(int num); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + +private: + int size_; + std::string memberUid_; + int num_; + std::string apiVersion_; + std::string bizChainId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_LISTMEMBERREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/ListMemberResult.h b/ltl/include/alibabacloud/ltl/model/ListMemberResult.h new file mode 100644 index 000000000..0859ee796 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ListMemberResult.h @@ -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_LTL_MODEL_LISTMEMBERRESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_LISTMEMBERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT ListMemberResult : public ServiceResult + { + public: + struct Data + { + struct MemberInfo + { + std::string status; + std::string memberId; + std::string memberUid; + std::string memberContact; + std::string memberName; + std::string memberPhone; + std::string remark; + }; + std::vector pageData; + int size; + int num; + int total; + }; + + + ListMemberResult(); + explicit ListMemberResult(const std::string &payload); + ~ListMemberResult(); + std::string getMessage()const; + Data getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_LISTMEMBERRESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/ListMultiPartyCollaborationChainRequest.h b/ltl/include/alibabacloud/ltl/model/ListMultiPartyCollaborationChainRequest.h new file mode 100644 index 000000000..5c8c13ede --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ListMultiPartyCollaborationChainRequest.h @@ -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_LTL_MODEL_LISTMULTIPARTYCOLLABORATIONCHAINREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_LISTMULTIPARTYCOLLABORATIONCHAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT ListMultiPartyCollaborationChainRequest : public RpcServiceRequest { +public: + ListMultiPartyCollaborationChainRequest(); + ~ListMultiPartyCollaborationChainRequest(); + int getSize() const; + void setSize(int size); + int getNum() const; + void setNum(int num); + std::string getName() const; + void setName(const std::string &name); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + +private: + int size_; + int num_; + std::string name_; + std::string apiVersion_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_LISTMULTIPARTYCOLLABORATIONCHAINREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/ListMultiPartyCollaborationChainResult.h b/ltl/include/alibabacloud/ltl/model/ListMultiPartyCollaborationChainResult.h new file mode 100644 index 000000000..a209a45a5 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ListMultiPartyCollaborationChainResult.h @@ -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_LTL_MODEL_LISTMULTIPARTYCOLLABORATIONCHAINRESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_LISTMULTIPARTYCOLLABORATIONCHAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT ListMultiPartyCollaborationChainResult : public ServiceResult + { + public: + struct Data + { + struct MultiPartyCollaborationChainInfo + { + std::string roleType; + std::string bizChainId; + std::string name; + std::string remark; + }; + std::vector pageData; + int size; + int num; + int total; + }; + + + ListMultiPartyCollaborationChainResult(); + explicit ListMultiPartyCollaborationChainResult(const std::string &payload); + ~ListMultiPartyCollaborationChainResult(); + std::string getMessage()const; + Data getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_LISTMULTIPARTYCOLLABORATIONCHAINRESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/ListPSMemberDataTypeCodeRequest.h b/ltl/include/alibabacloud/ltl/model/ListPSMemberDataTypeCodeRequest.h new file mode 100644 index 000000000..a2f6d1262 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ListPSMemberDataTypeCodeRequest.h @@ -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_LTL_MODEL_LISTPSMEMBERDATATYPECODEREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_LISTPSMEMBERDATATYPECODEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT ListPSMemberDataTypeCodeRequest : public RpcServiceRequest { +public: + ListPSMemberDataTypeCodeRequest(); + ~ListPSMemberDataTypeCodeRequest(); + int getSize() const; + void setSize(int size); + std::string getMemberUid() const; + void setMemberUid(const std::string &memberUid); + int getNum() const; + void setNum(int num); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + +private: + int size_; + std::string memberUid_; + int num_; + std::string apiVersion_; + std::string bizChainId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_LISTPSMEMBERDATATYPECODEREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/ListPSMemberDataTypeCodeResult.h b/ltl/include/alibabacloud/ltl/model/ListPSMemberDataTypeCodeResult.h new file mode 100644 index 000000000..c7623ee7a --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ListPSMemberDataTypeCodeResult.h @@ -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_LTL_MODEL_LISTPSMEMBERDATATYPECODERESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_LISTPSMEMBERDATATYPECODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT ListPSMemberDataTypeCodeResult : public ServiceResult + { + public: + struct Data + { + struct MemberInfo + { + std::string memberId; + std::string memberUid; + std::string memberName; + std::string dataTypeCode; + }; + std::vector pageData; + int size; + int num; + int total; + }; + + + ListPSMemberDataTypeCodeResult(); + explicit ListPSMemberDataTypeCodeResult(const std::string &payload); + ~ListPSMemberDataTypeCodeResult(); + std::string getMessage()const; + Data getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_LISTPSMEMBERDATATYPECODERESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/ListProofChainRequest.h b/ltl/include/alibabacloud/ltl/model/ListProofChainRequest.h new file mode 100644 index 000000000..7210e3a77 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ListProofChainRequest.h @@ -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_LTL_MODEL_LISTPROOFCHAINREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_LISTPROOFCHAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT ListProofChainRequest : public RpcServiceRequest { +public: + ListProofChainRequest(); + ~ListProofChainRequest(); + int getSize() const; + void setSize(int size); + int getNum() const; + void setNum(int num); + std::string getName() const; + void setName(const std::string &name); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + +private: + int size_; + int num_; + std::string name_; + std::string apiVersion_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_LISTPROOFCHAINREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/ListProofChainResult.h b/ltl/include/alibabacloud/ltl/model/ListProofChainResult.h new file mode 100644 index 000000000..f617f2bbd --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ListProofChainResult.h @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_LISTPROOFCHAINRESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_LISTPROOFCHAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT ListProofChainResult : public ServiceResult + { + public: + struct Data + { + struct ProofChainInfo + { + std::string roleType; + std::string bizChainId; + std::string dataTypeCode; + std::string remark; + std::string bizChainCode; + std::string name; + }; + std::vector pageData; + int size; + int num; + int total; + }; + + + ListProofChainResult(); + explicit ListProofChainResult(const std::string &payload); + ~ListProofChainResult(); + std::string getMessage()const; + Data getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_LISTPROOFCHAINRESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/LockMemberRequest.h b/ltl/include/alibabacloud/ltl/model/LockMemberRequest.h new file mode 100644 index 000000000..76ddc1aaa --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/LockMemberRequest.h @@ -0,0 +1,48 @@ +/* + * 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_LTL_MODEL_LOCKMEMBERREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_LOCKMEMBERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT LockMemberRequest : public RpcServiceRequest { +public: + LockMemberRequest(); + ~LockMemberRequest(); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + std::string getMemberId() const; + void setMemberId(const std::string &memberId); + +private: + std::string apiVersion_; + std::string bizChainId_; + std::string memberId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_LOCKMEMBERREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/LockMemberResult.h b/ltl/include/alibabacloud/ltl/model/LockMemberResult.h new file mode 100644 index 000000000..3490e2469 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/LockMemberResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_LOCKMEMBERRESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_LOCKMEMBERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT LockMemberResult : public ServiceResult + { + public: + + + LockMemberResult(); + explicit LockMemberResult(const std::string &payload); + ~LockMemberResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_LOCKMEMBERRESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/ModifyMPCoSPhaseGroupRequest.h b/ltl/include/alibabacloud/ltl/model/ModifyMPCoSPhaseGroupRequest.h new file mode 100644 index 000000000..386d02a9c --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ModifyMPCoSPhaseGroupRequest.h @@ -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_LTL_MODEL_MODIFYMPCOSPHASEGROUPREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_MODIFYMPCOSPHASEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT ModifyMPCoSPhaseGroupRequest : public RpcServiceRequest { +public: + ModifyMPCoSPhaseGroupRequest(); + ~ModifyMPCoSPhaseGroupRequest(); + std::string getName() const; + void setName(const std::string &name); + std::string getPhaseGroupId() const; + void setPhaseGroupId(const std::string &phaseGroupId); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getRemark() const; + void setRemark(const std::string &remark); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + +private: + std::string name_; + std::string phaseGroupId_; + std::string apiVersion_; + std::string remark_; + std::string bizChainId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_MODIFYMPCOSPHASEGROUPREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/ModifyMPCoSPhaseGroupResult.h b/ltl/include/alibabacloud/ltl/model/ModifyMPCoSPhaseGroupResult.h new file mode 100644 index 000000000..eabccb83c --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ModifyMPCoSPhaseGroupResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_MODIFYMPCOSPHASEGROUPRESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_MODIFYMPCOSPHASEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT ModifyMPCoSPhaseGroupResult : public ServiceResult + { + public: + + + ModifyMPCoSPhaseGroupResult(); + explicit ModifyMPCoSPhaseGroupResult(const std::string &payload); + ~ModifyMPCoSPhaseGroupResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_MODIFYMPCOSPHASEGROUPRESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/ModifyMPCoSPhaseRequest.h b/ltl/include/alibabacloud/ltl/model/ModifyMPCoSPhaseRequest.h new file mode 100644 index 000000000..975916933 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ModifyMPCoSPhaseRequest.h @@ -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_LTL_MODEL_MODIFYMPCOSPHASEREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_MODIFYMPCOSPHASEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT ModifyMPCoSPhaseRequest : public RpcServiceRequest { +public: + ModifyMPCoSPhaseRequest(); + ~ModifyMPCoSPhaseRequest(); + std::string getName() const; + void setName(const std::string &name); + std::string getPhaseId() const; + void setPhaseId(const std::string &phaseId); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getRemark() const; + void setRemark(const std::string &remark); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + +private: + std::string name_; + std::string phaseId_; + std::string apiVersion_; + std::string remark_; + std::string bizChainId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_MODIFYMPCOSPHASEREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/ModifyMPCoSPhaseResult.h b/ltl/include/alibabacloud/ltl/model/ModifyMPCoSPhaseResult.h new file mode 100644 index 000000000..b1f17b2ce --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ModifyMPCoSPhaseResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_MODIFYMPCOSPHASERESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_MODIFYMPCOSPHASERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT ModifyMPCoSPhaseResult : public ServiceResult + { + public: + + + ModifyMPCoSPhaseResult(); + explicit ModifyMPCoSPhaseResult(const std::string &payload); + ~ModifyMPCoSPhaseResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_MODIFYMPCOSPHASERESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/ModifyMemberRequest.h b/ltl/include/alibabacloud/ltl/model/ModifyMemberRequest.h new file mode 100644 index 000000000..38610cf58 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ModifyMemberRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_MODIFYMEMBERREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_MODIFYMEMBERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT ModifyMemberRequest : public RpcServiceRequest { +public: + ModifyMemberRequest(); + ~ModifyMemberRequest(); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getRemark() const; + void setRemark(const std::string &remark); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + std::string getMemberUid() const; + void setMemberUid(const std::string &memberUid); + std::string getMemberContact() const; + void setMemberContact(const std::string &memberContact); + std::string getMemberPhone() const; + void setMemberPhone(const std::string &memberPhone); + std::string getMemberName() const; + void setMemberName(const std::string &memberName); + std::string getMemberId() const; + void setMemberId(const std::string &memberId); + +private: + std::string apiVersion_; + std::string remark_; + std::string bizChainId_; + std::string memberUid_; + std::string memberContact_; + std::string memberPhone_; + std::string memberName_; + std::string memberId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_MODIFYMEMBERREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/ModifyMemberResult.h b/ltl/include/alibabacloud/ltl/model/ModifyMemberResult.h new file mode 100644 index 000000000..25995a64e --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/ModifyMemberResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_MODIFYMEMBERRESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_MODIFYMEMBERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT ModifyMemberResult : public ServiceResult + { + public: + + + ModifyMemberResult(); + explicit ModifyMemberResult(const std::string &payload); + ~ModifyMemberResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_MODIFYMEMBERRESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/RegisterDeviceGroupRequest.h b/ltl/include/alibabacloud/ltl/model/RegisterDeviceGroupRequest.h new file mode 100644 index 000000000..bcf8c7a01 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/RegisterDeviceGroupRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_REGISTERDEVICEGROUPREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_REGISTERDEVICEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT RegisterDeviceGroupRequest : public RpcServiceRequest { +public: + RegisterDeviceGroupRequest(); + ~RegisterDeviceGroupRequest(); + std::string getAuthorizeType() const; + void setAuthorizeType(const std::string &authorizeType); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getRemark() const; + void setRemark(const std::string &remark); + std::string getProductKey() const; + void setProductKey(const std::string &productKey); + std::string getDeviceGroupName() const; + void setDeviceGroupName(const std::string &deviceGroupName); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + +private: + std::string authorizeType_; + std::string apiVersion_; + std::string remark_; + std::string productKey_; + std::string deviceGroupName_; + std::string bizChainId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_REGISTERDEVICEGROUPREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/RegisterDeviceGroupResult.h b/ltl/include/alibabacloud/ltl/model/RegisterDeviceGroupResult.h new file mode 100644 index 000000000..9fa23fd9d --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/RegisterDeviceGroupResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_REGISTERDEVICEGROUPRESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_REGISTERDEVICEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT RegisterDeviceGroupResult : public ServiceResult + { + public: + + + RegisterDeviceGroupResult(); + explicit RegisterDeviceGroupResult(const std::string &payload); + ~RegisterDeviceGroupResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_REGISTERDEVICEGROUPRESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/SetDataRequest.h b/ltl/include/alibabacloud/ltl/model/SetDataRequest.h new file mode 100644 index 000000000..ea69bdc21 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/SetDataRequest.h @@ -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_LTL_MODEL_SETDATAREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_SETDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT SetDataRequest : public RpcServiceRequest { +public: + SetDataRequest(); + ~SetDataRequest(); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getProductKey() const; + void setProductKey(const std::string &productKey); + std::string getValue() const; + void setValue(const std::string &value); + std::string getKey() const; + void setKey(const std::string &key); + +private: + std::string apiVersion_; + std::string productKey_; + std::string value_; + std::string key_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_SETDATAREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/SetDataResult.h b/ltl/include/alibabacloud/ltl/model/SetDataResult.h new file mode 100644 index 000000000..b1a3182a5 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/SetDataResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_SETDATARESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_SETDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT SetDataResult : public ServiceResult + { + public: + + + SetDataResult(); + explicit SetDataResult(const std::string &payload); + ~SetDataResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_SETDATARESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/SetDataWithSignatureRequest.h b/ltl/include/alibabacloud/ltl/model/SetDataWithSignatureRequest.h new file mode 100644 index 000000000..9b2779d8a --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/SetDataWithSignatureRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_SETDATAWITHSIGNATUREREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_SETDATAWITHSIGNATUREREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT SetDataWithSignatureRequest : public RpcServiceRequest { +public: + SetDataWithSignatureRequest(); + ~SetDataWithSignatureRequest(); + std::string getIotSignature() const; + void setIotSignature(const std::string &iotSignature); + std::string getIotAuthType() const; + void setIotAuthType(const std::string &iotAuthType); + std::string getIotIdSource() const; + void setIotIdSource(const std::string &iotIdSource); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getProductKey() const; + void setProductKey(const std::string &productKey); + std::string getIotId() const; + void setIotId(const std::string &iotId); + std::string getIotDataDigest() const; + void setIotDataDigest(const std::string &iotDataDigest); + std::string getIotIdServiceProvider() const; + void setIotIdServiceProvider(const std::string &iotIdServiceProvider); + std::string getValue() const; + void setValue(const std::string &value); + std::string getKey() const; + void setKey(const std::string &key); + +private: + std::string iotSignature_; + std::string iotAuthType_; + std::string iotIdSource_; + std::string apiVersion_; + std::string productKey_; + std::string iotId_; + std::string iotDataDigest_; + std::string iotIdServiceProvider_; + std::string value_; + std::string key_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_SETDATAWITHSIGNATUREREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/SetDataWithSignatureResult.h b/ltl/include/alibabacloud/ltl/model/SetDataWithSignatureResult.h new file mode 100644 index 000000000..a61127e1b --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/SetDataWithSignatureResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_SETDATAWITHSIGNATURERESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_SETDATAWITHSIGNATURERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT SetDataWithSignatureResult : public ServiceResult + { + public: + + + SetDataWithSignatureResult(); + explicit SetDataWithSignatureResult(const std::string &payload); + ~SetDataWithSignatureResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_SETDATAWITHSIGNATURERESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/UnAuthorizeDeviceGroupRequest.h b/ltl/include/alibabacloud/ltl/model/UnAuthorizeDeviceGroupRequest.h new file mode 100644 index 000000000..3875892b2 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/UnAuthorizeDeviceGroupRequest.h @@ -0,0 +1,48 @@ +/* + * 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_LTL_MODEL_UNAUTHORIZEDEVICEGROUPREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_UNAUTHORIZEDEVICEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT UnAuthorizeDeviceGroupRequest : public RpcServiceRequest { +public: + UnAuthorizeDeviceGroupRequest(); + ~UnAuthorizeDeviceGroupRequest(); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getDeviceGroupId() const; + void setDeviceGroupId(const std::string &deviceGroupId); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + +private: + std::string apiVersion_; + std::string deviceGroupId_; + std::string bizChainId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_UNAUTHORIZEDEVICEGROUPREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/UnAuthorizeDeviceGroupResult.h b/ltl/include/alibabacloud/ltl/model/UnAuthorizeDeviceGroupResult.h new file mode 100644 index 000000000..f97a8d022 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/UnAuthorizeDeviceGroupResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_UNAUTHORIZEDEVICEGROUPRESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_UNAUTHORIZEDEVICEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT UnAuthorizeDeviceGroupResult : public ServiceResult + { + public: + + + UnAuthorizeDeviceGroupResult(); + explicit UnAuthorizeDeviceGroupResult(const std::string &payload); + ~UnAuthorizeDeviceGroupResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_UNAUTHORIZEDEVICEGROUPRESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/UnAuthorizeDeviceRequest.h b/ltl/include/alibabacloud/ltl/model/UnAuthorizeDeviceRequest.h new file mode 100644 index 000000000..90182da1d --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/UnAuthorizeDeviceRequest.h @@ -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_LTL_MODEL_UNAUTHORIZEDEVICEREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_UNAUTHORIZEDEVICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT UnAuthorizeDeviceRequest : public RpcServiceRequest { +public: + UnAuthorizeDeviceRequest(); + ~UnAuthorizeDeviceRequest(); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getDeviceGroupId() const; + void setDeviceGroupId(const std::string &deviceGroupId); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + +private: + std::string apiVersion_; + std::string deviceId_; + std::string deviceGroupId_; + std::string bizChainId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_UNAUTHORIZEDEVICEREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/UnAuthorizeDeviceResult.h b/ltl/include/alibabacloud/ltl/model/UnAuthorizeDeviceResult.h new file mode 100644 index 000000000..0e4bef816 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/UnAuthorizeDeviceResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_UNAUTHORIZEDEVICERESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_UNAUTHORIZEDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT UnAuthorizeDeviceResult : public ServiceResult + { + public: + + + UnAuthorizeDeviceResult(); + explicit UnAuthorizeDeviceResult(const std::string &payload); + ~UnAuthorizeDeviceResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_UNAUTHORIZEDEVICERESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/UnLockMemberRequest.h b/ltl/include/alibabacloud/ltl/model/UnLockMemberRequest.h new file mode 100644 index 000000000..9a54c84af --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/UnLockMemberRequest.h @@ -0,0 +1,48 @@ +/* + * 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_LTL_MODEL_UNLOCKMEMBERREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_UNLOCKMEMBERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT UnLockMemberRequest : public RpcServiceRequest { +public: + UnLockMemberRequest(); + ~UnLockMemberRequest(); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + std::string getMemberId() const; + void setMemberId(const std::string &memberId); + +private: + std::string apiVersion_; + std::string bizChainId_; + std::string memberId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_UNLOCKMEMBERREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/UnLockMemberResult.h b/ltl/include/alibabacloud/ltl/model/UnLockMemberResult.h new file mode 100644 index 000000000..8d2702da5 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/UnLockMemberResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_UNLOCKMEMBERRESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_UNLOCKMEMBERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT UnLockMemberResult : public ServiceResult + { + public: + + + UnLockMemberResult(); + explicit UnLockMemberResult(const std::string &payload); + ~UnLockMemberResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_UNLOCKMEMBERRESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/UpdateMPCoSAuthorizedInfoRequest.h b/ltl/include/alibabacloud/ltl/model/UpdateMPCoSAuthorizedInfoRequest.h new file mode 100644 index 000000000..c644be508 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/UpdateMPCoSAuthorizedInfoRequest.h @@ -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_LTL_MODEL_UPDATEMPCOSAUTHORIZEDINFOREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_UPDATEMPCOSAUTHORIZEDINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT UpdateMPCoSAuthorizedInfoRequest : public RpcServiceRequest { +public: + UpdateMPCoSAuthorizedInfoRequest(); + ~UpdateMPCoSAuthorizedInfoRequest(); + std::string getPhaseGroupId() const; + void setPhaseGroupId(const std::string &phaseGroupId); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::map getAuthorizedPhaseList() const; + void setAuthorizedPhaseList(std::map authorizedPhaseList); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + std::string getMemberId() const; + void setMemberId(const std::string &memberId); + +private: + std::string phaseGroupId_; + std::string apiVersion_; + std::map authorizedPhaseList_; + std::string bizChainId_; + std::string memberId_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_UPDATEMPCOSAUTHORIZEDINFOREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/UpdateMPCoSAuthorizedInfoResult.h b/ltl/include/alibabacloud/ltl/model/UpdateMPCoSAuthorizedInfoResult.h new file mode 100644 index 000000000..842e8181a --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/UpdateMPCoSAuthorizedInfoResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_UPDATEMPCOSAUTHORIZEDINFORESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_UPDATEMPCOSAUTHORIZEDINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT UpdateMPCoSAuthorizedInfoResult : public ServiceResult + { + public: + + + UpdateMPCoSAuthorizedInfoResult(); + explicit UpdateMPCoSAuthorizedInfoResult(const std::string &payload); + ~UpdateMPCoSAuthorizedInfoResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_UPDATEMPCOSAUTHORIZEDINFORESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseDigestInfoByDeviceRequest.h b/ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseDigestInfoByDeviceRequest.h new file mode 100644 index 000000000..a131a2589 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseDigestInfoByDeviceRequest.h @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_UPLOADMPCOSPHASEDIGESTINFOBYDEVICEREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_UPLOADMPCOSPHASEDIGESTINFOBYDEVICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT UploadMPCoSPhaseDigestInfoByDeviceRequest : public RpcServiceRequest { +public: + UploadMPCoSPhaseDigestInfoByDeviceRequest(); + ~UploadMPCoSPhaseDigestInfoByDeviceRequest(); + std::string getIotSignature() const; + void setIotSignature(const std::string &iotSignature); + std::string getIotAuthType() const; + void setIotAuthType(const std::string &iotAuthType); + std::string getIotIdSource() const; + void setIotIdSource(const std::string &iotIdSource); + std::string getPhaseData() const; + void setPhaseData(const std::string &phaseData); + std::string getPhaseId() const; + void setPhaseId(const std::string &phaseId); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + std::string getDataKey() const; + void setDataKey(const std::string &dataKey); + std::string getDataSeq() const; + void setDataSeq(const std::string &dataSeq); + std::string getIotId() const; + void setIotId(const std::string &iotId); + std::string getPhaseGroupId() const; + void setPhaseGroupId(const std::string &phaseGroupId); + std::string getIotDataDigest() const; + void setIotDataDigest(const std::string &iotDataDigest); + std::string getIotIdServiceProvider() const; + void setIotIdServiceProvider(const std::string &iotIdServiceProvider); + std::map getRelatedDataList() const; + void setRelatedDataList(std::map relatedDataList); + +private: + std::string iotSignature_; + std::string iotAuthType_; + std::string iotIdSource_; + std::string phaseData_; + std::string phaseId_; + std::string apiVersion_; + std::string bizChainId_; + std::string dataKey_; + std::string dataSeq_; + std::string iotId_; + std::string phaseGroupId_; + std::string iotDataDigest_; + std::string iotIdServiceProvider_; + std::map relatedDataList_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_UPLOADMPCOSPHASEDIGESTINFOBYDEVICEREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseDigestInfoByDeviceResult.h b/ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseDigestInfoByDeviceResult.h new file mode 100644 index 000000000..b46814e40 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseDigestInfoByDeviceResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_UPLOADMPCOSPHASEDIGESTINFOBYDEVICERESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_UPLOADMPCOSPHASEDIGESTINFOBYDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT UploadMPCoSPhaseDigestInfoByDeviceResult : public ServiceResult + { + public: + + + UploadMPCoSPhaseDigestInfoByDeviceResult(); + explicit UploadMPCoSPhaseDigestInfoByDeviceResult(const std::string &payload); + ~UploadMPCoSPhaseDigestInfoByDeviceResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_UPLOADMPCOSPHASEDIGESTINFOBYDEVICERESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseDigestInfoRequest.h b/ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseDigestInfoRequest.h new file mode 100644 index 000000000..f25e778a6 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseDigestInfoRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_UPLOADMPCOSPHASEDIGESTINFOREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_UPLOADMPCOSPHASEDIGESTINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT UploadMPCoSPhaseDigestInfoRequest : public RpcServiceRequest { +public: + UploadMPCoSPhaseDigestInfoRequest(); + ~UploadMPCoSPhaseDigestInfoRequest(); + std::string getPhaseData() const; + void setPhaseData(const std::string &phaseData); + std::string getPhaseId() const; + void setPhaseId(const std::string &phaseId); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + std::string getDataKey() const; + void setDataKey(const std::string &dataKey); + std::string getDataSeq() const; + void setDataSeq(const std::string &dataSeq); + std::string getPhaseGroupId() const; + void setPhaseGroupId(const std::string &phaseGroupId); + std::map getRelatedDataList() const; + void setRelatedDataList(std::map relatedDataList); + +private: + std::string phaseData_; + std::string phaseId_; + std::string apiVersion_; + std::string bizChainId_; + std::string dataKey_; + std::string dataSeq_; + std::string phaseGroupId_; + std::map relatedDataList_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_UPLOADMPCOSPHASEDIGESTINFOREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseDigestInfoResult.h b/ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseDigestInfoResult.h new file mode 100644 index 000000000..ee43bf68b --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseDigestInfoResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_UPLOADMPCOSPHASEDIGESTINFORESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_UPLOADMPCOSPHASEDIGESTINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT UploadMPCoSPhaseDigestInfoResult : public ServiceResult + { + public: + + + UploadMPCoSPhaseDigestInfoResult(); + explicit UploadMPCoSPhaseDigestInfoResult(const std::string &payload); + ~UploadMPCoSPhaseDigestInfoResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_UPLOADMPCOSPHASEDIGESTINFORESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseTextInfoByDeviceRequest.h b/ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseTextInfoByDeviceRequest.h new file mode 100644 index 000000000..909d51224 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseTextInfoByDeviceRequest.h @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_UPLOADMPCOSPHASETEXTINFOBYDEVICEREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_UPLOADMPCOSPHASETEXTINFOBYDEVICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT UploadMPCoSPhaseTextInfoByDeviceRequest : public RpcServiceRequest { +public: + UploadMPCoSPhaseTextInfoByDeviceRequest(); + ~UploadMPCoSPhaseTextInfoByDeviceRequest(); + std::string getIotSignature() const; + void setIotSignature(const std::string &iotSignature); + std::string getIotAuthType() const; + void setIotAuthType(const std::string &iotAuthType); + std::string getIotIdSource() const; + void setIotIdSource(const std::string &iotIdSource); + std::string getPhaseData() const; + void setPhaseData(const std::string &phaseData); + std::string getPhaseId() const; + void setPhaseId(const std::string &phaseId); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + std::string getDataKey() const; + void setDataKey(const std::string &dataKey); + std::string getDataSeq() const; + void setDataSeq(const std::string &dataSeq); + std::string getIotId() const; + void setIotId(const std::string &iotId); + std::string getPhaseGroupId() const; + void setPhaseGroupId(const std::string &phaseGroupId); + std::string getIotDataDigest() const; + void setIotDataDigest(const std::string &iotDataDigest); + std::string getIotIdServiceProvider() const; + void setIotIdServiceProvider(const std::string &iotIdServiceProvider); + std::map getRelatedDataList() const; + void setRelatedDataList(std::map relatedDataList); + +private: + std::string iotSignature_; + std::string iotAuthType_; + std::string iotIdSource_; + std::string phaseData_; + std::string phaseId_; + std::string apiVersion_; + std::string bizChainId_; + std::string dataKey_; + std::string dataSeq_; + std::string iotId_; + std::string phaseGroupId_; + std::string iotDataDigest_; + std::string iotIdServiceProvider_; + std::map relatedDataList_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_UPLOADMPCOSPHASETEXTINFOBYDEVICEREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseTextInfoByDeviceResult.h b/ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseTextInfoByDeviceResult.h new file mode 100644 index 000000000..a209489b2 --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseTextInfoByDeviceResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_UPLOADMPCOSPHASETEXTINFOBYDEVICERESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_UPLOADMPCOSPHASETEXTINFOBYDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT UploadMPCoSPhaseTextInfoByDeviceResult : public ServiceResult + { + public: + + + UploadMPCoSPhaseTextInfoByDeviceResult(); + explicit UploadMPCoSPhaseTextInfoByDeviceResult(const std::string &payload); + ~UploadMPCoSPhaseTextInfoByDeviceResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_UPLOADMPCOSPHASETEXTINFOBYDEVICERESULT_H_ \ No newline at end of file diff --git a/ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseTextInfoRequest.h b/ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseTextInfoRequest.h new file mode 100644 index 000000000..cb854260a --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseTextInfoRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_UPLOADMPCOSPHASETEXTINFOREQUEST_H_ +#define ALIBABACLOUD_LTL_MODEL_UPLOADMPCOSPHASETEXTINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ltl { +namespace Model { +class ALIBABACLOUD_LTL_EXPORT UploadMPCoSPhaseTextInfoRequest : public RpcServiceRequest { +public: + UploadMPCoSPhaseTextInfoRequest(); + ~UploadMPCoSPhaseTextInfoRequest(); + std::string getPhaseData() const; + void setPhaseData(const std::string &phaseData); + std::string getPhaseId() const; + void setPhaseId(const std::string &phaseId); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + std::string getDataKey() const; + void setDataKey(const std::string &dataKey); + std::string getDataSeq() const; + void setDataSeq(const std::string &dataSeq); + std::string getPhaseGroupId() const; + void setPhaseGroupId(const std::string &phaseGroupId); + std::map getRelatedDataList() const; + void setRelatedDataList(std::map relatedDataList); + +private: + std::string phaseData_; + std::string phaseId_; + std::string apiVersion_; + std::string bizChainId_; + std::string dataKey_; + std::string dataSeq_; + std::string phaseGroupId_; + std::map relatedDataList_; +}; +} // namespace Model +} // namespace Ltl +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTL_MODEL_UPLOADMPCOSPHASETEXTINFOREQUEST_H_ diff --git a/ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseTextInfoResult.h b/ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseTextInfoResult.h new file mode 100644 index 000000000..d985c595b --- /dev/null +++ b/ltl/include/alibabacloud/ltl/model/UploadMPCoSPhaseTextInfoResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LTL_MODEL_UPLOADMPCOSPHASETEXTINFORESULT_H_ +#define ALIBABACLOUD_LTL_MODEL_UPLOADMPCOSPHASETEXTINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ltl + { + namespace Model + { + class ALIBABACLOUD_LTL_EXPORT UploadMPCoSPhaseTextInfoResult : public ServiceResult + { + public: + + + UploadMPCoSPhaseTextInfoResult(); + explicit UploadMPCoSPhaseTextInfoResult(const std::string &payload); + ~UploadMPCoSPhaseTextInfoResult(); + std::string getMessage()const; + std::string getData()const; + int getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + int code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTL_MODEL_UPLOADMPCOSPHASETEXTINFORESULT_H_ \ No newline at end of file diff --git a/ltl/src/LtlClient.cc b/ltl/src/LtlClient.cc new file mode 100644 index 000000000..32d8f58dc --- /dev/null +++ b/ltl/src/LtlClient.cc @@ -0,0 +1,1781 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud; +using namespace AlibabaCloud::Location; +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +namespace +{ + const std::string SERVICE_NAME = "ltl"; +} + +LtlClient::LtlClient(const Credentials &credentials, const ClientConfiguration &configuration) : + RpcServiceClient(SERVICE_NAME, std::make_shared(credentials), configuration) +{ + auto locationClient = std::make_shared(credentials, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, ""); +} + +LtlClient::LtlClient(const std::shared_ptr& credentialsProvider, const ClientConfiguration & configuration) : + RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration) +{ + auto locationClient = std::make_shared(credentialsProvider, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, ""); +} + +LtlClient::LtlClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) : + RpcServiceClient(SERVICE_NAME, std::make_shared(accessKeyId, accessKeySecret), configuration) +{ + auto locationClient = std::make_shared(accessKeyId, accessKeySecret, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, ""); +} + +LtlClient::~LtlClient() +{} + +LtlClient::ApplyDataModelConfigInfoOutcome LtlClient::applyDataModelConfigInfo(const ApplyDataModelConfigInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ApplyDataModelConfigInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ApplyDataModelConfigInfoOutcome(ApplyDataModelConfigInfoResult(outcome.result())); + else + return ApplyDataModelConfigInfoOutcome(outcome.error()); +} + +void LtlClient::applyDataModelConfigInfoAsync(const ApplyDataModelConfigInfoRequest& request, const ApplyDataModelConfigInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, applyDataModelConfigInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::ApplyDataModelConfigInfoOutcomeCallable LtlClient::applyDataModelConfigInfoCallable(const ApplyDataModelConfigInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->applyDataModelConfigInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::AttachDataOutcome LtlClient::attachData(const AttachDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AttachDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AttachDataOutcome(AttachDataResult(outcome.result())); + else + return AttachDataOutcome(outcome.error()); +} + +void LtlClient::attachDataAsync(const AttachDataRequest& request, const AttachDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, attachData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::AttachDataOutcomeCallable LtlClient::attachDataCallable(const AttachDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->attachData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::AttachDataWithSignatureOutcome LtlClient::attachDataWithSignature(const AttachDataWithSignatureRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AttachDataWithSignatureOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AttachDataWithSignatureOutcome(AttachDataWithSignatureResult(outcome.result())); + else + return AttachDataWithSignatureOutcome(outcome.error()); +} + +void LtlClient::attachDataWithSignatureAsync(const AttachDataWithSignatureRequest& request, const AttachDataWithSignatureAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, attachDataWithSignature(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::AttachDataWithSignatureOutcomeCallable LtlClient::attachDataWithSignatureCallable(const AttachDataWithSignatureRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->attachDataWithSignature(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::AuthorizeDeviceOutcome LtlClient::authorizeDevice(const AuthorizeDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AuthorizeDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AuthorizeDeviceOutcome(AuthorizeDeviceResult(outcome.result())); + else + return AuthorizeDeviceOutcome(outcome.error()); +} + +void LtlClient::authorizeDeviceAsync(const AuthorizeDeviceRequest& request, const AuthorizeDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, authorizeDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::AuthorizeDeviceOutcomeCallable LtlClient::authorizeDeviceCallable(const AuthorizeDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->authorizeDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::AuthorizeDeviceGroupOutcome LtlClient::authorizeDeviceGroup(const AuthorizeDeviceGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AuthorizeDeviceGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AuthorizeDeviceGroupOutcome(AuthorizeDeviceGroupResult(outcome.result())); + else + return AuthorizeDeviceGroupOutcome(outcome.error()); +} + +void LtlClient::authorizeDeviceGroupAsync(const AuthorizeDeviceGroupRequest& request, const AuthorizeDeviceGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, authorizeDeviceGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::AuthorizeDeviceGroupOutcomeCallable LtlClient::authorizeDeviceGroupCallable(const AuthorizeDeviceGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->authorizeDeviceGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::BatchUploadMPCoSPhaseDigestInfoOutcome LtlClient::batchUploadMPCoSPhaseDigestInfo(const BatchUploadMPCoSPhaseDigestInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchUploadMPCoSPhaseDigestInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchUploadMPCoSPhaseDigestInfoOutcome(BatchUploadMPCoSPhaseDigestInfoResult(outcome.result())); + else + return BatchUploadMPCoSPhaseDigestInfoOutcome(outcome.error()); +} + +void LtlClient::batchUploadMPCoSPhaseDigestInfoAsync(const BatchUploadMPCoSPhaseDigestInfoRequest& request, const BatchUploadMPCoSPhaseDigestInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchUploadMPCoSPhaseDigestInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::BatchUploadMPCoSPhaseDigestInfoOutcomeCallable LtlClient::batchUploadMPCoSPhaseDigestInfoCallable(const BatchUploadMPCoSPhaseDigestInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchUploadMPCoSPhaseDigestInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::BatchUploadMPCoSPhaseDigestInfoByDeviceOutcome LtlClient::batchUploadMPCoSPhaseDigestInfoByDevice(const BatchUploadMPCoSPhaseDigestInfoByDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchUploadMPCoSPhaseDigestInfoByDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchUploadMPCoSPhaseDigestInfoByDeviceOutcome(BatchUploadMPCoSPhaseDigestInfoByDeviceResult(outcome.result())); + else + return BatchUploadMPCoSPhaseDigestInfoByDeviceOutcome(outcome.error()); +} + +void LtlClient::batchUploadMPCoSPhaseDigestInfoByDeviceAsync(const BatchUploadMPCoSPhaseDigestInfoByDeviceRequest& request, const BatchUploadMPCoSPhaseDigestInfoByDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchUploadMPCoSPhaseDigestInfoByDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::BatchUploadMPCoSPhaseDigestInfoByDeviceOutcomeCallable LtlClient::batchUploadMPCoSPhaseDigestInfoByDeviceCallable(const BatchUploadMPCoSPhaseDigestInfoByDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchUploadMPCoSPhaseDigestInfoByDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::BatchUploadMPCoSPhaseTextInfoOutcome LtlClient::batchUploadMPCoSPhaseTextInfo(const BatchUploadMPCoSPhaseTextInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchUploadMPCoSPhaseTextInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchUploadMPCoSPhaseTextInfoOutcome(BatchUploadMPCoSPhaseTextInfoResult(outcome.result())); + else + return BatchUploadMPCoSPhaseTextInfoOutcome(outcome.error()); +} + +void LtlClient::batchUploadMPCoSPhaseTextInfoAsync(const BatchUploadMPCoSPhaseTextInfoRequest& request, const BatchUploadMPCoSPhaseTextInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchUploadMPCoSPhaseTextInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::BatchUploadMPCoSPhaseTextInfoOutcomeCallable LtlClient::batchUploadMPCoSPhaseTextInfoCallable(const BatchUploadMPCoSPhaseTextInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchUploadMPCoSPhaseTextInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::BatchUploadMPCoSPhaseTextInfoByDeviceOutcome LtlClient::batchUploadMPCoSPhaseTextInfoByDevice(const BatchUploadMPCoSPhaseTextInfoByDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchUploadMPCoSPhaseTextInfoByDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchUploadMPCoSPhaseTextInfoByDeviceOutcome(BatchUploadMPCoSPhaseTextInfoByDeviceResult(outcome.result())); + else + return BatchUploadMPCoSPhaseTextInfoByDeviceOutcome(outcome.error()); +} + +void LtlClient::batchUploadMPCoSPhaseTextInfoByDeviceAsync(const BatchUploadMPCoSPhaseTextInfoByDeviceRequest& request, const BatchUploadMPCoSPhaseTextInfoByDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchUploadMPCoSPhaseTextInfoByDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::BatchUploadMPCoSPhaseTextInfoByDeviceOutcomeCallable LtlClient::batchUploadMPCoSPhaseTextInfoByDeviceCallable(const BatchUploadMPCoSPhaseTextInfoByDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchUploadMPCoSPhaseTextInfoByDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::CreateMPCoSPhaseOutcome LtlClient::createMPCoSPhase(const CreateMPCoSPhaseRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateMPCoSPhaseOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateMPCoSPhaseOutcome(CreateMPCoSPhaseResult(outcome.result())); + else + return CreateMPCoSPhaseOutcome(outcome.error()); +} + +void LtlClient::createMPCoSPhaseAsync(const CreateMPCoSPhaseRequest& request, const CreateMPCoSPhaseAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createMPCoSPhase(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::CreateMPCoSPhaseOutcomeCallable LtlClient::createMPCoSPhaseCallable(const CreateMPCoSPhaseRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createMPCoSPhase(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::CreateMPCoSPhaseGroupOutcome LtlClient::createMPCoSPhaseGroup(const CreateMPCoSPhaseGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateMPCoSPhaseGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateMPCoSPhaseGroupOutcome(CreateMPCoSPhaseGroupResult(outcome.result())); + else + return CreateMPCoSPhaseGroupOutcome(outcome.error()); +} + +void LtlClient::createMPCoSPhaseGroupAsync(const CreateMPCoSPhaseGroupRequest& request, const CreateMPCoSPhaseGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createMPCoSPhaseGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::CreateMPCoSPhaseGroupOutcomeCallable LtlClient::createMPCoSPhaseGroupCallable(const CreateMPCoSPhaseGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createMPCoSPhaseGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::CreateMemberOutcome LtlClient::createMember(const CreateMemberRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateMemberOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateMemberOutcome(CreateMemberResult(outcome.result())); + else + return CreateMemberOutcome(outcome.error()); +} + +void LtlClient::createMemberAsync(const CreateMemberRequest& request, const CreateMemberAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createMember(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::CreateMemberOutcomeCallable LtlClient::createMemberCallable(const CreateMemberRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createMember(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::DescribeCapacityInfoOutcome LtlClient::describeCapacityInfo(const DescribeCapacityInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCapacityInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCapacityInfoOutcome(DescribeCapacityInfoResult(outcome.result())); + else + return DescribeCapacityInfoOutcome(outcome.error()); +} + +void LtlClient::describeCapacityInfoAsync(const DescribeCapacityInfoRequest& request, const DescribeCapacityInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCapacityInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::DescribeCapacityInfoOutcomeCallable LtlClient::describeCapacityInfoCallable(const DescribeCapacityInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCapacityInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::DescribeMPCoSAuthorizedInfoOutcome LtlClient::describeMPCoSAuthorizedInfo(const DescribeMPCoSAuthorizedInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeMPCoSAuthorizedInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeMPCoSAuthorizedInfoOutcome(DescribeMPCoSAuthorizedInfoResult(outcome.result())); + else + return DescribeMPCoSAuthorizedInfoOutcome(outcome.error()); +} + +void LtlClient::describeMPCoSAuthorizedInfoAsync(const DescribeMPCoSAuthorizedInfoRequest& request, const DescribeMPCoSAuthorizedInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeMPCoSAuthorizedInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::DescribeMPCoSAuthorizedInfoOutcomeCallable LtlClient::describeMPCoSAuthorizedInfoCallable(const DescribeMPCoSAuthorizedInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeMPCoSAuthorizedInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::DescribeMPCoSPhaseInfoOutcome LtlClient::describeMPCoSPhaseInfo(const DescribeMPCoSPhaseInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeMPCoSPhaseInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeMPCoSPhaseInfoOutcome(DescribeMPCoSPhaseInfoResult(outcome.result())); + else + return DescribeMPCoSPhaseInfoOutcome(outcome.error()); +} + +void LtlClient::describeMPCoSPhaseInfoAsync(const DescribeMPCoSPhaseInfoRequest& request, const DescribeMPCoSPhaseInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeMPCoSPhaseInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::DescribeMPCoSPhaseInfoOutcomeCallable LtlClient::describeMPCoSPhaseInfoCallable(const DescribeMPCoSPhaseInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeMPCoSPhaseInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::DescribeMPCoSResourceInfoOutcome LtlClient::describeMPCoSResourceInfo(const DescribeMPCoSResourceInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeMPCoSResourceInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeMPCoSResourceInfoOutcome(DescribeMPCoSResourceInfoResult(outcome.result())); + else + return DescribeMPCoSResourceInfoOutcome(outcome.error()); +} + +void LtlClient::describeMPCoSResourceInfoAsync(const DescribeMPCoSResourceInfoRequest& request, const DescribeMPCoSResourceInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeMPCoSResourceInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::DescribeMPCoSResourceInfoOutcomeCallable LtlClient::describeMPCoSResourceInfoCallable(const DescribeMPCoSResourceInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeMPCoSResourceInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::DescribeMemberCapacityInfoOutcome LtlClient::describeMemberCapacityInfo(const DescribeMemberCapacityInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeMemberCapacityInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeMemberCapacityInfoOutcome(DescribeMemberCapacityInfoResult(outcome.result())); + else + return DescribeMemberCapacityInfoOutcome(outcome.error()); +} + +void LtlClient::describeMemberCapacityInfoAsync(const DescribeMemberCapacityInfoRequest& request, const DescribeMemberCapacityInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeMemberCapacityInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::DescribeMemberCapacityInfoOutcomeCallable LtlClient::describeMemberCapacityInfoCallable(const DescribeMemberCapacityInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeMemberCapacityInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::DescribeResourceInfoOutcome LtlClient::describeResourceInfo(const DescribeResourceInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeResourceInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeResourceInfoOutcome(DescribeResourceInfoResult(outcome.result())); + else + return DescribeResourceInfoOutcome(outcome.error()); +} + +void LtlClient::describeResourceInfoAsync(const DescribeResourceInfoRequest& request, const DescribeResourceInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeResourceInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::DescribeResourceInfoOutcomeCallable LtlClient::describeResourceInfoCallable(const DescribeResourceInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeResourceInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::GetBlockChainInfoOutcome LtlClient::getBlockChainInfo(const GetBlockChainInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetBlockChainInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetBlockChainInfoOutcome(GetBlockChainInfoResult(outcome.result())); + else + return GetBlockChainInfoOutcome(outcome.error()); +} + +void LtlClient::getBlockChainInfoAsync(const GetBlockChainInfoRequest& request, const GetBlockChainInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getBlockChainInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::GetBlockChainInfoOutcomeCallable LtlClient::getBlockChainInfoCallable(const GetBlockChainInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getBlockChainInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::GetDataOutcome LtlClient::getData(const GetDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetDataOutcome(GetDataResult(outcome.result())); + else + return GetDataOutcome(outcome.error()); +} + +void LtlClient::getDataAsync(const GetDataRequest& request, const GetDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::GetDataOutcomeCallable LtlClient::getDataCallable(const GetDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::GetDataModelConfigInfoOutcome LtlClient::getDataModelConfigInfo(const GetDataModelConfigInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetDataModelConfigInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetDataModelConfigInfoOutcome(GetDataModelConfigInfoResult(outcome.result())); + else + return GetDataModelConfigInfoOutcome(outcome.error()); +} + +void LtlClient::getDataModelConfigInfoAsync(const GetDataModelConfigInfoRequest& request, const GetDataModelConfigInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getDataModelConfigInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::GetDataModelConfigInfoOutcomeCallable LtlClient::getDataModelConfigInfoCallable(const GetDataModelConfigInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getDataModelConfigInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::GetHistoryDataCountOutcome LtlClient::getHistoryDataCount(const GetHistoryDataCountRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetHistoryDataCountOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetHistoryDataCountOutcome(GetHistoryDataCountResult(outcome.result())); + else + return GetHistoryDataCountOutcome(outcome.error()); +} + +void LtlClient::getHistoryDataCountAsync(const GetHistoryDataCountRequest& request, const GetHistoryDataCountAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getHistoryDataCount(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::GetHistoryDataCountOutcomeCallable LtlClient::getHistoryDataCountCallable(const GetHistoryDataCountRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getHistoryDataCount(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::GetHistoryDataListOutcome LtlClient::getHistoryDataList(const GetHistoryDataListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetHistoryDataListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetHistoryDataListOutcome(GetHistoryDataListResult(outcome.result())); + else + return GetHistoryDataListOutcome(outcome.error()); +} + +void LtlClient::getHistoryDataListAsync(const GetHistoryDataListRequest& request, const GetHistoryDataListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getHistoryDataList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::GetHistoryDataListOutcomeCallable LtlClient::getHistoryDataListCallable(const GetHistoryDataListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getHistoryDataList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::ListDependentDataModelsOutcome LtlClient::listDependentDataModels(const ListDependentDataModelsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDependentDataModelsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDependentDataModelsOutcome(ListDependentDataModelsResult(outcome.result())); + else + return ListDependentDataModelsOutcome(outcome.error()); +} + +void LtlClient::listDependentDataModelsAsync(const ListDependentDataModelsRequest& request, const ListDependentDataModelsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDependentDataModels(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::ListDependentDataModelsOutcomeCallable LtlClient::listDependentDataModelsCallable(const ListDependentDataModelsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDependentDataModels(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::ListDeviceOutcome LtlClient::listDevice(const ListDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDeviceOutcome(ListDeviceResult(outcome.result())); + else + return ListDeviceOutcome(outcome.error()); +} + +void LtlClient::listDeviceAsync(const ListDeviceRequest& request, const ListDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::ListDeviceOutcomeCallable LtlClient::listDeviceCallable(const ListDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::ListDeviceGroupOutcome LtlClient::listDeviceGroup(const ListDeviceGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDeviceGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDeviceGroupOutcome(ListDeviceGroupResult(outcome.result())); + else + return ListDeviceGroupOutcome(outcome.error()); +} + +void LtlClient::listDeviceGroupAsync(const ListDeviceGroupRequest& request, const ListDeviceGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDeviceGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::ListDeviceGroupOutcomeCallable LtlClient::listDeviceGroupCallable(const ListDeviceGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDeviceGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::ListMPCoSPhaseOutcome LtlClient::listMPCoSPhase(const ListMPCoSPhaseRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListMPCoSPhaseOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListMPCoSPhaseOutcome(ListMPCoSPhaseResult(outcome.result())); + else + return ListMPCoSPhaseOutcome(outcome.error()); +} + +void LtlClient::listMPCoSPhaseAsync(const ListMPCoSPhaseRequest& request, const ListMPCoSPhaseAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listMPCoSPhase(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::ListMPCoSPhaseOutcomeCallable LtlClient::listMPCoSPhaseCallable(const ListMPCoSPhaseRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listMPCoSPhase(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::ListMPCoSPhaseGroupOutcome LtlClient::listMPCoSPhaseGroup(const ListMPCoSPhaseGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListMPCoSPhaseGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListMPCoSPhaseGroupOutcome(ListMPCoSPhaseGroupResult(outcome.result())); + else + return ListMPCoSPhaseGroupOutcome(outcome.error()); +} + +void LtlClient::listMPCoSPhaseGroupAsync(const ListMPCoSPhaseGroupRequest& request, const ListMPCoSPhaseGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listMPCoSPhaseGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::ListMPCoSPhaseGroupOutcomeCallable LtlClient::listMPCoSPhaseGroupCallable(const ListMPCoSPhaseGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listMPCoSPhaseGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::ListMPCoSPhaseHistoryOutcome LtlClient::listMPCoSPhaseHistory(const ListMPCoSPhaseHistoryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListMPCoSPhaseHistoryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListMPCoSPhaseHistoryOutcome(ListMPCoSPhaseHistoryResult(outcome.result())); + else + return ListMPCoSPhaseHistoryOutcome(outcome.error()); +} + +void LtlClient::listMPCoSPhaseHistoryAsync(const ListMPCoSPhaseHistoryRequest& request, const ListMPCoSPhaseHistoryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listMPCoSPhaseHistory(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::ListMPCoSPhaseHistoryOutcomeCallable LtlClient::listMPCoSPhaseHistoryCallable(const ListMPCoSPhaseHistoryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listMPCoSPhaseHistory(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::ListMemberOutcome LtlClient::listMember(const ListMemberRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListMemberOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListMemberOutcome(ListMemberResult(outcome.result())); + else + return ListMemberOutcome(outcome.error()); +} + +void LtlClient::listMemberAsync(const ListMemberRequest& request, const ListMemberAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listMember(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::ListMemberOutcomeCallable LtlClient::listMemberCallable(const ListMemberRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listMember(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::ListMultiPartyCollaborationChainOutcome LtlClient::listMultiPartyCollaborationChain(const ListMultiPartyCollaborationChainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListMultiPartyCollaborationChainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListMultiPartyCollaborationChainOutcome(ListMultiPartyCollaborationChainResult(outcome.result())); + else + return ListMultiPartyCollaborationChainOutcome(outcome.error()); +} + +void LtlClient::listMultiPartyCollaborationChainAsync(const ListMultiPartyCollaborationChainRequest& request, const ListMultiPartyCollaborationChainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listMultiPartyCollaborationChain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::ListMultiPartyCollaborationChainOutcomeCallable LtlClient::listMultiPartyCollaborationChainCallable(const ListMultiPartyCollaborationChainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listMultiPartyCollaborationChain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::ListPSMemberDataTypeCodeOutcome LtlClient::listPSMemberDataTypeCode(const ListPSMemberDataTypeCodeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListPSMemberDataTypeCodeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListPSMemberDataTypeCodeOutcome(ListPSMemberDataTypeCodeResult(outcome.result())); + else + return ListPSMemberDataTypeCodeOutcome(outcome.error()); +} + +void LtlClient::listPSMemberDataTypeCodeAsync(const ListPSMemberDataTypeCodeRequest& request, const ListPSMemberDataTypeCodeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listPSMemberDataTypeCode(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::ListPSMemberDataTypeCodeOutcomeCallable LtlClient::listPSMemberDataTypeCodeCallable(const ListPSMemberDataTypeCodeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listPSMemberDataTypeCode(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::ListProofChainOutcome LtlClient::listProofChain(const ListProofChainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListProofChainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListProofChainOutcome(ListProofChainResult(outcome.result())); + else + return ListProofChainOutcome(outcome.error()); +} + +void LtlClient::listProofChainAsync(const ListProofChainRequest& request, const ListProofChainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listProofChain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::ListProofChainOutcomeCallable LtlClient::listProofChainCallable(const ListProofChainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listProofChain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::LockMemberOutcome LtlClient::lockMember(const LockMemberRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return LockMemberOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return LockMemberOutcome(LockMemberResult(outcome.result())); + else + return LockMemberOutcome(outcome.error()); +} + +void LtlClient::lockMemberAsync(const LockMemberRequest& request, const LockMemberAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, lockMember(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::LockMemberOutcomeCallable LtlClient::lockMemberCallable(const LockMemberRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->lockMember(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::ModifyMPCoSPhaseOutcome LtlClient::modifyMPCoSPhase(const ModifyMPCoSPhaseRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyMPCoSPhaseOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyMPCoSPhaseOutcome(ModifyMPCoSPhaseResult(outcome.result())); + else + return ModifyMPCoSPhaseOutcome(outcome.error()); +} + +void LtlClient::modifyMPCoSPhaseAsync(const ModifyMPCoSPhaseRequest& request, const ModifyMPCoSPhaseAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyMPCoSPhase(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::ModifyMPCoSPhaseOutcomeCallable LtlClient::modifyMPCoSPhaseCallable(const ModifyMPCoSPhaseRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyMPCoSPhase(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::ModifyMPCoSPhaseGroupOutcome LtlClient::modifyMPCoSPhaseGroup(const ModifyMPCoSPhaseGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyMPCoSPhaseGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyMPCoSPhaseGroupOutcome(ModifyMPCoSPhaseGroupResult(outcome.result())); + else + return ModifyMPCoSPhaseGroupOutcome(outcome.error()); +} + +void LtlClient::modifyMPCoSPhaseGroupAsync(const ModifyMPCoSPhaseGroupRequest& request, const ModifyMPCoSPhaseGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyMPCoSPhaseGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::ModifyMPCoSPhaseGroupOutcomeCallable LtlClient::modifyMPCoSPhaseGroupCallable(const ModifyMPCoSPhaseGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyMPCoSPhaseGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::ModifyMemberOutcome LtlClient::modifyMember(const ModifyMemberRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyMemberOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyMemberOutcome(ModifyMemberResult(outcome.result())); + else + return ModifyMemberOutcome(outcome.error()); +} + +void LtlClient::modifyMemberAsync(const ModifyMemberRequest& request, const ModifyMemberAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyMember(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::ModifyMemberOutcomeCallable LtlClient::modifyMemberCallable(const ModifyMemberRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyMember(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::RegisterDeviceGroupOutcome LtlClient::registerDeviceGroup(const RegisterDeviceGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RegisterDeviceGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RegisterDeviceGroupOutcome(RegisterDeviceGroupResult(outcome.result())); + else + return RegisterDeviceGroupOutcome(outcome.error()); +} + +void LtlClient::registerDeviceGroupAsync(const RegisterDeviceGroupRequest& request, const RegisterDeviceGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, registerDeviceGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::RegisterDeviceGroupOutcomeCallable LtlClient::registerDeviceGroupCallable(const RegisterDeviceGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->registerDeviceGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::SetDataOutcome LtlClient::setData(const SetDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetDataOutcome(SetDataResult(outcome.result())); + else + return SetDataOutcome(outcome.error()); +} + +void LtlClient::setDataAsync(const SetDataRequest& request, const SetDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::SetDataOutcomeCallable LtlClient::setDataCallable(const SetDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::SetDataWithSignatureOutcome LtlClient::setDataWithSignature(const SetDataWithSignatureRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetDataWithSignatureOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetDataWithSignatureOutcome(SetDataWithSignatureResult(outcome.result())); + else + return SetDataWithSignatureOutcome(outcome.error()); +} + +void LtlClient::setDataWithSignatureAsync(const SetDataWithSignatureRequest& request, const SetDataWithSignatureAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setDataWithSignature(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::SetDataWithSignatureOutcomeCallable LtlClient::setDataWithSignatureCallable(const SetDataWithSignatureRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setDataWithSignature(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::UnAuthorizeDeviceOutcome LtlClient::unAuthorizeDevice(const UnAuthorizeDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UnAuthorizeDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UnAuthorizeDeviceOutcome(UnAuthorizeDeviceResult(outcome.result())); + else + return UnAuthorizeDeviceOutcome(outcome.error()); +} + +void LtlClient::unAuthorizeDeviceAsync(const UnAuthorizeDeviceRequest& request, const UnAuthorizeDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, unAuthorizeDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::UnAuthorizeDeviceOutcomeCallable LtlClient::unAuthorizeDeviceCallable(const UnAuthorizeDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->unAuthorizeDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::UnAuthorizeDeviceGroupOutcome LtlClient::unAuthorizeDeviceGroup(const UnAuthorizeDeviceGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UnAuthorizeDeviceGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UnAuthorizeDeviceGroupOutcome(UnAuthorizeDeviceGroupResult(outcome.result())); + else + return UnAuthorizeDeviceGroupOutcome(outcome.error()); +} + +void LtlClient::unAuthorizeDeviceGroupAsync(const UnAuthorizeDeviceGroupRequest& request, const UnAuthorizeDeviceGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, unAuthorizeDeviceGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::UnAuthorizeDeviceGroupOutcomeCallable LtlClient::unAuthorizeDeviceGroupCallable(const UnAuthorizeDeviceGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->unAuthorizeDeviceGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::UnLockMemberOutcome LtlClient::unLockMember(const UnLockMemberRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UnLockMemberOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UnLockMemberOutcome(UnLockMemberResult(outcome.result())); + else + return UnLockMemberOutcome(outcome.error()); +} + +void LtlClient::unLockMemberAsync(const UnLockMemberRequest& request, const UnLockMemberAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, unLockMember(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::UnLockMemberOutcomeCallable LtlClient::unLockMemberCallable(const UnLockMemberRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->unLockMember(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::UpdateMPCoSAuthorizedInfoOutcome LtlClient::updateMPCoSAuthorizedInfo(const UpdateMPCoSAuthorizedInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateMPCoSAuthorizedInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateMPCoSAuthorizedInfoOutcome(UpdateMPCoSAuthorizedInfoResult(outcome.result())); + else + return UpdateMPCoSAuthorizedInfoOutcome(outcome.error()); +} + +void LtlClient::updateMPCoSAuthorizedInfoAsync(const UpdateMPCoSAuthorizedInfoRequest& request, const UpdateMPCoSAuthorizedInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateMPCoSAuthorizedInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::UpdateMPCoSAuthorizedInfoOutcomeCallable LtlClient::updateMPCoSAuthorizedInfoCallable(const UpdateMPCoSAuthorizedInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateMPCoSAuthorizedInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::UploadMPCoSPhaseDigestInfoOutcome LtlClient::uploadMPCoSPhaseDigestInfo(const UploadMPCoSPhaseDigestInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UploadMPCoSPhaseDigestInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UploadMPCoSPhaseDigestInfoOutcome(UploadMPCoSPhaseDigestInfoResult(outcome.result())); + else + return UploadMPCoSPhaseDigestInfoOutcome(outcome.error()); +} + +void LtlClient::uploadMPCoSPhaseDigestInfoAsync(const UploadMPCoSPhaseDigestInfoRequest& request, const UploadMPCoSPhaseDigestInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, uploadMPCoSPhaseDigestInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::UploadMPCoSPhaseDigestInfoOutcomeCallable LtlClient::uploadMPCoSPhaseDigestInfoCallable(const UploadMPCoSPhaseDigestInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->uploadMPCoSPhaseDigestInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::UploadMPCoSPhaseDigestInfoByDeviceOutcome LtlClient::uploadMPCoSPhaseDigestInfoByDevice(const UploadMPCoSPhaseDigestInfoByDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UploadMPCoSPhaseDigestInfoByDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UploadMPCoSPhaseDigestInfoByDeviceOutcome(UploadMPCoSPhaseDigestInfoByDeviceResult(outcome.result())); + else + return UploadMPCoSPhaseDigestInfoByDeviceOutcome(outcome.error()); +} + +void LtlClient::uploadMPCoSPhaseDigestInfoByDeviceAsync(const UploadMPCoSPhaseDigestInfoByDeviceRequest& request, const UploadMPCoSPhaseDigestInfoByDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, uploadMPCoSPhaseDigestInfoByDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::UploadMPCoSPhaseDigestInfoByDeviceOutcomeCallable LtlClient::uploadMPCoSPhaseDigestInfoByDeviceCallable(const UploadMPCoSPhaseDigestInfoByDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->uploadMPCoSPhaseDigestInfoByDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::UploadMPCoSPhaseTextInfoOutcome LtlClient::uploadMPCoSPhaseTextInfo(const UploadMPCoSPhaseTextInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UploadMPCoSPhaseTextInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UploadMPCoSPhaseTextInfoOutcome(UploadMPCoSPhaseTextInfoResult(outcome.result())); + else + return UploadMPCoSPhaseTextInfoOutcome(outcome.error()); +} + +void LtlClient::uploadMPCoSPhaseTextInfoAsync(const UploadMPCoSPhaseTextInfoRequest& request, const UploadMPCoSPhaseTextInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, uploadMPCoSPhaseTextInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::UploadMPCoSPhaseTextInfoOutcomeCallable LtlClient::uploadMPCoSPhaseTextInfoCallable(const UploadMPCoSPhaseTextInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->uploadMPCoSPhaseTextInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtlClient::UploadMPCoSPhaseTextInfoByDeviceOutcome LtlClient::uploadMPCoSPhaseTextInfoByDevice(const UploadMPCoSPhaseTextInfoByDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UploadMPCoSPhaseTextInfoByDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UploadMPCoSPhaseTextInfoByDeviceOutcome(UploadMPCoSPhaseTextInfoByDeviceResult(outcome.result())); + else + return UploadMPCoSPhaseTextInfoByDeviceOutcome(outcome.error()); +} + +void LtlClient::uploadMPCoSPhaseTextInfoByDeviceAsync(const UploadMPCoSPhaseTextInfoByDeviceRequest& request, const UploadMPCoSPhaseTextInfoByDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, uploadMPCoSPhaseTextInfoByDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtlClient::UploadMPCoSPhaseTextInfoByDeviceOutcomeCallable LtlClient::uploadMPCoSPhaseTextInfoByDeviceCallable(const UploadMPCoSPhaseTextInfoByDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->uploadMPCoSPhaseTextInfoByDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + diff --git a/ltl/src/model/ApplyDataModelConfigInfoRequest.cc b/ltl/src/model/ApplyDataModelConfigInfoRequest.cc new file mode 100644 index 000000000..ab49a3cf8 --- /dev/null +++ b/ltl/src/model/ApplyDataModelConfigInfoRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Ltl::Model::ApplyDataModelConfigInfoRequest; + +ApplyDataModelConfigInfoRequest::ApplyDataModelConfigInfoRequest() + : RpcServiceRequest("ltl", "2019-05-10", "ApplyDataModelConfigInfo") { + setMethod(HttpRequest::Method::Post); +} + +ApplyDataModelConfigInfoRequest::~ApplyDataModelConfigInfoRequest() {} + +std::string ApplyDataModelConfigInfoRequest::getConfiguration() const { + return configuration_; +} + +void ApplyDataModelConfigInfoRequest::setConfiguration(const std::string &configuration) { + configuration_ = configuration; + setParameter(std::string("Configuration"), configuration); +} + +std::string ApplyDataModelConfigInfoRequest::getApiVersion() const { + return apiVersion_; +} + +void ApplyDataModelConfigInfoRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string ApplyDataModelConfigInfoRequest::getProductKey() const { + return productKey_; +} + +void ApplyDataModelConfigInfoRequest::setProductKey(const std::string &productKey) { + productKey_ = productKey; + setParameter(std::string("ProductKey"), productKey); +} + +std::string ApplyDataModelConfigInfoRequest::getDataModelCode() const { + return dataModelCode_; +} + +void ApplyDataModelConfigInfoRequest::setDataModelCode(const std::string &dataModelCode) { + dataModelCode_ = dataModelCode; + setParameter(std::string("DataModelCode"), dataModelCode); +} + diff --git a/ltl/src/model/ApplyDataModelConfigInfoResult.cc b/ltl/src/model/ApplyDataModelConfigInfoResult.cc new file mode 100644 index 000000000..8c1e152bf --- /dev/null +++ b/ltl/src/model/ApplyDataModelConfigInfoResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +ApplyDataModelConfigInfoResult::ApplyDataModelConfigInfoResult() : + ServiceResult() +{} + +ApplyDataModelConfigInfoResult::ApplyDataModelConfigInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ApplyDataModelConfigInfoResult::~ApplyDataModelConfigInfoResult() +{} + +void ApplyDataModelConfigInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ApplyDataModelConfigInfoResult::getMessage()const +{ + return message_; +} + +std::string ApplyDataModelConfigInfoResult::getData()const +{ + return data_; +} + +int ApplyDataModelConfigInfoResult::getCode()const +{ + return code_; +} + +bool ApplyDataModelConfigInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/AttachDataRequest.cc b/ltl/src/model/AttachDataRequest.cc new file mode 100644 index 000000000..0fcb19a30 --- /dev/null +++ b/ltl/src/model/AttachDataRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::AttachDataRequest; + +AttachDataRequest::AttachDataRequest() + : RpcServiceRequest("ltl", "2019-05-10", "AttachData") { + setMethod(HttpRequest::Method::Post); +} + +AttachDataRequest::~AttachDataRequest() {} + +std::string AttachDataRequest::getBusinessId() const { + return businessId_; +} + +void AttachDataRequest::setBusinessId(const std::string &businessId) { + businessId_ = businessId; + setParameter(std::string("BusinessId"), businessId); +} + +std::string AttachDataRequest::getApiVersion() const { + return apiVersion_; +} + +void AttachDataRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string AttachDataRequest::getProductKey() const { + return productKey_; +} + +void AttachDataRequest::setProductKey(const std::string &productKey) { + productKey_ = productKey; + setParameter(std::string("ProductKey"), productKey); +} + +std::string AttachDataRequest::getValue() const { + return value_; +} + +void AttachDataRequest::setValue(const std::string &value) { + value_ = value; + setParameter(std::string("Value"), value); +} + +std::string AttachDataRequest::getKey() const { + return key_; +} + +void AttachDataRequest::setKey(const std::string &key) { + key_ = key; + setParameter(std::string("Key"), key); +} + diff --git a/ltl/src/model/AttachDataResult.cc b/ltl/src/model/AttachDataResult.cc new file mode 100644 index 000000000..857aeb5a7 --- /dev/null +++ b/ltl/src/model/AttachDataResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +AttachDataResult::AttachDataResult() : + ServiceResult() +{} + +AttachDataResult::AttachDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AttachDataResult::~AttachDataResult() +{} + +void AttachDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string AttachDataResult::getMessage()const +{ + return message_; +} + +std::string AttachDataResult::getData()const +{ + return data_; +} + +int AttachDataResult::getCode()const +{ + return code_; +} + +bool AttachDataResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/AttachDataWithSignatureRequest.cc b/ltl/src/model/AttachDataWithSignatureRequest.cc new file mode 100644 index 000000000..4347c4132 --- /dev/null +++ b/ltl/src/model/AttachDataWithSignatureRequest.cc @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::AttachDataWithSignatureRequest; + +AttachDataWithSignatureRequest::AttachDataWithSignatureRequest() + : RpcServiceRequest("ltl", "2019-05-10", "AttachDataWithSignature") { + setMethod(HttpRequest::Method::Post); +} + +AttachDataWithSignatureRequest::~AttachDataWithSignatureRequest() {} + +std::string AttachDataWithSignatureRequest::getIotSignature() const { + return iotSignature_; +} + +void AttachDataWithSignatureRequest::setIotSignature(const std::string &iotSignature) { + iotSignature_ = iotSignature; + setParameter(std::string("IotSignature"), iotSignature); +} + +std::string AttachDataWithSignatureRequest::getIotAuthType() const { + return iotAuthType_; +} + +void AttachDataWithSignatureRequest::setIotAuthType(const std::string &iotAuthType) { + iotAuthType_ = iotAuthType; + setParameter(std::string("IotAuthType"), iotAuthType); +} + +std::string AttachDataWithSignatureRequest::getIotIdSource() const { + return iotIdSource_; +} + +void AttachDataWithSignatureRequest::setIotIdSource(const std::string &iotIdSource) { + iotIdSource_ = iotIdSource; + setParameter(std::string("IotIdSource"), iotIdSource); +} + +std::string AttachDataWithSignatureRequest::getBusinessId() const { + return businessId_; +} + +void AttachDataWithSignatureRequest::setBusinessId(const std::string &businessId) { + businessId_ = businessId; + setParameter(std::string("BusinessId"), businessId); +} + +std::string AttachDataWithSignatureRequest::getApiVersion() const { + return apiVersion_; +} + +void AttachDataWithSignatureRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string AttachDataWithSignatureRequest::getProductKey() const { + return productKey_; +} + +void AttachDataWithSignatureRequest::setProductKey(const std::string &productKey) { + productKey_ = productKey; + setParameter(std::string("ProductKey"), productKey); +} + +std::string AttachDataWithSignatureRequest::getIotId() const { + return iotId_; +} + +void AttachDataWithSignatureRequest::setIotId(const std::string &iotId) { + iotId_ = iotId; + setParameter(std::string("IotId"), iotId); +} + +std::string AttachDataWithSignatureRequest::getIotDataDigest() const { + return iotDataDigest_; +} + +void AttachDataWithSignatureRequest::setIotDataDigest(const std::string &iotDataDigest) { + iotDataDigest_ = iotDataDigest; + setParameter(std::string("IotDataDigest"), iotDataDigest); +} + +std::string AttachDataWithSignatureRequest::getIotIdServiceProvider() const { + return iotIdServiceProvider_; +} + +void AttachDataWithSignatureRequest::setIotIdServiceProvider(const std::string &iotIdServiceProvider) { + iotIdServiceProvider_ = iotIdServiceProvider; + setParameter(std::string("IotIdServiceProvider"), iotIdServiceProvider); +} + +std::string AttachDataWithSignatureRequest::getValue() const { + return value_; +} + +void AttachDataWithSignatureRequest::setValue(const std::string &value) { + value_ = value; + setParameter(std::string("Value"), value); +} + +std::string AttachDataWithSignatureRequest::getKey() const { + return key_; +} + +void AttachDataWithSignatureRequest::setKey(const std::string &key) { + key_ = key; + setParameter(std::string("Key"), key); +} + diff --git a/ltl/src/model/AttachDataWithSignatureResult.cc b/ltl/src/model/AttachDataWithSignatureResult.cc new file mode 100644 index 000000000..c4c70132b --- /dev/null +++ b/ltl/src/model/AttachDataWithSignatureResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +AttachDataWithSignatureResult::AttachDataWithSignatureResult() : + ServiceResult() +{} + +AttachDataWithSignatureResult::AttachDataWithSignatureResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AttachDataWithSignatureResult::~AttachDataWithSignatureResult() +{} + +void AttachDataWithSignatureResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string AttachDataWithSignatureResult::getMessage()const +{ + return message_; +} + +std::string AttachDataWithSignatureResult::getData()const +{ + return data_; +} + +int AttachDataWithSignatureResult::getCode()const +{ + return code_; +} + +bool AttachDataWithSignatureResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/AuthorizeDeviceGroupRequest.cc b/ltl/src/model/AuthorizeDeviceGroupRequest.cc new file mode 100644 index 000000000..a9afc450d --- /dev/null +++ b/ltl/src/model/AuthorizeDeviceGroupRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Ltl::Model::AuthorizeDeviceGroupRequest; + +AuthorizeDeviceGroupRequest::AuthorizeDeviceGroupRequest() + : RpcServiceRequest("ltl", "2019-05-10", "AuthorizeDeviceGroup") { + setMethod(HttpRequest::Method::Post); +} + +AuthorizeDeviceGroupRequest::~AuthorizeDeviceGroupRequest() {} + +std::string AuthorizeDeviceGroupRequest::getApiVersion() const { + return apiVersion_; +} + +void AuthorizeDeviceGroupRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string AuthorizeDeviceGroupRequest::getDeviceGroupId() const { + return deviceGroupId_; +} + +void AuthorizeDeviceGroupRequest::setDeviceGroupId(const std::string &deviceGroupId) { + deviceGroupId_ = deviceGroupId; + setParameter(std::string("DeviceGroupId"), deviceGroupId); +} + +std::string AuthorizeDeviceGroupRequest::getBizChainId() const { + return bizChainId_; +} + +void AuthorizeDeviceGroupRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + diff --git a/ltl/src/model/AuthorizeDeviceGroupResult.cc b/ltl/src/model/AuthorizeDeviceGroupResult.cc new file mode 100644 index 000000000..e9411e44d --- /dev/null +++ b/ltl/src/model/AuthorizeDeviceGroupResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +AuthorizeDeviceGroupResult::AuthorizeDeviceGroupResult() : + ServiceResult() +{} + +AuthorizeDeviceGroupResult::AuthorizeDeviceGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AuthorizeDeviceGroupResult::~AuthorizeDeviceGroupResult() +{} + +void AuthorizeDeviceGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string AuthorizeDeviceGroupResult::getMessage()const +{ + return message_; +} + +std::string AuthorizeDeviceGroupResult::getData()const +{ + return data_; +} + +int AuthorizeDeviceGroupResult::getCode()const +{ + return code_; +} + +bool AuthorizeDeviceGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/AuthorizeDeviceRequest.cc b/ltl/src/model/AuthorizeDeviceRequest.cc new file mode 100644 index 000000000..dfb8e4e7a --- /dev/null +++ b/ltl/src/model/AuthorizeDeviceRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Ltl::Model::AuthorizeDeviceRequest; + +AuthorizeDeviceRequest::AuthorizeDeviceRequest() + : RpcServiceRequest("ltl", "2019-05-10", "AuthorizeDevice") { + setMethod(HttpRequest::Method::Post); +} + +AuthorizeDeviceRequest::~AuthorizeDeviceRequest() {} + +std::string AuthorizeDeviceRequest::getApiVersion() const { + return apiVersion_; +} + +void AuthorizeDeviceRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string AuthorizeDeviceRequest::getDeviceId() const { + return deviceId_; +} + +void AuthorizeDeviceRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); +} + +std::string AuthorizeDeviceRequest::getDeviceGroupId() const { + return deviceGroupId_; +} + +void AuthorizeDeviceRequest::setDeviceGroupId(const std::string &deviceGroupId) { + deviceGroupId_ = deviceGroupId; + setParameter(std::string("DeviceGroupId"), deviceGroupId); +} + +std::string AuthorizeDeviceRequest::getBizChainId() const { + return bizChainId_; +} + +void AuthorizeDeviceRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + diff --git a/ltl/src/model/AuthorizeDeviceResult.cc b/ltl/src/model/AuthorizeDeviceResult.cc new file mode 100644 index 000000000..c1784f711 --- /dev/null +++ b/ltl/src/model/AuthorizeDeviceResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +AuthorizeDeviceResult::AuthorizeDeviceResult() : + ServiceResult() +{} + +AuthorizeDeviceResult::AuthorizeDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AuthorizeDeviceResult::~AuthorizeDeviceResult() +{} + +void AuthorizeDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string AuthorizeDeviceResult::getMessage()const +{ + return message_; +} + +std::string AuthorizeDeviceResult::getData()const +{ + return data_; +} + +int AuthorizeDeviceResult::getCode()const +{ + return code_; +} + +bool AuthorizeDeviceResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/BatchUploadMPCoSPhaseDigestInfoByDeviceRequest.cc b/ltl/src/model/BatchUploadMPCoSPhaseDigestInfoByDeviceRequest.cc new file mode 100644 index 000000000..48e8e172f --- /dev/null +++ b/ltl/src/model/BatchUploadMPCoSPhaseDigestInfoByDeviceRequest.cc @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::BatchUploadMPCoSPhaseDigestInfoByDeviceRequest; + +BatchUploadMPCoSPhaseDigestInfoByDeviceRequest::BatchUploadMPCoSPhaseDigestInfoByDeviceRequest() + : RpcServiceRequest("ltl", "2019-05-10", "BatchUploadMPCoSPhaseDigestInfoByDevice") { + setMethod(HttpRequest::Method::Post); +} + +BatchUploadMPCoSPhaseDigestInfoByDeviceRequest::~BatchUploadMPCoSPhaseDigestInfoByDeviceRequest() {} + +std::string BatchUploadMPCoSPhaseDigestInfoByDeviceRequest::getIotSignature() const { + return iotSignature_; +} + +void BatchUploadMPCoSPhaseDigestInfoByDeviceRequest::setIotSignature(const std::string &iotSignature) { + iotSignature_ = iotSignature; + setParameter(std::string("IotSignature"), iotSignature); +} + +std::string BatchUploadMPCoSPhaseDigestInfoByDeviceRequest::getIotAuthType() const { + return iotAuthType_; +} + +void BatchUploadMPCoSPhaseDigestInfoByDeviceRequest::setIotAuthType(const std::string &iotAuthType) { + iotAuthType_ = iotAuthType; + setParameter(std::string("IotAuthType"), iotAuthType); +} + +std::string BatchUploadMPCoSPhaseDigestInfoByDeviceRequest::getIotIdSource() const { + return iotIdSource_; +} + +void BatchUploadMPCoSPhaseDigestInfoByDeviceRequest::setIotIdSource(const std::string &iotIdSource) { + iotIdSource_ = iotIdSource; + setParameter(std::string("IotIdSource"), iotIdSource); +} + +std::string BatchUploadMPCoSPhaseDigestInfoByDeviceRequest::getPhaseId() const { + return phaseId_; +} + +void BatchUploadMPCoSPhaseDigestInfoByDeviceRequest::setPhaseId(const std::string &phaseId) { + phaseId_ = phaseId; + setParameter(std::string("PhaseId"), phaseId); +} + +std::string BatchUploadMPCoSPhaseDigestInfoByDeviceRequest::getApiVersion() const { + return apiVersion_; +} + +void BatchUploadMPCoSPhaseDigestInfoByDeviceRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string BatchUploadMPCoSPhaseDigestInfoByDeviceRequest::getBizChainId() const { + return bizChainId_; +} + +void BatchUploadMPCoSPhaseDigestInfoByDeviceRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + +std::map BatchUploadMPCoSPhaseDigestInfoByDeviceRequest::getPhaseDataList() const { + return phaseDataList_; +} + +void BatchUploadMPCoSPhaseDigestInfoByDeviceRequest::setPhaseDataList(std::map phaseDataList) { + phaseDataList_ = phaseDataList; + setParameter(std::string("PhaseDataList"), phaseDataList); +} + +std::string BatchUploadMPCoSPhaseDigestInfoByDeviceRequest::getIotId() const { + return iotId_; +} + +void BatchUploadMPCoSPhaseDigestInfoByDeviceRequest::setIotId(const std::string &iotId) { + iotId_ = iotId; + setParameter(std::string("IotId"), iotId); +} + +std::string BatchUploadMPCoSPhaseDigestInfoByDeviceRequest::getPhaseGroupId() const { + return phaseGroupId_; +} + +void BatchUploadMPCoSPhaseDigestInfoByDeviceRequest::setPhaseGroupId(const std::string &phaseGroupId) { + phaseGroupId_ = phaseGroupId; + setParameter(std::string("PhaseGroupId"), phaseGroupId); +} + +std::string BatchUploadMPCoSPhaseDigestInfoByDeviceRequest::getIotDataDigest() const { + return iotDataDigest_; +} + +void BatchUploadMPCoSPhaseDigestInfoByDeviceRequest::setIotDataDigest(const std::string &iotDataDigest) { + iotDataDigest_ = iotDataDigest; + setParameter(std::string("IotDataDigest"), iotDataDigest); +} + +std::string BatchUploadMPCoSPhaseDigestInfoByDeviceRequest::getIotIdServiceProvider() const { + return iotIdServiceProvider_; +} + +void BatchUploadMPCoSPhaseDigestInfoByDeviceRequest::setIotIdServiceProvider(const std::string &iotIdServiceProvider) { + iotIdServiceProvider_ = iotIdServiceProvider; + setParameter(std::string("IotIdServiceProvider"), iotIdServiceProvider); +} + diff --git a/ltl/src/model/BatchUploadMPCoSPhaseDigestInfoByDeviceResult.cc b/ltl/src/model/BatchUploadMPCoSPhaseDigestInfoByDeviceResult.cc new file mode 100644 index 000000000..c3ab535c7 --- /dev/null +++ b/ltl/src/model/BatchUploadMPCoSPhaseDigestInfoByDeviceResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +BatchUploadMPCoSPhaseDigestInfoByDeviceResult::BatchUploadMPCoSPhaseDigestInfoByDeviceResult() : + ServiceResult() +{} + +BatchUploadMPCoSPhaseDigestInfoByDeviceResult::BatchUploadMPCoSPhaseDigestInfoByDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchUploadMPCoSPhaseDigestInfoByDeviceResult::~BatchUploadMPCoSPhaseDigestInfoByDeviceResult() +{} + +void BatchUploadMPCoSPhaseDigestInfoByDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string BatchUploadMPCoSPhaseDigestInfoByDeviceResult::getMessage()const +{ + return message_; +} + +std::string BatchUploadMPCoSPhaseDigestInfoByDeviceResult::getData()const +{ + return data_; +} + +int BatchUploadMPCoSPhaseDigestInfoByDeviceResult::getCode()const +{ + return code_; +} + +bool BatchUploadMPCoSPhaseDigestInfoByDeviceResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/BatchUploadMPCoSPhaseDigestInfoRequest.cc b/ltl/src/model/BatchUploadMPCoSPhaseDigestInfoRequest.cc new file mode 100644 index 000000000..6ca4d9d44 --- /dev/null +++ b/ltl/src/model/BatchUploadMPCoSPhaseDigestInfoRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::BatchUploadMPCoSPhaseDigestInfoRequest; + +BatchUploadMPCoSPhaseDigestInfoRequest::BatchUploadMPCoSPhaseDigestInfoRequest() + : RpcServiceRequest("ltl", "2019-05-10", "BatchUploadMPCoSPhaseDigestInfo") { + setMethod(HttpRequest::Method::Post); +} + +BatchUploadMPCoSPhaseDigestInfoRequest::~BatchUploadMPCoSPhaseDigestInfoRequest() {} + +std::map BatchUploadMPCoSPhaseDigestInfoRequest::getPhaseDataList() const { + return phaseDataList_; +} + +void BatchUploadMPCoSPhaseDigestInfoRequest::setPhaseDataList(std::map phaseDataList) { + phaseDataList_ = phaseDataList; + setParameter(std::string("PhaseDataList"), phaseDataList); +} + +std::string BatchUploadMPCoSPhaseDigestInfoRequest::getPhaseId() const { + return phaseId_; +} + +void BatchUploadMPCoSPhaseDigestInfoRequest::setPhaseId(const std::string &phaseId) { + phaseId_ = phaseId; + setParameter(std::string("PhaseId"), phaseId); +} + +std::string BatchUploadMPCoSPhaseDigestInfoRequest::getPhaseGroupId() const { + return phaseGroupId_; +} + +void BatchUploadMPCoSPhaseDigestInfoRequest::setPhaseGroupId(const std::string &phaseGroupId) { + phaseGroupId_ = phaseGroupId; + setParameter(std::string("PhaseGroupId"), phaseGroupId); +} + +std::string BatchUploadMPCoSPhaseDigestInfoRequest::getApiVersion() const { + return apiVersion_; +} + +void BatchUploadMPCoSPhaseDigestInfoRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string BatchUploadMPCoSPhaseDigestInfoRequest::getBizChainId() const { + return bizChainId_; +} + +void BatchUploadMPCoSPhaseDigestInfoRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + diff --git a/ltl/src/model/BatchUploadMPCoSPhaseDigestInfoResult.cc b/ltl/src/model/BatchUploadMPCoSPhaseDigestInfoResult.cc new file mode 100644 index 000000000..460f9515a --- /dev/null +++ b/ltl/src/model/BatchUploadMPCoSPhaseDigestInfoResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +BatchUploadMPCoSPhaseDigestInfoResult::BatchUploadMPCoSPhaseDigestInfoResult() : + ServiceResult() +{} + +BatchUploadMPCoSPhaseDigestInfoResult::BatchUploadMPCoSPhaseDigestInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchUploadMPCoSPhaseDigestInfoResult::~BatchUploadMPCoSPhaseDigestInfoResult() +{} + +void BatchUploadMPCoSPhaseDigestInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string BatchUploadMPCoSPhaseDigestInfoResult::getMessage()const +{ + return message_; +} + +std::string BatchUploadMPCoSPhaseDigestInfoResult::getData()const +{ + return data_; +} + +int BatchUploadMPCoSPhaseDigestInfoResult::getCode()const +{ + return code_; +} + +bool BatchUploadMPCoSPhaseDigestInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/BatchUploadMPCoSPhaseTextInfoByDeviceRequest.cc b/ltl/src/model/BatchUploadMPCoSPhaseTextInfoByDeviceRequest.cc new file mode 100644 index 000000000..2f053dbcf --- /dev/null +++ b/ltl/src/model/BatchUploadMPCoSPhaseTextInfoByDeviceRequest.cc @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::BatchUploadMPCoSPhaseTextInfoByDeviceRequest; + +BatchUploadMPCoSPhaseTextInfoByDeviceRequest::BatchUploadMPCoSPhaseTextInfoByDeviceRequest() + : RpcServiceRequest("ltl", "2019-05-10", "BatchUploadMPCoSPhaseTextInfoByDevice") { + setMethod(HttpRequest::Method::Post); +} + +BatchUploadMPCoSPhaseTextInfoByDeviceRequest::~BatchUploadMPCoSPhaseTextInfoByDeviceRequest() {} + +std::string BatchUploadMPCoSPhaseTextInfoByDeviceRequest::getIotSignature() const { + return iotSignature_; +} + +void BatchUploadMPCoSPhaseTextInfoByDeviceRequest::setIotSignature(const std::string &iotSignature) { + iotSignature_ = iotSignature; + setParameter(std::string("IotSignature"), iotSignature); +} + +std::string BatchUploadMPCoSPhaseTextInfoByDeviceRequest::getIotAuthType() const { + return iotAuthType_; +} + +void BatchUploadMPCoSPhaseTextInfoByDeviceRequest::setIotAuthType(const std::string &iotAuthType) { + iotAuthType_ = iotAuthType; + setParameter(std::string("IotAuthType"), iotAuthType); +} + +std::string BatchUploadMPCoSPhaseTextInfoByDeviceRequest::getIotIdSource() const { + return iotIdSource_; +} + +void BatchUploadMPCoSPhaseTextInfoByDeviceRequest::setIotIdSource(const std::string &iotIdSource) { + iotIdSource_ = iotIdSource; + setParameter(std::string("IotIdSource"), iotIdSource); +} + +std::string BatchUploadMPCoSPhaseTextInfoByDeviceRequest::getPhaseId() const { + return phaseId_; +} + +void BatchUploadMPCoSPhaseTextInfoByDeviceRequest::setPhaseId(const std::string &phaseId) { + phaseId_ = phaseId; + setParameter(std::string("PhaseId"), phaseId); +} + +std::string BatchUploadMPCoSPhaseTextInfoByDeviceRequest::getApiVersion() const { + return apiVersion_; +} + +void BatchUploadMPCoSPhaseTextInfoByDeviceRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string BatchUploadMPCoSPhaseTextInfoByDeviceRequest::getBizChainId() const { + return bizChainId_; +} + +void BatchUploadMPCoSPhaseTextInfoByDeviceRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + +std::map BatchUploadMPCoSPhaseTextInfoByDeviceRequest::getPhaseDataList() const { + return phaseDataList_; +} + +void BatchUploadMPCoSPhaseTextInfoByDeviceRequest::setPhaseDataList(std::map phaseDataList) { + phaseDataList_ = phaseDataList; + setParameter(std::string("PhaseDataList"), phaseDataList); +} + +std::string BatchUploadMPCoSPhaseTextInfoByDeviceRequest::getIotId() const { + return iotId_; +} + +void BatchUploadMPCoSPhaseTextInfoByDeviceRequest::setIotId(const std::string &iotId) { + iotId_ = iotId; + setParameter(std::string("IotId"), iotId); +} + +std::string BatchUploadMPCoSPhaseTextInfoByDeviceRequest::getPhaseGroupId() const { + return phaseGroupId_; +} + +void BatchUploadMPCoSPhaseTextInfoByDeviceRequest::setPhaseGroupId(const std::string &phaseGroupId) { + phaseGroupId_ = phaseGroupId; + setParameter(std::string("PhaseGroupId"), phaseGroupId); +} + +std::string BatchUploadMPCoSPhaseTextInfoByDeviceRequest::getIotDataDigest() const { + return iotDataDigest_; +} + +void BatchUploadMPCoSPhaseTextInfoByDeviceRequest::setIotDataDigest(const std::string &iotDataDigest) { + iotDataDigest_ = iotDataDigest; + setParameter(std::string("IotDataDigest"), iotDataDigest); +} + +std::string BatchUploadMPCoSPhaseTextInfoByDeviceRequest::getIotIdServiceProvider() const { + return iotIdServiceProvider_; +} + +void BatchUploadMPCoSPhaseTextInfoByDeviceRequest::setIotIdServiceProvider(const std::string &iotIdServiceProvider) { + iotIdServiceProvider_ = iotIdServiceProvider; + setParameter(std::string("IotIdServiceProvider"), iotIdServiceProvider); +} + diff --git a/ltl/src/model/BatchUploadMPCoSPhaseTextInfoByDeviceResult.cc b/ltl/src/model/BatchUploadMPCoSPhaseTextInfoByDeviceResult.cc new file mode 100644 index 000000000..0df563beb --- /dev/null +++ b/ltl/src/model/BatchUploadMPCoSPhaseTextInfoByDeviceResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +BatchUploadMPCoSPhaseTextInfoByDeviceResult::BatchUploadMPCoSPhaseTextInfoByDeviceResult() : + ServiceResult() +{} + +BatchUploadMPCoSPhaseTextInfoByDeviceResult::BatchUploadMPCoSPhaseTextInfoByDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchUploadMPCoSPhaseTextInfoByDeviceResult::~BatchUploadMPCoSPhaseTextInfoByDeviceResult() +{} + +void BatchUploadMPCoSPhaseTextInfoByDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string BatchUploadMPCoSPhaseTextInfoByDeviceResult::getMessage()const +{ + return message_; +} + +std::string BatchUploadMPCoSPhaseTextInfoByDeviceResult::getData()const +{ + return data_; +} + +int BatchUploadMPCoSPhaseTextInfoByDeviceResult::getCode()const +{ + return code_; +} + +bool BatchUploadMPCoSPhaseTextInfoByDeviceResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/BatchUploadMPCoSPhaseTextInfoRequest.cc b/ltl/src/model/BatchUploadMPCoSPhaseTextInfoRequest.cc new file mode 100644 index 000000000..cf9b49740 --- /dev/null +++ b/ltl/src/model/BatchUploadMPCoSPhaseTextInfoRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::BatchUploadMPCoSPhaseTextInfoRequest; + +BatchUploadMPCoSPhaseTextInfoRequest::BatchUploadMPCoSPhaseTextInfoRequest() + : RpcServiceRequest("ltl", "2019-05-10", "BatchUploadMPCoSPhaseTextInfo") { + setMethod(HttpRequest::Method::Post); +} + +BatchUploadMPCoSPhaseTextInfoRequest::~BatchUploadMPCoSPhaseTextInfoRequest() {} + +std::map BatchUploadMPCoSPhaseTextInfoRequest::getPhaseDataList() const { + return phaseDataList_; +} + +void BatchUploadMPCoSPhaseTextInfoRequest::setPhaseDataList(std::map phaseDataList) { + phaseDataList_ = phaseDataList; + setParameter(std::string("PhaseDataList"), phaseDataList); +} + +std::string BatchUploadMPCoSPhaseTextInfoRequest::getPhaseId() const { + return phaseId_; +} + +void BatchUploadMPCoSPhaseTextInfoRequest::setPhaseId(const std::string &phaseId) { + phaseId_ = phaseId; + setParameter(std::string("PhaseId"), phaseId); +} + +std::string BatchUploadMPCoSPhaseTextInfoRequest::getPhaseGroupId() const { + return phaseGroupId_; +} + +void BatchUploadMPCoSPhaseTextInfoRequest::setPhaseGroupId(const std::string &phaseGroupId) { + phaseGroupId_ = phaseGroupId; + setParameter(std::string("PhaseGroupId"), phaseGroupId); +} + +std::string BatchUploadMPCoSPhaseTextInfoRequest::getApiVersion() const { + return apiVersion_; +} + +void BatchUploadMPCoSPhaseTextInfoRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string BatchUploadMPCoSPhaseTextInfoRequest::getBizChainId() const { + return bizChainId_; +} + +void BatchUploadMPCoSPhaseTextInfoRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + diff --git a/ltl/src/model/BatchUploadMPCoSPhaseTextInfoResult.cc b/ltl/src/model/BatchUploadMPCoSPhaseTextInfoResult.cc new file mode 100644 index 000000000..dec60e8d9 --- /dev/null +++ b/ltl/src/model/BatchUploadMPCoSPhaseTextInfoResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +BatchUploadMPCoSPhaseTextInfoResult::BatchUploadMPCoSPhaseTextInfoResult() : + ServiceResult() +{} + +BatchUploadMPCoSPhaseTextInfoResult::BatchUploadMPCoSPhaseTextInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchUploadMPCoSPhaseTextInfoResult::~BatchUploadMPCoSPhaseTextInfoResult() +{} + +void BatchUploadMPCoSPhaseTextInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string BatchUploadMPCoSPhaseTextInfoResult::getMessage()const +{ + return message_; +} + +std::string BatchUploadMPCoSPhaseTextInfoResult::getData()const +{ + return data_; +} + +int BatchUploadMPCoSPhaseTextInfoResult::getCode()const +{ + return code_; +} + +bool BatchUploadMPCoSPhaseTextInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/CreateMPCoSPhaseGroupRequest.cc b/ltl/src/model/CreateMPCoSPhaseGroupRequest.cc new file mode 100644 index 000000000..ddd8ec8fa --- /dev/null +++ b/ltl/src/model/CreateMPCoSPhaseGroupRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Ltl::Model::CreateMPCoSPhaseGroupRequest; + +CreateMPCoSPhaseGroupRequest::CreateMPCoSPhaseGroupRequest() + : RpcServiceRequest("ltl", "2019-05-10", "CreateMPCoSPhaseGroup") { + setMethod(HttpRequest::Method::Post); +} + +CreateMPCoSPhaseGroupRequest::~CreateMPCoSPhaseGroupRequest() {} + +std::string CreateMPCoSPhaseGroupRequest::getName() const { + return name_; +} + +void CreateMPCoSPhaseGroupRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +std::string CreateMPCoSPhaseGroupRequest::getApiVersion() const { + return apiVersion_; +} + +void CreateMPCoSPhaseGroupRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string CreateMPCoSPhaseGroupRequest::getRemark() const { + return remark_; +} + +void CreateMPCoSPhaseGroupRequest::setRemark(const std::string &remark) { + remark_ = remark; + setParameter(std::string("Remark"), remark); +} + +std::string CreateMPCoSPhaseGroupRequest::getBizChainId() const { + return bizChainId_; +} + +void CreateMPCoSPhaseGroupRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + diff --git a/ltl/src/model/CreateMPCoSPhaseGroupResult.cc b/ltl/src/model/CreateMPCoSPhaseGroupResult.cc new file mode 100644 index 000000000..3ea36cc2b --- /dev/null +++ b/ltl/src/model/CreateMPCoSPhaseGroupResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +CreateMPCoSPhaseGroupResult::CreateMPCoSPhaseGroupResult() : + ServiceResult() +{} + +CreateMPCoSPhaseGroupResult::CreateMPCoSPhaseGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateMPCoSPhaseGroupResult::~CreateMPCoSPhaseGroupResult() +{} + +void CreateMPCoSPhaseGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string CreateMPCoSPhaseGroupResult::getMessage()const +{ + return message_; +} + +std::string CreateMPCoSPhaseGroupResult::getData()const +{ + return data_; +} + +int CreateMPCoSPhaseGroupResult::getCode()const +{ + return code_; +} + +bool CreateMPCoSPhaseGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/CreateMPCoSPhaseRequest.cc b/ltl/src/model/CreateMPCoSPhaseRequest.cc new file mode 100644 index 000000000..7ce5048dc --- /dev/null +++ b/ltl/src/model/CreateMPCoSPhaseRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::CreateMPCoSPhaseRequest; + +CreateMPCoSPhaseRequest::CreateMPCoSPhaseRequest() + : RpcServiceRequest("ltl", "2019-05-10", "CreateMPCoSPhase") { + setMethod(HttpRequest::Method::Post); +} + +CreateMPCoSPhaseRequest::~CreateMPCoSPhaseRequest() {} + +std::string CreateMPCoSPhaseRequest::getName() const { + return name_; +} + +void CreateMPCoSPhaseRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +std::string CreateMPCoSPhaseRequest::getPhaseGroupId() const { + return phaseGroupId_; +} + +void CreateMPCoSPhaseRequest::setPhaseGroupId(const std::string &phaseGroupId) { + phaseGroupId_ = phaseGroupId; + setParameter(std::string("PhaseGroupId"), phaseGroupId); +} + +std::string CreateMPCoSPhaseRequest::getApiVersion() const { + return apiVersion_; +} + +void CreateMPCoSPhaseRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string CreateMPCoSPhaseRequest::getRemark() const { + return remark_; +} + +void CreateMPCoSPhaseRequest::setRemark(const std::string &remark) { + remark_ = remark; + setParameter(std::string("Remark"), remark); +} + +std::string CreateMPCoSPhaseRequest::getBizChainId() const { + return bizChainId_; +} + +void CreateMPCoSPhaseRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + diff --git a/ltl/src/model/CreateMPCoSPhaseResult.cc b/ltl/src/model/CreateMPCoSPhaseResult.cc new file mode 100644 index 000000000..25672b2d1 --- /dev/null +++ b/ltl/src/model/CreateMPCoSPhaseResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +CreateMPCoSPhaseResult::CreateMPCoSPhaseResult() : + ServiceResult() +{} + +CreateMPCoSPhaseResult::CreateMPCoSPhaseResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateMPCoSPhaseResult::~CreateMPCoSPhaseResult() +{} + +void CreateMPCoSPhaseResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string CreateMPCoSPhaseResult::getMessage()const +{ + return message_; +} + +std::string CreateMPCoSPhaseResult::getData()const +{ + return data_; +} + +int CreateMPCoSPhaseResult::getCode()const +{ + return code_; +} + +bool CreateMPCoSPhaseResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/CreateMemberRequest.cc b/ltl/src/model/CreateMemberRequest.cc new file mode 100644 index 000000000..b561693e6 --- /dev/null +++ b/ltl/src/model/CreateMemberRequest.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::CreateMemberRequest; + +CreateMemberRequest::CreateMemberRequest() + : RpcServiceRequest("ltl", "2019-05-10", "CreateMember") { + setMethod(HttpRequest::Method::Post); +} + +CreateMemberRequest::~CreateMemberRequest() {} + +std::string CreateMemberRequest::getApiVersion() const { + return apiVersion_; +} + +void CreateMemberRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string CreateMemberRequest::getRemark() const { + return remark_; +} + +void CreateMemberRequest::setRemark(const std::string &remark) { + remark_ = remark; + setParameter(std::string("Remark"), remark); +} + +std::string CreateMemberRequest::getBizChainId() const { + return bizChainId_; +} + +void CreateMemberRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + +std::string CreateMemberRequest::getMemberUid() const { + return memberUid_; +} + +void CreateMemberRequest::setMemberUid(const std::string &memberUid) { + memberUid_ = memberUid; + setParameter(std::string("MemberUid"), memberUid); +} + +std::string CreateMemberRequest::getMemberContact() const { + return memberContact_; +} + +void CreateMemberRequest::setMemberContact(const std::string &memberContact) { + memberContact_ = memberContact; + setParameter(std::string("MemberContact"), memberContact); +} + +std::string CreateMemberRequest::getMemberPhone() const { + return memberPhone_; +} + +void CreateMemberRequest::setMemberPhone(const std::string &memberPhone) { + memberPhone_ = memberPhone; + setParameter(std::string("MemberPhone"), memberPhone); +} + +std::string CreateMemberRequest::getMemberName() const { + return memberName_; +} + +void CreateMemberRequest::setMemberName(const std::string &memberName) { + memberName_ = memberName; + setParameter(std::string("MemberName"), memberName); +} + diff --git a/ltl/src/model/CreateMemberResult.cc b/ltl/src/model/CreateMemberResult.cc new file mode 100644 index 000000000..d3955c3d3 --- /dev/null +++ b/ltl/src/model/CreateMemberResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +CreateMemberResult::CreateMemberResult() : + ServiceResult() +{} + +CreateMemberResult::CreateMemberResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateMemberResult::~CreateMemberResult() +{} + +void CreateMemberResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string CreateMemberResult::getMessage()const +{ + return message_; +} + +std::string CreateMemberResult::getData()const +{ + return data_; +} + +int CreateMemberResult::getCode()const +{ + return code_; +} + +bool CreateMemberResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/DescribeCapacityInfoRequest.cc b/ltl/src/model/DescribeCapacityInfoRequest.cc new file mode 100644 index 000000000..3179a3aec --- /dev/null +++ b/ltl/src/model/DescribeCapacityInfoRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::DescribeCapacityInfoRequest; + +DescribeCapacityInfoRequest::DescribeCapacityInfoRequest() + : RpcServiceRequest("ltl", "2019-05-10", "DescribeCapacityInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCapacityInfoRequest::~DescribeCapacityInfoRequest() {} + +std::string DescribeCapacityInfoRequest::getApiVersion() const { + return apiVersion_; +} + +void DescribeCapacityInfoRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string DescribeCapacityInfoRequest::getBizChainId() const { + return bizChainId_; +} + +void DescribeCapacityInfoRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + diff --git a/ltl/src/model/DescribeCapacityInfoResult.cc b/ltl/src/model/DescribeCapacityInfoResult.cc new file mode 100644 index 000000000..493ddd04b --- /dev/null +++ b/ltl/src/model/DescribeCapacityInfoResult.cc @@ -0,0 +1,83 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +DescribeCapacityInfoResult::DescribeCapacityInfoResult() : + ServiceResult() +{} + +DescribeCapacityInfoResult::DescribeCapacityInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCapacityInfoResult::~DescribeCapacityInfoResult() +{} + +void DescribeCapacityInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["CountQuota"].isNull()) + data_.countQuota = std::stol(dataNode["CountQuota"].asString()); + if(!dataNode["CapacityQuota"].isNull()) + data_.capacityQuota = std::stol(dataNode["CapacityQuota"].asString()); + if(!dataNode["UsedCount"].isNull()) + data_.usedCount = std::stol(dataNode["UsedCount"].asString()); + if(!dataNode["UsedCapacity"].isNull()) + data_.usedCapacity = std::stol(dataNode["UsedCapacity"].asString()); + if(!dataNode["MemberUsedCapacity"].isNull()) + data_.memberUsedCapacity = std::stol(dataNode["MemberUsedCapacity"].asString()); + if(!dataNode["MemberUsedCount"].isNull()) + data_.memberUsedCount = std::stol(dataNode["MemberUsedCount"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DescribeCapacityInfoResult::getMessage()const +{ + return message_; +} + +DescribeCapacityInfoResult::Data DescribeCapacityInfoResult::getData()const +{ + return data_; +} + +int DescribeCapacityInfoResult::getCode()const +{ + return code_; +} + +bool DescribeCapacityInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/DescribeMPCoSAuthorizedInfoRequest.cc b/ltl/src/model/DescribeMPCoSAuthorizedInfoRequest.cc new file mode 100644 index 000000000..af6a06715 --- /dev/null +++ b/ltl/src/model/DescribeMPCoSAuthorizedInfoRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Ltl::Model::DescribeMPCoSAuthorizedInfoRequest; + +DescribeMPCoSAuthorizedInfoRequest::DescribeMPCoSAuthorizedInfoRequest() + : RpcServiceRequest("ltl", "2019-05-10", "DescribeMPCoSAuthorizedInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeMPCoSAuthorizedInfoRequest::~DescribeMPCoSAuthorizedInfoRequest() {} + +std::string DescribeMPCoSAuthorizedInfoRequest::getPhaseGroupId() const { + return phaseGroupId_; +} + +void DescribeMPCoSAuthorizedInfoRequest::setPhaseGroupId(const std::string &phaseGroupId) { + phaseGroupId_ = phaseGroupId; + setParameter(std::string("PhaseGroupId"), phaseGroupId); +} + +std::string DescribeMPCoSAuthorizedInfoRequest::getApiVersion() const { + return apiVersion_; +} + +void DescribeMPCoSAuthorizedInfoRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string DescribeMPCoSAuthorizedInfoRequest::getBizChainId() const { + return bizChainId_; +} + +void DescribeMPCoSAuthorizedInfoRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + +std::string DescribeMPCoSAuthorizedInfoRequest::getMemberId() const { + return memberId_; +} + +void DescribeMPCoSAuthorizedInfoRequest::setMemberId(const std::string &memberId) { + memberId_ = memberId; + setParameter(std::string("MemberId"), memberId); +} + diff --git a/ltl/src/model/DescribeMPCoSAuthorizedInfoResult.cc b/ltl/src/model/DescribeMPCoSAuthorizedInfoResult.cc new file mode 100644 index 000000000..b256e8369 --- /dev/null +++ b/ltl/src/model/DescribeMPCoSAuthorizedInfoResult.cc @@ -0,0 +1,91 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +DescribeMPCoSAuthorizedInfoResult::DescribeMPCoSAuthorizedInfoResult() : + ServiceResult() +{} + +DescribeMPCoSAuthorizedInfoResult::DescribeMPCoSAuthorizedInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeMPCoSAuthorizedInfoResult::~DescribeMPCoSAuthorizedInfoResult() +{} + +void DescribeMPCoSAuthorizedInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + auto allAuthorizedPhaseListNode = dataNode["AuthorizedPhaseList"]["AuthorizedPhase"]; + for (auto dataNodeAuthorizedPhaseListAuthorizedPhase : allAuthorizedPhaseListNode) + { + Data::AuthorizedPhase authorizedPhaseObject; + if(!dataNodeAuthorizedPhaseListAuthorizedPhase["PhaseName"].isNull()) + authorizedPhaseObject.phaseName = dataNodeAuthorizedPhaseListAuthorizedPhase["PhaseName"].asString(); + if(!dataNodeAuthorizedPhaseListAuthorizedPhase["PhaseId"].isNull()) + authorizedPhaseObject.phaseId = dataNodeAuthorizedPhaseListAuthorizedPhase["PhaseId"].asString(); + data_.authorizedPhaseList.push_back(authorizedPhaseObject); + } + auto allUnAuthorizedPhaseListNode = dataNode["UnAuthorizedPhaseList"]["UnAuthorizedPhase"]; + for (auto dataNodeUnAuthorizedPhaseListUnAuthorizedPhase : allUnAuthorizedPhaseListNode) + { + Data::UnAuthorizedPhase unAuthorizedPhaseObject; + if(!dataNodeUnAuthorizedPhaseListUnAuthorizedPhase["PhaseName"].isNull()) + unAuthorizedPhaseObject.phaseName = dataNodeUnAuthorizedPhaseListUnAuthorizedPhase["PhaseName"].asString(); + if(!dataNodeUnAuthorizedPhaseListUnAuthorizedPhase["PhaseId"].isNull()) + unAuthorizedPhaseObject.phaseId = dataNodeUnAuthorizedPhaseListUnAuthorizedPhase["PhaseId"].asString(); + data_.unAuthorizedPhaseList.push_back(unAuthorizedPhaseObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DescribeMPCoSAuthorizedInfoResult::getMessage()const +{ + return message_; +} + +DescribeMPCoSAuthorizedInfoResult::Data DescribeMPCoSAuthorizedInfoResult::getData()const +{ + return data_; +} + +int DescribeMPCoSAuthorizedInfoResult::getCode()const +{ + return code_; +} + +bool DescribeMPCoSAuthorizedInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/DescribeMPCoSPhaseInfoRequest.cc b/ltl/src/model/DescribeMPCoSPhaseInfoRequest.cc new file mode 100644 index 000000000..fd5a32efa --- /dev/null +++ b/ltl/src/model/DescribeMPCoSPhaseInfoRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::DescribeMPCoSPhaseInfoRequest; + +DescribeMPCoSPhaseInfoRequest::DescribeMPCoSPhaseInfoRequest() + : RpcServiceRequest("ltl", "2019-05-10", "DescribeMPCoSPhaseInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeMPCoSPhaseInfoRequest::~DescribeMPCoSPhaseInfoRequest() {} + +std::string DescribeMPCoSPhaseInfoRequest::getDataKey() const { + return dataKey_; +} + +void DescribeMPCoSPhaseInfoRequest::setDataKey(const std::string &dataKey) { + dataKey_ = dataKey; + setParameter(std::string("DataKey"), dataKey); +} + +std::string DescribeMPCoSPhaseInfoRequest::getDataSeq() const { + return dataSeq_; +} + +void DescribeMPCoSPhaseInfoRequest::setDataSeq(const std::string &dataSeq) { + dataSeq_ = dataSeq; + setParameter(std::string("DataSeq"), dataSeq); +} + +std::string DescribeMPCoSPhaseInfoRequest::getPhaseId() const { + return phaseId_; +} + +void DescribeMPCoSPhaseInfoRequest::setPhaseId(const std::string &phaseId) { + phaseId_ = phaseId; + setParameter(std::string("PhaseId"), phaseId); +} + +std::string DescribeMPCoSPhaseInfoRequest::getPhaseGroupId() const { + return phaseGroupId_; +} + +void DescribeMPCoSPhaseInfoRequest::setPhaseGroupId(const std::string &phaseGroupId) { + phaseGroupId_ = phaseGroupId; + setParameter(std::string("PhaseGroupId"), phaseGroupId); +} + +std::string DescribeMPCoSPhaseInfoRequest::getApiVersion() const { + return apiVersion_; +} + +void DescribeMPCoSPhaseInfoRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string DescribeMPCoSPhaseInfoRequest::getBizChainId() const { + return bizChainId_; +} + +void DescribeMPCoSPhaseInfoRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + diff --git a/ltl/src/model/DescribeMPCoSPhaseInfoResult.cc b/ltl/src/model/DescribeMPCoSPhaseInfoResult.cc new file mode 100644 index 000000000..7dd488bce --- /dev/null +++ b/ltl/src/model/DescribeMPCoSPhaseInfoResult.cc @@ -0,0 +1,105 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +DescribeMPCoSPhaseInfoResult::DescribeMPCoSPhaseInfoResult() : + ServiceResult() +{} + +DescribeMPCoSPhaseInfoResult::DescribeMPCoSPhaseInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeMPCoSPhaseInfoResult::~DescribeMPCoSPhaseInfoResult() +{} + +void DescribeMPCoSPhaseInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["PreviousHash"].isNull()) + data_.previousHash = dataNode["PreviousHash"].asString(); + if(!dataNode["ProductKey"].isNull()) + data_.productKey = dataNode["ProductKey"].asString(); + if(!dataNode["DataHash"].isNull()) + data_.dataHash = dataNode["DataHash"].asString(); + if(!dataNode["DataValue"].isNull()) + data_.dataValue = dataNode["DataValue"].asString(); + if(!dataNode["Timestamp"].isNull()) + data_.timestamp = std::stol(dataNode["Timestamp"].asString()); + if(!dataNode["TransactionHash"].isNull()) + data_.transactionHash = dataNode["TransactionHash"].asString(); + if(!dataNode["BlockHash"].isNull()) + data_.blockHash = dataNode["BlockHash"].asString(); + if(!dataNode["BlockNumber"].isNull()) + data_.blockNumber = std::stol(dataNode["BlockNumber"].asString()); + if(!dataNode["IotId"].isNull()) + data_.iotId = dataNode["IotId"].asString(); + auto allRelatedDataListNode = dataNode["RelatedDataList"]["RelatedData"]; + for (auto dataNodeRelatedDataListRelatedData : allRelatedDataListNode) + { + Data::RelatedData relatedDataObject; + if(!dataNodeRelatedDataListRelatedData["RelatedDataKey"].isNull()) + relatedDataObject.relatedDataKey = dataNodeRelatedDataListRelatedData["RelatedDataKey"].asString(); + if(!dataNodeRelatedDataListRelatedData["RelatedPhaseDataHash"].isNull()) + relatedDataObject.relatedPhaseDataHash = dataNodeRelatedDataListRelatedData["RelatedPhaseDataHash"].asString(); + if(!dataNodeRelatedDataListRelatedData["RelatedDataSeq"].isNull()) + relatedDataObject.relatedDataSeq = dataNodeRelatedDataListRelatedData["RelatedDataSeq"].asString(); + if(!dataNodeRelatedDataListRelatedData["RelatedPhaseName"].isNull()) + relatedDataObject.relatedPhaseName = dataNodeRelatedDataListRelatedData["RelatedPhaseName"].asString(); + if(!dataNodeRelatedDataListRelatedData["RelatedPhaseId"].isNull()) + relatedDataObject.relatedPhaseId = dataNodeRelatedDataListRelatedData["RelatedPhaseId"].asString(); + data_.relatedDataList.push_back(relatedDataObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DescribeMPCoSPhaseInfoResult::getMessage()const +{ + return message_; +} + +DescribeMPCoSPhaseInfoResult::Data DescribeMPCoSPhaseInfoResult::getData()const +{ + return data_; +} + +int DescribeMPCoSPhaseInfoResult::getCode()const +{ + return code_; +} + +bool DescribeMPCoSPhaseInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/DescribeMPCoSResourceInfoRequest.cc b/ltl/src/model/DescribeMPCoSResourceInfoRequest.cc new file mode 100644 index 000000000..d94fcc5e2 --- /dev/null +++ b/ltl/src/model/DescribeMPCoSResourceInfoRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::DescribeMPCoSResourceInfoRequest; + +DescribeMPCoSResourceInfoRequest::DescribeMPCoSResourceInfoRequest() + : RpcServiceRequest("ltl", "2019-05-10", "DescribeMPCoSResourceInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeMPCoSResourceInfoRequest::~DescribeMPCoSResourceInfoRequest() {} + +std::string DescribeMPCoSResourceInfoRequest::getApiVersion() const { + return apiVersion_; +} + +void DescribeMPCoSResourceInfoRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string DescribeMPCoSResourceInfoRequest::getBizChainId() const { + return bizChainId_; +} + +void DescribeMPCoSResourceInfoRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + diff --git a/ltl/src/model/DescribeMPCoSResourceInfoResult.cc b/ltl/src/model/DescribeMPCoSResourceInfoResult.cc new file mode 100644 index 000000000..527ab81c8 --- /dev/null +++ b/ltl/src/model/DescribeMPCoSResourceInfoResult.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +DescribeMPCoSResourceInfoResult::DescribeMPCoSResourceInfoResult() : + ServiceResult() +{} + +DescribeMPCoSResourceInfoResult::DescribeMPCoSResourceInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeMPCoSResourceInfoResult::~DescribeMPCoSResourceInfoResult() +{} + +void DescribeMPCoSResourceInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["PhaseGroupQuota"].isNull()) + data_.phaseGroupQuota = std::stol(dataNode["PhaseGroupQuota"].asString()); + if(!dataNode["MemberQuota"].isNull()) + data_.memberQuota = std::stol(dataNode["MemberQuota"].asString()); + if(!dataNode["UsedMember"].isNull()) + data_.usedMember = std::stol(dataNode["UsedMember"].asString()); + if(!dataNode["UsedPhaseGroup"].isNull()) + data_.usedPhaseGroup = std::stol(dataNode["UsedPhaseGroup"].asString()); + auto allPhaseQuotaInfoListNode = dataNode["PhaseQuotaInfoList"]["PhaseQuotaInfo"]; + for (auto dataNodePhaseQuotaInfoListPhaseQuotaInfo : allPhaseQuotaInfoListNode) + { + Data::PhaseQuotaInfo phaseQuotaInfoObject; + if(!dataNodePhaseQuotaInfoListPhaseQuotaInfo["PhaseGroupId"].isNull()) + phaseQuotaInfoObject.phaseGroupId = dataNodePhaseQuotaInfoListPhaseQuotaInfo["PhaseGroupId"].asString(); + if(!dataNodePhaseQuotaInfoListPhaseQuotaInfo["PhaseGroupName"].isNull()) + phaseQuotaInfoObject.phaseGroupName = dataNodePhaseQuotaInfoListPhaseQuotaInfo["PhaseGroupName"].asString(); + if(!dataNodePhaseQuotaInfoListPhaseQuotaInfo["PhaseQuota"].isNull()) + phaseQuotaInfoObject.phaseQuota = std::stol(dataNodePhaseQuotaInfoListPhaseQuotaInfo["PhaseQuota"].asString()); + if(!dataNodePhaseQuotaInfoListPhaseQuotaInfo["UsedPhase"].isNull()) + phaseQuotaInfoObject.usedPhase = std::stol(dataNodePhaseQuotaInfoListPhaseQuotaInfo["UsedPhase"].asString()); + data_.phaseQuotaInfoList.push_back(phaseQuotaInfoObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DescribeMPCoSResourceInfoResult::getMessage()const +{ + return message_; +} + +DescribeMPCoSResourceInfoResult::Data DescribeMPCoSResourceInfoResult::getData()const +{ + return data_; +} + +int DescribeMPCoSResourceInfoResult::getCode()const +{ + return code_; +} + +bool DescribeMPCoSResourceInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/DescribeMemberCapacityInfoRequest.cc b/ltl/src/model/DescribeMemberCapacityInfoRequest.cc new file mode 100644 index 000000000..25fd63b8c --- /dev/null +++ b/ltl/src/model/DescribeMemberCapacityInfoRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::DescribeMemberCapacityInfoRequest; + +DescribeMemberCapacityInfoRequest::DescribeMemberCapacityInfoRequest() + : RpcServiceRequest("ltl", "2019-05-10", "DescribeMemberCapacityInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeMemberCapacityInfoRequest::~DescribeMemberCapacityInfoRequest() {} + +std::string DescribeMemberCapacityInfoRequest::getApiVersion() const { + return apiVersion_; +} + +void DescribeMemberCapacityInfoRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string DescribeMemberCapacityInfoRequest::getBizChainId() const { + return bizChainId_; +} + +void DescribeMemberCapacityInfoRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + diff --git a/ltl/src/model/DescribeMemberCapacityInfoResult.cc b/ltl/src/model/DescribeMemberCapacityInfoResult.cc new file mode 100644 index 000000000..5f84eea62 --- /dev/null +++ b/ltl/src/model/DescribeMemberCapacityInfoResult.cc @@ -0,0 +1,86 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +DescribeMemberCapacityInfoResult::DescribeMemberCapacityInfoResult() : + ServiceResult() +{} + +DescribeMemberCapacityInfoResult::DescribeMemberCapacityInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeMemberCapacityInfoResult::~DescribeMemberCapacityInfoResult() +{} + +void DescribeMemberCapacityInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["MemberCapacityInfo"]; + for (auto valueDataMemberCapacityInfo : allDataNode) + { + MemberCapacityInfo dataObject; + if(!valueDataMemberCapacityInfo["UsedCapacity"].isNull()) + dataObject.usedCapacity = valueDataMemberCapacityInfo["UsedCapacity"].asString(); + if(!valueDataMemberCapacityInfo["MemberId"].isNull()) + dataObject.memberId = valueDataMemberCapacityInfo["MemberId"].asString(); + if(!valueDataMemberCapacityInfo["MemberName"].isNull()) + dataObject.memberName = valueDataMemberCapacityInfo["MemberName"].asString(); + if(!valueDataMemberCapacityInfo["UsedCount"].isNull()) + dataObject.usedCount = valueDataMemberCapacityInfo["UsedCount"].asString(); + if(!valueDataMemberCapacityInfo["MemberUid"].isNull()) + dataObject.memberUid = valueDataMemberCapacityInfo["MemberUid"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DescribeMemberCapacityInfoResult::getMessage()const +{ + return message_; +} + +std::vector DescribeMemberCapacityInfoResult::getData()const +{ + return data_; +} + +int DescribeMemberCapacityInfoResult::getCode()const +{ + return code_; +} + +bool DescribeMemberCapacityInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/DescribeResourceInfoRequest.cc b/ltl/src/model/DescribeResourceInfoRequest.cc new file mode 100644 index 000000000..cd76a8319 --- /dev/null +++ b/ltl/src/model/DescribeResourceInfoRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::DescribeResourceInfoRequest; + +DescribeResourceInfoRequest::DescribeResourceInfoRequest() + : RpcServiceRequest("ltl", "2019-05-10", "DescribeResourceInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeResourceInfoRequest::~DescribeResourceInfoRequest() {} + +std::string DescribeResourceInfoRequest::getApiVersion() const { + return apiVersion_; +} + +void DescribeResourceInfoRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string DescribeResourceInfoRequest::getBizChainId() const { + return bizChainId_; +} + +void DescribeResourceInfoRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + diff --git a/ltl/src/model/DescribeResourceInfoResult.cc b/ltl/src/model/DescribeResourceInfoResult.cc new file mode 100644 index 000000000..d7935bcfa --- /dev/null +++ b/ltl/src/model/DescribeResourceInfoResult.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +DescribeResourceInfoResult::DescribeResourceInfoResult() : + ServiceResult() +{} + +DescribeResourceInfoResult::DescribeResourceInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeResourceInfoResult::~DescribeResourceInfoResult() +{} + +void DescribeResourceInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Status"].isNull()) + data_.status = dataNode["Status"].asString(); + if(!dataNode["EffectiveTime"].isNull()) + data_.effectiveTime = std::stol(dataNode["EffectiveTime"].asString()); + if(!dataNode["AuthorizeType"].isNull()) + data_.authorizeType = dataNode["AuthorizeType"].asString(); + if(!dataNode["ExpiredTime"].isNull()) + data_.expiredTime = std::stol(dataNode["ExpiredTime"].asString()); + if(!dataNode["Region"].isNull()) + data_.region = dataNode["Region"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DescribeResourceInfoResult::getMessage()const +{ + return message_; +} + +DescribeResourceInfoResult::Data DescribeResourceInfoResult::getData()const +{ + return data_; +} + +int DescribeResourceInfoResult::getCode()const +{ + return code_; +} + +bool DescribeResourceInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/GetBlockChainInfoRequest.cc b/ltl/src/model/GetBlockChainInfoRequest.cc new file mode 100644 index 000000000..52c8280ff --- /dev/null +++ b/ltl/src/model/GetBlockChainInfoRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Ltl::Model::GetBlockChainInfoRequest; + +GetBlockChainInfoRequest::GetBlockChainInfoRequest() + : RpcServiceRequest("ltl", "2019-05-10", "GetBlockChainInfo") { + setMethod(HttpRequest::Method::Post); +} + +GetBlockChainInfoRequest::~GetBlockChainInfoRequest() {} + +std::string GetBlockChainInfoRequest::getBusinessId() const { + return businessId_; +} + +void GetBlockChainInfoRequest::setBusinessId(const std::string &businessId) { + businessId_ = businessId; + setParameter(std::string("BusinessId"), businessId); +} + +std::string GetBlockChainInfoRequest::getApiVersion() const { + return apiVersion_; +} + +void GetBlockChainInfoRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string GetBlockChainInfoRequest::getProductKey() const { + return productKey_; +} + +void GetBlockChainInfoRequest::setProductKey(const std::string &productKey) { + productKey_ = productKey; + setParameter(std::string("ProductKey"), productKey); +} + +std::string GetBlockChainInfoRequest::getKey() const { + return key_; +} + +void GetBlockChainInfoRequest::setKey(const std::string &key) { + key_ = key; + setParameter(std::string("Key"), key); +} + diff --git a/ltl/src/model/GetBlockChainInfoResult.cc b/ltl/src/model/GetBlockChainInfoResult.cc new file mode 100644 index 000000000..9e35ecaf7 --- /dev/null +++ b/ltl/src/model/GetBlockChainInfoResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +GetBlockChainInfoResult::GetBlockChainInfoResult() : + ServiceResult() +{} + +GetBlockChainInfoResult::GetBlockChainInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetBlockChainInfoResult::~GetBlockChainInfoResult() +{} + +void GetBlockChainInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string GetBlockChainInfoResult::getMessage()const +{ + return message_; +} + +std::string GetBlockChainInfoResult::getData()const +{ + return data_; +} + +int GetBlockChainInfoResult::getCode()const +{ + return code_; +} + +bool GetBlockChainInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/GetDataModelConfigInfoRequest.cc b/ltl/src/model/GetDataModelConfigInfoRequest.cc new file mode 100644 index 000000000..46a7fb0ad --- /dev/null +++ b/ltl/src/model/GetDataModelConfigInfoRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Ltl::Model::GetDataModelConfigInfoRequest; + +GetDataModelConfigInfoRequest::GetDataModelConfigInfoRequest() + : RpcServiceRequest("ltl", "2019-05-10", "GetDataModelConfigInfo") { + setMethod(HttpRequest::Method::Post); +} + +GetDataModelConfigInfoRequest::~GetDataModelConfigInfoRequest() {} + +std::string GetDataModelConfigInfoRequest::getApiVersion() const { + return apiVersion_; +} + +void GetDataModelConfigInfoRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string GetDataModelConfigInfoRequest::getProductKey() const { + return productKey_; +} + +void GetDataModelConfigInfoRequest::setProductKey(const std::string &productKey) { + productKey_ = productKey; + setParameter(std::string("ProductKey"), productKey); +} + +std::string GetDataModelConfigInfoRequest::getDataModelCode() const { + return dataModelCode_; +} + +void GetDataModelConfigInfoRequest::setDataModelCode(const std::string &dataModelCode) { + dataModelCode_ = dataModelCode; + setParameter(std::string("DataModelCode"), dataModelCode); +} + diff --git a/ltl/src/model/GetDataModelConfigInfoResult.cc b/ltl/src/model/GetDataModelConfigInfoResult.cc new file mode 100644 index 000000000..a5369590d --- /dev/null +++ b/ltl/src/model/GetDataModelConfigInfoResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +GetDataModelConfigInfoResult::GetDataModelConfigInfoResult() : + ServiceResult() +{} + +GetDataModelConfigInfoResult::GetDataModelConfigInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetDataModelConfigInfoResult::~GetDataModelConfigInfoResult() +{} + +void GetDataModelConfigInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string GetDataModelConfigInfoResult::getMessage()const +{ + return message_; +} + +std::string GetDataModelConfigInfoResult::getData()const +{ + return data_; +} + +int GetDataModelConfigInfoResult::getCode()const +{ + return code_; +} + +bool GetDataModelConfigInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/GetDataRequest.cc b/ltl/src/model/GetDataRequest.cc new file mode 100644 index 000000000..4b745400d --- /dev/null +++ b/ltl/src/model/GetDataRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Ltl::Model::GetDataRequest; + +GetDataRequest::GetDataRequest() + : RpcServiceRequest("ltl", "2019-05-10", "GetData") { + setMethod(HttpRequest::Method::Post); +} + +GetDataRequest::~GetDataRequest() {} + +std::string GetDataRequest::getBusinessId() const { + return businessId_; +} + +void GetDataRequest::setBusinessId(const std::string &businessId) { + businessId_ = businessId; + setParameter(std::string("BusinessId"), businessId); +} + +std::string GetDataRequest::getApiVersion() const { + return apiVersion_; +} + +void GetDataRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string GetDataRequest::getProductKey() const { + return productKey_; +} + +void GetDataRequest::setProductKey(const std::string &productKey) { + productKey_ = productKey; + setParameter(std::string("ProductKey"), productKey); +} + +std::string GetDataRequest::getKey() const { + return key_; +} + +void GetDataRequest::setKey(const std::string &key) { + key_ = key; + setParameter(std::string("Key"), key); +} + diff --git a/ltl/src/model/GetDataResult.cc b/ltl/src/model/GetDataResult.cc new file mode 100644 index 000000000..60ae326f5 --- /dev/null +++ b/ltl/src/model/GetDataResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +GetDataResult::GetDataResult() : + ServiceResult() +{} + +GetDataResult::GetDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetDataResult::~GetDataResult() +{} + +void GetDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string GetDataResult::getMessage()const +{ + return message_; +} + +std::string GetDataResult::getData()const +{ + return data_; +} + +int GetDataResult::getCode()const +{ + return code_; +} + +bool GetDataResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/GetHistoryDataCountRequest.cc b/ltl/src/model/GetHistoryDataCountRequest.cc new file mode 100644 index 000000000..957e499bf --- /dev/null +++ b/ltl/src/model/GetHistoryDataCountRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::GetHistoryDataCountRequest; + +GetHistoryDataCountRequest::GetHistoryDataCountRequest() + : RpcServiceRequest("ltl", "2019-05-10", "GetHistoryDataCount") { + setMethod(HttpRequest::Method::Post); +} + +GetHistoryDataCountRequest::~GetHistoryDataCountRequest() {} + +long GetHistoryDataCountRequest::getEndTime() const { + return endTime_; +} + +void GetHistoryDataCountRequest::setEndTime(long endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), std::to_string(endTime)); +} + +std::string GetHistoryDataCountRequest::getApiVersion() const { + return apiVersion_; +} + +void GetHistoryDataCountRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +long GetHistoryDataCountRequest::getStartTime() const { + return startTime_; +} + +void GetHistoryDataCountRequest::setStartTime(long startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), std::to_string(startTime)); +} + +std::string GetHistoryDataCountRequest::getProductKey() const { + return productKey_; +} + +void GetHistoryDataCountRequest::setProductKey(const std::string &productKey) { + productKey_ = productKey; + setParameter(std::string("ProductKey"), productKey); +} + +std::string GetHistoryDataCountRequest::getKey() const { + return key_; +} + +void GetHistoryDataCountRequest::setKey(const std::string &key) { + key_ = key; + setParameter(std::string("Key"), key); +} + diff --git a/ltl/src/model/GetHistoryDataCountResult.cc b/ltl/src/model/GetHistoryDataCountResult.cc new file mode 100644 index 000000000..34a3e453c --- /dev/null +++ b/ltl/src/model/GetHistoryDataCountResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +GetHistoryDataCountResult::GetHistoryDataCountResult() : + ServiceResult() +{} + +GetHistoryDataCountResult::GetHistoryDataCountResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetHistoryDataCountResult::~GetHistoryDataCountResult() +{} + +void GetHistoryDataCountResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string GetHistoryDataCountResult::getMessage()const +{ + return message_; +} + +std::string GetHistoryDataCountResult::getData()const +{ + return data_; +} + +int GetHistoryDataCountResult::getCode()const +{ + return code_; +} + +bool GetHistoryDataCountResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/GetHistoryDataListRequest.cc b/ltl/src/model/GetHistoryDataListRequest.cc new file mode 100644 index 000000000..02629e0ee --- /dev/null +++ b/ltl/src/model/GetHistoryDataListRequest.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::GetHistoryDataListRequest; + +GetHistoryDataListRequest::GetHistoryDataListRequest() + : RpcServiceRequest("ltl", "2019-05-10", "GetHistoryDataList") { + setMethod(HttpRequest::Method::Post); +} + +GetHistoryDataListRequest::~GetHistoryDataListRequest() {} + +long GetHistoryDataListRequest::getEndTime() const { + return endTime_; +} + +void GetHistoryDataListRequest::setEndTime(long endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), std::to_string(endTime)); +} + +std::string GetHistoryDataListRequest::getApiVersion() const { + return apiVersion_; +} + +void GetHistoryDataListRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +int GetHistoryDataListRequest::getCurrentPage() const { + return currentPage_; +} + +void GetHistoryDataListRequest::setCurrentPage(int currentPage) { + currentPage_ = currentPage; + setParameter(std::string("CurrentPage"), std::to_string(currentPage)); +} + +long GetHistoryDataListRequest::getStartTime() const { + return startTime_; +} + +void GetHistoryDataListRequest::setStartTime(long startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), std::to_string(startTime)); +} + +std::string GetHistoryDataListRequest::getProductKey() const { + return productKey_; +} + +void GetHistoryDataListRequest::setProductKey(const std::string &productKey) { + productKey_ = productKey; + setParameter(std::string("ProductKey"), productKey); +} + +int GetHistoryDataListRequest::getPageSize() const { + return pageSize_; +} + +void GetHistoryDataListRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetHistoryDataListRequest::getKey() const { + return key_; +} + +void GetHistoryDataListRequest::setKey(const std::string &key) { + key_ = key; + setParameter(std::string("Key"), key); +} + diff --git a/ltl/src/model/GetHistoryDataListResult.cc b/ltl/src/model/GetHistoryDataListResult.cc new file mode 100644 index 000000000..fdbe9fe91 --- /dev/null +++ b/ltl/src/model/GetHistoryDataListResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +GetHistoryDataListResult::GetHistoryDataListResult() : + ServiceResult() +{} + +GetHistoryDataListResult::GetHistoryDataListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetHistoryDataListResult::~GetHistoryDataListResult() +{} + +void GetHistoryDataListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allData = value["Data"]["Data"]; + for (const auto &item : allData) + data_.push_back(item.asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string GetHistoryDataListResult::getMessage()const +{ + return message_; +} + +std::vector GetHistoryDataListResult::getData()const +{ + return data_; +} + +int GetHistoryDataListResult::getCode()const +{ + return code_; +} + +bool GetHistoryDataListResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/ListDependentDataModelsRequest.cc b/ltl/src/model/ListDependentDataModelsRequest.cc new file mode 100644 index 000000000..df9791f3e --- /dev/null +++ b/ltl/src/model/ListDependentDataModelsRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::ListDependentDataModelsRequest; + +ListDependentDataModelsRequest::ListDependentDataModelsRequest() + : RpcServiceRequest("ltl", "2019-05-10", "ListDependentDataModels") { + setMethod(HttpRequest::Method::Post); +} + +ListDependentDataModelsRequest::~ListDependentDataModelsRequest() {} + +std::string ListDependentDataModelsRequest::getApiVersion() const { + return apiVersion_; +} + +void ListDependentDataModelsRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string ListDependentDataModelsRequest::getProductKey() const { + return productKey_; +} + +void ListDependentDataModelsRequest::setProductKey(const std::string &productKey) { + productKey_ = productKey; + setParameter(std::string("ProductKey"), productKey); +} + diff --git a/ltl/src/model/ListDependentDataModelsResult.cc b/ltl/src/model/ListDependentDataModelsResult.cc new file mode 100644 index 000000000..0cdb83f44 --- /dev/null +++ b/ltl/src/model/ListDependentDataModelsResult.cc @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +ListDependentDataModelsResult::ListDependentDataModelsResult() : + ServiceResult() +{} + +ListDependentDataModelsResult::ListDependentDataModelsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDependentDataModelsResult::~ListDependentDataModelsResult() +{} + +void ListDependentDataModelsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataModelInfo"]; + for (auto valueDataDataModelInfo : allDataNode) + { + DataModelInfo dataObject; + if(!valueDataDataModelInfo["DataModelName"].isNull()) + dataObject.dataModelName = valueDataDataModelInfo["DataModelName"].asString(); + if(!valueDataDataModelInfo["DataModelCode"].isNull()) + dataObject.dataModelCode = valueDataDataModelInfo["DataModelCode"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListDependentDataModelsResult::getMessage()const +{ + return message_; +} + +std::vector ListDependentDataModelsResult::getData()const +{ + return data_; +} + +int ListDependentDataModelsResult::getCode()const +{ + return code_; +} + +bool ListDependentDataModelsResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/ListDeviceGroupRequest.cc b/ltl/src/model/ListDeviceGroupRequest.cc new file mode 100644 index 000000000..95e77dfc0 --- /dev/null +++ b/ltl/src/model/ListDeviceGroupRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::ListDeviceGroupRequest; + +ListDeviceGroupRequest::ListDeviceGroupRequest() + : RpcServiceRequest("ltl", "2019-05-10", "ListDeviceGroup") { + setMethod(HttpRequest::Method::Post); +} + +ListDeviceGroupRequest::~ListDeviceGroupRequest() {} + +int ListDeviceGroupRequest::getSize() const { + return size_; +} + +void ListDeviceGroupRequest::setSize(int size) { + size_ = size; + setParameter(std::string("Size"), std::to_string(size)); +} + +int ListDeviceGroupRequest::getNum() const { + return num_; +} + +void ListDeviceGroupRequest::setNum(int num) { + num_ = num; + setParameter(std::string("Num"), std::to_string(num)); +} + +std::string ListDeviceGroupRequest::getApiVersion() const { + return apiVersion_; +} + +void ListDeviceGroupRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string ListDeviceGroupRequest::getProductKey() const { + return productKey_; +} + +void ListDeviceGroupRequest::setProductKey(const std::string &productKey) { + productKey_ = productKey; + setParameter(std::string("ProductKey"), productKey); +} + +std::string ListDeviceGroupRequest::getBizChainId() const { + return bizChainId_; +} + +void ListDeviceGroupRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + diff --git a/ltl/src/model/ListDeviceGroupResult.cc b/ltl/src/model/ListDeviceGroupResult.cc new file mode 100644 index 000000000..d5edcd30a --- /dev/null +++ b/ltl/src/model/ListDeviceGroupResult.cc @@ -0,0 +1,97 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +ListDeviceGroupResult::ListDeviceGroupResult() : + ServiceResult() +{} + +ListDeviceGroupResult::ListDeviceGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDeviceGroupResult::~ListDeviceGroupResult() +{} + +void ListDeviceGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Num"].isNull()) + data_.num = std::stoi(dataNode["Num"].asString()); + if(!dataNode["Total"].isNull()) + data_.total = std::stoi(dataNode["Total"].asString()); + if(!dataNode["Size"].isNull()) + data_.size = std::stoi(dataNode["Size"].asString()); + auto allPageDataNode = dataNode["PageData"]["DeviceGroupInfo"]; + for (auto dataNodePageDataDeviceGroupInfo : allPageDataNode) + { + Data::DeviceGroupInfo deviceGroupInfoObject; + if(!dataNodePageDataDeviceGroupInfo["Status"].isNull()) + deviceGroupInfoObject.status = dataNodePageDataDeviceGroupInfo["Status"].asString(); + if(!dataNodePageDataDeviceGroupInfo["DeviceGroupId"].isNull()) + deviceGroupInfoObject.deviceGroupId = dataNodePageDataDeviceGroupInfo["DeviceGroupId"].asString(); + if(!dataNodePageDataDeviceGroupInfo["ProductKey"].isNull()) + deviceGroupInfoObject.productKey = dataNodePageDataDeviceGroupInfo["ProductKey"].asString(); + if(!dataNodePageDataDeviceGroupInfo["Remark"].isNull()) + deviceGroupInfoObject.remark = dataNodePageDataDeviceGroupInfo["Remark"].asString(); + if(!dataNodePageDataDeviceGroupInfo["AuthorizeType"].isNull()) + deviceGroupInfoObject.authorizeType = dataNodePageDataDeviceGroupInfo["AuthorizeType"].asString(); + if(!dataNodePageDataDeviceGroupInfo["OwnerName"].isNull()) + deviceGroupInfoObject.ownerName = dataNodePageDataDeviceGroupInfo["OwnerName"].asString(); + if(!dataNodePageDataDeviceGroupInfo["OwnerUid"].isNull()) + deviceGroupInfoObject.ownerUid = dataNodePageDataDeviceGroupInfo["OwnerUid"].asString(); + data_.pageData.push_back(deviceGroupInfoObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListDeviceGroupResult::getMessage()const +{ + return message_; +} + +ListDeviceGroupResult::Data ListDeviceGroupResult::getData()const +{ + return data_; +} + +int ListDeviceGroupResult::getCode()const +{ + return code_; +} + +bool ListDeviceGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/ListDeviceRequest.cc b/ltl/src/model/ListDeviceRequest.cc new file mode 100644 index 000000000..78ef96230 --- /dev/null +++ b/ltl/src/model/ListDeviceRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::ListDeviceRequest; + +ListDeviceRequest::ListDeviceRequest() + : RpcServiceRequest("ltl", "2019-05-10", "ListDevice") { + setMethod(HttpRequest::Method::Post); +} + +ListDeviceRequest::~ListDeviceRequest() {} + +std::string ListDeviceRequest::getIotId() const { + return iotId_; +} + +void ListDeviceRequest::setIotId(const std::string &iotId) { + iotId_ = iotId; + setParameter(std::string("IotId"), iotId); +} + +int ListDeviceRequest::getSize() const { + return size_; +} + +void ListDeviceRequest::setSize(int size) { + size_ = size; + setParameter(std::string("Size"), std::to_string(size)); +} + +int ListDeviceRequest::getNum() const { + return num_; +} + +void ListDeviceRequest::setNum(int num) { + num_ = num; + setParameter(std::string("Num"), std::to_string(num)); +} + +std::string ListDeviceRequest::getApiVersion() const { + return apiVersion_; +} + +void ListDeviceRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string ListDeviceRequest::getDeviceGroupId() const { + return deviceGroupId_; +} + +void ListDeviceRequest::setDeviceGroupId(const std::string &deviceGroupId) { + deviceGroupId_ = deviceGroupId; + setParameter(std::string("DeviceGroupId"), deviceGroupId); +} + +std::string ListDeviceRequest::getBizChainId() const { + return bizChainId_; +} + +void ListDeviceRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + diff --git a/ltl/src/model/ListDeviceResult.cc b/ltl/src/model/ListDeviceResult.cc new file mode 100644 index 000000000..e47ff73e6 --- /dev/null +++ b/ltl/src/model/ListDeviceResult.cc @@ -0,0 +1,91 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +ListDeviceResult::ListDeviceResult() : + ServiceResult() +{} + +ListDeviceResult::ListDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDeviceResult::~ListDeviceResult() +{} + +void ListDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Num"].isNull()) + data_.num = std::stoi(dataNode["Num"].asString()); + if(!dataNode["Total"].isNull()) + data_.total = std::stoi(dataNode["Total"].asString()); + if(!dataNode["Size"].isNull()) + data_.size = std::stoi(dataNode["Size"].asString()); + auto allPageDataNode = dataNode["PageData"]["DeviceInfo"]; + for (auto dataNodePageDataDeviceInfo : allPageDataNode) + { + Data::DeviceInfo deviceInfoObject; + if(!dataNodePageDataDeviceInfo["Status"].isNull()) + deviceInfoObject.status = dataNodePageDataDeviceInfo["Status"].asString(); + if(!dataNodePageDataDeviceInfo["LastSaveTime"].isNull()) + deviceInfoObject.lastSaveTime = std::stol(dataNodePageDataDeviceInfo["LastSaveTime"].asString()); + if(!dataNodePageDataDeviceInfo["DeviceId"].isNull()) + deviceInfoObject.deviceId = dataNodePageDataDeviceInfo["DeviceId"].asString(); + if(!dataNodePageDataDeviceInfo["IotId"].isNull()) + deviceInfoObject.iotId = dataNodePageDataDeviceInfo["IotId"].asString(); + data_.pageData.push_back(deviceInfoObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListDeviceResult::getMessage()const +{ + return message_; +} + +ListDeviceResult::Data ListDeviceResult::getData()const +{ + return data_; +} + +int ListDeviceResult::getCode()const +{ + return code_; +} + +bool ListDeviceResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/ListMPCoSPhaseGroupRequest.cc b/ltl/src/model/ListMPCoSPhaseGroupRequest.cc new file mode 100644 index 000000000..59a9bcfb4 --- /dev/null +++ b/ltl/src/model/ListMPCoSPhaseGroupRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::ListMPCoSPhaseGroupRequest; + +ListMPCoSPhaseGroupRequest::ListMPCoSPhaseGroupRequest() + : RpcServiceRequest("ltl", "2019-05-10", "ListMPCoSPhaseGroup") { + setMethod(HttpRequest::Method::Post); +} + +ListMPCoSPhaseGroupRequest::~ListMPCoSPhaseGroupRequest() {} + +int ListMPCoSPhaseGroupRequest::getSize() const { + return size_; +} + +void ListMPCoSPhaseGroupRequest::setSize(int size) { + size_ = size; + setParameter(std::string("Size"), std::to_string(size)); +} + +int ListMPCoSPhaseGroupRequest::getNum() const { + return num_; +} + +void ListMPCoSPhaseGroupRequest::setNum(int num) { + num_ = num; + setParameter(std::string("Num"), std::to_string(num)); +} + +std::string ListMPCoSPhaseGroupRequest::getName() const { + return name_; +} + +void ListMPCoSPhaseGroupRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +std::string ListMPCoSPhaseGroupRequest::getApiVersion() const { + return apiVersion_; +} + +void ListMPCoSPhaseGroupRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string ListMPCoSPhaseGroupRequest::getBizChainId() const { + return bizChainId_; +} + +void ListMPCoSPhaseGroupRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + diff --git a/ltl/src/model/ListMPCoSPhaseGroupResult.cc b/ltl/src/model/ListMPCoSPhaseGroupResult.cc new file mode 100644 index 000000000..4e0c6dd1b --- /dev/null +++ b/ltl/src/model/ListMPCoSPhaseGroupResult.cc @@ -0,0 +1,89 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +ListMPCoSPhaseGroupResult::ListMPCoSPhaseGroupResult() : + ServiceResult() +{} + +ListMPCoSPhaseGroupResult::ListMPCoSPhaseGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListMPCoSPhaseGroupResult::~ListMPCoSPhaseGroupResult() +{} + +void ListMPCoSPhaseGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Num"].isNull()) + data_.num = std::stoi(dataNode["Num"].asString()); + if(!dataNode["Total"].isNull()) + data_.total = std::stoi(dataNode["Total"].asString()); + if(!dataNode["Size"].isNull()) + data_.size = std::stoi(dataNode["Size"].asString()); + auto allPageDataNode = dataNode["PageData"]["PhaseGroupInfo"]; + for (auto dataNodePageDataPhaseGroupInfo : allPageDataNode) + { + Data::PhaseGroupInfo phaseGroupInfoObject; + if(!dataNodePageDataPhaseGroupInfo["PhaseGroupId"].isNull()) + phaseGroupInfoObject.phaseGroupId = dataNodePageDataPhaseGroupInfo["PhaseGroupId"].asString(); + if(!dataNodePageDataPhaseGroupInfo["Name"].isNull()) + phaseGroupInfoObject.name = dataNodePageDataPhaseGroupInfo["Name"].asString(); + if(!dataNodePageDataPhaseGroupInfo["Remark"].isNull()) + phaseGroupInfoObject.remark = dataNodePageDataPhaseGroupInfo["Remark"].asString(); + data_.pageData.push_back(phaseGroupInfoObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListMPCoSPhaseGroupResult::getMessage()const +{ + return message_; +} + +ListMPCoSPhaseGroupResult::Data ListMPCoSPhaseGroupResult::getData()const +{ + return data_; +} + +int ListMPCoSPhaseGroupResult::getCode()const +{ + return code_; +} + +bool ListMPCoSPhaseGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/ListMPCoSPhaseHistoryRequest.cc b/ltl/src/model/ListMPCoSPhaseHistoryRequest.cc new file mode 100644 index 000000000..63071c4db --- /dev/null +++ b/ltl/src/model/ListMPCoSPhaseHistoryRequest.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::ListMPCoSPhaseHistoryRequest; + +ListMPCoSPhaseHistoryRequest::ListMPCoSPhaseHistoryRequest() + : RpcServiceRequest("ltl", "2019-05-10", "ListMPCoSPhaseHistory") { + setMethod(HttpRequest::Method::Post); +} + +ListMPCoSPhaseHistoryRequest::~ListMPCoSPhaseHistoryRequest() {} + +int ListMPCoSPhaseHistoryRequest::getNum() const { + return num_; +} + +void ListMPCoSPhaseHistoryRequest::setNum(int num) { + num_ = num; + setParameter(std::string("Num"), std::to_string(num)); +} + +std::string ListMPCoSPhaseHistoryRequest::getPhaseId() const { + return phaseId_; +} + +void ListMPCoSPhaseHistoryRequest::setPhaseId(const std::string &phaseId) { + phaseId_ = phaseId; + setParameter(std::string("PhaseId"), phaseId); +} + +long ListMPCoSPhaseHistoryRequest::getEndTime() const { + return endTime_; +} + +void ListMPCoSPhaseHistoryRequest::setEndTime(long endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), std::to_string(endTime)); +} + +std::string ListMPCoSPhaseHistoryRequest::getApiVersion() const { + return apiVersion_; +} + +void ListMPCoSPhaseHistoryRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +long ListMPCoSPhaseHistoryRequest::getStartTime() const { + return startTime_; +} + +void ListMPCoSPhaseHistoryRequest::setStartTime(long startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), std::to_string(startTime)); +} + +std::string ListMPCoSPhaseHistoryRequest::getBizChainId() const { + return bizChainId_; +} + +void ListMPCoSPhaseHistoryRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + +std::string ListMPCoSPhaseHistoryRequest::getDataKey() const { + return dataKey_; +} + +void ListMPCoSPhaseHistoryRequest::setDataKey(const std::string &dataKey) { + dataKey_ = dataKey; + setParameter(std::string("DataKey"), dataKey); +} + +int ListMPCoSPhaseHistoryRequest::getSize() const { + return size_; +} + +void ListMPCoSPhaseHistoryRequest::setSize(int size) { + size_ = size; + setParameter(std::string("Size"), std::to_string(size)); +} + +std::string ListMPCoSPhaseHistoryRequest::getPhaseGroupId() const { + return phaseGroupId_; +} + +void ListMPCoSPhaseHistoryRequest::setPhaseGroupId(const std::string &phaseGroupId) { + phaseGroupId_ = phaseGroupId; + setParameter(std::string("PhaseGroupId"), phaseGroupId); +} + diff --git a/ltl/src/model/ListMPCoSPhaseHistoryResult.cc b/ltl/src/model/ListMPCoSPhaseHistoryResult.cc new file mode 100644 index 000000000..eb1a36e94 --- /dev/null +++ b/ltl/src/model/ListMPCoSPhaseHistoryResult.cc @@ -0,0 +1,103 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +ListMPCoSPhaseHistoryResult::ListMPCoSPhaseHistoryResult() : + ServiceResult() +{} + +ListMPCoSPhaseHistoryResult::ListMPCoSPhaseHistoryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListMPCoSPhaseHistoryResult::~ListMPCoSPhaseHistoryResult() +{} + +void ListMPCoSPhaseHistoryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Num"].isNull()) + data_.num = std::stoi(dataNode["Num"].asString()); + if(!dataNode["Total"].isNull()) + data_.total = std::stoi(dataNode["Total"].asString()); + if(!dataNode["Size"].isNull()) + data_.size = std::stoi(dataNode["Size"].asString()); + auto allPageDataNode = dataNode["PageData"]["HistoryDataInfo"]; + for (auto dataNodePageDataHistoryDataInfo : allPageDataNode) + { + Data::HistoryDataInfo historyDataInfoObject; + if(!dataNodePageDataHistoryDataInfo["ProductKey"].isNull()) + historyDataInfoObject.productKey = dataNodePageDataHistoryDataInfo["ProductKey"].asString(); + if(!dataNodePageDataHistoryDataInfo["PreviousHash"].isNull()) + historyDataInfoObject.previousHash = dataNodePageDataHistoryDataInfo["PreviousHash"].asString(); + if(!dataNodePageDataHistoryDataInfo["DataHash"].isNull()) + historyDataInfoObject.dataHash = dataNodePageDataHistoryDataInfo["DataHash"].asString(); + if(!dataNodePageDataHistoryDataInfo["DataSeq"].isNull()) + historyDataInfoObject.dataSeq = dataNodePageDataHistoryDataInfo["DataSeq"].asString(); + if(!dataNodePageDataHistoryDataInfo["DataValue"].isNull()) + historyDataInfoObject.dataValue = dataNodePageDataHistoryDataInfo["DataValue"].asString(); + if(!dataNodePageDataHistoryDataInfo["Timestamp"].isNull()) + historyDataInfoObject.timestamp = std::stol(dataNodePageDataHistoryDataInfo["Timestamp"].asString()); + if(!dataNodePageDataHistoryDataInfo["TransactionHash"].isNull()) + historyDataInfoObject.transactionHash = dataNodePageDataHistoryDataInfo["TransactionHash"].asString(); + if(!dataNodePageDataHistoryDataInfo["BlockHash"].isNull()) + historyDataInfoObject.blockHash = dataNodePageDataHistoryDataInfo["BlockHash"].asString(); + if(!dataNodePageDataHistoryDataInfo["BlockNumber"].isNull()) + historyDataInfoObject.blockNumber = std::stol(dataNodePageDataHistoryDataInfo["BlockNumber"].asString()); + if(!dataNodePageDataHistoryDataInfo["IotId"].isNull()) + historyDataInfoObject.iotId = dataNodePageDataHistoryDataInfo["IotId"].asString(); + data_.pageData.push_back(historyDataInfoObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListMPCoSPhaseHistoryResult::getMessage()const +{ + return message_; +} + +ListMPCoSPhaseHistoryResult::Data ListMPCoSPhaseHistoryResult::getData()const +{ + return data_; +} + +int ListMPCoSPhaseHistoryResult::getCode()const +{ + return code_; +} + +bool ListMPCoSPhaseHistoryResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/ListMPCoSPhaseRequest.cc b/ltl/src/model/ListMPCoSPhaseRequest.cc new file mode 100644 index 000000000..7c5106f31 --- /dev/null +++ b/ltl/src/model/ListMPCoSPhaseRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::ListMPCoSPhaseRequest; + +ListMPCoSPhaseRequest::ListMPCoSPhaseRequest() + : RpcServiceRequest("ltl", "2019-05-10", "ListMPCoSPhase") { + setMethod(HttpRequest::Method::Post); +} + +ListMPCoSPhaseRequest::~ListMPCoSPhaseRequest() {} + +int ListMPCoSPhaseRequest::getSize() const { + return size_; +} + +void ListMPCoSPhaseRequest::setSize(int size) { + size_ = size; + setParameter(std::string("Size"), std::to_string(size)); +} + +int ListMPCoSPhaseRequest::getNum() const { + return num_; +} + +void ListMPCoSPhaseRequest::setNum(int num) { + num_ = num; + setParameter(std::string("Num"), std::to_string(num)); +} + +std::string ListMPCoSPhaseRequest::getName() const { + return name_; +} + +void ListMPCoSPhaseRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +std::string ListMPCoSPhaseRequest::getPhaseGroupId() const { + return phaseGroupId_; +} + +void ListMPCoSPhaseRequest::setPhaseGroupId(const std::string &phaseGroupId) { + phaseGroupId_ = phaseGroupId; + setParameter(std::string("PhaseGroupId"), phaseGroupId); +} + +std::string ListMPCoSPhaseRequest::getApiVersion() const { + return apiVersion_; +} + +void ListMPCoSPhaseRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string ListMPCoSPhaseRequest::getBizChainId() const { + return bizChainId_; +} + +void ListMPCoSPhaseRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + diff --git a/ltl/src/model/ListMPCoSPhaseResult.cc b/ltl/src/model/ListMPCoSPhaseResult.cc new file mode 100644 index 000000000..913bbc7d6 --- /dev/null +++ b/ltl/src/model/ListMPCoSPhaseResult.cc @@ -0,0 +1,91 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +ListMPCoSPhaseResult::ListMPCoSPhaseResult() : + ServiceResult() +{} + +ListMPCoSPhaseResult::ListMPCoSPhaseResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListMPCoSPhaseResult::~ListMPCoSPhaseResult() +{} + +void ListMPCoSPhaseResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Num"].isNull()) + data_.num = std::stoi(dataNode["Num"].asString()); + if(!dataNode["Total"].isNull()) + data_.total = std::stoi(dataNode["Total"].asString()); + if(!dataNode["Size"].isNull()) + data_.size = std::stoi(dataNode["Size"].asString()); + auto allPageDataNode = dataNode["PageData"]["PhaseInfo"]; + for (auto dataNodePageDataPhaseInfo : allPageDataNode) + { + Data::PhaseInfo phaseInfoObject; + if(!dataNodePageDataPhaseInfo["Name"].isNull()) + phaseInfoObject.name = dataNodePageDataPhaseInfo["Name"].asString(); + if(!dataNodePageDataPhaseInfo["Remark"].isNull()) + phaseInfoObject.remark = dataNodePageDataPhaseInfo["Remark"].asString(); + if(!dataNodePageDataPhaseInfo["AccessPermission"].isNull()) + phaseInfoObject.accessPermission = std::stoi(dataNodePageDataPhaseInfo["AccessPermission"].asString()); + if(!dataNodePageDataPhaseInfo["PhaseId"].isNull()) + phaseInfoObject.phaseId = dataNodePageDataPhaseInfo["PhaseId"].asString(); + data_.pageData.push_back(phaseInfoObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListMPCoSPhaseResult::getMessage()const +{ + return message_; +} + +ListMPCoSPhaseResult::Data ListMPCoSPhaseResult::getData()const +{ + return data_; +} + +int ListMPCoSPhaseResult::getCode()const +{ + return code_; +} + +bool ListMPCoSPhaseResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/ListMemberRequest.cc b/ltl/src/model/ListMemberRequest.cc new file mode 100644 index 000000000..c89bfce9e --- /dev/null +++ b/ltl/src/model/ListMemberRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::ListMemberRequest; + +ListMemberRequest::ListMemberRequest() + : RpcServiceRequest("ltl", "2019-05-10", "ListMember") { + setMethod(HttpRequest::Method::Post); +} + +ListMemberRequest::~ListMemberRequest() {} + +int ListMemberRequest::getSize() const { + return size_; +} + +void ListMemberRequest::setSize(int size) { + size_ = size; + setParameter(std::string("Size"), std::to_string(size)); +} + +std::string ListMemberRequest::getMemberUid() const { + return memberUid_; +} + +void ListMemberRequest::setMemberUid(const std::string &memberUid) { + memberUid_ = memberUid; + setParameter(std::string("MemberUid"), memberUid); +} + +int ListMemberRequest::getNum() const { + return num_; +} + +void ListMemberRequest::setNum(int num) { + num_ = num; + setParameter(std::string("Num"), std::to_string(num)); +} + +std::string ListMemberRequest::getApiVersion() const { + return apiVersion_; +} + +void ListMemberRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string ListMemberRequest::getBizChainId() const { + return bizChainId_; +} + +void ListMemberRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + diff --git a/ltl/src/model/ListMemberResult.cc b/ltl/src/model/ListMemberResult.cc new file mode 100644 index 000000000..9251ddd96 --- /dev/null +++ b/ltl/src/model/ListMemberResult.cc @@ -0,0 +1,97 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +ListMemberResult::ListMemberResult() : + ServiceResult() +{} + +ListMemberResult::ListMemberResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListMemberResult::~ListMemberResult() +{} + +void ListMemberResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Num"].isNull()) + data_.num = std::stoi(dataNode["Num"].asString()); + if(!dataNode["Total"].isNull()) + data_.total = std::stoi(dataNode["Total"].asString()); + if(!dataNode["Size"].isNull()) + data_.size = std::stoi(dataNode["Size"].asString()); + auto allPageDataNode = dataNode["PageData"]["MemberInfo"]; + for (auto dataNodePageDataMemberInfo : allPageDataNode) + { + Data::MemberInfo memberInfoObject; + if(!dataNodePageDataMemberInfo["Status"].isNull()) + memberInfoObject.status = dataNodePageDataMemberInfo["Status"].asString(); + if(!dataNodePageDataMemberInfo["MemberName"].isNull()) + memberInfoObject.memberName = dataNodePageDataMemberInfo["MemberName"].asString(); + if(!dataNodePageDataMemberInfo["Remark"].isNull()) + memberInfoObject.remark = dataNodePageDataMemberInfo["Remark"].asString(); + if(!dataNodePageDataMemberInfo["MemberUid"].isNull()) + memberInfoObject.memberUid = dataNodePageDataMemberInfo["MemberUid"].asString(); + if(!dataNodePageDataMemberInfo["MemberPhone"].isNull()) + memberInfoObject.memberPhone = dataNodePageDataMemberInfo["MemberPhone"].asString(); + if(!dataNodePageDataMemberInfo["MemberId"].isNull()) + memberInfoObject.memberId = dataNodePageDataMemberInfo["MemberId"].asString(); + if(!dataNodePageDataMemberInfo["MemberContact"].isNull()) + memberInfoObject.memberContact = dataNodePageDataMemberInfo["MemberContact"].asString(); + data_.pageData.push_back(memberInfoObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListMemberResult::getMessage()const +{ + return message_; +} + +ListMemberResult::Data ListMemberResult::getData()const +{ + return data_; +} + +int ListMemberResult::getCode()const +{ + return code_; +} + +bool ListMemberResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/ListMultiPartyCollaborationChainRequest.cc b/ltl/src/model/ListMultiPartyCollaborationChainRequest.cc new file mode 100644 index 000000000..54701bd26 --- /dev/null +++ b/ltl/src/model/ListMultiPartyCollaborationChainRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Ltl::Model::ListMultiPartyCollaborationChainRequest; + +ListMultiPartyCollaborationChainRequest::ListMultiPartyCollaborationChainRequest() + : RpcServiceRequest("ltl", "2019-05-10", "ListMultiPartyCollaborationChain") { + setMethod(HttpRequest::Method::Post); +} + +ListMultiPartyCollaborationChainRequest::~ListMultiPartyCollaborationChainRequest() {} + +int ListMultiPartyCollaborationChainRequest::getSize() const { + return size_; +} + +void ListMultiPartyCollaborationChainRequest::setSize(int size) { + size_ = size; + setParameter(std::string("Size"), std::to_string(size)); +} + +int ListMultiPartyCollaborationChainRequest::getNum() const { + return num_; +} + +void ListMultiPartyCollaborationChainRequest::setNum(int num) { + num_ = num; + setParameter(std::string("Num"), std::to_string(num)); +} + +std::string ListMultiPartyCollaborationChainRequest::getName() const { + return name_; +} + +void ListMultiPartyCollaborationChainRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +std::string ListMultiPartyCollaborationChainRequest::getApiVersion() const { + return apiVersion_; +} + +void ListMultiPartyCollaborationChainRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + diff --git a/ltl/src/model/ListMultiPartyCollaborationChainResult.cc b/ltl/src/model/ListMultiPartyCollaborationChainResult.cc new file mode 100644 index 000000000..b6a54e75a --- /dev/null +++ b/ltl/src/model/ListMultiPartyCollaborationChainResult.cc @@ -0,0 +1,91 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +ListMultiPartyCollaborationChainResult::ListMultiPartyCollaborationChainResult() : + ServiceResult() +{} + +ListMultiPartyCollaborationChainResult::ListMultiPartyCollaborationChainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListMultiPartyCollaborationChainResult::~ListMultiPartyCollaborationChainResult() +{} + +void ListMultiPartyCollaborationChainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Num"].isNull()) + data_.num = std::stoi(dataNode["Num"].asString()); + if(!dataNode["Total"].isNull()) + data_.total = std::stoi(dataNode["Total"].asString()); + if(!dataNode["Size"].isNull()) + data_.size = std::stoi(dataNode["Size"].asString()); + auto allPageDataNode = dataNode["PageData"]["MultiPartyCollaborationChainInfo"]; + for (auto dataNodePageDataMultiPartyCollaborationChainInfo : allPageDataNode) + { + Data::MultiPartyCollaborationChainInfo multiPartyCollaborationChainInfoObject; + if(!dataNodePageDataMultiPartyCollaborationChainInfo["Name"].isNull()) + multiPartyCollaborationChainInfoObject.name = dataNodePageDataMultiPartyCollaborationChainInfo["Name"].asString(); + if(!dataNodePageDataMultiPartyCollaborationChainInfo["Remark"].isNull()) + multiPartyCollaborationChainInfoObject.remark = dataNodePageDataMultiPartyCollaborationChainInfo["Remark"].asString(); + if(!dataNodePageDataMultiPartyCollaborationChainInfo["RoleType"].isNull()) + multiPartyCollaborationChainInfoObject.roleType = dataNodePageDataMultiPartyCollaborationChainInfo["RoleType"].asString(); + if(!dataNodePageDataMultiPartyCollaborationChainInfo["BizChainId"].isNull()) + multiPartyCollaborationChainInfoObject.bizChainId = dataNodePageDataMultiPartyCollaborationChainInfo["BizChainId"].asString(); + data_.pageData.push_back(multiPartyCollaborationChainInfoObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListMultiPartyCollaborationChainResult::getMessage()const +{ + return message_; +} + +ListMultiPartyCollaborationChainResult::Data ListMultiPartyCollaborationChainResult::getData()const +{ + return data_; +} + +int ListMultiPartyCollaborationChainResult::getCode()const +{ + return code_; +} + +bool ListMultiPartyCollaborationChainResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/ListPSMemberDataTypeCodeRequest.cc b/ltl/src/model/ListPSMemberDataTypeCodeRequest.cc new file mode 100644 index 000000000..c36a44194 --- /dev/null +++ b/ltl/src/model/ListPSMemberDataTypeCodeRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::ListPSMemberDataTypeCodeRequest; + +ListPSMemberDataTypeCodeRequest::ListPSMemberDataTypeCodeRequest() + : RpcServiceRequest("ltl", "2019-05-10", "ListPSMemberDataTypeCode") { + setMethod(HttpRequest::Method::Post); +} + +ListPSMemberDataTypeCodeRequest::~ListPSMemberDataTypeCodeRequest() {} + +int ListPSMemberDataTypeCodeRequest::getSize() const { + return size_; +} + +void ListPSMemberDataTypeCodeRequest::setSize(int size) { + size_ = size; + setParameter(std::string("Size"), std::to_string(size)); +} + +std::string ListPSMemberDataTypeCodeRequest::getMemberUid() const { + return memberUid_; +} + +void ListPSMemberDataTypeCodeRequest::setMemberUid(const std::string &memberUid) { + memberUid_ = memberUid; + setParameter(std::string("MemberUid"), memberUid); +} + +int ListPSMemberDataTypeCodeRequest::getNum() const { + return num_; +} + +void ListPSMemberDataTypeCodeRequest::setNum(int num) { + num_ = num; + setParameter(std::string("Num"), std::to_string(num)); +} + +std::string ListPSMemberDataTypeCodeRequest::getApiVersion() const { + return apiVersion_; +} + +void ListPSMemberDataTypeCodeRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string ListPSMemberDataTypeCodeRequest::getBizChainId() const { + return bizChainId_; +} + +void ListPSMemberDataTypeCodeRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + diff --git a/ltl/src/model/ListPSMemberDataTypeCodeResult.cc b/ltl/src/model/ListPSMemberDataTypeCodeResult.cc new file mode 100644 index 000000000..6b6ff1bfb --- /dev/null +++ b/ltl/src/model/ListPSMemberDataTypeCodeResult.cc @@ -0,0 +1,91 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +ListPSMemberDataTypeCodeResult::ListPSMemberDataTypeCodeResult() : + ServiceResult() +{} + +ListPSMemberDataTypeCodeResult::ListPSMemberDataTypeCodeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListPSMemberDataTypeCodeResult::~ListPSMemberDataTypeCodeResult() +{} + +void ListPSMemberDataTypeCodeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Num"].isNull()) + data_.num = std::stoi(dataNode["Num"].asString()); + if(!dataNode["Total"].isNull()) + data_.total = std::stoi(dataNode["Total"].asString()); + if(!dataNode["Size"].isNull()) + data_.size = std::stoi(dataNode["Size"].asString()); + auto allPageDataNode = dataNode["PageData"]["MemberInfo"]; + for (auto dataNodePageDataMemberInfo : allPageDataNode) + { + Data::MemberInfo memberInfoObject; + if(!dataNodePageDataMemberInfo["MemberId"].isNull()) + memberInfoObject.memberId = dataNodePageDataMemberInfo["MemberId"].asString(); + if(!dataNodePageDataMemberInfo["DataTypeCode"].isNull()) + memberInfoObject.dataTypeCode = dataNodePageDataMemberInfo["DataTypeCode"].asString(); + if(!dataNodePageDataMemberInfo["MemberName"].isNull()) + memberInfoObject.memberName = dataNodePageDataMemberInfo["MemberName"].asString(); + if(!dataNodePageDataMemberInfo["MemberUid"].isNull()) + memberInfoObject.memberUid = dataNodePageDataMemberInfo["MemberUid"].asString(); + data_.pageData.push_back(memberInfoObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListPSMemberDataTypeCodeResult::getMessage()const +{ + return message_; +} + +ListPSMemberDataTypeCodeResult::Data ListPSMemberDataTypeCodeResult::getData()const +{ + return data_; +} + +int ListPSMemberDataTypeCodeResult::getCode()const +{ + return code_; +} + +bool ListPSMemberDataTypeCodeResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/ListProofChainRequest.cc b/ltl/src/model/ListProofChainRequest.cc new file mode 100644 index 000000000..cd4e4289a --- /dev/null +++ b/ltl/src/model/ListProofChainRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Ltl::Model::ListProofChainRequest; + +ListProofChainRequest::ListProofChainRequest() + : RpcServiceRequest("ltl", "2019-05-10", "ListProofChain") { + setMethod(HttpRequest::Method::Post); +} + +ListProofChainRequest::~ListProofChainRequest() {} + +int ListProofChainRequest::getSize() const { + return size_; +} + +void ListProofChainRequest::setSize(int size) { + size_ = size; + setParameter(std::string("Size"), std::to_string(size)); +} + +int ListProofChainRequest::getNum() const { + return num_; +} + +void ListProofChainRequest::setNum(int num) { + num_ = num; + setParameter(std::string("Num"), std::to_string(num)); +} + +std::string ListProofChainRequest::getName() const { + return name_; +} + +void ListProofChainRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +std::string ListProofChainRequest::getApiVersion() const { + return apiVersion_; +} + +void ListProofChainRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + diff --git a/ltl/src/model/ListProofChainResult.cc b/ltl/src/model/ListProofChainResult.cc new file mode 100644 index 000000000..157260920 --- /dev/null +++ b/ltl/src/model/ListProofChainResult.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +ListProofChainResult::ListProofChainResult() : + ServiceResult() +{} + +ListProofChainResult::ListProofChainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListProofChainResult::~ListProofChainResult() +{} + +void ListProofChainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Num"].isNull()) + data_.num = std::stoi(dataNode["Num"].asString()); + if(!dataNode["Total"].isNull()) + data_.total = std::stoi(dataNode["Total"].asString()); + if(!dataNode["Size"].isNull()) + data_.size = std::stoi(dataNode["Size"].asString()); + auto allPageDataNode = dataNode["PageData"]["ProofChainInfo"]; + for (auto dataNodePageDataProofChainInfo : allPageDataNode) + { + Data::ProofChainInfo proofChainInfoObject; + if(!dataNodePageDataProofChainInfo["Remark"].isNull()) + proofChainInfoObject.remark = dataNodePageDataProofChainInfo["Remark"].asString(); + if(!dataNodePageDataProofChainInfo["BizChainId"].isNull()) + proofChainInfoObject.bizChainId = dataNodePageDataProofChainInfo["BizChainId"].asString(); + if(!dataNodePageDataProofChainInfo["RoleType"].isNull()) + proofChainInfoObject.roleType = dataNodePageDataProofChainInfo["RoleType"].asString(); + if(!dataNodePageDataProofChainInfo["BizChainCode"].isNull()) + proofChainInfoObject.bizChainCode = dataNodePageDataProofChainInfo["BizChainCode"].asString(); + if(!dataNodePageDataProofChainInfo["Name"].isNull()) + proofChainInfoObject.name = dataNodePageDataProofChainInfo["Name"].asString(); + if(!dataNodePageDataProofChainInfo["DataTypeCode"].isNull()) + proofChainInfoObject.dataTypeCode = dataNodePageDataProofChainInfo["DataTypeCode"].asString(); + data_.pageData.push_back(proofChainInfoObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListProofChainResult::getMessage()const +{ + return message_; +} + +ListProofChainResult::Data ListProofChainResult::getData()const +{ + return data_; +} + +int ListProofChainResult::getCode()const +{ + return code_; +} + +bool ListProofChainResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/LockMemberRequest.cc b/ltl/src/model/LockMemberRequest.cc new file mode 100644 index 000000000..e4497d991 --- /dev/null +++ b/ltl/src/model/LockMemberRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Ltl::Model::LockMemberRequest; + +LockMemberRequest::LockMemberRequest() + : RpcServiceRequest("ltl", "2019-05-10", "LockMember") { + setMethod(HttpRequest::Method::Post); +} + +LockMemberRequest::~LockMemberRequest() {} + +std::string LockMemberRequest::getApiVersion() const { + return apiVersion_; +} + +void LockMemberRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string LockMemberRequest::getBizChainId() const { + return bizChainId_; +} + +void LockMemberRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + +std::string LockMemberRequest::getMemberId() const { + return memberId_; +} + +void LockMemberRequest::setMemberId(const std::string &memberId) { + memberId_ = memberId; + setParameter(std::string("MemberId"), memberId); +} + diff --git a/ltl/src/model/LockMemberResult.cc b/ltl/src/model/LockMemberResult.cc new file mode 100644 index 000000000..b8fd5a1f8 --- /dev/null +++ b/ltl/src/model/LockMemberResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +LockMemberResult::LockMemberResult() : + ServiceResult() +{} + +LockMemberResult::LockMemberResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +LockMemberResult::~LockMemberResult() +{} + +void LockMemberResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string LockMemberResult::getMessage()const +{ + return message_; +} + +std::string LockMemberResult::getData()const +{ + return data_; +} + +int LockMemberResult::getCode()const +{ + return code_; +} + +bool LockMemberResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/ModifyMPCoSPhaseGroupRequest.cc b/ltl/src/model/ModifyMPCoSPhaseGroupRequest.cc new file mode 100644 index 000000000..32be2ce19 --- /dev/null +++ b/ltl/src/model/ModifyMPCoSPhaseGroupRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::ModifyMPCoSPhaseGroupRequest; + +ModifyMPCoSPhaseGroupRequest::ModifyMPCoSPhaseGroupRequest() + : RpcServiceRequest("ltl", "2019-05-10", "ModifyMPCoSPhaseGroup") { + setMethod(HttpRequest::Method::Post); +} + +ModifyMPCoSPhaseGroupRequest::~ModifyMPCoSPhaseGroupRequest() {} + +std::string ModifyMPCoSPhaseGroupRequest::getName() const { + return name_; +} + +void ModifyMPCoSPhaseGroupRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +std::string ModifyMPCoSPhaseGroupRequest::getPhaseGroupId() const { + return phaseGroupId_; +} + +void ModifyMPCoSPhaseGroupRequest::setPhaseGroupId(const std::string &phaseGroupId) { + phaseGroupId_ = phaseGroupId; + setParameter(std::string("PhaseGroupId"), phaseGroupId); +} + +std::string ModifyMPCoSPhaseGroupRequest::getApiVersion() const { + return apiVersion_; +} + +void ModifyMPCoSPhaseGroupRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string ModifyMPCoSPhaseGroupRequest::getRemark() const { + return remark_; +} + +void ModifyMPCoSPhaseGroupRequest::setRemark(const std::string &remark) { + remark_ = remark; + setParameter(std::string("Remark"), remark); +} + +std::string ModifyMPCoSPhaseGroupRequest::getBizChainId() const { + return bizChainId_; +} + +void ModifyMPCoSPhaseGroupRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + diff --git a/ltl/src/model/ModifyMPCoSPhaseGroupResult.cc b/ltl/src/model/ModifyMPCoSPhaseGroupResult.cc new file mode 100644 index 000000000..f3e2b05cd --- /dev/null +++ b/ltl/src/model/ModifyMPCoSPhaseGroupResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +ModifyMPCoSPhaseGroupResult::ModifyMPCoSPhaseGroupResult() : + ServiceResult() +{} + +ModifyMPCoSPhaseGroupResult::ModifyMPCoSPhaseGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyMPCoSPhaseGroupResult::~ModifyMPCoSPhaseGroupResult() +{} + +void ModifyMPCoSPhaseGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ModifyMPCoSPhaseGroupResult::getMessage()const +{ + return message_; +} + +std::string ModifyMPCoSPhaseGroupResult::getData()const +{ + return data_; +} + +int ModifyMPCoSPhaseGroupResult::getCode()const +{ + return code_; +} + +bool ModifyMPCoSPhaseGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/ModifyMPCoSPhaseRequest.cc b/ltl/src/model/ModifyMPCoSPhaseRequest.cc new file mode 100644 index 000000000..d1532f88c --- /dev/null +++ b/ltl/src/model/ModifyMPCoSPhaseRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::ModifyMPCoSPhaseRequest; + +ModifyMPCoSPhaseRequest::ModifyMPCoSPhaseRequest() + : RpcServiceRequest("ltl", "2019-05-10", "ModifyMPCoSPhase") { + setMethod(HttpRequest::Method::Post); +} + +ModifyMPCoSPhaseRequest::~ModifyMPCoSPhaseRequest() {} + +std::string ModifyMPCoSPhaseRequest::getName() const { + return name_; +} + +void ModifyMPCoSPhaseRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +std::string ModifyMPCoSPhaseRequest::getPhaseId() const { + return phaseId_; +} + +void ModifyMPCoSPhaseRequest::setPhaseId(const std::string &phaseId) { + phaseId_ = phaseId; + setParameter(std::string("PhaseId"), phaseId); +} + +std::string ModifyMPCoSPhaseRequest::getApiVersion() const { + return apiVersion_; +} + +void ModifyMPCoSPhaseRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string ModifyMPCoSPhaseRequest::getRemark() const { + return remark_; +} + +void ModifyMPCoSPhaseRequest::setRemark(const std::string &remark) { + remark_ = remark; + setParameter(std::string("Remark"), remark); +} + +std::string ModifyMPCoSPhaseRequest::getBizChainId() const { + return bizChainId_; +} + +void ModifyMPCoSPhaseRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + diff --git a/ltl/src/model/ModifyMPCoSPhaseResult.cc b/ltl/src/model/ModifyMPCoSPhaseResult.cc new file mode 100644 index 000000000..32978638a --- /dev/null +++ b/ltl/src/model/ModifyMPCoSPhaseResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +ModifyMPCoSPhaseResult::ModifyMPCoSPhaseResult() : + ServiceResult() +{} + +ModifyMPCoSPhaseResult::ModifyMPCoSPhaseResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyMPCoSPhaseResult::~ModifyMPCoSPhaseResult() +{} + +void ModifyMPCoSPhaseResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ModifyMPCoSPhaseResult::getMessage()const +{ + return message_; +} + +std::string ModifyMPCoSPhaseResult::getData()const +{ + return data_; +} + +int ModifyMPCoSPhaseResult::getCode()const +{ + return code_; +} + +bool ModifyMPCoSPhaseResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/ModifyMemberRequest.cc b/ltl/src/model/ModifyMemberRequest.cc new file mode 100644 index 000000000..da4438a07 --- /dev/null +++ b/ltl/src/model/ModifyMemberRequest.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::ModifyMemberRequest; + +ModifyMemberRequest::ModifyMemberRequest() + : RpcServiceRequest("ltl", "2019-05-10", "ModifyMember") { + setMethod(HttpRequest::Method::Post); +} + +ModifyMemberRequest::~ModifyMemberRequest() {} + +std::string ModifyMemberRequest::getApiVersion() const { + return apiVersion_; +} + +void ModifyMemberRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string ModifyMemberRequest::getRemark() const { + return remark_; +} + +void ModifyMemberRequest::setRemark(const std::string &remark) { + remark_ = remark; + setParameter(std::string("Remark"), remark); +} + +std::string ModifyMemberRequest::getBizChainId() const { + return bizChainId_; +} + +void ModifyMemberRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + +std::string ModifyMemberRequest::getMemberUid() const { + return memberUid_; +} + +void ModifyMemberRequest::setMemberUid(const std::string &memberUid) { + memberUid_ = memberUid; + setParameter(std::string("MemberUid"), memberUid); +} + +std::string ModifyMemberRequest::getMemberContact() const { + return memberContact_; +} + +void ModifyMemberRequest::setMemberContact(const std::string &memberContact) { + memberContact_ = memberContact; + setParameter(std::string("MemberContact"), memberContact); +} + +std::string ModifyMemberRequest::getMemberPhone() const { + return memberPhone_; +} + +void ModifyMemberRequest::setMemberPhone(const std::string &memberPhone) { + memberPhone_ = memberPhone; + setParameter(std::string("MemberPhone"), memberPhone); +} + +std::string ModifyMemberRequest::getMemberName() const { + return memberName_; +} + +void ModifyMemberRequest::setMemberName(const std::string &memberName) { + memberName_ = memberName; + setParameter(std::string("MemberName"), memberName); +} + +std::string ModifyMemberRequest::getMemberId() const { + return memberId_; +} + +void ModifyMemberRequest::setMemberId(const std::string &memberId) { + memberId_ = memberId; + setParameter(std::string("MemberId"), memberId); +} + diff --git a/ltl/src/model/ModifyMemberResult.cc b/ltl/src/model/ModifyMemberResult.cc new file mode 100644 index 000000000..fcb052697 --- /dev/null +++ b/ltl/src/model/ModifyMemberResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +ModifyMemberResult::ModifyMemberResult() : + ServiceResult() +{} + +ModifyMemberResult::ModifyMemberResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyMemberResult::~ModifyMemberResult() +{} + +void ModifyMemberResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ModifyMemberResult::getMessage()const +{ + return message_; +} + +std::string ModifyMemberResult::getData()const +{ + return data_; +} + +int ModifyMemberResult::getCode()const +{ + return code_; +} + +bool ModifyMemberResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/RegisterDeviceGroupRequest.cc b/ltl/src/model/RegisterDeviceGroupRequest.cc new file mode 100644 index 000000000..bfc74d19b --- /dev/null +++ b/ltl/src/model/RegisterDeviceGroupRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::RegisterDeviceGroupRequest; + +RegisterDeviceGroupRequest::RegisterDeviceGroupRequest() + : RpcServiceRequest("ltl", "2019-05-10", "RegisterDeviceGroup") { + setMethod(HttpRequest::Method::Post); +} + +RegisterDeviceGroupRequest::~RegisterDeviceGroupRequest() {} + +std::string RegisterDeviceGroupRequest::getAuthorizeType() const { + return authorizeType_; +} + +void RegisterDeviceGroupRequest::setAuthorizeType(const std::string &authorizeType) { + authorizeType_ = authorizeType; + setParameter(std::string("AuthorizeType"), authorizeType); +} + +std::string RegisterDeviceGroupRequest::getApiVersion() const { + return apiVersion_; +} + +void RegisterDeviceGroupRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string RegisterDeviceGroupRequest::getRemark() const { + return remark_; +} + +void RegisterDeviceGroupRequest::setRemark(const std::string &remark) { + remark_ = remark; + setParameter(std::string("Remark"), remark); +} + +std::string RegisterDeviceGroupRequest::getProductKey() const { + return productKey_; +} + +void RegisterDeviceGroupRequest::setProductKey(const std::string &productKey) { + productKey_ = productKey; + setParameter(std::string("ProductKey"), productKey); +} + +std::string RegisterDeviceGroupRequest::getDeviceGroupName() const { + return deviceGroupName_; +} + +void RegisterDeviceGroupRequest::setDeviceGroupName(const std::string &deviceGroupName) { + deviceGroupName_ = deviceGroupName; + setParameter(std::string("DeviceGroupName"), deviceGroupName); +} + +std::string RegisterDeviceGroupRequest::getBizChainId() const { + return bizChainId_; +} + +void RegisterDeviceGroupRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + diff --git a/ltl/src/model/RegisterDeviceGroupResult.cc b/ltl/src/model/RegisterDeviceGroupResult.cc new file mode 100644 index 000000000..2987438a8 --- /dev/null +++ b/ltl/src/model/RegisterDeviceGroupResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +RegisterDeviceGroupResult::RegisterDeviceGroupResult() : + ServiceResult() +{} + +RegisterDeviceGroupResult::RegisterDeviceGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RegisterDeviceGroupResult::~RegisterDeviceGroupResult() +{} + +void RegisterDeviceGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string RegisterDeviceGroupResult::getMessage()const +{ + return message_; +} + +std::string RegisterDeviceGroupResult::getData()const +{ + return data_; +} + +int RegisterDeviceGroupResult::getCode()const +{ + return code_; +} + +bool RegisterDeviceGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/SetDataRequest.cc b/ltl/src/model/SetDataRequest.cc new file mode 100644 index 000000000..220fe3a90 --- /dev/null +++ b/ltl/src/model/SetDataRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Ltl::Model::SetDataRequest; + +SetDataRequest::SetDataRequest() + : RpcServiceRequest("ltl", "2019-05-10", "SetData") { + setMethod(HttpRequest::Method::Post); +} + +SetDataRequest::~SetDataRequest() {} + +std::string SetDataRequest::getApiVersion() const { + return apiVersion_; +} + +void SetDataRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string SetDataRequest::getProductKey() const { + return productKey_; +} + +void SetDataRequest::setProductKey(const std::string &productKey) { + productKey_ = productKey; + setParameter(std::string("ProductKey"), productKey); +} + +std::string SetDataRequest::getValue() const { + return value_; +} + +void SetDataRequest::setValue(const std::string &value) { + value_ = value; + setParameter(std::string("Value"), value); +} + +std::string SetDataRequest::getKey() const { + return key_; +} + +void SetDataRequest::setKey(const std::string &key) { + key_ = key; + setParameter(std::string("Key"), key); +} + diff --git a/ltl/src/model/SetDataResult.cc b/ltl/src/model/SetDataResult.cc new file mode 100644 index 000000000..51953d5c9 --- /dev/null +++ b/ltl/src/model/SetDataResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +SetDataResult::SetDataResult() : + ServiceResult() +{} + +SetDataResult::SetDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetDataResult::~SetDataResult() +{} + +void SetDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string SetDataResult::getMessage()const +{ + return message_; +} + +std::string SetDataResult::getData()const +{ + return data_; +} + +int SetDataResult::getCode()const +{ + return code_; +} + +bool SetDataResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/SetDataWithSignatureRequest.cc b/ltl/src/model/SetDataWithSignatureRequest.cc new file mode 100644 index 000000000..0063c8402 --- /dev/null +++ b/ltl/src/model/SetDataWithSignatureRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::SetDataWithSignatureRequest; + +SetDataWithSignatureRequest::SetDataWithSignatureRequest() + : RpcServiceRequest("ltl", "2019-05-10", "SetDataWithSignature") { + setMethod(HttpRequest::Method::Post); +} + +SetDataWithSignatureRequest::~SetDataWithSignatureRequest() {} + +std::string SetDataWithSignatureRequest::getIotSignature() const { + return iotSignature_; +} + +void SetDataWithSignatureRequest::setIotSignature(const std::string &iotSignature) { + iotSignature_ = iotSignature; + setParameter(std::string("IotSignature"), iotSignature); +} + +std::string SetDataWithSignatureRequest::getIotAuthType() const { + return iotAuthType_; +} + +void SetDataWithSignatureRequest::setIotAuthType(const std::string &iotAuthType) { + iotAuthType_ = iotAuthType; + setParameter(std::string("IotAuthType"), iotAuthType); +} + +std::string SetDataWithSignatureRequest::getIotIdSource() const { + return iotIdSource_; +} + +void SetDataWithSignatureRequest::setIotIdSource(const std::string &iotIdSource) { + iotIdSource_ = iotIdSource; + setParameter(std::string("IotIdSource"), iotIdSource); +} + +std::string SetDataWithSignatureRequest::getApiVersion() const { + return apiVersion_; +} + +void SetDataWithSignatureRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string SetDataWithSignatureRequest::getProductKey() const { + return productKey_; +} + +void SetDataWithSignatureRequest::setProductKey(const std::string &productKey) { + productKey_ = productKey; + setParameter(std::string("ProductKey"), productKey); +} + +std::string SetDataWithSignatureRequest::getIotId() const { + return iotId_; +} + +void SetDataWithSignatureRequest::setIotId(const std::string &iotId) { + iotId_ = iotId; + setParameter(std::string("IotId"), iotId); +} + +std::string SetDataWithSignatureRequest::getIotDataDigest() const { + return iotDataDigest_; +} + +void SetDataWithSignatureRequest::setIotDataDigest(const std::string &iotDataDigest) { + iotDataDigest_ = iotDataDigest; + setParameter(std::string("IotDataDigest"), iotDataDigest); +} + +std::string SetDataWithSignatureRequest::getIotIdServiceProvider() const { + return iotIdServiceProvider_; +} + +void SetDataWithSignatureRequest::setIotIdServiceProvider(const std::string &iotIdServiceProvider) { + iotIdServiceProvider_ = iotIdServiceProvider; + setParameter(std::string("IotIdServiceProvider"), iotIdServiceProvider); +} + +std::string SetDataWithSignatureRequest::getValue() const { + return value_; +} + +void SetDataWithSignatureRequest::setValue(const std::string &value) { + value_ = value; + setParameter(std::string("Value"), value); +} + +std::string SetDataWithSignatureRequest::getKey() const { + return key_; +} + +void SetDataWithSignatureRequest::setKey(const std::string &key) { + key_ = key; + setParameter(std::string("Key"), key); +} + diff --git a/ltl/src/model/SetDataWithSignatureResult.cc b/ltl/src/model/SetDataWithSignatureResult.cc new file mode 100644 index 000000000..9400f0c64 --- /dev/null +++ b/ltl/src/model/SetDataWithSignatureResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +SetDataWithSignatureResult::SetDataWithSignatureResult() : + ServiceResult() +{} + +SetDataWithSignatureResult::SetDataWithSignatureResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetDataWithSignatureResult::~SetDataWithSignatureResult() +{} + +void SetDataWithSignatureResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string SetDataWithSignatureResult::getMessage()const +{ + return message_; +} + +std::string SetDataWithSignatureResult::getData()const +{ + return data_; +} + +int SetDataWithSignatureResult::getCode()const +{ + return code_; +} + +bool SetDataWithSignatureResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/UnAuthorizeDeviceGroupRequest.cc b/ltl/src/model/UnAuthorizeDeviceGroupRequest.cc new file mode 100644 index 000000000..58e01dfc9 --- /dev/null +++ b/ltl/src/model/UnAuthorizeDeviceGroupRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Ltl::Model::UnAuthorizeDeviceGroupRequest; + +UnAuthorizeDeviceGroupRequest::UnAuthorizeDeviceGroupRequest() + : RpcServiceRequest("ltl", "2019-05-10", "UnAuthorizeDeviceGroup") { + setMethod(HttpRequest::Method::Post); +} + +UnAuthorizeDeviceGroupRequest::~UnAuthorizeDeviceGroupRequest() {} + +std::string UnAuthorizeDeviceGroupRequest::getApiVersion() const { + return apiVersion_; +} + +void UnAuthorizeDeviceGroupRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string UnAuthorizeDeviceGroupRequest::getDeviceGroupId() const { + return deviceGroupId_; +} + +void UnAuthorizeDeviceGroupRequest::setDeviceGroupId(const std::string &deviceGroupId) { + deviceGroupId_ = deviceGroupId; + setParameter(std::string("DeviceGroupId"), deviceGroupId); +} + +std::string UnAuthorizeDeviceGroupRequest::getBizChainId() const { + return bizChainId_; +} + +void UnAuthorizeDeviceGroupRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + diff --git a/ltl/src/model/UnAuthorizeDeviceGroupResult.cc b/ltl/src/model/UnAuthorizeDeviceGroupResult.cc new file mode 100644 index 000000000..20aa497ae --- /dev/null +++ b/ltl/src/model/UnAuthorizeDeviceGroupResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +UnAuthorizeDeviceGroupResult::UnAuthorizeDeviceGroupResult() : + ServiceResult() +{} + +UnAuthorizeDeviceGroupResult::UnAuthorizeDeviceGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UnAuthorizeDeviceGroupResult::~UnAuthorizeDeviceGroupResult() +{} + +void UnAuthorizeDeviceGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string UnAuthorizeDeviceGroupResult::getMessage()const +{ + return message_; +} + +std::string UnAuthorizeDeviceGroupResult::getData()const +{ + return data_; +} + +int UnAuthorizeDeviceGroupResult::getCode()const +{ + return code_; +} + +bool UnAuthorizeDeviceGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/UnAuthorizeDeviceRequest.cc b/ltl/src/model/UnAuthorizeDeviceRequest.cc new file mode 100644 index 000000000..c3d276c8a --- /dev/null +++ b/ltl/src/model/UnAuthorizeDeviceRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Ltl::Model::UnAuthorizeDeviceRequest; + +UnAuthorizeDeviceRequest::UnAuthorizeDeviceRequest() + : RpcServiceRequest("ltl", "2019-05-10", "UnAuthorizeDevice") { + setMethod(HttpRequest::Method::Post); +} + +UnAuthorizeDeviceRequest::~UnAuthorizeDeviceRequest() {} + +std::string UnAuthorizeDeviceRequest::getApiVersion() const { + return apiVersion_; +} + +void UnAuthorizeDeviceRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string UnAuthorizeDeviceRequest::getDeviceId() const { + return deviceId_; +} + +void UnAuthorizeDeviceRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); +} + +std::string UnAuthorizeDeviceRequest::getDeviceGroupId() const { + return deviceGroupId_; +} + +void UnAuthorizeDeviceRequest::setDeviceGroupId(const std::string &deviceGroupId) { + deviceGroupId_ = deviceGroupId; + setParameter(std::string("DeviceGroupId"), deviceGroupId); +} + +std::string UnAuthorizeDeviceRequest::getBizChainId() const { + return bizChainId_; +} + +void UnAuthorizeDeviceRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + diff --git a/ltl/src/model/UnAuthorizeDeviceResult.cc b/ltl/src/model/UnAuthorizeDeviceResult.cc new file mode 100644 index 000000000..44795b962 --- /dev/null +++ b/ltl/src/model/UnAuthorizeDeviceResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +UnAuthorizeDeviceResult::UnAuthorizeDeviceResult() : + ServiceResult() +{} + +UnAuthorizeDeviceResult::UnAuthorizeDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UnAuthorizeDeviceResult::~UnAuthorizeDeviceResult() +{} + +void UnAuthorizeDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string UnAuthorizeDeviceResult::getMessage()const +{ + return message_; +} + +std::string UnAuthorizeDeviceResult::getData()const +{ + return data_; +} + +int UnAuthorizeDeviceResult::getCode()const +{ + return code_; +} + +bool UnAuthorizeDeviceResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/UnLockMemberRequest.cc b/ltl/src/model/UnLockMemberRequest.cc new file mode 100644 index 000000000..040d34b8e --- /dev/null +++ b/ltl/src/model/UnLockMemberRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Ltl::Model::UnLockMemberRequest; + +UnLockMemberRequest::UnLockMemberRequest() + : RpcServiceRequest("ltl", "2019-05-10", "UnLockMember") { + setMethod(HttpRequest::Method::Post); +} + +UnLockMemberRequest::~UnLockMemberRequest() {} + +std::string UnLockMemberRequest::getApiVersion() const { + return apiVersion_; +} + +void UnLockMemberRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string UnLockMemberRequest::getBizChainId() const { + return bizChainId_; +} + +void UnLockMemberRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + +std::string UnLockMemberRequest::getMemberId() const { + return memberId_; +} + +void UnLockMemberRequest::setMemberId(const std::string &memberId) { + memberId_ = memberId; + setParameter(std::string("MemberId"), memberId); +} + diff --git a/ltl/src/model/UnLockMemberResult.cc b/ltl/src/model/UnLockMemberResult.cc new file mode 100644 index 000000000..ce5e2371d --- /dev/null +++ b/ltl/src/model/UnLockMemberResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +UnLockMemberResult::UnLockMemberResult() : + ServiceResult() +{} + +UnLockMemberResult::UnLockMemberResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UnLockMemberResult::~UnLockMemberResult() +{} + +void UnLockMemberResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string UnLockMemberResult::getMessage()const +{ + return message_; +} + +std::string UnLockMemberResult::getData()const +{ + return data_; +} + +int UnLockMemberResult::getCode()const +{ + return code_; +} + +bool UnLockMemberResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/UpdateMPCoSAuthorizedInfoRequest.cc b/ltl/src/model/UpdateMPCoSAuthorizedInfoRequest.cc new file mode 100644 index 000000000..f9a5c98e1 --- /dev/null +++ b/ltl/src/model/UpdateMPCoSAuthorizedInfoRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::UpdateMPCoSAuthorizedInfoRequest; + +UpdateMPCoSAuthorizedInfoRequest::UpdateMPCoSAuthorizedInfoRequest() + : RpcServiceRequest("ltl", "2019-05-10", "UpdateMPCoSAuthorizedInfo") { + setMethod(HttpRequest::Method::Post); +} + +UpdateMPCoSAuthorizedInfoRequest::~UpdateMPCoSAuthorizedInfoRequest() {} + +std::string UpdateMPCoSAuthorizedInfoRequest::getPhaseGroupId() const { + return phaseGroupId_; +} + +void UpdateMPCoSAuthorizedInfoRequest::setPhaseGroupId(const std::string &phaseGroupId) { + phaseGroupId_ = phaseGroupId; + setParameter(std::string("PhaseGroupId"), phaseGroupId); +} + +std::string UpdateMPCoSAuthorizedInfoRequest::getApiVersion() const { + return apiVersion_; +} + +void UpdateMPCoSAuthorizedInfoRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::map UpdateMPCoSAuthorizedInfoRequest::getAuthorizedPhaseList() const { + return authorizedPhaseList_; +} + +void UpdateMPCoSAuthorizedInfoRequest::setAuthorizedPhaseList(std::map authorizedPhaseList) { + authorizedPhaseList_ = authorizedPhaseList; + setParameter(std::string("AuthorizedPhaseList"), authorizedPhaseList); +} + +std::string UpdateMPCoSAuthorizedInfoRequest::getBizChainId() const { + return bizChainId_; +} + +void UpdateMPCoSAuthorizedInfoRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + +std::string UpdateMPCoSAuthorizedInfoRequest::getMemberId() const { + return memberId_; +} + +void UpdateMPCoSAuthorizedInfoRequest::setMemberId(const std::string &memberId) { + memberId_ = memberId; + setParameter(std::string("MemberId"), memberId); +} + diff --git a/ltl/src/model/UpdateMPCoSAuthorizedInfoResult.cc b/ltl/src/model/UpdateMPCoSAuthorizedInfoResult.cc new file mode 100644 index 000000000..f6733a39a --- /dev/null +++ b/ltl/src/model/UpdateMPCoSAuthorizedInfoResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +UpdateMPCoSAuthorizedInfoResult::UpdateMPCoSAuthorizedInfoResult() : + ServiceResult() +{} + +UpdateMPCoSAuthorizedInfoResult::UpdateMPCoSAuthorizedInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateMPCoSAuthorizedInfoResult::~UpdateMPCoSAuthorizedInfoResult() +{} + +void UpdateMPCoSAuthorizedInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string UpdateMPCoSAuthorizedInfoResult::getMessage()const +{ + return message_; +} + +std::string UpdateMPCoSAuthorizedInfoResult::getData()const +{ + return data_; +} + +int UpdateMPCoSAuthorizedInfoResult::getCode()const +{ + return code_; +} + +bool UpdateMPCoSAuthorizedInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/UploadMPCoSPhaseDigestInfoByDeviceRequest.cc b/ltl/src/model/UploadMPCoSPhaseDigestInfoByDeviceRequest.cc new file mode 100644 index 000000000..1ad95af47 --- /dev/null +++ b/ltl/src/model/UploadMPCoSPhaseDigestInfoByDeviceRequest.cc @@ -0,0 +1,153 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::UploadMPCoSPhaseDigestInfoByDeviceRequest; + +UploadMPCoSPhaseDigestInfoByDeviceRequest::UploadMPCoSPhaseDigestInfoByDeviceRequest() + : RpcServiceRequest("ltl", "2019-05-10", "UploadMPCoSPhaseDigestInfoByDevice") { + setMethod(HttpRequest::Method::Post); +} + +UploadMPCoSPhaseDigestInfoByDeviceRequest::~UploadMPCoSPhaseDigestInfoByDeviceRequest() {} + +std::string UploadMPCoSPhaseDigestInfoByDeviceRequest::getIotSignature() const { + return iotSignature_; +} + +void UploadMPCoSPhaseDigestInfoByDeviceRequest::setIotSignature(const std::string &iotSignature) { + iotSignature_ = iotSignature; + setParameter(std::string("IotSignature"), iotSignature); +} + +std::string UploadMPCoSPhaseDigestInfoByDeviceRequest::getIotAuthType() const { + return iotAuthType_; +} + +void UploadMPCoSPhaseDigestInfoByDeviceRequest::setIotAuthType(const std::string &iotAuthType) { + iotAuthType_ = iotAuthType; + setParameter(std::string("IotAuthType"), iotAuthType); +} + +std::string UploadMPCoSPhaseDigestInfoByDeviceRequest::getIotIdSource() const { + return iotIdSource_; +} + +void UploadMPCoSPhaseDigestInfoByDeviceRequest::setIotIdSource(const std::string &iotIdSource) { + iotIdSource_ = iotIdSource; + setParameter(std::string("IotIdSource"), iotIdSource); +} + +std::string UploadMPCoSPhaseDigestInfoByDeviceRequest::getPhaseData() const { + return phaseData_; +} + +void UploadMPCoSPhaseDigestInfoByDeviceRequest::setPhaseData(const std::string &phaseData) { + phaseData_ = phaseData; + setParameter(std::string("PhaseData"), phaseData); +} + +std::string UploadMPCoSPhaseDigestInfoByDeviceRequest::getPhaseId() const { + return phaseId_; +} + +void UploadMPCoSPhaseDigestInfoByDeviceRequest::setPhaseId(const std::string &phaseId) { + phaseId_ = phaseId; + setParameter(std::string("PhaseId"), phaseId); +} + +std::string UploadMPCoSPhaseDigestInfoByDeviceRequest::getApiVersion() const { + return apiVersion_; +} + +void UploadMPCoSPhaseDigestInfoByDeviceRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string UploadMPCoSPhaseDigestInfoByDeviceRequest::getBizChainId() const { + return bizChainId_; +} + +void UploadMPCoSPhaseDigestInfoByDeviceRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + +std::string UploadMPCoSPhaseDigestInfoByDeviceRequest::getDataKey() const { + return dataKey_; +} + +void UploadMPCoSPhaseDigestInfoByDeviceRequest::setDataKey(const std::string &dataKey) { + dataKey_ = dataKey; + setParameter(std::string("DataKey"), dataKey); +} + +std::string UploadMPCoSPhaseDigestInfoByDeviceRequest::getDataSeq() const { + return dataSeq_; +} + +void UploadMPCoSPhaseDigestInfoByDeviceRequest::setDataSeq(const std::string &dataSeq) { + dataSeq_ = dataSeq; + setParameter(std::string("DataSeq"), dataSeq); +} + +std::string UploadMPCoSPhaseDigestInfoByDeviceRequest::getIotId() const { + return iotId_; +} + +void UploadMPCoSPhaseDigestInfoByDeviceRequest::setIotId(const std::string &iotId) { + iotId_ = iotId; + setParameter(std::string("IotId"), iotId); +} + +std::string UploadMPCoSPhaseDigestInfoByDeviceRequest::getPhaseGroupId() const { + return phaseGroupId_; +} + +void UploadMPCoSPhaseDigestInfoByDeviceRequest::setPhaseGroupId(const std::string &phaseGroupId) { + phaseGroupId_ = phaseGroupId; + setParameter(std::string("PhaseGroupId"), phaseGroupId); +} + +std::string UploadMPCoSPhaseDigestInfoByDeviceRequest::getIotDataDigest() const { + return iotDataDigest_; +} + +void UploadMPCoSPhaseDigestInfoByDeviceRequest::setIotDataDigest(const std::string &iotDataDigest) { + iotDataDigest_ = iotDataDigest; + setParameter(std::string("IotDataDigest"), iotDataDigest); +} + +std::string UploadMPCoSPhaseDigestInfoByDeviceRequest::getIotIdServiceProvider() const { + return iotIdServiceProvider_; +} + +void UploadMPCoSPhaseDigestInfoByDeviceRequest::setIotIdServiceProvider(const std::string &iotIdServiceProvider) { + iotIdServiceProvider_ = iotIdServiceProvider; + setParameter(std::string("IotIdServiceProvider"), iotIdServiceProvider); +} + +std::map UploadMPCoSPhaseDigestInfoByDeviceRequest::getRelatedDataList() const { + return relatedDataList_; +} + +void UploadMPCoSPhaseDigestInfoByDeviceRequest::setRelatedDataList(std::map relatedDataList) { + relatedDataList_ = relatedDataList; + setParameter(std::string("RelatedDataList"), relatedDataList); +} + diff --git a/ltl/src/model/UploadMPCoSPhaseDigestInfoByDeviceResult.cc b/ltl/src/model/UploadMPCoSPhaseDigestInfoByDeviceResult.cc new file mode 100644 index 000000000..8ee5ba936 --- /dev/null +++ b/ltl/src/model/UploadMPCoSPhaseDigestInfoByDeviceResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +UploadMPCoSPhaseDigestInfoByDeviceResult::UploadMPCoSPhaseDigestInfoByDeviceResult() : + ServiceResult() +{} + +UploadMPCoSPhaseDigestInfoByDeviceResult::UploadMPCoSPhaseDigestInfoByDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UploadMPCoSPhaseDigestInfoByDeviceResult::~UploadMPCoSPhaseDigestInfoByDeviceResult() +{} + +void UploadMPCoSPhaseDigestInfoByDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string UploadMPCoSPhaseDigestInfoByDeviceResult::getMessage()const +{ + return message_; +} + +std::string UploadMPCoSPhaseDigestInfoByDeviceResult::getData()const +{ + return data_; +} + +int UploadMPCoSPhaseDigestInfoByDeviceResult::getCode()const +{ + return code_; +} + +bool UploadMPCoSPhaseDigestInfoByDeviceResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/UploadMPCoSPhaseDigestInfoRequest.cc b/ltl/src/model/UploadMPCoSPhaseDigestInfoRequest.cc new file mode 100644 index 000000000..6a7e4be85 --- /dev/null +++ b/ltl/src/model/UploadMPCoSPhaseDigestInfoRequest.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::UploadMPCoSPhaseDigestInfoRequest; + +UploadMPCoSPhaseDigestInfoRequest::UploadMPCoSPhaseDigestInfoRequest() + : RpcServiceRequest("ltl", "2019-05-10", "UploadMPCoSPhaseDigestInfo") { + setMethod(HttpRequest::Method::Post); +} + +UploadMPCoSPhaseDigestInfoRequest::~UploadMPCoSPhaseDigestInfoRequest() {} + +std::string UploadMPCoSPhaseDigestInfoRequest::getPhaseData() const { + return phaseData_; +} + +void UploadMPCoSPhaseDigestInfoRequest::setPhaseData(const std::string &phaseData) { + phaseData_ = phaseData; + setParameter(std::string("PhaseData"), phaseData); +} + +std::string UploadMPCoSPhaseDigestInfoRequest::getPhaseId() const { + return phaseId_; +} + +void UploadMPCoSPhaseDigestInfoRequest::setPhaseId(const std::string &phaseId) { + phaseId_ = phaseId; + setParameter(std::string("PhaseId"), phaseId); +} + +std::string UploadMPCoSPhaseDigestInfoRequest::getApiVersion() const { + return apiVersion_; +} + +void UploadMPCoSPhaseDigestInfoRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string UploadMPCoSPhaseDigestInfoRequest::getBizChainId() const { + return bizChainId_; +} + +void UploadMPCoSPhaseDigestInfoRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + +std::string UploadMPCoSPhaseDigestInfoRequest::getDataKey() const { + return dataKey_; +} + +void UploadMPCoSPhaseDigestInfoRequest::setDataKey(const std::string &dataKey) { + dataKey_ = dataKey; + setParameter(std::string("DataKey"), dataKey); +} + +std::string UploadMPCoSPhaseDigestInfoRequest::getDataSeq() const { + return dataSeq_; +} + +void UploadMPCoSPhaseDigestInfoRequest::setDataSeq(const std::string &dataSeq) { + dataSeq_ = dataSeq; + setParameter(std::string("DataSeq"), dataSeq); +} + +std::string UploadMPCoSPhaseDigestInfoRequest::getPhaseGroupId() const { + return phaseGroupId_; +} + +void UploadMPCoSPhaseDigestInfoRequest::setPhaseGroupId(const std::string &phaseGroupId) { + phaseGroupId_ = phaseGroupId; + setParameter(std::string("PhaseGroupId"), phaseGroupId); +} + +std::map UploadMPCoSPhaseDigestInfoRequest::getRelatedDataList() const { + return relatedDataList_; +} + +void UploadMPCoSPhaseDigestInfoRequest::setRelatedDataList(std::map relatedDataList) { + relatedDataList_ = relatedDataList; + setParameter(std::string("RelatedDataList"), relatedDataList); +} + diff --git a/ltl/src/model/UploadMPCoSPhaseDigestInfoResult.cc b/ltl/src/model/UploadMPCoSPhaseDigestInfoResult.cc new file mode 100644 index 000000000..1cc2231fd --- /dev/null +++ b/ltl/src/model/UploadMPCoSPhaseDigestInfoResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +UploadMPCoSPhaseDigestInfoResult::UploadMPCoSPhaseDigestInfoResult() : + ServiceResult() +{} + +UploadMPCoSPhaseDigestInfoResult::UploadMPCoSPhaseDigestInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UploadMPCoSPhaseDigestInfoResult::~UploadMPCoSPhaseDigestInfoResult() +{} + +void UploadMPCoSPhaseDigestInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string UploadMPCoSPhaseDigestInfoResult::getMessage()const +{ + return message_; +} + +std::string UploadMPCoSPhaseDigestInfoResult::getData()const +{ + return data_; +} + +int UploadMPCoSPhaseDigestInfoResult::getCode()const +{ + return code_; +} + +bool UploadMPCoSPhaseDigestInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/UploadMPCoSPhaseTextInfoByDeviceRequest.cc b/ltl/src/model/UploadMPCoSPhaseTextInfoByDeviceRequest.cc new file mode 100644 index 000000000..74cc2f659 --- /dev/null +++ b/ltl/src/model/UploadMPCoSPhaseTextInfoByDeviceRequest.cc @@ -0,0 +1,153 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::UploadMPCoSPhaseTextInfoByDeviceRequest; + +UploadMPCoSPhaseTextInfoByDeviceRequest::UploadMPCoSPhaseTextInfoByDeviceRequest() + : RpcServiceRequest("ltl", "2019-05-10", "UploadMPCoSPhaseTextInfoByDevice") { + setMethod(HttpRequest::Method::Post); +} + +UploadMPCoSPhaseTextInfoByDeviceRequest::~UploadMPCoSPhaseTextInfoByDeviceRequest() {} + +std::string UploadMPCoSPhaseTextInfoByDeviceRequest::getIotSignature() const { + return iotSignature_; +} + +void UploadMPCoSPhaseTextInfoByDeviceRequest::setIotSignature(const std::string &iotSignature) { + iotSignature_ = iotSignature; + setParameter(std::string("IotSignature"), iotSignature); +} + +std::string UploadMPCoSPhaseTextInfoByDeviceRequest::getIotAuthType() const { + return iotAuthType_; +} + +void UploadMPCoSPhaseTextInfoByDeviceRequest::setIotAuthType(const std::string &iotAuthType) { + iotAuthType_ = iotAuthType; + setParameter(std::string("IotAuthType"), iotAuthType); +} + +std::string UploadMPCoSPhaseTextInfoByDeviceRequest::getIotIdSource() const { + return iotIdSource_; +} + +void UploadMPCoSPhaseTextInfoByDeviceRequest::setIotIdSource(const std::string &iotIdSource) { + iotIdSource_ = iotIdSource; + setParameter(std::string("IotIdSource"), iotIdSource); +} + +std::string UploadMPCoSPhaseTextInfoByDeviceRequest::getPhaseData() const { + return phaseData_; +} + +void UploadMPCoSPhaseTextInfoByDeviceRequest::setPhaseData(const std::string &phaseData) { + phaseData_ = phaseData; + setParameter(std::string("PhaseData"), phaseData); +} + +std::string UploadMPCoSPhaseTextInfoByDeviceRequest::getPhaseId() const { + return phaseId_; +} + +void UploadMPCoSPhaseTextInfoByDeviceRequest::setPhaseId(const std::string &phaseId) { + phaseId_ = phaseId; + setParameter(std::string("PhaseId"), phaseId); +} + +std::string UploadMPCoSPhaseTextInfoByDeviceRequest::getApiVersion() const { + return apiVersion_; +} + +void UploadMPCoSPhaseTextInfoByDeviceRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string UploadMPCoSPhaseTextInfoByDeviceRequest::getBizChainId() const { + return bizChainId_; +} + +void UploadMPCoSPhaseTextInfoByDeviceRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + +std::string UploadMPCoSPhaseTextInfoByDeviceRequest::getDataKey() const { + return dataKey_; +} + +void UploadMPCoSPhaseTextInfoByDeviceRequest::setDataKey(const std::string &dataKey) { + dataKey_ = dataKey; + setParameter(std::string("DataKey"), dataKey); +} + +std::string UploadMPCoSPhaseTextInfoByDeviceRequest::getDataSeq() const { + return dataSeq_; +} + +void UploadMPCoSPhaseTextInfoByDeviceRequest::setDataSeq(const std::string &dataSeq) { + dataSeq_ = dataSeq; + setParameter(std::string("DataSeq"), dataSeq); +} + +std::string UploadMPCoSPhaseTextInfoByDeviceRequest::getIotId() const { + return iotId_; +} + +void UploadMPCoSPhaseTextInfoByDeviceRequest::setIotId(const std::string &iotId) { + iotId_ = iotId; + setParameter(std::string("IotId"), iotId); +} + +std::string UploadMPCoSPhaseTextInfoByDeviceRequest::getPhaseGroupId() const { + return phaseGroupId_; +} + +void UploadMPCoSPhaseTextInfoByDeviceRequest::setPhaseGroupId(const std::string &phaseGroupId) { + phaseGroupId_ = phaseGroupId; + setParameter(std::string("PhaseGroupId"), phaseGroupId); +} + +std::string UploadMPCoSPhaseTextInfoByDeviceRequest::getIotDataDigest() const { + return iotDataDigest_; +} + +void UploadMPCoSPhaseTextInfoByDeviceRequest::setIotDataDigest(const std::string &iotDataDigest) { + iotDataDigest_ = iotDataDigest; + setParameter(std::string("IotDataDigest"), iotDataDigest); +} + +std::string UploadMPCoSPhaseTextInfoByDeviceRequest::getIotIdServiceProvider() const { + return iotIdServiceProvider_; +} + +void UploadMPCoSPhaseTextInfoByDeviceRequest::setIotIdServiceProvider(const std::string &iotIdServiceProvider) { + iotIdServiceProvider_ = iotIdServiceProvider; + setParameter(std::string("IotIdServiceProvider"), iotIdServiceProvider); +} + +std::map UploadMPCoSPhaseTextInfoByDeviceRequest::getRelatedDataList() const { + return relatedDataList_; +} + +void UploadMPCoSPhaseTextInfoByDeviceRequest::setRelatedDataList(std::map relatedDataList) { + relatedDataList_ = relatedDataList; + setParameter(std::string("RelatedDataList"), relatedDataList); +} + diff --git a/ltl/src/model/UploadMPCoSPhaseTextInfoByDeviceResult.cc b/ltl/src/model/UploadMPCoSPhaseTextInfoByDeviceResult.cc new file mode 100644 index 000000000..66118cc4b --- /dev/null +++ b/ltl/src/model/UploadMPCoSPhaseTextInfoByDeviceResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +UploadMPCoSPhaseTextInfoByDeviceResult::UploadMPCoSPhaseTextInfoByDeviceResult() : + ServiceResult() +{} + +UploadMPCoSPhaseTextInfoByDeviceResult::UploadMPCoSPhaseTextInfoByDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UploadMPCoSPhaseTextInfoByDeviceResult::~UploadMPCoSPhaseTextInfoByDeviceResult() +{} + +void UploadMPCoSPhaseTextInfoByDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string UploadMPCoSPhaseTextInfoByDeviceResult::getMessage()const +{ + return message_; +} + +std::string UploadMPCoSPhaseTextInfoByDeviceResult::getData()const +{ + return data_; +} + +int UploadMPCoSPhaseTextInfoByDeviceResult::getCode()const +{ + return code_; +} + +bool UploadMPCoSPhaseTextInfoByDeviceResult::getSuccess()const +{ + return success_; +} + diff --git a/ltl/src/model/UploadMPCoSPhaseTextInfoRequest.cc b/ltl/src/model/UploadMPCoSPhaseTextInfoRequest.cc new file mode 100644 index 000000000..067389db5 --- /dev/null +++ b/ltl/src/model/UploadMPCoSPhaseTextInfoRequest.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ltl::Model::UploadMPCoSPhaseTextInfoRequest; + +UploadMPCoSPhaseTextInfoRequest::UploadMPCoSPhaseTextInfoRequest() + : RpcServiceRequest("ltl", "2019-05-10", "UploadMPCoSPhaseTextInfo") { + setMethod(HttpRequest::Method::Post); +} + +UploadMPCoSPhaseTextInfoRequest::~UploadMPCoSPhaseTextInfoRequest() {} + +std::string UploadMPCoSPhaseTextInfoRequest::getPhaseData() const { + return phaseData_; +} + +void UploadMPCoSPhaseTextInfoRequest::setPhaseData(const std::string &phaseData) { + phaseData_ = phaseData; + setParameter(std::string("PhaseData"), phaseData); +} + +std::string UploadMPCoSPhaseTextInfoRequest::getPhaseId() const { + return phaseId_; +} + +void UploadMPCoSPhaseTextInfoRequest::setPhaseId(const std::string &phaseId) { + phaseId_ = phaseId; + setParameter(std::string("PhaseId"), phaseId); +} + +std::string UploadMPCoSPhaseTextInfoRequest::getApiVersion() const { + return apiVersion_; +} + +void UploadMPCoSPhaseTextInfoRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); +} + +std::string UploadMPCoSPhaseTextInfoRequest::getBizChainId() const { + return bizChainId_; +} + +void UploadMPCoSPhaseTextInfoRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + +std::string UploadMPCoSPhaseTextInfoRequest::getDataKey() const { + return dataKey_; +} + +void UploadMPCoSPhaseTextInfoRequest::setDataKey(const std::string &dataKey) { + dataKey_ = dataKey; + setParameter(std::string("DataKey"), dataKey); +} + +std::string UploadMPCoSPhaseTextInfoRequest::getDataSeq() const { + return dataSeq_; +} + +void UploadMPCoSPhaseTextInfoRequest::setDataSeq(const std::string &dataSeq) { + dataSeq_ = dataSeq; + setParameter(std::string("DataSeq"), dataSeq); +} + +std::string UploadMPCoSPhaseTextInfoRequest::getPhaseGroupId() const { + return phaseGroupId_; +} + +void UploadMPCoSPhaseTextInfoRequest::setPhaseGroupId(const std::string &phaseGroupId) { + phaseGroupId_ = phaseGroupId; + setParameter(std::string("PhaseGroupId"), phaseGroupId); +} + +std::map UploadMPCoSPhaseTextInfoRequest::getRelatedDataList() const { + return relatedDataList_; +} + +void UploadMPCoSPhaseTextInfoRequest::setRelatedDataList(std::map relatedDataList) { + relatedDataList_ = relatedDataList; + setParameter(std::string("RelatedDataList"), relatedDataList); +} + diff --git a/ltl/src/model/UploadMPCoSPhaseTextInfoResult.cc b/ltl/src/model/UploadMPCoSPhaseTextInfoResult.cc new file mode 100644 index 000000000..105b21900 --- /dev/null +++ b/ltl/src/model/UploadMPCoSPhaseTextInfoResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ltl; +using namespace AlibabaCloud::Ltl::Model; + +UploadMPCoSPhaseTextInfoResult::UploadMPCoSPhaseTextInfoResult() : + ServiceResult() +{} + +UploadMPCoSPhaseTextInfoResult::UploadMPCoSPhaseTextInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UploadMPCoSPhaseTextInfoResult::~UploadMPCoSPhaseTextInfoResult() +{} + +void UploadMPCoSPhaseTextInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string UploadMPCoSPhaseTextInfoResult::getMessage()const +{ + return message_; +} + +std::string UploadMPCoSPhaseTextInfoResult::getData()const +{ + return data_; +} + +int UploadMPCoSPhaseTextInfoResult::getCode()const +{ + return code_; +} + +bool UploadMPCoSPhaseTextInfoResult::getSuccess()const +{ + return success_; +} +