From 4838a80585590d25316fbe84cd83de88f0bc8e1e Mon Sep 17 00:00:00 2001 From: sdk-team Date: Thu, 2 Mar 2023 08:10:35 +0000 Subject: [PATCH] Release. --- VERSION | 2 +- lto/CMakeLists.txt | 382 +++ lto/include/alibabacloud/lto/LtoClient.h | 646 ++++ lto/include/alibabacloud/lto/LtoExport.h | 32 + .../model/AddBaaSAntChainBizChainRequest.h | 84 + .../lto/model/AddBaaSAntChainBizChainResult.h | 57 + .../lto/model/AddBaaSFabricBizChainRequest.h | 60 + .../lto/model/AddBaaSFabricBizChainResult.h | 57 + .../lto/model/AddBsnFabricBizChainRequest.h | 57 + .../lto/model/AddBsnFabricBizChainResult.h | 57 + .../lto/model/AddDeviceGroupRequest.h | 51 + .../lto/model/AddDeviceGroupResult.h | 57 + .../alibabacloud/lto/model/AddMemberRequest.h | 63 + .../alibabacloud/lto/model/AddMemberResult.h | 57 + .../lto/model/AddPrivacyRuleRequest.h | 54 + .../lto/model/AddPrivacyRuleResult.h | 57 + .../lto/model/AddRouteRuleRequest.h | 66 + .../lto/model/AddRouteRuleResult.h | 57 + .../lto/model/AgreeMemberAccessRequest.h | 45 + .../lto/model/AgreeMemberAccessResult.h | 57 + .../lto/model/AuthorizeBaaSRequest.h | 42 + .../lto/model/AuthorizeBaaSResult.h | 57 + .../AuthorizeDeviceGroupBizChainRequest.h | 48 + .../AuthorizeDeviceGroupBizChainResult.h | 57 + .../model/AuthorizeMemberBizChainRequest.h | 48 + .../lto/model/AuthorizeMemberBizChainResult.h | 57 + .../lto/model/DeletePrivacyRuleRequest.h | 45 + .../lto/model/DeletePrivacyRuleResult.h | 57 + .../lto/model/DeleteRouteRuleRequest.h | 45 + .../lto/model/DeleteRouteRuleResult.h | 57 + .../lto/model/DeniedMemberAccessRequest.h | 45 + .../lto/model/DeniedMemberAccessResult.h | 57 + .../lto/model/DescribeAccountRoleRequest.h | 42 + .../lto/model/DescribeAccountRoleResult.h | 64 + .../lto/model/DescribeAdminInfoRequest.h | 42 + .../lto/model/DescribeAdminInfoResult.h | 73 + .../model/DescribeBizChainStatInfoRequest.h | 42 + .../model/DescribeBizChainStatInfoResult.h | 64 + .../model/DescribeDashboardApiInfoRequest.h | 42 + .../model/DescribeDashboardApiInfoResult.h | 64 + .../model/DescribeDashboardBaseInfoRequest.h | 42 + .../model/DescribeDashboardBaseInfoResult.h | 66 + .../DescribeDashboardDeviceInfoRequest.h | 42 + .../model/DescribeDashboardDeviceInfoResult.h | 64 + .../DescribeDashboardMemberApiInfoRequest.h | 51 + .../DescribeDashboardMemberApiInfoResult.h | 69 + ...DescribeDashboardMemberDeviceInfoRequest.h | 48 + .../DescribeDashboardMemberDeviceInfoResult.h | 69 + .../lto/model/DescribeDeviceInfoRequest.h | 42 + .../lto/model/DescribeDeviceInfoResult.h | 65 + .../lto/model/DescribeEdgeStatInfoRequest.h | 48 + .../lto/model/DescribeEdgeStatInfoResult.h | 64 + .../DescribeMemberBizChainStatInfoRequest.h | 45 + .../DescribeMemberBizChainStatInfoResult.h | 64 + .../lto/model/DescribeMemberStatInfoRequest.h | 45 + .../lto/model/DescribeMemberStatInfoResult.h | 67 + .../DescribeMemberTotalStatInfoRequest.h | 45 + .../model/DescribeMemberTotalStatInfoResult.h | 64 + .../lto/model/DescribePackgeInfoRequest.h | 45 + .../lto/model/DescribePackgeInfoResult.h | 65 + .../lto/model/DescribeStatDeviceInfoRequest.h | 42 + .../lto/model/DescribeStatDeviceInfoResult.h | 70 + .../DescribeStatMemberDeviceInfoRequest.h | 42 + .../DescribeStatMemberDeviceInfoResult.h | 67 + .../lto/model/DescribeTotalStatInfoRequest.h | 42 + .../lto/model/DescribeTotalStatInfoResult.h | 65 + .../lto/model/DisableDeviceGroupRequest.h | 45 + .../lto/model/DisableDeviceGroupResult.h | 57 + .../lto/model/DisableDeviceRequest.h | 45 + .../lto/model/DisableDeviceResult.h | 57 + .../lto/model/DownloadPrivacyKeyRequest.h | 42 + .../lto/model/DownloadPrivacyKeyResult.h | 59 + .../lto/model/EnableDeviceGroupRequest.h | 45 + .../lto/model/EnableDeviceGroupResult.h | 57 + .../lto/model/EnableDeviceRequest.h | 45 + .../lto/model/EnableDeviceResult.h | 57 + .../lto/model/FreezeMemberRequest.h | 45 + .../lto/model/FreezeMemberResult.h | 57 + .../model/GetEdgeTotalDeviceCountRequest.h | 42 + .../lto/model/GetEdgeTotalDeviceCountResult.h | 59 + .../lto/model/ListAllAdminRequest.h | 42 + .../lto/model/ListAllAdminResult.h | 64 + .../model/ListAllBizChainContractRequest.h | 45 + .../lto/model/ListAllBizChainContractResult.h | 65 + .../lto/model/ListAllBizChainRequest.h | 42 + .../lto/model/ListAllBizChainResult.h | 65 + .../lto/model/ListAllDeviceGroupRequest.h | 42 + .../lto/model/ListAllDeviceGroupResult.h | 64 + .../lto/model/ListAllMemberRequest.h | 42 + .../lto/model/ListAllMemberResult.h | 64 + .../model/ListAllPrivacyAlgorithmRequest.h | 42 + .../lto/model/ListAllPrivacyAlgorithmResult.h | 64 + .../lto/model/ListAllPrivacyRuleRequest.h | 42 + .../lto/model/ListAllPrivacyRuleResult.h | 64 + .../lto/model/ListAllProductKeyRequest.h | 42 + .../lto/model/ListAllProductKeyResult.h | 64 + .../lto/model/ListAllSystemContractRequest.h | 45 + .../lto/model/ListAllSystemContractResult.h | 64 + .../model/ListBaaSAntChainConsortiumRequest.h | 42 + .../model/ListBaaSAntChainConsortiumResult.h | 64 + .../lto/model/ListBaaSAntChainPeerRequest.h | 48 + .../lto/model/ListBaaSAntChainPeerResult.h | 63 + .../lto/model/ListBaaSAntChainRequest.h | 45 + .../lto/model/ListBaaSAntChainResult.h | 64 + .../lto/model/ListBaaSFabricChannelRequest.h | 45 + .../lto/model/ListBaaSFabricChannelResult.h | 64 + .../model/ListBaaSFabricConsortiumRequest.h | 42 + .../model/ListBaaSFabricConsortiumResult.h | 64 + .../model/ListBaaSFabricOrganizationRequest.h | 45 + .../model/ListBaaSFabricOrganizationResult.h | 64 + .../lto/model/ListBizChainDataRequest.h | 63 + .../lto/model/ListBizChainDataResult.h | 77 + .../lto/model/ListBizChainRequest.h | 54 + .../lto/model/ListBizChainResult.h | 73 + ...ListDeviceGroupAuthorizedBizChainRequest.h | 45 + .../ListDeviceGroupAuthorizedBizChainResult.h | 66 + .../lto/model/ListDeviceGroupRequest.h | 57 + .../lto/model/ListDeviceGroupResult.h | 78 + .../lto/model/ListDeviceRequest.h | 54 + .../alibabacloud/lto/model/ListDeviceResult.h | 74 + .../lto/model/ListEdgeDeviceGroupRequest.h | 54 + .../lto/model/ListEdgeDeviceGroupResult.h | 79 + .../lto/model/ListEdgeDeviceRequest.h | 54 + .../lto/model/ListEdgeDeviceResult.h | 74 + .../lto/model/ListMemberAccessRecordRequest.h | 60 + .../lto/model/ListMemberAccessRecordResult.h | 82 + .../ListMemberAuthorizedBizChainRequest.h | 45 + .../ListMemberAuthorizedBizChainResult.h | 72 + .../lto/model/ListMemberRequest.h | 57 + .../alibabacloud/lto/model/ListMemberResult.h | 79 + .../lto/model/ListPrivacyRuleRequest.h | 48 + .../lto/model/ListPrivacyRuleResult.h | 77 + .../ListPrivacyRuleSharedMemberRequest.h | 45 + .../model/ListPrivacyRuleSharedMemberResult.h | 71 + .../lto/model/ListRouteRuleRequest.h | 57 + .../lto/model/ListRouteRuleResult.h | 82 + .../lto/model/QueryBlockchainDataRequest.h | 57 + .../lto/model/QueryBlockchainDataResult.h | 64 + .../model/QueryBlockchainMetadataRequest.h | 57 + .../lto/model/QueryBlockchainMetadataResult.h | 67 + .../lto/model/SharePrivacyRuleRequest.h | 48 + .../lto/model/SharePrivacyRuleResult.h | 57 + .../lto/model/UnFreezeMemberRequest.h | 45 + .../lto/model/UnFreezeMemberResult.h | 57 + .../lto/model/UpdateBizChainRequest.h | 51 + .../lto/model/UpdateBizChainResult.h | 57 + .../lto/model/UpdateMemberRequest.h | 66 + .../lto/model/UpdateMemberResult.h | 57 + .../lto/model/UpdatePrivacyRuleRequest.h | 57 + .../lto/model/UpdatePrivacyRuleResult.h | 57 + .../lto/model/UpdateRouteRuleRequest.h | 63 + .../lto/model/UpdateRouteRuleResult.h | 57 + .../model/UploadIoTDataToBlockchainRequest.h | 69 + .../model/UploadIoTDataToBlockchainResult.h | 57 + lto/src/LtoClient.cc | 2753 +++++++++++++++++ .../model/AddBaaSAntChainBizChainRequest.cc | 162 + .../model/AddBaaSAntChainBizChainResult.cc | 72 + lto/src/model/AddBaaSFabricBizChainRequest.cc | 90 + lto/src/model/AddBaaSFabricBizChainResult.cc | 72 + lto/src/model/AddBsnFabricBizChainRequest.cc | 81 + lto/src/model/AddBsnFabricBizChainResult.cc | 72 + lto/src/model/AddDeviceGroupRequest.cc | 63 + lto/src/model/AddDeviceGroupResult.cc | 72 + lto/src/model/AddMemberRequest.cc | 99 + lto/src/model/AddMemberResult.cc | 72 + lto/src/model/AddPrivacyRuleRequest.cc | 72 + lto/src/model/AddPrivacyRuleResult.cc | 72 + lto/src/model/AddRouteRuleRequest.cc | 108 + lto/src/model/AddRouteRuleResult.cc | 72 + lto/src/model/AgreeMemberAccessRequest.cc | 45 + lto/src/model/AgreeMemberAccessResult.cc | 72 + lto/src/model/AuthorizeBaaSRequest.cc | 36 + lto/src/model/AuthorizeBaaSResult.cc | 72 + .../AuthorizeDeviceGroupBizChainRequest.cc | 54 + .../AuthorizeDeviceGroupBizChainResult.cc | 72 + .../model/AuthorizeMemberBizChainRequest.cc | 54 + .../model/AuthorizeMemberBizChainResult.cc | 72 + lto/src/model/DeletePrivacyRuleRequest.cc | 45 + lto/src/model/DeletePrivacyRuleResult.cc | 72 + lto/src/model/DeleteRouteRuleRequest.cc | 45 + lto/src/model/DeleteRouteRuleResult.cc | 72 + lto/src/model/DeniedMemberAccessRequest.cc | 45 + lto/src/model/DeniedMemberAccessResult.cc | 72 + lto/src/model/DescribeAccountRoleRequest.cc | 36 + lto/src/model/DescribeAccountRoleResult.cc | 82 + lto/src/model/DescribeAdminInfoRequest.cc | 36 + lto/src/model/DescribeAdminInfoResult.cc | 100 + .../model/DescribeBizChainStatInfoRequest.cc | 36 + .../model/DescribeBizChainStatInfoResult.cc | 87 + .../model/DescribeDashboardApiInfoRequest.cc | 36 + .../model/DescribeDashboardApiInfoResult.cc | 82 + .../model/DescribeDashboardBaseInfoRequest.cc | 36 + .../model/DescribeDashboardBaseInfoResult.cc | 86 + .../DescribeDashboardDeviceInfoRequest.cc | 36 + .../DescribeDashboardDeviceInfoResult.cc | 82 + .../DescribeDashboardMemberApiInfoRequest.cc | 63 + .../DescribeDashboardMemberApiInfoResult.cc | 95 + ...escribeDashboardMemberDeviceInfoRequest.cc | 54 + ...DescribeDashboardMemberDeviceInfoResult.cc | 95 + lto/src/model/DescribeDeviceInfoRequest.cc | 36 + lto/src/model/DescribeDeviceInfoResult.cc | 84 + lto/src/model/DescribeEdgeStatInfoRequest.cc | 54 + lto/src/model/DescribeEdgeStatInfoResult.cc | 82 + .../DescribeMemberBizChainStatInfoRequest.cc | 45 + .../DescribeMemberBizChainStatInfoResult.cc | 87 + .../model/DescribeMemberStatInfoRequest.cc | 45 + lto/src/model/DescribeMemberStatInfoResult.cc | 93 + .../DescribeMemberTotalStatInfoRequest.cc | 45 + .../DescribeMemberTotalStatInfoResult.cc | 82 + lto/src/model/DescribePackgeInfoRequest.cc | 45 + lto/src/model/DescribePackgeInfoResult.cc | 84 + .../model/DescribeStatDeviceInfoRequest.cc | 36 + lto/src/model/DescribeStatDeviceInfoResult.cc | 92 + .../DescribeStatMemberDeviceInfoRequest.cc | 36 + .../DescribeStatMemberDeviceInfoResult.cc | 93 + lto/src/model/DescribeTotalStatInfoRequest.cc | 36 + lto/src/model/DescribeTotalStatInfoResult.cc | 84 + lto/src/model/DisableDeviceGroupRequest.cc | 45 + lto/src/model/DisableDeviceGroupResult.cc | 72 + lto/src/model/DisableDeviceRequest.cc | 45 + lto/src/model/DisableDeviceResult.cc | 72 + lto/src/model/DownloadPrivacyKeyRequest.cc | 36 + lto/src/model/DownloadPrivacyKeyResult.cc | 79 + lto/src/model/EnableDeviceGroupRequest.cc | 45 + lto/src/model/EnableDeviceGroupResult.cc | 72 + lto/src/model/EnableDeviceRequest.cc | 45 + lto/src/model/EnableDeviceResult.cc | 72 + lto/src/model/FreezeMemberRequest.cc | 45 + lto/src/model/FreezeMemberResult.cc | 72 + .../model/GetEdgeTotalDeviceCountRequest.cc | 36 + .../model/GetEdgeTotalDeviceCountResult.cc | 79 + lto/src/model/ListAllAdminRequest.cc | 36 + lto/src/model/ListAllAdminResult.cc | 87 + .../model/ListAllBizChainContractRequest.cc | 45 + .../model/ListAllBizChainContractResult.cc | 89 + lto/src/model/ListAllBizChainRequest.cc | 36 + lto/src/model/ListAllBizChainResult.cc | 89 + lto/src/model/ListAllDeviceGroupRequest.cc | 36 + lto/src/model/ListAllDeviceGroupResult.cc | 87 + lto/src/model/ListAllMemberRequest.cc | 36 + lto/src/model/ListAllMemberResult.cc | 87 + .../model/ListAllPrivacyAlgorithmRequest.cc | 36 + .../model/ListAllPrivacyAlgorithmResult.cc | 88 + lto/src/model/ListAllPrivacyRuleRequest.cc | 36 + lto/src/model/ListAllPrivacyRuleResult.cc | 87 + lto/src/model/ListAllProductKeyRequest.cc | 36 + lto/src/model/ListAllProductKeyResult.cc | 87 + lto/src/model/ListAllSystemContractRequest.cc | 45 + lto/src/model/ListAllSystemContractResult.cc | 87 + .../ListBaaSAntChainConsortiumRequest.cc | 36 + .../model/ListBaaSAntChainConsortiumResult.cc | 87 + lto/src/model/ListBaaSAntChainPeerRequest.cc | 54 + lto/src/model/ListBaaSAntChainPeerResult.cc | 85 + lto/src/model/ListBaaSAntChainRequest.cc | 45 + lto/src/model/ListBaaSAntChainResult.cc | 87 + lto/src/model/ListBaaSFabricChannelRequest.cc | 45 + lto/src/model/ListBaaSFabricChannelResult.cc | 87 + .../model/ListBaaSFabricConsortiumRequest.cc | 36 + .../model/ListBaaSFabricConsortiumResult.cc | 87 + .../ListBaaSFabricOrganizationRequest.cc | 45 + .../model/ListBaaSFabricOrganizationResult.cc | 87 + lto/src/model/ListBizChainDataRequest.cc | 99 + lto/src/model/ListBizChainDataResult.cc | 106 + lto/src/model/ListBizChainRequest.cc | 72 + lto/src/model/ListBizChainResult.cc | 98 + ...istDeviceGroupAuthorizedBizChainRequest.cc | 45 + ...ListDeviceGroupAuthorizedBizChainResult.cc | 91 + lto/src/model/ListDeviceGroupRequest.cc | 81 + lto/src/model/ListDeviceGroupResult.cc | 108 + lto/src/model/ListDeviceRequest.cc | 72 + lto/src/model/ListDeviceResult.cc | 100 + lto/src/model/ListEdgeDeviceGroupRequest.cc | 72 + lto/src/model/ListEdgeDeviceGroupResult.cc | 110 + lto/src/model/ListEdgeDeviceRequest.cc | 72 + lto/src/model/ListEdgeDeviceResult.cc | 100 + .../model/ListMemberAccessRecordRequest.cc | 90 + lto/src/model/ListMemberAccessRecordResult.cc | 116 + .../ListMemberAuthorizedBizChainRequest.cc | 45 + .../ListMemberAuthorizedBizChainResult.cc | 101 + lto/src/model/ListMemberRequest.cc | 81 + lto/src/model/ListMemberResult.cc | 110 + lto/src/model/ListPrivacyRuleRequest.cc | 54 + lto/src/model/ListPrivacyRuleResult.cc | 106 + .../ListPrivacyRuleSharedMemberRequest.cc | 45 + .../ListPrivacyRuleSharedMemberResult.cc | 99 + lto/src/model/ListRouteRuleRequest.cc | 81 + lto/src/model/ListRouteRuleResult.cc | 116 + lto/src/model/QueryBlockchainDataRequest.cc | 81 + lto/src/model/QueryBlockchainDataResult.cc | 79 + .../model/QueryBlockchainMetadataRequest.cc | 81 + .../model/QueryBlockchainMetadataResult.cc | 85 + lto/src/model/SharePrivacyRuleRequest.cc | 54 + lto/src/model/SharePrivacyRuleResult.cc | 72 + lto/src/model/UnFreezeMemberRequest.cc | 45 + lto/src/model/UnFreezeMemberResult.cc | 72 + lto/src/model/UpdateBizChainRequest.cc | 63 + lto/src/model/UpdateBizChainResult.cc | 72 + lto/src/model/UpdateMemberRequest.cc | 108 + lto/src/model/UpdateMemberResult.cc | 72 + lto/src/model/UpdatePrivacyRuleRequest.cc | 81 + lto/src/model/UpdatePrivacyRuleResult.cc | 72 + lto/src/model/UpdateRouteRuleRequest.cc | 99 + lto/src/model/UpdateRouteRuleResult.cc | 72 + .../model/UploadIoTDataToBlockchainRequest.cc | 117 + .../model/UploadIoTDataToBlockchainResult.cc | 72 + 305 files changed, 22881 insertions(+), 1 deletion(-) create mode 100644 lto/CMakeLists.txt create mode 100644 lto/include/alibabacloud/lto/LtoClient.h create mode 100644 lto/include/alibabacloud/lto/LtoExport.h create mode 100644 lto/include/alibabacloud/lto/model/AddBaaSAntChainBizChainRequest.h create mode 100644 lto/include/alibabacloud/lto/model/AddBaaSAntChainBizChainResult.h create mode 100644 lto/include/alibabacloud/lto/model/AddBaaSFabricBizChainRequest.h create mode 100644 lto/include/alibabacloud/lto/model/AddBaaSFabricBizChainResult.h create mode 100644 lto/include/alibabacloud/lto/model/AddBsnFabricBizChainRequest.h create mode 100644 lto/include/alibabacloud/lto/model/AddBsnFabricBizChainResult.h create mode 100644 lto/include/alibabacloud/lto/model/AddDeviceGroupRequest.h create mode 100644 lto/include/alibabacloud/lto/model/AddDeviceGroupResult.h create mode 100644 lto/include/alibabacloud/lto/model/AddMemberRequest.h create mode 100644 lto/include/alibabacloud/lto/model/AddMemberResult.h create mode 100644 lto/include/alibabacloud/lto/model/AddPrivacyRuleRequest.h create mode 100644 lto/include/alibabacloud/lto/model/AddPrivacyRuleResult.h create mode 100644 lto/include/alibabacloud/lto/model/AddRouteRuleRequest.h create mode 100644 lto/include/alibabacloud/lto/model/AddRouteRuleResult.h create mode 100644 lto/include/alibabacloud/lto/model/AgreeMemberAccessRequest.h create mode 100644 lto/include/alibabacloud/lto/model/AgreeMemberAccessResult.h create mode 100644 lto/include/alibabacloud/lto/model/AuthorizeBaaSRequest.h create mode 100644 lto/include/alibabacloud/lto/model/AuthorizeBaaSResult.h create mode 100644 lto/include/alibabacloud/lto/model/AuthorizeDeviceGroupBizChainRequest.h create mode 100644 lto/include/alibabacloud/lto/model/AuthorizeDeviceGroupBizChainResult.h create mode 100644 lto/include/alibabacloud/lto/model/AuthorizeMemberBizChainRequest.h create mode 100644 lto/include/alibabacloud/lto/model/AuthorizeMemberBizChainResult.h create mode 100644 lto/include/alibabacloud/lto/model/DeletePrivacyRuleRequest.h create mode 100644 lto/include/alibabacloud/lto/model/DeletePrivacyRuleResult.h create mode 100644 lto/include/alibabacloud/lto/model/DeleteRouteRuleRequest.h create mode 100644 lto/include/alibabacloud/lto/model/DeleteRouteRuleResult.h create mode 100644 lto/include/alibabacloud/lto/model/DeniedMemberAccessRequest.h create mode 100644 lto/include/alibabacloud/lto/model/DeniedMemberAccessResult.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeAccountRoleRequest.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeAccountRoleResult.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeAdminInfoRequest.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeAdminInfoResult.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeBizChainStatInfoRequest.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeBizChainStatInfoResult.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeDashboardApiInfoRequest.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeDashboardApiInfoResult.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeDashboardBaseInfoRequest.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeDashboardBaseInfoResult.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeDashboardDeviceInfoRequest.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeDashboardDeviceInfoResult.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeDashboardMemberApiInfoRequest.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeDashboardMemberApiInfoResult.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeDashboardMemberDeviceInfoRequest.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeDashboardMemberDeviceInfoResult.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeDeviceInfoRequest.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeDeviceInfoResult.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeEdgeStatInfoRequest.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeEdgeStatInfoResult.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeMemberBizChainStatInfoRequest.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeMemberBizChainStatInfoResult.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeMemberStatInfoRequest.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeMemberStatInfoResult.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeMemberTotalStatInfoRequest.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeMemberTotalStatInfoResult.h create mode 100644 lto/include/alibabacloud/lto/model/DescribePackgeInfoRequest.h create mode 100644 lto/include/alibabacloud/lto/model/DescribePackgeInfoResult.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeStatDeviceInfoRequest.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeStatDeviceInfoResult.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeStatMemberDeviceInfoRequest.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeStatMemberDeviceInfoResult.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeTotalStatInfoRequest.h create mode 100644 lto/include/alibabacloud/lto/model/DescribeTotalStatInfoResult.h create mode 100644 lto/include/alibabacloud/lto/model/DisableDeviceGroupRequest.h create mode 100644 lto/include/alibabacloud/lto/model/DisableDeviceGroupResult.h create mode 100644 lto/include/alibabacloud/lto/model/DisableDeviceRequest.h create mode 100644 lto/include/alibabacloud/lto/model/DisableDeviceResult.h create mode 100644 lto/include/alibabacloud/lto/model/DownloadPrivacyKeyRequest.h create mode 100644 lto/include/alibabacloud/lto/model/DownloadPrivacyKeyResult.h create mode 100644 lto/include/alibabacloud/lto/model/EnableDeviceGroupRequest.h create mode 100644 lto/include/alibabacloud/lto/model/EnableDeviceGroupResult.h create mode 100644 lto/include/alibabacloud/lto/model/EnableDeviceRequest.h create mode 100644 lto/include/alibabacloud/lto/model/EnableDeviceResult.h create mode 100644 lto/include/alibabacloud/lto/model/FreezeMemberRequest.h create mode 100644 lto/include/alibabacloud/lto/model/FreezeMemberResult.h create mode 100644 lto/include/alibabacloud/lto/model/GetEdgeTotalDeviceCountRequest.h create mode 100644 lto/include/alibabacloud/lto/model/GetEdgeTotalDeviceCountResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListAllAdminRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListAllAdminResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListAllBizChainContractRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListAllBizChainContractResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListAllBizChainRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListAllBizChainResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListAllDeviceGroupRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListAllDeviceGroupResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListAllMemberRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListAllMemberResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListAllPrivacyAlgorithmRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListAllPrivacyAlgorithmResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListAllPrivacyRuleRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListAllPrivacyRuleResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListAllProductKeyRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListAllProductKeyResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListAllSystemContractRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListAllSystemContractResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListBaaSAntChainConsortiumRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListBaaSAntChainConsortiumResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListBaaSAntChainPeerRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListBaaSAntChainPeerResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListBaaSAntChainRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListBaaSAntChainResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListBaaSFabricChannelRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListBaaSFabricChannelResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListBaaSFabricConsortiumRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListBaaSFabricConsortiumResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListBaaSFabricOrganizationRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListBaaSFabricOrganizationResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListBizChainDataRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListBizChainDataResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListBizChainRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListBizChainResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListDeviceGroupAuthorizedBizChainRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListDeviceGroupAuthorizedBizChainResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListDeviceGroupRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListDeviceGroupResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListDeviceRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListDeviceResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListEdgeDeviceGroupRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListEdgeDeviceGroupResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListEdgeDeviceRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListEdgeDeviceResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListMemberAccessRecordRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListMemberAccessRecordResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListMemberAuthorizedBizChainRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListMemberAuthorizedBizChainResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListMemberRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListMemberResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListPrivacyRuleRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListPrivacyRuleResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListPrivacyRuleSharedMemberRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListPrivacyRuleSharedMemberResult.h create mode 100644 lto/include/alibabacloud/lto/model/ListRouteRuleRequest.h create mode 100644 lto/include/alibabacloud/lto/model/ListRouteRuleResult.h create mode 100644 lto/include/alibabacloud/lto/model/QueryBlockchainDataRequest.h create mode 100644 lto/include/alibabacloud/lto/model/QueryBlockchainDataResult.h create mode 100644 lto/include/alibabacloud/lto/model/QueryBlockchainMetadataRequest.h create mode 100644 lto/include/alibabacloud/lto/model/QueryBlockchainMetadataResult.h create mode 100644 lto/include/alibabacloud/lto/model/SharePrivacyRuleRequest.h create mode 100644 lto/include/alibabacloud/lto/model/SharePrivacyRuleResult.h create mode 100644 lto/include/alibabacloud/lto/model/UnFreezeMemberRequest.h create mode 100644 lto/include/alibabacloud/lto/model/UnFreezeMemberResult.h create mode 100644 lto/include/alibabacloud/lto/model/UpdateBizChainRequest.h create mode 100644 lto/include/alibabacloud/lto/model/UpdateBizChainResult.h create mode 100644 lto/include/alibabacloud/lto/model/UpdateMemberRequest.h create mode 100644 lto/include/alibabacloud/lto/model/UpdateMemberResult.h create mode 100644 lto/include/alibabacloud/lto/model/UpdatePrivacyRuleRequest.h create mode 100644 lto/include/alibabacloud/lto/model/UpdatePrivacyRuleResult.h create mode 100644 lto/include/alibabacloud/lto/model/UpdateRouteRuleRequest.h create mode 100644 lto/include/alibabacloud/lto/model/UpdateRouteRuleResult.h create mode 100644 lto/include/alibabacloud/lto/model/UploadIoTDataToBlockchainRequest.h create mode 100644 lto/include/alibabacloud/lto/model/UploadIoTDataToBlockchainResult.h create mode 100644 lto/src/LtoClient.cc create mode 100644 lto/src/model/AddBaaSAntChainBizChainRequest.cc create mode 100644 lto/src/model/AddBaaSAntChainBizChainResult.cc create mode 100644 lto/src/model/AddBaaSFabricBizChainRequest.cc create mode 100644 lto/src/model/AddBaaSFabricBizChainResult.cc create mode 100644 lto/src/model/AddBsnFabricBizChainRequest.cc create mode 100644 lto/src/model/AddBsnFabricBizChainResult.cc create mode 100644 lto/src/model/AddDeviceGroupRequest.cc create mode 100644 lto/src/model/AddDeviceGroupResult.cc create mode 100644 lto/src/model/AddMemberRequest.cc create mode 100644 lto/src/model/AddMemberResult.cc create mode 100644 lto/src/model/AddPrivacyRuleRequest.cc create mode 100644 lto/src/model/AddPrivacyRuleResult.cc create mode 100644 lto/src/model/AddRouteRuleRequest.cc create mode 100644 lto/src/model/AddRouteRuleResult.cc create mode 100644 lto/src/model/AgreeMemberAccessRequest.cc create mode 100644 lto/src/model/AgreeMemberAccessResult.cc create mode 100644 lto/src/model/AuthorizeBaaSRequest.cc create mode 100644 lto/src/model/AuthorizeBaaSResult.cc create mode 100644 lto/src/model/AuthorizeDeviceGroupBizChainRequest.cc create mode 100644 lto/src/model/AuthorizeDeviceGroupBizChainResult.cc create mode 100644 lto/src/model/AuthorizeMemberBizChainRequest.cc create mode 100644 lto/src/model/AuthorizeMemberBizChainResult.cc create mode 100644 lto/src/model/DeletePrivacyRuleRequest.cc create mode 100644 lto/src/model/DeletePrivacyRuleResult.cc create mode 100644 lto/src/model/DeleteRouteRuleRequest.cc create mode 100644 lto/src/model/DeleteRouteRuleResult.cc create mode 100644 lto/src/model/DeniedMemberAccessRequest.cc create mode 100644 lto/src/model/DeniedMemberAccessResult.cc create mode 100644 lto/src/model/DescribeAccountRoleRequest.cc create mode 100644 lto/src/model/DescribeAccountRoleResult.cc create mode 100644 lto/src/model/DescribeAdminInfoRequest.cc create mode 100644 lto/src/model/DescribeAdminInfoResult.cc create mode 100644 lto/src/model/DescribeBizChainStatInfoRequest.cc create mode 100644 lto/src/model/DescribeBizChainStatInfoResult.cc create mode 100644 lto/src/model/DescribeDashboardApiInfoRequest.cc create mode 100644 lto/src/model/DescribeDashboardApiInfoResult.cc create mode 100644 lto/src/model/DescribeDashboardBaseInfoRequest.cc create mode 100644 lto/src/model/DescribeDashboardBaseInfoResult.cc create mode 100644 lto/src/model/DescribeDashboardDeviceInfoRequest.cc create mode 100644 lto/src/model/DescribeDashboardDeviceInfoResult.cc create mode 100644 lto/src/model/DescribeDashboardMemberApiInfoRequest.cc create mode 100644 lto/src/model/DescribeDashboardMemberApiInfoResult.cc create mode 100644 lto/src/model/DescribeDashboardMemberDeviceInfoRequest.cc create mode 100644 lto/src/model/DescribeDashboardMemberDeviceInfoResult.cc create mode 100644 lto/src/model/DescribeDeviceInfoRequest.cc create mode 100644 lto/src/model/DescribeDeviceInfoResult.cc create mode 100644 lto/src/model/DescribeEdgeStatInfoRequest.cc create mode 100644 lto/src/model/DescribeEdgeStatInfoResult.cc create mode 100644 lto/src/model/DescribeMemberBizChainStatInfoRequest.cc create mode 100644 lto/src/model/DescribeMemberBizChainStatInfoResult.cc create mode 100644 lto/src/model/DescribeMemberStatInfoRequest.cc create mode 100644 lto/src/model/DescribeMemberStatInfoResult.cc create mode 100644 lto/src/model/DescribeMemberTotalStatInfoRequest.cc create mode 100644 lto/src/model/DescribeMemberTotalStatInfoResult.cc create mode 100644 lto/src/model/DescribePackgeInfoRequest.cc create mode 100644 lto/src/model/DescribePackgeInfoResult.cc create mode 100644 lto/src/model/DescribeStatDeviceInfoRequest.cc create mode 100644 lto/src/model/DescribeStatDeviceInfoResult.cc create mode 100644 lto/src/model/DescribeStatMemberDeviceInfoRequest.cc create mode 100644 lto/src/model/DescribeStatMemberDeviceInfoResult.cc create mode 100644 lto/src/model/DescribeTotalStatInfoRequest.cc create mode 100644 lto/src/model/DescribeTotalStatInfoResult.cc create mode 100644 lto/src/model/DisableDeviceGroupRequest.cc create mode 100644 lto/src/model/DisableDeviceGroupResult.cc create mode 100644 lto/src/model/DisableDeviceRequest.cc create mode 100644 lto/src/model/DisableDeviceResult.cc create mode 100644 lto/src/model/DownloadPrivacyKeyRequest.cc create mode 100644 lto/src/model/DownloadPrivacyKeyResult.cc create mode 100644 lto/src/model/EnableDeviceGroupRequest.cc create mode 100644 lto/src/model/EnableDeviceGroupResult.cc create mode 100644 lto/src/model/EnableDeviceRequest.cc create mode 100644 lto/src/model/EnableDeviceResult.cc create mode 100644 lto/src/model/FreezeMemberRequest.cc create mode 100644 lto/src/model/FreezeMemberResult.cc create mode 100644 lto/src/model/GetEdgeTotalDeviceCountRequest.cc create mode 100644 lto/src/model/GetEdgeTotalDeviceCountResult.cc create mode 100644 lto/src/model/ListAllAdminRequest.cc create mode 100644 lto/src/model/ListAllAdminResult.cc create mode 100644 lto/src/model/ListAllBizChainContractRequest.cc create mode 100644 lto/src/model/ListAllBizChainContractResult.cc create mode 100644 lto/src/model/ListAllBizChainRequest.cc create mode 100644 lto/src/model/ListAllBizChainResult.cc create mode 100644 lto/src/model/ListAllDeviceGroupRequest.cc create mode 100644 lto/src/model/ListAllDeviceGroupResult.cc create mode 100644 lto/src/model/ListAllMemberRequest.cc create mode 100644 lto/src/model/ListAllMemberResult.cc create mode 100644 lto/src/model/ListAllPrivacyAlgorithmRequest.cc create mode 100644 lto/src/model/ListAllPrivacyAlgorithmResult.cc create mode 100644 lto/src/model/ListAllPrivacyRuleRequest.cc create mode 100644 lto/src/model/ListAllPrivacyRuleResult.cc create mode 100644 lto/src/model/ListAllProductKeyRequest.cc create mode 100644 lto/src/model/ListAllProductKeyResult.cc create mode 100644 lto/src/model/ListAllSystemContractRequest.cc create mode 100644 lto/src/model/ListAllSystemContractResult.cc create mode 100644 lto/src/model/ListBaaSAntChainConsortiumRequest.cc create mode 100644 lto/src/model/ListBaaSAntChainConsortiumResult.cc create mode 100644 lto/src/model/ListBaaSAntChainPeerRequest.cc create mode 100644 lto/src/model/ListBaaSAntChainPeerResult.cc create mode 100644 lto/src/model/ListBaaSAntChainRequest.cc create mode 100644 lto/src/model/ListBaaSAntChainResult.cc create mode 100644 lto/src/model/ListBaaSFabricChannelRequest.cc create mode 100644 lto/src/model/ListBaaSFabricChannelResult.cc create mode 100644 lto/src/model/ListBaaSFabricConsortiumRequest.cc create mode 100644 lto/src/model/ListBaaSFabricConsortiumResult.cc create mode 100644 lto/src/model/ListBaaSFabricOrganizationRequest.cc create mode 100644 lto/src/model/ListBaaSFabricOrganizationResult.cc create mode 100644 lto/src/model/ListBizChainDataRequest.cc create mode 100644 lto/src/model/ListBizChainDataResult.cc create mode 100644 lto/src/model/ListBizChainRequest.cc create mode 100644 lto/src/model/ListBizChainResult.cc create mode 100644 lto/src/model/ListDeviceGroupAuthorizedBizChainRequest.cc create mode 100644 lto/src/model/ListDeviceGroupAuthorizedBizChainResult.cc create mode 100644 lto/src/model/ListDeviceGroupRequest.cc create mode 100644 lto/src/model/ListDeviceGroupResult.cc create mode 100644 lto/src/model/ListDeviceRequest.cc create mode 100644 lto/src/model/ListDeviceResult.cc create mode 100644 lto/src/model/ListEdgeDeviceGroupRequest.cc create mode 100644 lto/src/model/ListEdgeDeviceGroupResult.cc create mode 100644 lto/src/model/ListEdgeDeviceRequest.cc create mode 100644 lto/src/model/ListEdgeDeviceResult.cc create mode 100644 lto/src/model/ListMemberAccessRecordRequest.cc create mode 100644 lto/src/model/ListMemberAccessRecordResult.cc create mode 100644 lto/src/model/ListMemberAuthorizedBizChainRequest.cc create mode 100644 lto/src/model/ListMemberAuthorizedBizChainResult.cc create mode 100644 lto/src/model/ListMemberRequest.cc create mode 100644 lto/src/model/ListMemberResult.cc create mode 100644 lto/src/model/ListPrivacyRuleRequest.cc create mode 100644 lto/src/model/ListPrivacyRuleResult.cc create mode 100644 lto/src/model/ListPrivacyRuleSharedMemberRequest.cc create mode 100644 lto/src/model/ListPrivacyRuleSharedMemberResult.cc create mode 100644 lto/src/model/ListRouteRuleRequest.cc create mode 100644 lto/src/model/ListRouteRuleResult.cc create mode 100644 lto/src/model/QueryBlockchainDataRequest.cc create mode 100644 lto/src/model/QueryBlockchainDataResult.cc create mode 100644 lto/src/model/QueryBlockchainMetadataRequest.cc create mode 100644 lto/src/model/QueryBlockchainMetadataResult.cc create mode 100644 lto/src/model/SharePrivacyRuleRequest.cc create mode 100644 lto/src/model/SharePrivacyRuleResult.cc create mode 100644 lto/src/model/UnFreezeMemberRequest.cc create mode 100644 lto/src/model/UnFreezeMemberResult.cc create mode 100644 lto/src/model/UpdateBizChainRequest.cc create mode 100644 lto/src/model/UpdateBizChainResult.cc create mode 100644 lto/src/model/UpdateMemberRequest.cc create mode 100644 lto/src/model/UpdateMemberResult.cc create mode 100644 lto/src/model/UpdatePrivacyRuleRequest.cc create mode 100644 lto/src/model/UpdatePrivacyRuleResult.cc create mode 100644 lto/src/model/UpdateRouteRuleRequest.cc create mode 100644 lto/src/model/UpdateRouteRuleResult.cc create mode 100644 lto/src/model/UploadIoTDataToBlockchainRequest.cc create mode 100644 lto/src/model/UploadIoTDataToBlockchainResult.cc diff --git a/VERSION b/VERSION index eaee6faeb..dc773d0b4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1478 \ No newline at end of file +1.36.1479 \ No newline at end of file diff --git a/lto/CMakeLists.txt b/lto/CMakeLists.txt new file mode 100644 index 000000000..e056b5306 --- /dev/null +++ b/lto/CMakeLists.txt @@ -0,0 +1,382 @@ +# +# 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(lto_public_header + include/alibabacloud/lto/LtoClient.h + include/alibabacloud/lto/LtoExport.h ) + +set(lto_public_header_model + include/alibabacloud/lto/model/AddBaaSAntChainBizChainRequest.h + include/alibabacloud/lto/model/AddBaaSAntChainBizChainResult.h + include/alibabacloud/lto/model/AddBaaSFabricBizChainRequest.h + include/alibabacloud/lto/model/AddBaaSFabricBizChainResult.h + include/alibabacloud/lto/model/AddBsnFabricBizChainRequest.h + include/alibabacloud/lto/model/AddBsnFabricBizChainResult.h + include/alibabacloud/lto/model/AddDeviceGroupRequest.h + include/alibabacloud/lto/model/AddDeviceGroupResult.h + include/alibabacloud/lto/model/AddMemberRequest.h + include/alibabacloud/lto/model/AddMemberResult.h + include/alibabacloud/lto/model/AddPrivacyRuleRequest.h + include/alibabacloud/lto/model/AddPrivacyRuleResult.h + include/alibabacloud/lto/model/AddRouteRuleRequest.h + include/alibabacloud/lto/model/AddRouteRuleResult.h + include/alibabacloud/lto/model/AgreeMemberAccessRequest.h + include/alibabacloud/lto/model/AgreeMemberAccessResult.h + include/alibabacloud/lto/model/AuthorizeBaaSRequest.h + include/alibabacloud/lto/model/AuthorizeBaaSResult.h + include/alibabacloud/lto/model/AuthorizeDeviceGroupBizChainRequest.h + include/alibabacloud/lto/model/AuthorizeDeviceGroupBizChainResult.h + include/alibabacloud/lto/model/AuthorizeMemberBizChainRequest.h + include/alibabacloud/lto/model/AuthorizeMemberBizChainResult.h + include/alibabacloud/lto/model/DeletePrivacyRuleRequest.h + include/alibabacloud/lto/model/DeletePrivacyRuleResult.h + include/alibabacloud/lto/model/DeleteRouteRuleRequest.h + include/alibabacloud/lto/model/DeleteRouteRuleResult.h + include/alibabacloud/lto/model/DeniedMemberAccessRequest.h + include/alibabacloud/lto/model/DeniedMemberAccessResult.h + include/alibabacloud/lto/model/DescribeAccountRoleRequest.h + include/alibabacloud/lto/model/DescribeAccountRoleResult.h + include/alibabacloud/lto/model/DescribeAdminInfoRequest.h + include/alibabacloud/lto/model/DescribeAdminInfoResult.h + include/alibabacloud/lto/model/DescribeBizChainStatInfoRequest.h + include/alibabacloud/lto/model/DescribeBizChainStatInfoResult.h + include/alibabacloud/lto/model/DescribeDashboardApiInfoRequest.h + include/alibabacloud/lto/model/DescribeDashboardApiInfoResult.h + include/alibabacloud/lto/model/DescribeDashboardBaseInfoRequest.h + include/alibabacloud/lto/model/DescribeDashboardBaseInfoResult.h + include/alibabacloud/lto/model/DescribeDashboardDeviceInfoRequest.h + include/alibabacloud/lto/model/DescribeDashboardDeviceInfoResult.h + include/alibabacloud/lto/model/DescribeDashboardMemberApiInfoRequest.h + include/alibabacloud/lto/model/DescribeDashboardMemberApiInfoResult.h + include/alibabacloud/lto/model/DescribeDashboardMemberDeviceInfoRequest.h + include/alibabacloud/lto/model/DescribeDashboardMemberDeviceInfoResult.h + include/alibabacloud/lto/model/DescribeDeviceInfoRequest.h + include/alibabacloud/lto/model/DescribeDeviceInfoResult.h + include/alibabacloud/lto/model/DescribeEdgeStatInfoRequest.h + include/alibabacloud/lto/model/DescribeEdgeStatInfoResult.h + include/alibabacloud/lto/model/DescribeMemberBizChainStatInfoRequest.h + include/alibabacloud/lto/model/DescribeMemberBizChainStatInfoResult.h + include/alibabacloud/lto/model/DescribeMemberStatInfoRequest.h + include/alibabacloud/lto/model/DescribeMemberStatInfoResult.h + include/alibabacloud/lto/model/DescribeMemberTotalStatInfoRequest.h + include/alibabacloud/lto/model/DescribeMemberTotalStatInfoResult.h + include/alibabacloud/lto/model/DescribePackgeInfoRequest.h + include/alibabacloud/lto/model/DescribePackgeInfoResult.h + include/alibabacloud/lto/model/DescribeStatDeviceInfoRequest.h + include/alibabacloud/lto/model/DescribeStatDeviceInfoResult.h + include/alibabacloud/lto/model/DescribeStatMemberDeviceInfoRequest.h + include/alibabacloud/lto/model/DescribeStatMemberDeviceInfoResult.h + include/alibabacloud/lto/model/DescribeTotalStatInfoRequest.h + include/alibabacloud/lto/model/DescribeTotalStatInfoResult.h + include/alibabacloud/lto/model/DisableDeviceRequest.h + include/alibabacloud/lto/model/DisableDeviceResult.h + include/alibabacloud/lto/model/DisableDeviceGroupRequest.h + include/alibabacloud/lto/model/DisableDeviceGroupResult.h + include/alibabacloud/lto/model/DownloadPrivacyKeyRequest.h + include/alibabacloud/lto/model/DownloadPrivacyKeyResult.h + include/alibabacloud/lto/model/EnableDeviceRequest.h + include/alibabacloud/lto/model/EnableDeviceResult.h + include/alibabacloud/lto/model/EnableDeviceGroupRequest.h + include/alibabacloud/lto/model/EnableDeviceGroupResult.h + include/alibabacloud/lto/model/FreezeMemberRequest.h + include/alibabacloud/lto/model/FreezeMemberResult.h + include/alibabacloud/lto/model/GetEdgeTotalDeviceCountRequest.h + include/alibabacloud/lto/model/GetEdgeTotalDeviceCountResult.h + include/alibabacloud/lto/model/ListAllAdminRequest.h + include/alibabacloud/lto/model/ListAllAdminResult.h + include/alibabacloud/lto/model/ListAllBizChainRequest.h + include/alibabacloud/lto/model/ListAllBizChainResult.h + include/alibabacloud/lto/model/ListAllBizChainContractRequest.h + include/alibabacloud/lto/model/ListAllBizChainContractResult.h + include/alibabacloud/lto/model/ListAllDeviceGroupRequest.h + include/alibabacloud/lto/model/ListAllDeviceGroupResult.h + include/alibabacloud/lto/model/ListAllMemberRequest.h + include/alibabacloud/lto/model/ListAllMemberResult.h + include/alibabacloud/lto/model/ListAllPrivacyAlgorithmRequest.h + include/alibabacloud/lto/model/ListAllPrivacyAlgorithmResult.h + include/alibabacloud/lto/model/ListAllPrivacyRuleRequest.h + include/alibabacloud/lto/model/ListAllPrivacyRuleResult.h + include/alibabacloud/lto/model/ListAllProductKeyRequest.h + include/alibabacloud/lto/model/ListAllProductKeyResult.h + include/alibabacloud/lto/model/ListAllSystemContractRequest.h + include/alibabacloud/lto/model/ListAllSystemContractResult.h + include/alibabacloud/lto/model/ListBaaSAntChainRequest.h + include/alibabacloud/lto/model/ListBaaSAntChainResult.h + include/alibabacloud/lto/model/ListBaaSAntChainConsortiumRequest.h + include/alibabacloud/lto/model/ListBaaSAntChainConsortiumResult.h + include/alibabacloud/lto/model/ListBaaSAntChainPeerRequest.h + include/alibabacloud/lto/model/ListBaaSAntChainPeerResult.h + include/alibabacloud/lto/model/ListBaaSFabricChannelRequest.h + include/alibabacloud/lto/model/ListBaaSFabricChannelResult.h + include/alibabacloud/lto/model/ListBaaSFabricConsortiumRequest.h + include/alibabacloud/lto/model/ListBaaSFabricConsortiumResult.h + include/alibabacloud/lto/model/ListBaaSFabricOrganizationRequest.h + include/alibabacloud/lto/model/ListBaaSFabricOrganizationResult.h + include/alibabacloud/lto/model/ListBizChainRequest.h + include/alibabacloud/lto/model/ListBizChainResult.h + include/alibabacloud/lto/model/ListBizChainDataRequest.h + include/alibabacloud/lto/model/ListBizChainDataResult.h + include/alibabacloud/lto/model/ListDeviceRequest.h + include/alibabacloud/lto/model/ListDeviceResult.h + include/alibabacloud/lto/model/ListDeviceGroupRequest.h + include/alibabacloud/lto/model/ListDeviceGroupResult.h + include/alibabacloud/lto/model/ListDeviceGroupAuthorizedBizChainRequest.h + include/alibabacloud/lto/model/ListDeviceGroupAuthorizedBizChainResult.h + include/alibabacloud/lto/model/ListEdgeDeviceRequest.h + include/alibabacloud/lto/model/ListEdgeDeviceResult.h + include/alibabacloud/lto/model/ListEdgeDeviceGroupRequest.h + include/alibabacloud/lto/model/ListEdgeDeviceGroupResult.h + include/alibabacloud/lto/model/ListMemberRequest.h + include/alibabacloud/lto/model/ListMemberResult.h + include/alibabacloud/lto/model/ListMemberAccessRecordRequest.h + include/alibabacloud/lto/model/ListMemberAccessRecordResult.h + include/alibabacloud/lto/model/ListMemberAuthorizedBizChainRequest.h + include/alibabacloud/lto/model/ListMemberAuthorizedBizChainResult.h + include/alibabacloud/lto/model/ListPrivacyRuleRequest.h + include/alibabacloud/lto/model/ListPrivacyRuleResult.h + include/alibabacloud/lto/model/ListPrivacyRuleSharedMemberRequest.h + include/alibabacloud/lto/model/ListPrivacyRuleSharedMemberResult.h + include/alibabacloud/lto/model/ListRouteRuleRequest.h + include/alibabacloud/lto/model/ListRouteRuleResult.h + include/alibabacloud/lto/model/QueryBlockchainDataRequest.h + include/alibabacloud/lto/model/QueryBlockchainDataResult.h + include/alibabacloud/lto/model/QueryBlockchainMetadataRequest.h + include/alibabacloud/lto/model/QueryBlockchainMetadataResult.h + include/alibabacloud/lto/model/SharePrivacyRuleRequest.h + include/alibabacloud/lto/model/SharePrivacyRuleResult.h + include/alibabacloud/lto/model/UnFreezeMemberRequest.h + include/alibabacloud/lto/model/UnFreezeMemberResult.h + include/alibabacloud/lto/model/UpdateBizChainRequest.h + include/alibabacloud/lto/model/UpdateBizChainResult.h + include/alibabacloud/lto/model/UpdateMemberRequest.h + include/alibabacloud/lto/model/UpdateMemberResult.h + include/alibabacloud/lto/model/UpdatePrivacyRuleRequest.h + include/alibabacloud/lto/model/UpdatePrivacyRuleResult.h + include/alibabacloud/lto/model/UpdateRouteRuleRequest.h + include/alibabacloud/lto/model/UpdateRouteRuleResult.h + include/alibabacloud/lto/model/UploadIoTDataToBlockchainRequest.h + include/alibabacloud/lto/model/UploadIoTDataToBlockchainResult.h ) + +set(lto_src + src/LtoClient.cc + src/model/AddBaaSAntChainBizChainRequest.cc + src/model/AddBaaSAntChainBizChainResult.cc + src/model/AddBaaSFabricBizChainRequest.cc + src/model/AddBaaSFabricBizChainResult.cc + src/model/AddBsnFabricBizChainRequest.cc + src/model/AddBsnFabricBizChainResult.cc + src/model/AddDeviceGroupRequest.cc + src/model/AddDeviceGroupResult.cc + src/model/AddMemberRequest.cc + src/model/AddMemberResult.cc + src/model/AddPrivacyRuleRequest.cc + src/model/AddPrivacyRuleResult.cc + src/model/AddRouteRuleRequest.cc + src/model/AddRouteRuleResult.cc + src/model/AgreeMemberAccessRequest.cc + src/model/AgreeMemberAccessResult.cc + src/model/AuthorizeBaaSRequest.cc + src/model/AuthorizeBaaSResult.cc + src/model/AuthorizeDeviceGroupBizChainRequest.cc + src/model/AuthorizeDeviceGroupBizChainResult.cc + src/model/AuthorizeMemberBizChainRequest.cc + src/model/AuthorizeMemberBizChainResult.cc + src/model/DeletePrivacyRuleRequest.cc + src/model/DeletePrivacyRuleResult.cc + src/model/DeleteRouteRuleRequest.cc + src/model/DeleteRouteRuleResult.cc + src/model/DeniedMemberAccessRequest.cc + src/model/DeniedMemberAccessResult.cc + src/model/DescribeAccountRoleRequest.cc + src/model/DescribeAccountRoleResult.cc + src/model/DescribeAdminInfoRequest.cc + src/model/DescribeAdminInfoResult.cc + src/model/DescribeBizChainStatInfoRequest.cc + src/model/DescribeBizChainStatInfoResult.cc + src/model/DescribeDashboardApiInfoRequest.cc + src/model/DescribeDashboardApiInfoResult.cc + src/model/DescribeDashboardBaseInfoRequest.cc + src/model/DescribeDashboardBaseInfoResult.cc + src/model/DescribeDashboardDeviceInfoRequest.cc + src/model/DescribeDashboardDeviceInfoResult.cc + src/model/DescribeDashboardMemberApiInfoRequest.cc + src/model/DescribeDashboardMemberApiInfoResult.cc + src/model/DescribeDashboardMemberDeviceInfoRequest.cc + src/model/DescribeDashboardMemberDeviceInfoResult.cc + src/model/DescribeDeviceInfoRequest.cc + src/model/DescribeDeviceInfoResult.cc + src/model/DescribeEdgeStatInfoRequest.cc + src/model/DescribeEdgeStatInfoResult.cc + src/model/DescribeMemberBizChainStatInfoRequest.cc + src/model/DescribeMemberBizChainStatInfoResult.cc + src/model/DescribeMemberStatInfoRequest.cc + src/model/DescribeMemberStatInfoResult.cc + src/model/DescribeMemberTotalStatInfoRequest.cc + src/model/DescribeMemberTotalStatInfoResult.cc + src/model/DescribePackgeInfoRequest.cc + src/model/DescribePackgeInfoResult.cc + src/model/DescribeStatDeviceInfoRequest.cc + src/model/DescribeStatDeviceInfoResult.cc + src/model/DescribeStatMemberDeviceInfoRequest.cc + src/model/DescribeStatMemberDeviceInfoResult.cc + src/model/DescribeTotalStatInfoRequest.cc + src/model/DescribeTotalStatInfoResult.cc + src/model/DisableDeviceRequest.cc + src/model/DisableDeviceResult.cc + src/model/DisableDeviceGroupRequest.cc + src/model/DisableDeviceGroupResult.cc + src/model/DownloadPrivacyKeyRequest.cc + src/model/DownloadPrivacyKeyResult.cc + src/model/EnableDeviceRequest.cc + src/model/EnableDeviceResult.cc + src/model/EnableDeviceGroupRequest.cc + src/model/EnableDeviceGroupResult.cc + src/model/FreezeMemberRequest.cc + src/model/FreezeMemberResult.cc + src/model/GetEdgeTotalDeviceCountRequest.cc + src/model/GetEdgeTotalDeviceCountResult.cc + src/model/ListAllAdminRequest.cc + src/model/ListAllAdminResult.cc + src/model/ListAllBizChainRequest.cc + src/model/ListAllBizChainResult.cc + src/model/ListAllBizChainContractRequest.cc + src/model/ListAllBizChainContractResult.cc + src/model/ListAllDeviceGroupRequest.cc + src/model/ListAllDeviceGroupResult.cc + src/model/ListAllMemberRequest.cc + src/model/ListAllMemberResult.cc + src/model/ListAllPrivacyAlgorithmRequest.cc + src/model/ListAllPrivacyAlgorithmResult.cc + src/model/ListAllPrivacyRuleRequest.cc + src/model/ListAllPrivacyRuleResult.cc + src/model/ListAllProductKeyRequest.cc + src/model/ListAllProductKeyResult.cc + src/model/ListAllSystemContractRequest.cc + src/model/ListAllSystemContractResult.cc + src/model/ListBaaSAntChainRequest.cc + src/model/ListBaaSAntChainResult.cc + src/model/ListBaaSAntChainConsortiumRequest.cc + src/model/ListBaaSAntChainConsortiumResult.cc + src/model/ListBaaSAntChainPeerRequest.cc + src/model/ListBaaSAntChainPeerResult.cc + src/model/ListBaaSFabricChannelRequest.cc + src/model/ListBaaSFabricChannelResult.cc + src/model/ListBaaSFabricConsortiumRequest.cc + src/model/ListBaaSFabricConsortiumResult.cc + src/model/ListBaaSFabricOrganizationRequest.cc + src/model/ListBaaSFabricOrganizationResult.cc + src/model/ListBizChainRequest.cc + src/model/ListBizChainResult.cc + src/model/ListBizChainDataRequest.cc + src/model/ListBizChainDataResult.cc + src/model/ListDeviceRequest.cc + src/model/ListDeviceResult.cc + src/model/ListDeviceGroupRequest.cc + src/model/ListDeviceGroupResult.cc + src/model/ListDeviceGroupAuthorizedBizChainRequest.cc + src/model/ListDeviceGroupAuthorizedBizChainResult.cc + src/model/ListEdgeDeviceRequest.cc + src/model/ListEdgeDeviceResult.cc + src/model/ListEdgeDeviceGroupRequest.cc + src/model/ListEdgeDeviceGroupResult.cc + src/model/ListMemberRequest.cc + src/model/ListMemberResult.cc + src/model/ListMemberAccessRecordRequest.cc + src/model/ListMemberAccessRecordResult.cc + src/model/ListMemberAuthorizedBizChainRequest.cc + src/model/ListMemberAuthorizedBizChainResult.cc + src/model/ListPrivacyRuleRequest.cc + src/model/ListPrivacyRuleResult.cc + src/model/ListPrivacyRuleSharedMemberRequest.cc + src/model/ListPrivacyRuleSharedMemberResult.cc + src/model/ListRouteRuleRequest.cc + src/model/ListRouteRuleResult.cc + src/model/QueryBlockchainDataRequest.cc + src/model/QueryBlockchainDataResult.cc + src/model/QueryBlockchainMetadataRequest.cc + src/model/QueryBlockchainMetadataResult.cc + src/model/SharePrivacyRuleRequest.cc + src/model/SharePrivacyRuleResult.cc + src/model/UnFreezeMemberRequest.cc + src/model/UnFreezeMemberResult.cc + src/model/UpdateBizChainRequest.cc + src/model/UpdateBizChainResult.cc + src/model/UpdateMemberRequest.cc + src/model/UpdateMemberResult.cc + src/model/UpdatePrivacyRuleRequest.cc + src/model/UpdatePrivacyRuleResult.cc + src/model/UpdateRouteRuleRequest.cc + src/model/UpdateRouteRuleResult.cc + src/model/UploadIoTDataToBlockchainRequest.cc + src/model/UploadIoTDataToBlockchainResult.cc ) + +add_library(lto ${LIB_TYPE} + ${lto_public_header} + ${lto_public_header_model} + ${lto_src}) + +set_target_properties(lto + 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}lto + ) + +if(${LIB_TYPE} STREQUAL "SHARED") + set_target_properties(lto + PROPERTIES + DEFINE_SYMBOL ALIBABACLOUD_LTO_LIBRARY) +endif() + +target_include_directories(lto + PRIVATE include + ${CMAKE_SOURCE_DIR}/core/include + ) +target_link_libraries(lto + core) + +if(CMAKE_HOST_WIN32) + ExternalProject_Get_Property(jsoncpp INSTALL_DIR) + set(jsoncpp_install_dir ${INSTALL_DIR}) + add_dependencies(lto + jsoncpp) + target_include_directories(lto + PRIVATE ${jsoncpp_install_dir}/include) + target_link_libraries(lto + ${jsoncpp_install_dir}/lib/jsoncpp.lib) + set_target_properties(lto + PROPERTIES + COMPILE_OPTIONS "/bigobj") +else() + target_include_directories(lto + PRIVATE /usr/include/jsoncpp) + target_link_libraries(lto + jsoncpp) +endif() + +install(FILES ${lto_public_header} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/lto) +install(FILES ${lto_public_header_model} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/lto/model) +install(TARGETS lto + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + ) \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/LtoClient.h b/lto/include/alibabacloud/lto/LtoClient.h new file mode 100644 index 000000000..7c74f12a2 --- /dev/null +++ b/lto/include/alibabacloud/lto/LtoClient.h @@ -0,0 +1,646 @@ +/* + * 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_LTO_LTOCLIENT_H_ +#define ALIBABACLOUD_LTO_LTOCLIENT_H_ + +#include +#include +#include +#include +#include "LtoExport.h" +#include "model/AddBaaSAntChainBizChainRequest.h" +#include "model/AddBaaSAntChainBizChainResult.h" +#include "model/AddBaaSFabricBizChainRequest.h" +#include "model/AddBaaSFabricBizChainResult.h" +#include "model/AddBsnFabricBizChainRequest.h" +#include "model/AddBsnFabricBizChainResult.h" +#include "model/AddDeviceGroupRequest.h" +#include "model/AddDeviceGroupResult.h" +#include "model/AddMemberRequest.h" +#include "model/AddMemberResult.h" +#include "model/AddPrivacyRuleRequest.h" +#include "model/AddPrivacyRuleResult.h" +#include "model/AddRouteRuleRequest.h" +#include "model/AddRouteRuleResult.h" +#include "model/AgreeMemberAccessRequest.h" +#include "model/AgreeMemberAccessResult.h" +#include "model/AuthorizeBaaSRequest.h" +#include "model/AuthorizeBaaSResult.h" +#include "model/AuthorizeDeviceGroupBizChainRequest.h" +#include "model/AuthorizeDeviceGroupBizChainResult.h" +#include "model/AuthorizeMemberBizChainRequest.h" +#include "model/AuthorizeMemberBizChainResult.h" +#include "model/DeletePrivacyRuleRequest.h" +#include "model/DeletePrivacyRuleResult.h" +#include "model/DeleteRouteRuleRequest.h" +#include "model/DeleteRouteRuleResult.h" +#include "model/DeniedMemberAccessRequest.h" +#include "model/DeniedMemberAccessResult.h" +#include "model/DescribeAccountRoleRequest.h" +#include "model/DescribeAccountRoleResult.h" +#include "model/DescribeAdminInfoRequest.h" +#include "model/DescribeAdminInfoResult.h" +#include "model/DescribeBizChainStatInfoRequest.h" +#include "model/DescribeBizChainStatInfoResult.h" +#include "model/DescribeDashboardApiInfoRequest.h" +#include "model/DescribeDashboardApiInfoResult.h" +#include "model/DescribeDashboardBaseInfoRequest.h" +#include "model/DescribeDashboardBaseInfoResult.h" +#include "model/DescribeDashboardDeviceInfoRequest.h" +#include "model/DescribeDashboardDeviceInfoResult.h" +#include "model/DescribeDashboardMemberApiInfoRequest.h" +#include "model/DescribeDashboardMemberApiInfoResult.h" +#include "model/DescribeDashboardMemberDeviceInfoRequest.h" +#include "model/DescribeDashboardMemberDeviceInfoResult.h" +#include "model/DescribeDeviceInfoRequest.h" +#include "model/DescribeDeviceInfoResult.h" +#include "model/DescribeEdgeStatInfoRequest.h" +#include "model/DescribeEdgeStatInfoResult.h" +#include "model/DescribeMemberBizChainStatInfoRequest.h" +#include "model/DescribeMemberBizChainStatInfoResult.h" +#include "model/DescribeMemberStatInfoRequest.h" +#include "model/DescribeMemberStatInfoResult.h" +#include "model/DescribeMemberTotalStatInfoRequest.h" +#include "model/DescribeMemberTotalStatInfoResult.h" +#include "model/DescribePackgeInfoRequest.h" +#include "model/DescribePackgeInfoResult.h" +#include "model/DescribeStatDeviceInfoRequest.h" +#include "model/DescribeStatDeviceInfoResult.h" +#include "model/DescribeStatMemberDeviceInfoRequest.h" +#include "model/DescribeStatMemberDeviceInfoResult.h" +#include "model/DescribeTotalStatInfoRequest.h" +#include "model/DescribeTotalStatInfoResult.h" +#include "model/DisableDeviceRequest.h" +#include "model/DisableDeviceResult.h" +#include "model/DisableDeviceGroupRequest.h" +#include "model/DisableDeviceGroupResult.h" +#include "model/DownloadPrivacyKeyRequest.h" +#include "model/DownloadPrivacyKeyResult.h" +#include "model/EnableDeviceRequest.h" +#include "model/EnableDeviceResult.h" +#include "model/EnableDeviceGroupRequest.h" +#include "model/EnableDeviceGroupResult.h" +#include "model/FreezeMemberRequest.h" +#include "model/FreezeMemberResult.h" +#include "model/GetEdgeTotalDeviceCountRequest.h" +#include "model/GetEdgeTotalDeviceCountResult.h" +#include "model/ListAllAdminRequest.h" +#include "model/ListAllAdminResult.h" +#include "model/ListAllBizChainRequest.h" +#include "model/ListAllBizChainResult.h" +#include "model/ListAllBizChainContractRequest.h" +#include "model/ListAllBizChainContractResult.h" +#include "model/ListAllDeviceGroupRequest.h" +#include "model/ListAllDeviceGroupResult.h" +#include "model/ListAllMemberRequest.h" +#include "model/ListAllMemberResult.h" +#include "model/ListAllPrivacyAlgorithmRequest.h" +#include "model/ListAllPrivacyAlgorithmResult.h" +#include "model/ListAllPrivacyRuleRequest.h" +#include "model/ListAllPrivacyRuleResult.h" +#include "model/ListAllProductKeyRequest.h" +#include "model/ListAllProductKeyResult.h" +#include "model/ListAllSystemContractRequest.h" +#include "model/ListAllSystemContractResult.h" +#include "model/ListBaaSAntChainRequest.h" +#include "model/ListBaaSAntChainResult.h" +#include "model/ListBaaSAntChainConsortiumRequest.h" +#include "model/ListBaaSAntChainConsortiumResult.h" +#include "model/ListBaaSAntChainPeerRequest.h" +#include "model/ListBaaSAntChainPeerResult.h" +#include "model/ListBaaSFabricChannelRequest.h" +#include "model/ListBaaSFabricChannelResult.h" +#include "model/ListBaaSFabricConsortiumRequest.h" +#include "model/ListBaaSFabricConsortiumResult.h" +#include "model/ListBaaSFabricOrganizationRequest.h" +#include "model/ListBaaSFabricOrganizationResult.h" +#include "model/ListBizChainRequest.h" +#include "model/ListBizChainResult.h" +#include "model/ListBizChainDataRequest.h" +#include "model/ListBizChainDataResult.h" +#include "model/ListDeviceRequest.h" +#include "model/ListDeviceResult.h" +#include "model/ListDeviceGroupRequest.h" +#include "model/ListDeviceGroupResult.h" +#include "model/ListDeviceGroupAuthorizedBizChainRequest.h" +#include "model/ListDeviceGroupAuthorizedBizChainResult.h" +#include "model/ListEdgeDeviceRequest.h" +#include "model/ListEdgeDeviceResult.h" +#include "model/ListEdgeDeviceGroupRequest.h" +#include "model/ListEdgeDeviceGroupResult.h" +#include "model/ListMemberRequest.h" +#include "model/ListMemberResult.h" +#include "model/ListMemberAccessRecordRequest.h" +#include "model/ListMemberAccessRecordResult.h" +#include "model/ListMemberAuthorizedBizChainRequest.h" +#include "model/ListMemberAuthorizedBizChainResult.h" +#include "model/ListPrivacyRuleRequest.h" +#include "model/ListPrivacyRuleResult.h" +#include "model/ListPrivacyRuleSharedMemberRequest.h" +#include "model/ListPrivacyRuleSharedMemberResult.h" +#include "model/ListRouteRuleRequest.h" +#include "model/ListRouteRuleResult.h" +#include "model/QueryBlockchainDataRequest.h" +#include "model/QueryBlockchainDataResult.h" +#include "model/QueryBlockchainMetadataRequest.h" +#include "model/QueryBlockchainMetadataResult.h" +#include "model/SharePrivacyRuleRequest.h" +#include "model/SharePrivacyRuleResult.h" +#include "model/UnFreezeMemberRequest.h" +#include "model/UnFreezeMemberResult.h" +#include "model/UpdateBizChainRequest.h" +#include "model/UpdateBizChainResult.h" +#include "model/UpdateMemberRequest.h" +#include "model/UpdateMemberResult.h" +#include "model/UpdatePrivacyRuleRequest.h" +#include "model/UpdatePrivacyRuleResult.h" +#include "model/UpdateRouteRuleRequest.h" +#include "model/UpdateRouteRuleResult.h" +#include "model/UploadIoTDataToBlockchainRequest.h" +#include "model/UploadIoTDataToBlockchainResult.h" + + +namespace AlibabaCloud +{ + namespace Lto + { + class ALIBABACLOUD_LTO_EXPORT LtoClient : public RpcServiceClient + { + public: + typedef Outcome AddBaaSAntChainBizChainOutcome; + typedef std::future AddBaaSAntChainBizChainOutcomeCallable; + typedef std::function&)> AddBaaSAntChainBizChainAsyncHandler; + typedef Outcome AddBaaSFabricBizChainOutcome; + typedef std::future AddBaaSFabricBizChainOutcomeCallable; + typedef std::function&)> AddBaaSFabricBizChainAsyncHandler; + typedef Outcome AddBsnFabricBizChainOutcome; + typedef std::future AddBsnFabricBizChainOutcomeCallable; + typedef std::function&)> AddBsnFabricBizChainAsyncHandler; + typedef Outcome AddDeviceGroupOutcome; + typedef std::future AddDeviceGroupOutcomeCallable; + typedef std::function&)> AddDeviceGroupAsyncHandler; + typedef Outcome AddMemberOutcome; + typedef std::future AddMemberOutcomeCallable; + typedef std::function&)> AddMemberAsyncHandler; + typedef Outcome AddPrivacyRuleOutcome; + typedef std::future AddPrivacyRuleOutcomeCallable; + typedef std::function&)> AddPrivacyRuleAsyncHandler; + typedef Outcome AddRouteRuleOutcome; + typedef std::future AddRouteRuleOutcomeCallable; + typedef std::function&)> AddRouteRuleAsyncHandler; + typedef Outcome AgreeMemberAccessOutcome; + typedef std::future AgreeMemberAccessOutcomeCallable; + typedef std::function&)> AgreeMemberAccessAsyncHandler; + typedef Outcome AuthorizeBaaSOutcome; + typedef std::future AuthorizeBaaSOutcomeCallable; + typedef std::function&)> AuthorizeBaaSAsyncHandler; + typedef Outcome AuthorizeDeviceGroupBizChainOutcome; + typedef std::future AuthorizeDeviceGroupBizChainOutcomeCallable; + typedef std::function&)> AuthorizeDeviceGroupBizChainAsyncHandler; + typedef Outcome AuthorizeMemberBizChainOutcome; + typedef std::future AuthorizeMemberBizChainOutcomeCallable; + typedef std::function&)> AuthorizeMemberBizChainAsyncHandler; + typedef Outcome DeletePrivacyRuleOutcome; + typedef std::future DeletePrivacyRuleOutcomeCallable; + typedef std::function&)> DeletePrivacyRuleAsyncHandler; + typedef Outcome DeleteRouteRuleOutcome; + typedef std::future DeleteRouteRuleOutcomeCallable; + typedef std::function&)> DeleteRouteRuleAsyncHandler; + typedef Outcome DeniedMemberAccessOutcome; + typedef std::future DeniedMemberAccessOutcomeCallable; + typedef std::function&)> DeniedMemberAccessAsyncHandler; + typedef Outcome DescribeAccountRoleOutcome; + typedef std::future DescribeAccountRoleOutcomeCallable; + typedef std::function&)> DescribeAccountRoleAsyncHandler; + typedef Outcome DescribeAdminInfoOutcome; + typedef std::future DescribeAdminInfoOutcomeCallable; + typedef std::function&)> DescribeAdminInfoAsyncHandler; + typedef Outcome DescribeBizChainStatInfoOutcome; + typedef std::future DescribeBizChainStatInfoOutcomeCallable; + typedef std::function&)> DescribeBizChainStatInfoAsyncHandler; + typedef Outcome DescribeDashboardApiInfoOutcome; + typedef std::future DescribeDashboardApiInfoOutcomeCallable; + typedef std::function&)> DescribeDashboardApiInfoAsyncHandler; + typedef Outcome DescribeDashboardBaseInfoOutcome; + typedef std::future DescribeDashboardBaseInfoOutcomeCallable; + typedef std::function&)> DescribeDashboardBaseInfoAsyncHandler; + typedef Outcome DescribeDashboardDeviceInfoOutcome; + typedef std::future DescribeDashboardDeviceInfoOutcomeCallable; + typedef std::function&)> DescribeDashboardDeviceInfoAsyncHandler; + typedef Outcome DescribeDashboardMemberApiInfoOutcome; + typedef std::future DescribeDashboardMemberApiInfoOutcomeCallable; + typedef std::function&)> DescribeDashboardMemberApiInfoAsyncHandler; + typedef Outcome DescribeDashboardMemberDeviceInfoOutcome; + typedef std::future DescribeDashboardMemberDeviceInfoOutcomeCallable; + typedef std::function&)> DescribeDashboardMemberDeviceInfoAsyncHandler; + typedef Outcome DescribeDeviceInfoOutcome; + typedef std::future DescribeDeviceInfoOutcomeCallable; + typedef std::function&)> DescribeDeviceInfoAsyncHandler; + typedef Outcome DescribeEdgeStatInfoOutcome; + typedef std::future DescribeEdgeStatInfoOutcomeCallable; + typedef std::function&)> DescribeEdgeStatInfoAsyncHandler; + typedef Outcome DescribeMemberBizChainStatInfoOutcome; + typedef std::future DescribeMemberBizChainStatInfoOutcomeCallable; + typedef std::function&)> DescribeMemberBizChainStatInfoAsyncHandler; + typedef Outcome DescribeMemberStatInfoOutcome; + typedef std::future DescribeMemberStatInfoOutcomeCallable; + typedef std::function&)> DescribeMemberStatInfoAsyncHandler; + typedef Outcome DescribeMemberTotalStatInfoOutcome; + typedef std::future DescribeMemberTotalStatInfoOutcomeCallable; + typedef std::function&)> DescribeMemberTotalStatInfoAsyncHandler; + typedef Outcome DescribePackgeInfoOutcome; + typedef std::future DescribePackgeInfoOutcomeCallable; + typedef std::function&)> DescribePackgeInfoAsyncHandler; + typedef Outcome DescribeStatDeviceInfoOutcome; + typedef std::future DescribeStatDeviceInfoOutcomeCallable; + typedef std::function&)> DescribeStatDeviceInfoAsyncHandler; + typedef Outcome DescribeStatMemberDeviceInfoOutcome; + typedef std::future DescribeStatMemberDeviceInfoOutcomeCallable; + typedef std::function&)> DescribeStatMemberDeviceInfoAsyncHandler; + typedef Outcome DescribeTotalStatInfoOutcome; + typedef std::future DescribeTotalStatInfoOutcomeCallable; + typedef std::function&)> DescribeTotalStatInfoAsyncHandler; + typedef Outcome DisableDeviceOutcome; + typedef std::future DisableDeviceOutcomeCallable; + typedef std::function&)> DisableDeviceAsyncHandler; + typedef Outcome DisableDeviceGroupOutcome; + typedef std::future DisableDeviceGroupOutcomeCallable; + typedef std::function&)> DisableDeviceGroupAsyncHandler; + typedef Outcome DownloadPrivacyKeyOutcome; + typedef std::future DownloadPrivacyKeyOutcomeCallable; + typedef std::function&)> DownloadPrivacyKeyAsyncHandler; + typedef Outcome EnableDeviceOutcome; + typedef std::future EnableDeviceOutcomeCallable; + typedef std::function&)> EnableDeviceAsyncHandler; + typedef Outcome EnableDeviceGroupOutcome; + typedef std::future EnableDeviceGroupOutcomeCallable; + typedef std::function&)> EnableDeviceGroupAsyncHandler; + typedef Outcome FreezeMemberOutcome; + typedef std::future FreezeMemberOutcomeCallable; + typedef std::function&)> FreezeMemberAsyncHandler; + typedef Outcome GetEdgeTotalDeviceCountOutcome; + typedef std::future GetEdgeTotalDeviceCountOutcomeCallable; + typedef std::function&)> GetEdgeTotalDeviceCountAsyncHandler; + typedef Outcome ListAllAdminOutcome; + typedef std::future ListAllAdminOutcomeCallable; + typedef std::function&)> ListAllAdminAsyncHandler; + typedef Outcome ListAllBizChainOutcome; + typedef std::future ListAllBizChainOutcomeCallable; + typedef std::function&)> ListAllBizChainAsyncHandler; + typedef Outcome ListAllBizChainContractOutcome; + typedef std::future ListAllBizChainContractOutcomeCallable; + typedef std::function&)> ListAllBizChainContractAsyncHandler; + typedef Outcome ListAllDeviceGroupOutcome; + typedef std::future ListAllDeviceGroupOutcomeCallable; + typedef std::function&)> ListAllDeviceGroupAsyncHandler; + typedef Outcome ListAllMemberOutcome; + typedef std::future ListAllMemberOutcomeCallable; + typedef std::function&)> ListAllMemberAsyncHandler; + typedef Outcome ListAllPrivacyAlgorithmOutcome; + typedef std::future ListAllPrivacyAlgorithmOutcomeCallable; + typedef std::function&)> ListAllPrivacyAlgorithmAsyncHandler; + typedef Outcome ListAllPrivacyRuleOutcome; + typedef std::future ListAllPrivacyRuleOutcomeCallable; + typedef std::function&)> ListAllPrivacyRuleAsyncHandler; + typedef Outcome ListAllProductKeyOutcome; + typedef std::future ListAllProductKeyOutcomeCallable; + typedef std::function&)> ListAllProductKeyAsyncHandler; + typedef Outcome ListAllSystemContractOutcome; + typedef std::future ListAllSystemContractOutcomeCallable; + typedef std::function&)> ListAllSystemContractAsyncHandler; + typedef Outcome ListBaaSAntChainOutcome; + typedef std::future ListBaaSAntChainOutcomeCallable; + typedef std::function&)> ListBaaSAntChainAsyncHandler; + typedef Outcome ListBaaSAntChainConsortiumOutcome; + typedef std::future ListBaaSAntChainConsortiumOutcomeCallable; + typedef std::function&)> ListBaaSAntChainConsortiumAsyncHandler; + typedef Outcome ListBaaSAntChainPeerOutcome; + typedef std::future ListBaaSAntChainPeerOutcomeCallable; + typedef std::function&)> ListBaaSAntChainPeerAsyncHandler; + typedef Outcome ListBaaSFabricChannelOutcome; + typedef std::future ListBaaSFabricChannelOutcomeCallable; + typedef std::function&)> ListBaaSFabricChannelAsyncHandler; + typedef Outcome ListBaaSFabricConsortiumOutcome; + typedef std::future ListBaaSFabricConsortiumOutcomeCallable; + typedef std::function&)> ListBaaSFabricConsortiumAsyncHandler; + typedef Outcome ListBaaSFabricOrganizationOutcome; + typedef std::future ListBaaSFabricOrganizationOutcomeCallable; + typedef std::function&)> ListBaaSFabricOrganizationAsyncHandler; + typedef Outcome ListBizChainOutcome; + typedef std::future ListBizChainOutcomeCallable; + typedef std::function&)> ListBizChainAsyncHandler; + typedef Outcome ListBizChainDataOutcome; + typedef std::future ListBizChainDataOutcomeCallable; + typedef std::function&)> ListBizChainDataAsyncHandler; + typedef Outcome ListDeviceOutcome; + typedef std::future ListDeviceOutcomeCallable; + typedef std::function&)> ListDeviceAsyncHandler; + typedef Outcome ListDeviceGroupOutcome; + typedef std::future ListDeviceGroupOutcomeCallable; + typedef std::function&)> ListDeviceGroupAsyncHandler; + typedef Outcome ListDeviceGroupAuthorizedBizChainOutcome; + typedef std::future ListDeviceGroupAuthorizedBizChainOutcomeCallable; + typedef std::function&)> ListDeviceGroupAuthorizedBizChainAsyncHandler; + typedef Outcome ListEdgeDeviceOutcome; + typedef std::future ListEdgeDeviceOutcomeCallable; + typedef std::function&)> ListEdgeDeviceAsyncHandler; + typedef Outcome ListEdgeDeviceGroupOutcome; + typedef std::future ListEdgeDeviceGroupOutcomeCallable; + typedef std::function&)> ListEdgeDeviceGroupAsyncHandler; + typedef Outcome ListMemberOutcome; + typedef std::future ListMemberOutcomeCallable; + typedef std::function&)> ListMemberAsyncHandler; + typedef Outcome ListMemberAccessRecordOutcome; + typedef std::future ListMemberAccessRecordOutcomeCallable; + typedef std::function&)> ListMemberAccessRecordAsyncHandler; + typedef Outcome ListMemberAuthorizedBizChainOutcome; + typedef std::future ListMemberAuthorizedBizChainOutcomeCallable; + typedef std::function&)> ListMemberAuthorizedBizChainAsyncHandler; + typedef Outcome ListPrivacyRuleOutcome; + typedef std::future ListPrivacyRuleOutcomeCallable; + typedef std::function&)> ListPrivacyRuleAsyncHandler; + typedef Outcome ListPrivacyRuleSharedMemberOutcome; + typedef std::future ListPrivacyRuleSharedMemberOutcomeCallable; + typedef std::function&)> ListPrivacyRuleSharedMemberAsyncHandler; + typedef Outcome ListRouteRuleOutcome; + typedef std::future ListRouteRuleOutcomeCallable; + typedef std::function&)> ListRouteRuleAsyncHandler; + typedef Outcome QueryBlockchainDataOutcome; + typedef std::future QueryBlockchainDataOutcomeCallable; + typedef std::function&)> QueryBlockchainDataAsyncHandler; + typedef Outcome QueryBlockchainMetadataOutcome; + typedef std::future QueryBlockchainMetadataOutcomeCallable; + typedef std::function&)> QueryBlockchainMetadataAsyncHandler; + typedef Outcome SharePrivacyRuleOutcome; + typedef std::future SharePrivacyRuleOutcomeCallable; + typedef std::function&)> SharePrivacyRuleAsyncHandler; + typedef Outcome UnFreezeMemberOutcome; + typedef std::future UnFreezeMemberOutcomeCallable; + typedef std::function&)> UnFreezeMemberAsyncHandler; + typedef Outcome UpdateBizChainOutcome; + typedef std::future UpdateBizChainOutcomeCallable; + typedef std::function&)> UpdateBizChainAsyncHandler; + typedef Outcome UpdateMemberOutcome; + typedef std::future UpdateMemberOutcomeCallable; + typedef std::function&)> UpdateMemberAsyncHandler; + typedef Outcome UpdatePrivacyRuleOutcome; + typedef std::future UpdatePrivacyRuleOutcomeCallable; + typedef std::function&)> UpdatePrivacyRuleAsyncHandler; + typedef Outcome UpdateRouteRuleOutcome; + typedef std::future UpdateRouteRuleOutcomeCallable; + typedef std::function&)> UpdateRouteRuleAsyncHandler; + typedef Outcome UploadIoTDataToBlockchainOutcome; + typedef std::future UploadIoTDataToBlockchainOutcomeCallable; + typedef std::function&)> UploadIoTDataToBlockchainAsyncHandler; + + LtoClient(const Credentials &credentials, const ClientConfiguration &configuration); + LtoClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); + LtoClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); + ~LtoClient(); + AddBaaSAntChainBizChainOutcome addBaaSAntChainBizChain(const Model::AddBaaSAntChainBizChainRequest &request)const; + void addBaaSAntChainBizChainAsync(const Model::AddBaaSAntChainBizChainRequest& request, const AddBaaSAntChainBizChainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddBaaSAntChainBizChainOutcomeCallable addBaaSAntChainBizChainCallable(const Model::AddBaaSAntChainBizChainRequest& request) const; + AddBaaSFabricBizChainOutcome addBaaSFabricBizChain(const Model::AddBaaSFabricBizChainRequest &request)const; + void addBaaSFabricBizChainAsync(const Model::AddBaaSFabricBizChainRequest& request, const AddBaaSFabricBizChainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddBaaSFabricBizChainOutcomeCallable addBaaSFabricBizChainCallable(const Model::AddBaaSFabricBizChainRequest& request) const; + AddBsnFabricBizChainOutcome addBsnFabricBizChain(const Model::AddBsnFabricBizChainRequest &request)const; + void addBsnFabricBizChainAsync(const Model::AddBsnFabricBizChainRequest& request, const AddBsnFabricBizChainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddBsnFabricBizChainOutcomeCallable addBsnFabricBizChainCallable(const Model::AddBsnFabricBizChainRequest& request) const; + AddDeviceGroupOutcome addDeviceGroup(const Model::AddDeviceGroupRequest &request)const; + void addDeviceGroupAsync(const Model::AddDeviceGroupRequest& request, const AddDeviceGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddDeviceGroupOutcomeCallable addDeviceGroupCallable(const Model::AddDeviceGroupRequest& request) const; + AddMemberOutcome addMember(const Model::AddMemberRequest &request)const; + void addMemberAsync(const Model::AddMemberRequest& request, const AddMemberAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddMemberOutcomeCallable addMemberCallable(const Model::AddMemberRequest& request) const; + AddPrivacyRuleOutcome addPrivacyRule(const Model::AddPrivacyRuleRequest &request)const; + void addPrivacyRuleAsync(const Model::AddPrivacyRuleRequest& request, const AddPrivacyRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddPrivacyRuleOutcomeCallable addPrivacyRuleCallable(const Model::AddPrivacyRuleRequest& request) const; + AddRouteRuleOutcome addRouteRule(const Model::AddRouteRuleRequest &request)const; + void addRouteRuleAsync(const Model::AddRouteRuleRequest& request, const AddRouteRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddRouteRuleOutcomeCallable addRouteRuleCallable(const Model::AddRouteRuleRequest& request) const; + AgreeMemberAccessOutcome agreeMemberAccess(const Model::AgreeMemberAccessRequest &request)const; + void agreeMemberAccessAsync(const Model::AgreeMemberAccessRequest& request, const AgreeMemberAccessAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AgreeMemberAccessOutcomeCallable agreeMemberAccessCallable(const Model::AgreeMemberAccessRequest& request) const; + AuthorizeBaaSOutcome authorizeBaaS(const Model::AuthorizeBaaSRequest &request)const; + void authorizeBaaSAsync(const Model::AuthorizeBaaSRequest& request, const AuthorizeBaaSAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AuthorizeBaaSOutcomeCallable authorizeBaaSCallable(const Model::AuthorizeBaaSRequest& request) const; + AuthorizeDeviceGroupBizChainOutcome authorizeDeviceGroupBizChain(const Model::AuthorizeDeviceGroupBizChainRequest &request)const; + void authorizeDeviceGroupBizChainAsync(const Model::AuthorizeDeviceGroupBizChainRequest& request, const AuthorizeDeviceGroupBizChainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AuthorizeDeviceGroupBizChainOutcomeCallable authorizeDeviceGroupBizChainCallable(const Model::AuthorizeDeviceGroupBizChainRequest& request) const; + AuthorizeMemberBizChainOutcome authorizeMemberBizChain(const Model::AuthorizeMemberBizChainRequest &request)const; + void authorizeMemberBizChainAsync(const Model::AuthorizeMemberBizChainRequest& request, const AuthorizeMemberBizChainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AuthorizeMemberBizChainOutcomeCallable authorizeMemberBizChainCallable(const Model::AuthorizeMemberBizChainRequest& request) const; + DeletePrivacyRuleOutcome deletePrivacyRule(const Model::DeletePrivacyRuleRequest &request)const; + void deletePrivacyRuleAsync(const Model::DeletePrivacyRuleRequest& request, const DeletePrivacyRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeletePrivacyRuleOutcomeCallable deletePrivacyRuleCallable(const Model::DeletePrivacyRuleRequest& request) const; + DeleteRouteRuleOutcome deleteRouteRule(const Model::DeleteRouteRuleRequest &request)const; + void deleteRouteRuleAsync(const Model::DeleteRouteRuleRequest& request, const DeleteRouteRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteRouteRuleOutcomeCallable deleteRouteRuleCallable(const Model::DeleteRouteRuleRequest& request) const; + DeniedMemberAccessOutcome deniedMemberAccess(const Model::DeniedMemberAccessRequest &request)const; + void deniedMemberAccessAsync(const Model::DeniedMemberAccessRequest& request, const DeniedMemberAccessAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeniedMemberAccessOutcomeCallable deniedMemberAccessCallable(const Model::DeniedMemberAccessRequest& request) const; + DescribeAccountRoleOutcome describeAccountRole(const Model::DescribeAccountRoleRequest &request)const; + void describeAccountRoleAsync(const Model::DescribeAccountRoleRequest& request, const DescribeAccountRoleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAccountRoleOutcomeCallable describeAccountRoleCallable(const Model::DescribeAccountRoleRequest& request) const; + DescribeAdminInfoOutcome describeAdminInfo(const Model::DescribeAdminInfoRequest &request)const; + void describeAdminInfoAsync(const Model::DescribeAdminInfoRequest& request, const DescribeAdminInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAdminInfoOutcomeCallable describeAdminInfoCallable(const Model::DescribeAdminInfoRequest& request) const; + DescribeBizChainStatInfoOutcome describeBizChainStatInfo(const Model::DescribeBizChainStatInfoRequest &request)const; + void describeBizChainStatInfoAsync(const Model::DescribeBizChainStatInfoRequest& request, const DescribeBizChainStatInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBizChainStatInfoOutcomeCallable describeBizChainStatInfoCallable(const Model::DescribeBizChainStatInfoRequest& request) const; + DescribeDashboardApiInfoOutcome describeDashboardApiInfo(const Model::DescribeDashboardApiInfoRequest &request)const; + void describeDashboardApiInfoAsync(const Model::DescribeDashboardApiInfoRequest& request, const DescribeDashboardApiInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDashboardApiInfoOutcomeCallable describeDashboardApiInfoCallable(const Model::DescribeDashboardApiInfoRequest& request) const; + DescribeDashboardBaseInfoOutcome describeDashboardBaseInfo(const Model::DescribeDashboardBaseInfoRequest &request)const; + void describeDashboardBaseInfoAsync(const Model::DescribeDashboardBaseInfoRequest& request, const DescribeDashboardBaseInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDashboardBaseInfoOutcomeCallable describeDashboardBaseInfoCallable(const Model::DescribeDashboardBaseInfoRequest& request) const; + DescribeDashboardDeviceInfoOutcome describeDashboardDeviceInfo(const Model::DescribeDashboardDeviceInfoRequest &request)const; + void describeDashboardDeviceInfoAsync(const Model::DescribeDashboardDeviceInfoRequest& request, const DescribeDashboardDeviceInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDashboardDeviceInfoOutcomeCallable describeDashboardDeviceInfoCallable(const Model::DescribeDashboardDeviceInfoRequest& request) const; + DescribeDashboardMemberApiInfoOutcome describeDashboardMemberApiInfo(const Model::DescribeDashboardMemberApiInfoRequest &request)const; + void describeDashboardMemberApiInfoAsync(const Model::DescribeDashboardMemberApiInfoRequest& request, const DescribeDashboardMemberApiInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDashboardMemberApiInfoOutcomeCallable describeDashboardMemberApiInfoCallable(const Model::DescribeDashboardMemberApiInfoRequest& request) const; + DescribeDashboardMemberDeviceInfoOutcome describeDashboardMemberDeviceInfo(const Model::DescribeDashboardMemberDeviceInfoRequest &request)const; + void describeDashboardMemberDeviceInfoAsync(const Model::DescribeDashboardMemberDeviceInfoRequest& request, const DescribeDashboardMemberDeviceInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDashboardMemberDeviceInfoOutcomeCallable describeDashboardMemberDeviceInfoCallable(const Model::DescribeDashboardMemberDeviceInfoRequest& request) const; + DescribeDeviceInfoOutcome describeDeviceInfo(const Model::DescribeDeviceInfoRequest &request)const; + void describeDeviceInfoAsync(const Model::DescribeDeviceInfoRequest& request, const DescribeDeviceInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDeviceInfoOutcomeCallable describeDeviceInfoCallable(const Model::DescribeDeviceInfoRequest& request) const; + DescribeEdgeStatInfoOutcome describeEdgeStatInfo(const Model::DescribeEdgeStatInfoRequest &request)const; + void describeEdgeStatInfoAsync(const Model::DescribeEdgeStatInfoRequest& request, const DescribeEdgeStatInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeEdgeStatInfoOutcomeCallable describeEdgeStatInfoCallable(const Model::DescribeEdgeStatInfoRequest& request) const; + DescribeMemberBizChainStatInfoOutcome describeMemberBizChainStatInfo(const Model::DescribeMemberBizChainStatInfoRequest &request)const; + void describeMemberBizChainStatInfoAsync(const Model::DescribeMemberBizChainStatInfoRequest& request, const DescribeMemberBizChainStatInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeMemberBizChainStatInfoOutcomeCallable describeMemberBizChainStatInfoCallable(const Model::DescribeMemberBizChainStatInfoRequest& request) const; + DescribeMemberStatInfoOutcome describeMemberStatInfo(const Model::DescribeMemberStatInfoRequest &request)const; + void describeMemberStatInfoAsync(const Model::DescribeMemberStatInfoRequest& request, const DescribeMemberStatInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeMemberStatInfoOutcomeCallable describeMemberStatInfoCallable(const Model::DescribeMemberStatInfoRequest& request) const; + DescribeMemberTotalStatInfoOutcome describeMemberTotalStatInfo(const Model::DescribeMemberTotalStatInfoRequest &request)const; + void describeMemberTotalStatInfoAsync(const Model::DescribeMemberTotalStatInfoRequest& request, const DescribeMemberTotalStatInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeMemberTotalStatInfoOutcomeCallable describeMemberTotalStatInfoCallable(const Model::DescribeMemberTotalStatInfoRequest& request) const; + DescribePackgeInfoOutcome describePackgeInfo(const Model::DescribePackgeInfoRequest &request)const; + void describePackgeInfoAsync(const Model::DescribePackgeInfoRequest& request, const DescribePackgeInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribePackgeInfoOutcomeCallable describePackgeInfoCallable(const Model::DescribePackgeInfoRequest& request) const; + DescribeStatDeviceInfoOutcome describeStatDeviceInfo(const Model::DescribeStatDeviceInfoRequest &request)const; + void describeStatDeviceInfoAsync(const Model::DescribeStatDeviceInfoRequest& request, const DescribeStatDeviceInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeStatDeviceInfoOutcomeCallable describeStatDeviceInfoCallable(const Model::DescribeStatDeviceInfoRequest& request) const; + DescribeStatMemberDeviceInfoOutcome describeStatMemberDeviceInfo(const Model::DescribeStatMemberDeviceInfoRequest &request)const; + void describeStatMemberDeviceInfoAsync(const Model::DescribeStatMemberDeviceInfoRequest& request, const DescribeStatMemberDeviceInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeStatMemberDeviceInfoOutcomeCallable describeStatMemberDeviceInfoCallable(const Model::DescribeStatMemberDeviceInfoRequest& request) const; + DescribeTotalStatInfoOutcome describeTotalStatInfo(const Model::DescribeTotalStatInfoRequest &request)const; + void describeTotalStatInfoAsync(const Model::DescribeTotalStatInfoRequest& request, const DescribeTotalStatInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeTotalStatInfoOutcomeCallable describeTotalStatInfoCallable(const Model::DescribeTotalStatInfoRequest& request) const; + DisableDeviceOutcome disableDevice(const Model::DisableDeviceRequest &request)const; + void disableDeviceAsync(const Model::DisableDeviceRequest& request, const DisableDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DisableDeviceOutcomeCallable disableDeviceCallable(const Model::DisableDeviceRequest& request) const; + DisableDeviceGroupOutcome disableDeviceGroup(const Model::DisableDeviceGroupRequest &request)const; + void disableDeviceGroupAsync(const Model::DisableDeviceGroupRequest& request, const DisableDeviceGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DisableDeviceGroupOutcomeCallable disableDeviceGroupCallable(const Model::DisableDeviceGroupRequest& request) const; + DownloadPrivacyKeyOutcome downloadPrivacyKey(const Model::DownloadPrivacyKeyRequest &request)const; + void downloadPrivacyKeyAsync(const Model::DownloadPrivacyKeyRequest& request, const DownloadPrivacyKeyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DownloadPrivacyKeyOutcomeCallable downloadPrivacyKeyCallable(const Model::DownloadPrivacyKeyRequest& request) const; + EnableDeviceOutcome enableDevice(const Model::EnableDeviceRequest &request)const; + void enableDeviceAsync(const Model::EnableDeviceRequest& request, const EnableDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + EnableDeviceOutcomeCallable enableDeviceCallable(const Model::EnableDeviceRequest& request) const; + EnableDeviceGroupOutcome enableDeviceGroup(const Model::EnableDeviceGroupRequest &request)const; + void enableDeviceGroupAsync(const Model::EnableDeviceGroupRequest& request, const EnableDeviceGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + EnableDeviceGroupOutcomeCallable enableDeviceGroupCallable(const Model::EnableDeviceGroupRequest& request) const; + FreezeMemberOutcome freezeMember(const Model::FreezeMemberRequest &request)const; + void freezeMemberAsync(const Model::FreezeMemberRequest& request, const FreezeMemberAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + FreezeMemberOutcomeCallable freezeMemberCallable(const Model::FreezeMemberRequest& request) const; + GetEdgeTotalDeviceCountOutcome getEdgeTotalDeviceCount(const Model::GetEdgeTotalDeviceCountRequest &request)const; + void getEdgeTotalDeviceCountAsync(const Model::GetEdgeTotalDeviceCountRequest& request, const GetEdgeTotalDeviceCountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetEdgeTotalDeviceCountOutcomeCallable getEdgeTotalDeviceCountCallable(const Model::GetEdgeTotalDeviceCountRequest& request) const; + ListAllAdminOutcome listAllAdmin(const Model::ListAllAdminRequest &request)const; + void listAllAdminAsync(const Model::ListAllAdminRequest& request, const ListAllAdminAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListAllAdminOutcomeCallable listAllAdminCallable(const Model::ListAllAdminRequest& request) const; + ListAllBizChainOutcome listAllBizChain(const Model::ListAllBizChainRequest &request)const; + void listAllBizChainAsync(const Model::ListAllBizChainRequest& request, const ListAllBizChainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListAllBizChainOutcomeCallable listAllBizChainCallable(const Model::ListAllBizChainRequest& request) const; + ListAllBizChainContractOutcome listAllBizChainContract(const Model::ListAllBizChainContractRequest &request)const; + void listAllBizChainContractAsync(const Model::ListAllBizChainContractRequest& request, const ListAllBizChainContractAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListAllBizChainContractOutcomeCallable listAllBizChainContractCallable(const Model::ListAllBizChainContractRequest& request) const; + ListAllDeviceGroupOutcome listAllDeviceGroup(const Model::ListAllDeviceGroupRequest &request)const; + void listAllDeviceGroupAsync(const Model::ListAllDeviceGroupRequest& request, const ListAllDeviceGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListAllDeviceGroupOutcomeCallable listAllDeviceGroupCallable(const Model::ListAllDeviceGroupRequest& request) const; + ListAllMemberOutcome listAllMember(const Model::ListAllMemberRequest &request)const; + void listAllMemberAsync(const Model::ListAllMemberRequest& request, const ListAllMemberAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListAllMemberOutcomeCallable listAllMemberCallable(const Model::ListAllMemberRequest& request) const; + ListAllPrivacyAlgorithmOutcome listAllPrivacyAlgorithm(const Model::ListAllPrivacyAlgorithmRequest &request)const; + void listAllPrivacyAlgorithmAsync(const Model::ListAllPrivacyAlgorithmRequest& request, const ListAllPrivacyAlgorithmAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListAllPrivacyAlgorithmOutcomeCallable listAllPrivacyAlgorithmCallable(const Model::ListAllPrivacyAlgorithmRequest& request) const; + ListAllPrivacyRuleOutcome listAllPrivacyRule(const Model::ListAllPrivacyRuleRequest &request)const; + void listAllPrivacyRuleAsync(const Model::ListAllPrivacyRuleRequest& request, const ListAllPrivacyRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListAllPrivacyRuleOutcomeCallable listAllPrivacyRuleCallable(const Model::ListAllPrivacyRuleRequest& request) const; + ListAllProductKeyOutcome listAllProductKey(const Model::ListAllProductKeyRequest &request)const; + void listAllProductKeyAsync(const Model::ListAllProductKeyRequest& request, const ListAllProductKeyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListAllProductKeyOutcomeCallable listAllProductKeyCallable(const Model::ListAllProductKeyRequest& request) const; + ListAllSystemContractOutcome listAllSystemContract(const Model::ListAllSystemContractRequest &request)const; + void listAllSystemContractAsync(const Model::ListAllSystemContractRequest& request, const ListAllSystemContractAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListAllSystemContractOutcomeCallable listAllSystemContractCallable(const Model::ListAllSystemContractRequest& request) const; + ListBaaSAntChainOutcome listBaaSAntChain(const Model::ListBaaSAntChainRequest &request)const; + void listBaaSAntChainAsync(const Model::ListBaaSAntChainRequest& request, const ListBaaSAntChainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListBaaSAntChainOutcomeCallable listBaaSAntChainCallable(const Model::ListBaaSAntChainRequest& request) const; + ListBaaSAntChainConsortiumOutcome listBaaSAntChainConsortium(const Model::ListBaaSAntChainConsortiumRequest &request)const; + void listBaaSAntChainConsortiumAsync(const Model::ListBaaSAntChainConsortiumRequest& request, const ListBaaSAntChainConsortiumAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListBaaSAntChainConsortiumOutcomeCallable listBaaSAntChainConsortiumCallable(const Model::ListBaaSAntChainConsortiumRequest& request) const; + ListBaaSAntChainPeerOutcome listBaaSAntChainPeer(const Model::ListBaaSAntChainPeerRequest &request)const; + void listBaaSAntChainPeerAsync(const Model::ListBaaSAntChainPeerRequest& request, const ListBaaSAntChainPeerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListBaaSAntChainPeerOutcomeCallable listBaaSAntChainPeerCallable(const Model::ListBaaSAntChainPeerRequest& request) const; + ListBaaSFabricChannelOutcome listBaaSFabricChannel(const Model::ListBaaSFabricChannelRequest &request)const; + void listBaaSFabricChannelAsync(const Model::ListBaaSFabricChannelRequest& request, const ListBaaSFabricChannelAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListBaaSFabricChannelOutcomeCallable listBaaSFabricChannelCallable(const Model::ListBaaSFabricChannelRequest& request) const; + ListBaaSFabricConsortiumOutcome listBaaSFabricConsortium(const Model::ListBaaSFabricConsortiumRequest &request)const; + void listBaaSFabricConsortiumAsync(const Model::ListBaaSFabricConsortiumRequest& request, const ListBaaSFabricConsortiumAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListBaaSFabricConsortiumOutcomeCallable listBaaSFabricConsortiumCallable(const Model::ListBaaSFabricConsortiumRequest& request) const; + ListBaaSFabricOrganizationOutcome listBaaSFabricOrganization(const Model::ListBaaSFabricOrganizationRequest &request)const; + void listBaaSFabricOrganizationAsync(const Model::ListBaaSFabricOrganizationRequest& request, const ListBaaSFabricOrganizationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListBaaSFabricOrganizationOutcomeCallable listBaaSFabricOrganizationCallable(const Model::ListBaaSFabricOrganizationRequest& request) const; + ListBizChainOutcome listBizChain(const Model::ListBizChainRequest &request)const; + void listBizChainAsync(const Model::ListBizChainRequest& request, const ListBizChainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListBizChainOutcomeCallable listBizChainCallable(const Model::ListBizChainRequest& request) const; + ListBizChainDataOutcome listBizChainData(const Model::ListBizChainDataRequest &request)const; + void listBizChainDataAsync(const Model::ListBizChainDataRequest& request, const ListBizChainDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListBizChainDataOutcomeCallable listBizChainDataCallable(const Model::ListBizChainDataRequest& 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; + ListDeviceGroupAuthorizedBizChainOutcome listDeviceGroupAuthorizedBizChain(const Model::ListDeviceGroupAuthorizedBizChainRequest &request)const; + void listDeviceGroupAuthorizedBizChainAsync(const Model::ListDeviceGroupAuthorizedBizChainRequest& request, const ListDeviceGroupAuthorizedBizChainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDeviceGroupAuthorizedBizChainOutcomeCallable listDeviceGroupAuthorizedBizChainCallable(const Model::ListDeviceGroupAuthorizedBizChainRequest& request) const; + ListEdgeDeviceOutcome listEdgeDevice(const Model::ListEdgeDeviceRequest &request)const; + void listEdgeDeviceAsync(const Model::ListEdgeDeviceRequest& request, const ListEdgeDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListEdgeDeviceOutcomeCallable listEdgeDeviceCallable(const Model::ListEdgeDeviceRequest& request) const; + ListEdgeDeviceGroupOutcome listEdgeDeviceGroup(const Model::ListEdgeDeviceGroupRequest &request)const; + void listEdgeDeviceGroupAsync(const Model::ListEdgeDeviceGroupRequest& request, const ListEdgeDeviceGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListEdgeDeviceGroupOutcomeCallable listEdgeDeviceGroupCallable(const Model::ListEdgeDeviceGroupRequest& 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; + ListMemberAccessRecordOutcome listMemberAccessRecord(const Model::ListMemberAccessRecordRequest &request)const; + void listMemberAccessRecordAsync(const Model::ListMemberAccessRecordRequest& request, const ListMemberAccessRecordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListMemberAccessRecordOutcomeCallable listMemberAccessRecordCallable(const Model::ListMemberAccessRecordRequest& request) const; + ListMemberAuthorizedBizChainOutcome listMemberAuthorizedBizChain(const Model::ListMemberAuthorizedBizChainRequest &request)const; + void listMemberAuthorizedBizChainAsync(const Model::ListMemberAuthorizedBizChainRequest& request, const ListMemberAuthorizedBizChainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListMemberAuthorizedBizChainOutcomeCallable listMemberAuthorizedBizChainCallable(const Model::ListMemberAuthorizedBizChainRequest& request) const; + ListPrivacyRuleOutcome listPrivacyRule(const Model::ListPrivacyRuleRequest &request)const; + void listPrivacyRuleAsync(const Model::ListPrivacyRuleRequest& request, const ListPrivacyRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListPrivacyRuleOutcomeCallable listPrivacyRuleCallable(const Model::ListPrivacyRuleRequest& request) const; + ListPrivacyRuleSharedMemberOutcome listPrivacyRuleSharedMember(const Model::ListPrivacyRuleSharedMemberRequest &request)const; + void listPrivacyRuleSharedMemberAsync(const Model::ListPrivacyRuleSharedMemberRequest& request, const ListPrivacyRuleSharedMemberAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListPrivacyRuleSharedMemberOutcomeCallable listPrivacyRuleSharedMemberCallable(const Model::ListPrivacyRuleSharedMemberRequest& request) const; + ListRouteRuleOutcome listRouteRule(const Model::ListRouteRuleRequest &request)const; + void listRouteRuleAsync(const Model::ListRouteRuleRequest& request, const ListRouteRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListRouteRuleOutcomeCallable listRouteRuleCallable(const Model::ListRouteRuleRequest& request) const; + QueryBlockchainDataOutcome queryBlockchainData(const Model::QueryBlockchainDataRequest &request)const; + void queryBlockchainDataAsync(const Model::QueryBlockchainDataRequest& request, const QueryBlockchainDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryBlockchainDataOutcomeCallable queryBlockchainDataCallable(const Model::QueryBlockchainDataRequest& request) const; + QueryBlockchainMetadataOutcome queryBlockchainMetadata(const Model::QueryBlockchainMetadataRequest &request)const; + void queryBlockchainMetadataAsync(const Model::QueryBlockchainMetadataRequest& request, const QueryBlockchainMetadataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryBlockchainMetadataOutcomeCallable queryBlockchainMetadataCallable(const Model::QueryBlockchainMetadataRequest& request) const; + SharePrivacyRuleOutcome sharePrivacyRule(const Model::SharePrivacyRuleRequest &request)const; + void sharePrivacyRuleAsync(const Model::SharePrivacyRuleRequest& request, const SharePrivacyRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SharePrivacyRuleOutcomeCallable sharePrivacyRuleCallable(const Model::SharePrivacyRuleRequest& request) const; + UnFreezeMemberOutcome unFreezeMember(const Model::UnFreezeMemberRequest &request)const; + void unFreezeMemberAsync(const Model::UnFreezeMemberRequest& request, const UnFreezeMemberAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UnFreezeMemberOutcomeCallable unFreezeMemberCallable(const Model::UnFreezeMemberRequest& request) const; + UpdateBizChainOutcome updateBizChain(const Model::UpdateBizChainRequest &request)const; + void updateBizChainAsync(const Model::UpdateBizChainRequest& request, const UpdateBizChainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateBizChainOutcomeCallable updateBizChainCallable(const Model::UpdateBizChainRequest& request) const; + UpdateMemberOutcome updateMember(const Model::UpdateMemberRequest &request)const; + void updateMemberAsync(const Model::UpdateMemberRequest& request, const UpdateMemberAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateMemberOutcomeCallable updateMemberCallable(const Model::UpdateMemberRequest& request) const; + UpdatePrivacyRuleOutcome updatePrivacyRule(const Model::UpdatePrivacyRuleRequest &request)const; + void updatePrivacyRuleAsync(const Model::UpdatePrivacyRuleRequest& request, const UpdatePrivacyRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdatePrivacyRuleOutcomeCallable updatePrivacyRuleCallable(const Model::UpdatePrivacyRuleRequest& request) const; + UpdateRouteRuleOutcome updateRouteRule(const Model::UpdateRouteRuleRequest &request)const; + void updateRouteRuleAsync(const Model::UpdateRouteRuleRequest& request, const UpdateRouteRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateRouteRuleOutcomeCallable updateRouteRuleCallable(const Model::UpdateRouteRuleRequest& request) const; + UploadIoTDataToBlockchainOutcome uploadIoTDataToBlockchain(const Model::UploadIoTDataToBlockchainRequest &request)const; + void uploadIoTDataToBlockchainAsync(const Model::UploadIoTDataToBlockchainRequest& request, const UploadIoTDataToBlockchainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UploadIoTDataToBlockchainOutcomeCallable uploadIoTDataToBlockchainCallable(const Model::UploadIoTDataToBlockchainRequest& request) const; + + private: + std::shared_ptr endpointProvider_; + }; + } +} + +#endif // !ALIBABACLOUD_LTO_LTOCLIENT_H_ diff --git a/lto/include/alibabacloud/lto/LtoExport.h b/lto/include/alibabacloud/lto/LtoExport.h new file mode 100644 index 000000000..525173d7e --- /dev/null +++ b/lto/include/alibabacloud/lto/LtoExport.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_LTO_LTOEXPORT_H_ +#define ALIBABACLOUD_LTO_LTOEXPORT_H_ + +#include + +#if defined(ALIBABACLOUD_SHARED) +# if defined(ALIBABACLOUD_LTO_LIBRARY) +# define ALIBABACLOUD_LTO_EXPORT ALIBABACLOUD_DECL_EXPORT +# else +# define ALIBABACLOUD_LTO_EXPORT ALIBABACLOUD_DECL_IMPORT +# endif +#else +# define ALIBABACLOUD_LTO_EXPORT +#endif + +#endif // !ALIBABACLOUD_LTO_LTOEXPORT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/AddBaaSAntChainBizChainRequest.h b/lto/include/alibabacloud/lto/model/AddBaaSAntChainBizChainRequest.h new file mode 100644 index 000000000..9394c0a70 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/AddBaaSAntChainBizChainRequest.h @@ -0,0 +1,84 @@ +/* + * 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_LTO_MODEL_ADDBAASANTCHAINBIZCHAINREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_ADDBAASANTCHAINBIZCHAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT AddBaaSAntChainBizChainRequest : public RpcServiceRequest { +public: + AddBaaSAntChainBizChainRequest(); + ~AddBaaSAntChainBizChainRequest(); + std::string getCaCertPassword() const; + void setCaCertPassword(const std::string &caCertPassword); + std::string getNodeNameList() const; + void setNodeNameList(const std::string &nodeNameList); + std::string getRemark() const; + void setRemark(const std::string &remark); + std::string getUserKey() const; + void setUserKey(const std::string &userKey); + std::string getClientCert() const; + void setClientCert(const std::string &clientCert); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getBaaSAntChainConsortiumId() const; + void setBaaSAntChainConsortiumId(const std::string &baaSAntChainConsortiumId); + std::string getUserKeyPassword() const; + void setUserKeyPassword(const std::string &userKeyPassword); + std::string getBaaSAntChainChainId() const; + void setBaaSAntChainChainId(const std::string &baaSAntChainChainId); + std::string getClientKey() const; + void setClientKey(const std::string &clientKey); + std::string getCaCert() const; + void setCaCert(const std::string &caCert); + std::string getName() const; + void setName(const std::string &name); + std::string getClientKeyPassword() const; + void setClientKeyPassword(const std::string &clientKeyPassword); + std::string getContractTemplateIdList() const; + void setContractTemplateIdList(const std::string &contractTemplateIdList); + std::string getUserName() const; + void setUserName(const std::string &userName); + +private: + std::string caCertPassword_; + std::string nodeNameList_; + std::string remark_; + std::string userKey_; + std::string clientCert_; + std::string regionId_; + std::string baaSAntChainConsortiumId_; + std::string userKeyPassword_; + std::string baaSAntChainChainId_; + std::string clientKey_; + std::string caCert_; + std::string name_; + std::string clientKeyPassword_; + std::string contractTemplateIdList_; + std::string userName_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_ADDBAASANTCHAINBIZCHAINREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/AddBaaSAntChainBizChainResult.h b/lto/include/alibabacloud/lto/model/AddBaaSAntChainBizChainResult.h new file mode 100644 index 000000000..8d8514b43 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/AddBaaSAntChainBizChainResult.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_LTO_MODEL_ADDBAASANTCHAINBIZCHAINRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_ADDBAASANTCHAINBIZCHAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT AddBaaSAntChainBizChainResult : public ServiceResult + { + public: + + + AddBaaSAntChainBizChainResult(); + explicit AddBaaSAntChainBizChainResult(const std::string &payload); + ~AddBaaSAntChainBizChainResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_ADDBAASANTCHAINBIZCHAINRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/AddBaaSFabricBizChainRequest.h b/lto/include/alibabacloud/lto/model/AddBaaSFabricBizChainRequest.h new file mode 100644 index 000000000..d0a652641 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/AddBaaSFabricBizChainRequest.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_LTO_MODEL_ADDBAASFABRICBIZCHAINREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_ADDBAASFABRICBIZCHAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT AddBaaSFabricBizChainRequest : public RpcServiceRequest { +public: + AddBaaSFabricBizChainRequest(); + ~AddBaaSFabricBizChainRequest(); + std::string getBaaSFabricConsortiumId() const; + void setBaaSFabricConsortiumId(const std::string &baaSFabricConsortiumId); + std::string getRemark() const; + void setRemark(const std::string &remark); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getName() const; + void setName(const std::string &name); + std::string getBaaSFabricChannelId() const; + void setBaaSFabricChannelId(const std::string &baaSFabricChannelId); + std::string getBaaSFabricOrganizationId() const; + void setBaaSFabricOrganizationId(const std::string &baaSFabricOrganizationId); + std::string getContractTemplateIdList() const; + void setContractTemplateIdList(const std::string &contractTemplateIdList); + +private: + std::string baaSFabricConsortiumId_; + std::string remark_; + std::string regionId_; + std::string name_; + std::string baaSFabricChannelId_; + std::string baaSFabricOrganizationId_; + std::string contractTemplateIdList_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_ADDBAASFABRICBIZCHAINREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/AddBaaSFabricBizChainResult.h b/lto/include/alibabacloud/lto/model/AddBaaSFabricBizChainResult.h new file mode 100644 index 000000000..20b1a569d --- /dev/null +++ b/lto/include/alibabacloud/lto/model/AddBaaSFabricBizChainResult.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_LTO_MODEL_ADDBAASFABRICBIZCHAINRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_ADDBAASFABRICBIZCHAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT AddBaaSFabricBizChainResult : public ServiceResult + { + public: + + + AddBaaSFabricBizChainResult(); + explicit AddBaaSFabricBizChainResult(const std::string &payload); + ~AddBaaSFabricBizChainResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_ADDBAASFABRICBIZCHAINRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/AddBsnFabricBizChainRequest.h b/lto/include/alibabacloud/lto/model/AddBsnFabricBizChainRequest.h new file mode 100644 index 000000000..51f58dcb6 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/AddBsnFabricBizChainRequest.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_LTO_MODEL_ADDBSNFABRICBIZCHAINREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_ADDBSNFABRICBIZCHAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT AddBsnFabricBizChainRequest : public RpcServiceRequest { +public: + AddBsnFabricBizChainRequest(); + ~AddBsnFabricBizChainRequest(); + std::string getRemark() const; + void setRemark(const std::string &remark); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getName() const; + void setName(const std::string &name); + std::string getAppCode() const; + void setAppCode(const std::string &appCode); + std::string getNodeList() const; + void setNodeList(const std::string &nodeList); + std::string getUserCode() const; + void setUserCode(const std::string &userCode); + +private: + std::string remark_; + std::string regionId_; + std::string name_; + std::string appCode_; + std::string nodeList_; + std::string userCode_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_ADDBSNFABRICBIZCHAINREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/AddBsnFabricBizChainResult.h b/lto/include/alibabacloud/lto/model/AddBsnFabricBizChainResult.h new file mode 100644 index 000000000..4b7f86018 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/AddBsnFabricBizChainResult.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_LTO_MODEL_ADDBSNFABRICBIZCHAINRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_ADDBSNFABRICBIZCHAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT AddBsnFabricBizChainResult : public ServiceResult + { + public: + + + AddBsnFabricBizChainResult(); + explicit AddBsnFabricBizChainResult(const std::string &payload); + ~AddBsnFabricBizChainResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_ADDBSNFABRICBIZCHAINRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/AddDeviceGroupRequest.h b/lto/include/alibabacloud/lto/model/AddDeviceGroupRequest.h new file mode 100644 index 000000000..6d0921867 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/AddDeviceGroupRequest.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_LTO_MODEL_ADDDEVICEGROUPREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_ADDDEVICEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT AddDeviceGroupRequest : public RpcServiceRequest { +public: + AddDeviceGroupRequest(); + ~AddDeviceGroupRequest(); + std::string getRemark() const; + void setRemark(const std::string &remark); + std::string getProductKey() const; + void setProductKey(const std::string &productKey); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + int getAuthorizedCount() const; + void setAuthorizedCount(int authorizedCount); + +private: + std::string remark_; + std::string productKey_; + std::string regionId_; + int authorizedCount_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_ADDDEVICEGROUPREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/AddDeviceGroupResult.h b/lto/include/alibabacloud/lto/model/AddDeviceGroupResult.h new file mode 100644 index 000000000..aa665e62b --- /dev/null +++ b/lto/include/alibabacloud/lto/model/AddDeviceGroupResult.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_LTO_MODEL_ADDDEVICEGROUPRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_ADDDEVICEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT AddDeviceGroupResult : public ServiceResult + { + public: + + + AddDeviceGroupResult(); + explicit AddDeviceGroupResult(const std::string &payload); + ~AddDeviceGroupResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_ADDDEVICEGROUPRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/AddMemberRequest.h b/lto/include/alibabacloud/lto/model/AddMemberRequest.h new file mode 100644 index 000000000..6119ca43c --- /dev/null +++ b/lto/include/alibabacloud/lto/model/AddMemberRequest.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_LTO_MODEL_ADDMEMBERREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_ADDMEMBERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT AddMemberRequest : public RpcServiceRequest { +public: + AddMemberRequest(); + ~AddMemberRequest(); + std::string getRemark() const; + void setRemark(const std::string &remark); + std::string getUid() const; + void setUid(const std::string &uid); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getTelephony() const; + void setTelephony(const std::string &telephony); + std::string getName() const; + void setName(const std::string &name); + int getAuthorizedDeviceCount() const; + void setAuthorizedDeviceCount(int authorizedDeviceCount); + std::string getContactor() const; + void setContactor(const std::string &contactor); + long getAuthorizedCount() const; + void setAuthorizedCount(long authorizedCount); + +private: + std::string remark_; + std::string uid_; + std::string regionId_; + std::string telephony_; + std::string name_; + int authorizedDeviceCount_; + std::string contactor_; + long authorizedCount_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_ADDMEMBERREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/AddMemberResult.h b/lto/include/alibabacloud/lto/model/AddMemberResult.h new file mode 100644 index 000000000..ec846c8a8 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/AddMemberResult.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_LTO_MODEL_ADDMEMBERRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_ADDMEMBERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT AddMemberResult : public ServiceResult + { + public: + + + AddMemberResult(); + explicit AddMemberResult(const std::string &payload); + ~AddMemberResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_ADDMEMBERRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/AddPrivacyRuleRequest.h b/lto/include/alibabacloud/lto/model/AddPrivacyRuleRequest.h new file mode 100644 index 000000000..2e08ca5d9 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/AddPrivacyRuleRequest.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_LTO_MODEL_ADDPRIVACYRULEREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_ADDPRIVACYRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT AddPrivacyRuleRequest : public RpcServiceRequest { +public: + AddPrivacyRuleRequest(); + ~AddPrivacyRuleRequest(); + std::string getRemark() const; + void setRemark(const std::string &remark); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getName() const; + void setName(const std::string &name); + std::string getAlgImpl() const; + void setAlgImpl(const std::string &algImpl); + std::string getAlgType() const; + void setAlgType(const std::string &algType); + +private: + std::string remark_; + std::string regionId_; + std::string name_; + std::string algImpl_; + std::string algType_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_ADDPRIVACYRULEREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/AddPrivacyRuleResult.h b/lto/include/alibabacloud/lto/model/AddPrivacyRuleResult.h new file mode 100644 index 000000000..94fea8895 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/AddPrivacyRuleResult.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_LTO_MODEL_ADDPRIVACYRULERESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_ADDPRIVACYRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT AddPrivacyRuleResult : public ServiceResult + { + public: + + + AddPrivacyRuleResult(); + explicit AddPrivacyRuleResult(const std::string &payload); + ~AddPrivacyRuleResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_ADDPRIVACYRULERESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/AddRouteRuleRequest.h b/lto/include/alibabacloud/lto/model/AddRouteRuleRequest.h new file mode 100644 index 000000000..c5c988571 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/AddRouteRuleRequest.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_LTO_MODEL_ADDROUTERULEREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_ADDROUTERULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT AddRouteRuleRequest : public RpcServiceRequest { +public: + AddRouteRuleRequest(); + ~AddRouteRuleRequest(); + std::string getContractTemplateId() const; + void setContractTemplateId(const std::string &contractTemplateId); + std::string getContractName() const; + void setContractName(const std::string &contractName); + std::string getPrivacyRuleId() const; + void setPrivacyRuleId(const std::string &privacyRuleId); + std::string getRemark() const; + void setRemark(const std::string &remark); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + std::string getInvokeType() const; + void setInvokeType(const std::string &invokeType); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getDeviceGroupId() const; + void setDeviceGroupId(const std::string &deviceGroupId); + std::string getChainUpMode() const; + void setChainUpMode(const std::string &chainUpMode); + +private: + std::string contractTemplateId_; + std::string contractName_; + std::string privacyRuleId_; + std::string remark_; + std::string bizChainId_; + std::string invokeType_; + std::string regionId_; + std::string deviceGroupId_; + std::string chainUpMode_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_ADDROUTERULEREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/AddRouteRuleResult.h b/lto/include/alibabacloud/lto/model/AddRouteRuleResult.h new file mode 100644 index 000000000..317c4a3c4 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/AddRouteRuleResult.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_LTO_MODEL_ADDROUTERULERESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_ADDROUTERULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT AddRouteRuleResult : public ServiceResult + { + public: + + + AddRouteRuleResult(); + explicit AddRouteRuleResult(const std::string &payload); + ~AddRouteRuleResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_ADDROUTERULERESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/AgreeMemberAccessRequest.h b/lto/include/alibabacloud/lto/model/AgreeMemberAccessRequest.h new file mode 100644 index 000000000..fb84dd0ff --- /dev/null +++ b/lto/include/alibabacloud/lto/model/AgreeMemberAccessRequest.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_LTO_MODEL_AGREEMEMBERACCESSREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_AGREEMEMBERACCESSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT AgreeMemberAccessRequest : public RpcServiceRequest { +public: + AgreeMemberAccessRequest(); + ~AgreeMemberAccessRequest(); + std::string getMemberAccountId() const; + void setMemberAccountId(const std::string &memberAccountId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string memberAccountId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_AGREEMEMBERACCESSREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/AgreeMemberAccessResult.h b/lto/include/alibabacloud/lto/model/AgreeMemberAccessResult.h new file mode 100644 index 000000000..524fd3f6e --- /dev/null +++ b/lto/include/alibabacloud/lto/model/AgreeMemberAccessResult.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_LTO_MODEL_AGREEMEMBERACCESSRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_AGREEMEMBERACCESSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT AgreeMemberAccessResult : public ServiceResult + { + public: + + + AgreeMemberAccessResult(); + explicit AgreeMemberAccessResult(const std::string &payload); + ~AgreeMemberAccessResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_AGREEMEMBERACCESSRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/AuthorizeBaaSRequest.h b/lto/include/alibabacloud/lto/model/AuthorizeBaaSRequest.h new file mode 100644 index 000000000..a273af6cf --- /dev/null +++ b/lto/include/alibabacloud/lto/model/AuthorizeBaaSRequest.h @@ -0,0 +1,42 @@ +/* + * 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_LTO_MODEL_AUTHORIZEBAASREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_AUTHORIZEBAASREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT AuthorizeBaaSRequest : public RpcServiceRequest { +public: + AuthorizeBaaSRequest(); + ~AuthorizeBaaSRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_AUTHORIZEBAASREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/AuthorizeBaaSResult.h b/lto/include/alibabacloud/lto/model/AuthorizeBaaSResult.h new file mode 100644 index 000000000..953a70ab1 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/AuthorizeBaaSResult.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_LTO_MODEL_AUTHORIZEBAASRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_AUTHORIZEBAASRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT AuthorizeBaaSResult : public ServiceResult + { + public: + + + AuthorizeBaaSResult(); + explicit AuthorizeBaaSResult(const std::string &payload); + ~AuthorizeBaaSResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_AUTHORIZEBAASRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/AuthorizeDeviceGroupBizChainRequest.h b/lto/include/alibabacloud/lto/model/AuthorizeDeviceGroupBizChainRequest.h new file mode 100644 index 000000000..398700c20 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/AuthorizeDeviceGroupBizChainRequest.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_LTO_MODEL_AUTHORIZEDEVICEGROUPBIZCHAINREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_AUTHORIZEDEVICEGROUPBIZCHAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT AuthorizeDeviceGroupBizChainRequest : public RpcServiceRequest { +public: + AuthorizeDeviceGroupBizChainRequest(); + ~AuthorizeDeviceGroupBizChainRequest(); + std::string getBizChainIdList() const; + void setBizChainIdList(const std::string &bizChainIdList); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getDeviceGroupId() const; + void setDeviceGroupId(const std::string &deviceGroupId); + +private: + std::string bizChainIdList_; + std::string regionId_; + std::string deviceGroupId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_AUTHORIZEDEVICEGROUPBIZCHAINREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/AuthorizeDeviceGroupBizChainResult.h b/lto/include/alibabacloud/lto/model/AuthorizeDeviceGroupBizChainResult.h new file mode 100644 index 000000000..27fbede38 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/AuthorizeDeviceGroupBizChainResult.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_LTO_MODEL_AUTHORIZEDEVICEGROUPBIZCHAINRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_AUTHORIZEDEVICEGROUPBIZCHAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT AuthorizeDeviceGroupBizChainResult : public ServiceResult + { + public: + + + AuthorizeDeviceGroupBizChainResult(); + explicit AuthorizeDeviceGroupBizChainResult(const std::string &payload); + ~AuthorizeDeviceGroupBizChainResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_AUTHORIZEDEVICEGROUPBIZCHAINRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/AuthorizeMemberBizChainRequest.h b/lto/include/alibabacloud/lto/model/AuthorizeMemberBizChainRequest.h new file mode 100644 index 000000000..b08686b3f --- /dev/null +++ b/lto/include/alibabacloud/lto/model/AuthorizeMemberBizChainRequest.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_LTO_MODEL_AUTHORIZEMEMBERBIZCHAINREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_AUTHORIZEMEMBERBIZCHAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT AuthorizeMemberBizChainRequest : public RpcServiceRequest { +public: + AuthorizeMemberBizChainRequest(); + ~AuthorizeMemberBizChainRequest(); + std::string getBizChainInfo() const; + void setBizChainInfo(const std::string &bizChainInfo); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getMemberId() const; + void setMemberId(const std::string &memberId); + +private: + std::string bizChainInfo_; + std::string regionId_; + std::string memberId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_AUTHORIZEMEMBERBIZCHAINREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/AuthorizeMemberBizChainResult.h b/lto/include/alibabacloud/lto/model/AuthorizeMemberBizChainResult.h new file mode 100644 index 000000000..584549124 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/AuthorizeMemberBizChainResult.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_LTO_MODEL_AUTHORIZEMEMBERBIZCHAINRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_AUTHORIZEMEMBERBIZCHAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT AuthorizeMemberBizChainResult : public ServiceResult + { + public: + + + AuthorizeMemberBizChainResult(); + explicit AuthorizeMemberBizChainResult(const std::string &payload); + ~AuthorizeMemberBizChainResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_AUTHORIZEMEMBERBIZCHAINRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/DeletePrivacyRuleRequest.h b/lto/include/alibabacloud/lto/model/DeletePrivacyRuleRequest.h new file mode 100644 index 000000000..52005a104 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DeletePrivacyRuleRequest.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_LTO_MODEL_DELETEPRIVACYRULEREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_DELETEPRIVACYRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT DeletePrivacyRuleRequest : public RpcServiceRequest { +public: + DeletePrivacyRuleRequest(); + ~DeletePrivacyRuleRequest(); + std::string getPrivacyRuleId() const; + void setPrivacyRuleId(const std::string &privacyRuleId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string privacyRuleId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_DELETEPRIVACYRULEREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/DeletePrivacyRuleResult.h b/lto/include/alibabacloud/lto/model/DeletePrivacyRuleResult.h new file mode 100644 index 000000000..5e935090a --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DeletePrivacyRuleResult.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_LTO_MODEL_DELETEPRIVACYRULERESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_DELETEPRIVACYRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT DeletePrivacyRuleResult : public ServiceResult + { + public: + + + DeletePrivacyRuleResult(); + explicit DeletePrivacyRuleResult(const std::string &payload); + ~DeletePrivacyRuleResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_DELETEPRIVACYRULERESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/DeleteRouteRuleRequest.h b/lto/include/alibabacloud/lto/model/DeleteRouteRuleRequest.h new file mode 100644 index 000000000..ffe23797f --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DeleteRouteRuleRequest.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_LTO_MODEL_DELETEROUTERULEREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_DELETEROUTERULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT DeleteRouteRuleRequest : public RpcServiceRequest { +public: + DeleteRouteRuleRequest(); + ~DeleteRouteRuleRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getRouteRuleId() const; + void setRouteRuleId(const std::string &routeRuleId); + +private: + std::string regionId_; + std::string routeRuleId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_DELETEROUTERULEREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/DeleteRouteRuleResult.h b/lto/include/alibabacloud/lto/model/DeleteRouteRuleResult.h new file mode 100644 index 000000000..e112ced3b --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DeleteRouteRuleResult.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_LTO_MODEL_DELETEROUTERULERESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_DELETEROUTERULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT DeleteRouteRuleResult : public ServiceResult + { + public: + + + DeleteRouteRuleResult(); + explicit DeleteRouteRuleResult(const std::string &payload); + ~DeleteRouteRuleResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_DELETEROUTERULERESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/DeniedMemberAccessRequest.h b/lto/include/alibabacloud/lto/model/DeniedMemberAccessRequest.h new file mode 100644 index 000000000..1940b582d --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DeniedMemberAccessRequest.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_LTO_MODEL_DENIEDMEMBERACCESSREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_DENIEDMEMBERACCESSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT DeniedMemberAccessRequest : public RpcServiceRequest { +public: + DeniedMemberAccessRequest(); + ~DeniedMemberAccessRequest(); + std::string getMemberAccountId() const; + void setMemberAccountId(const std::string &memberAccountId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string memberAccountId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_DENIEDMEMBERACCESSREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/DeniedMemberAccessResult.h b/lto/include/alibabacloud/lto/model/DeniedMemberAccessResult.h new file mode 100644 index 000000000..8e2a3c5c9 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DeniedMemberAccessResult.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_LTO_MODEL_DENIEDMEMBERACCESSRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_DENIEDMEMBERACCESSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT DeniedMemberAccessResult : public ServiceResult + { + public: + + + DeniedMemberAccessResult(); + explicit DeniedMemberAccessResult(const std::string &payload); + ~DeniedMemberAccessResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_DENIEDMEMBERACCESSRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/DescribeAccountRoleRequest.h b/lto/include/alibabacloud/lto/model/DescribeAccountRoleRequest.h new file mode 100644 index 000000000..28ccdb401 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeAccountRoleRequest.h @@ -0,0 +1,42 @@ +/* + * 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_LTO_MODEL_DESCRIBEACCOUNTROLEREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEACCOUNTROLEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT DescribeAccountRoleRequest : public RpcServiceRequest { +public: + DescribeAccountRoleRequest(); + ~DescribeAccountRoleRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEACCOUNTROLEREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/DescribeAccountRoleResult.h b/lto/include/alibabacloud/lto/model/DescribeAccountRoleResult.h new file mode 100644 index 000000000..72ef32ea1 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeAccountRoleResult.h @@ -0,0 +1,64 @@ +/* + * 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_LTO_MODEL_DESCRIBEACCOUNTROLERESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEACCOUNTROLERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT DescribeAccountRoleResult : public ServiceResult + { + public: + struct Data + { + bool authorizedBaaS; + std::string roleType; + }; + + + DescribeAccountRoleResult(); + explicit DescribeAccountRoleResult(const std::string &payload); + ~DescribeAccountRoleResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEACCOUNTROLERESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/DescribeAdminInfoRequest.h b/lto/include/alibabacloud/lto/model/DescribeAdminInfoRequest.h new file mode 100644 index 000000000..243dd5cfd --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeAdminInfoRequest.h @@ -0,0 +1,42 @@ +/* + * 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_LTO_MODEL_DESCRIBEADMININFOREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEADMININFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT DescribeAdminInfoRequest : public RpcServiceRequest { +public: + DescribeAdminInfoRequest(); + ~DescribeAdminInfoRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEADMININFOREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/DescribeAdminInfoResult.h b/lto/include/alibabacloud/lto/model/DescribeAdminInfoResult.h new file mode 100644 index 000000000..8bbec54b9 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeAdminInfoResult.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_LTO_MODEL_DESCRIBEADMININFORESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEADMININFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT DescribeAdminInfoResult : public ServiceResult + { + public: + struct Data + { + long authorizedDeviceCount; + std::string status; + std::string memberId; + std::string uid; + std::string contactor; + std::string telephony; + long accessDate; + long authorizedCount; + std::string name; + std::string remark; + std::string accessStatus; + }; + + + DescribeAdminInfoResult(); + explicit DescribeAdminInfoResult(const std::string &payload); + ~DescribeAdminInfoResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEADMININFORESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/DescribeBizChainStatInfoRequest.h b/lto/include/alibabacloud/lto/model/DescribeBizChainStatInfoRequest.h new file mode 100644 index 000000000..89423c8c0 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeBizChainStatInfoRequest.h @@ -0,0 +1,42 @@ +/* + * 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_LTO_MODEL_DESCRIBEBIZCHAINSTATINFOREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEBIZCHAINSTATINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT DescribeBizChainStatInfoRequest : public RpcServiceRequest { +public: + DescribeBizChainStatInfoRequest(); + ~DescribeBizChainStatInfoRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEBIZCHAINSTATINFOREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/DescribeBizChainStatInfoResult.h b/lto/include/alibabacloud/lto/model/DescribeBizChainStatInfoResult.h new file mode 100644 index 000000000..9224d26a5 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeBizChainStatInfoResult.h @@ -0,0 +1,64 @@ +/* + * 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_LTO_MODEL_DESCRIBEBIZCHAINSTATINFORESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEBIZCHAINSTATINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT DescribeBizChainStatInfoResult : public ServiceResult + { + public: + struct BizChainStatInfo + { + std::string bizChainName; + long usedCount; + }; + + + DescribeBizChainStatInfoResult(); + explicit DescribeBizChainStatInfoResult(const std::string &payload); + ~DescribeBizChainStatInfoResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEBIZCHAINSTATINFORESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/DescribeDashboardApiInfoRequest.h b/lto/include/alibabacloud/lto/model/DescribeDashboardApiInfoRequest.h new file mode 100644 index 000000000..e83b0f99e --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeDashboardApiInfoRequest.h @@ -0,0 +1,42 @@ +/* + * 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_LTO_MODEL_DESCRIBEDASHBOARDAPIINFOREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEDASHBOARDAPIINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT DescribeDashboardApiInfoRequest : public RpcServiceRequest { +public: + DescribeDashboardApiInfoRequest(); + ~DescribeDashboardApiInfoRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEDASHBOARDAPIINFOREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/DescribeDashboardApiInfoResult.h b/lto/include/alibabacloud/lto/model/DescribeDashboardApiInfoResult.h new file mode 100644 index 000000000..622a95891 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeDashboardApiInfoResult.h @@ -0,0 +1,64 @@ +/* + * 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_LTO_MODEL_DESCRIBEDASHBOARDAPIINFORESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEDASHBOARDAPIINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT DescribeDashboardApiInfoResult : public ServiceResult + { + public: + struct Data + { + long usedCount; + long authorizedCount; + }; + + + DescribeDashboardApiInfoResult(); + explicit DescribeDashboardApiInfoResult(const std::string &payload); + ~DescribeDashboardApiInfoResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEDASHBOARDAPIINFORESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/DescribeDashboardBaseInfoRequest.h b/lto/include/alibabacloud/lto/model/DescribeDashboardBaseInfoRequest.h new file mode 100644 index 000000000..e54286d13 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeDashboardBaseInfoRequest.h @@ -0,0 +1,42 @@ +/* + * 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_LTO_MODEL_DESCRIBEDASHBOARDBASEINFOREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEDASHBOARDBASEINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT DescribeDashboardBaseInfoRequest : public RpcServiceRequest { +public: + DescribeDashboardBaseInfoRequest(); + ~DescribeDashboardBaseInfoRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEDASHBOARDBASEINFOREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/DescribeDashboardBaseInfoResult.h b/lto/include/alibabacloud/lto/model/DescribeDashboardBaseInfoResult.h new file mode 100644 index 000000000..ca4069c72 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeDashboardBaseInfoResult.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_LTO_MODEL_DESCRIBEDASHBOARDBASEINFORESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEDASHBOARDBASEINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT DescribeDashboardBaseInfoResult : public ServiceResult + { + public: + struct Data + { + int bizChainCount; + long apiInvokeCount; + int memberCount; + int deviceCount; + }; + + + DescribeDashboardBaseInfoResult(); + explicit DescribeDashboardBaseInfoResult(const std::string &payload); + ~DescribeDashboardBaseInfoResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEDASHBOARDBASEINFORESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/DescribeDashboardDeviceInfoRequest.h b/lto/include/alibabacloud/lto/model/DescribeDashboardDeviceInfoRequest.h new file mode 100644 index 000000000..215e4b55a --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeDashboardDeviceInfoRequest.h @@ -0,0 +1,42 @@ +/* + * 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_LTO_MODEL_DESCRIBEDASHBOARDDEVICEINFOREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEDASHBOARDDEVICEINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT DescribeDashboardDeviceInfoRequest : public RpcServiceRequest { +public: + DescribeDashboardDeviceInfoRequest(); + ~DescribeDashboardDeviceInfoRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEDASHBOARDDEVICEINFOREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/DescribeDashboardDeviceInfoResult.h b/lto/include/alibabacloud/lto/model/DescribeDashboardDeviceInfoResult.h new file mode 100644 index 000000000..cea9f2262 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeDashboardDeviceInfoResult.h @@ -0,0 +1,64 @@ +/* + * 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_LTO_MODEL_DESCRIBEDASHBOARDDEVICEINFORESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEDASHBOARDDEVICEINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT DescribeDashboardDeviceInfoResult : public ServiceResult + { + public: + struct Data + { + long usedCount; + long authorizedCount; + }; + + + DescribeDashboardDeviceInfoResult(); + explicit DescribeDashboardDeviceInfoResult(const std::string &payload); + ~DescribeDashboardDeviceInfoResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEDASHBOARDDEVICEINFORESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/DescribeDashboardMemberApiInfoRequest.h b/lto/include/alibabacloud/lto/model/DescribeDashboardMemberApiInfoRequest.h new file mode 100644 index 000000000..d41bb1009 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeDashboardMemberApiInfoRequest.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_LTO_MODEL_DESCRIBEDASHBOARDMEMBERAPIINFOREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEDASHBOARDMEMBERAPIINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT DescribeDashboardMemberApiInfoRequest : public RpcServiceRequest { +public: + DescribeDashboardMemberApiInfoRequest(); + ~DescribeDashboardMemberApiInfoRequest(); + long getEndTime() const; + void setEndTime(long endTime); + long getStartTime() const; + void setStartTime(long startTime); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + long endTime_; + long startTime_; + std::string bizChainId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEDASHBOARDMEMBERAPIINFOREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/DescribeDashboardMemberApiInfoResult.h b/lto/include/alibabacloud/lto/model/DescribeDashboardMemberApiInfoResult.h new file mode 100644 index 000000000..5cec7f8ba --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeDashboardMemberApiInfoResult.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_LTO_MODEL_DESCRIBEDASHBOARDMEMBERAPIINFORESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEDASHBOARDMEMBERAPIINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT DescribeDashboardMemberApiInfoResult : public ServiceResult + { + public: + struct DataItem + { + struct MemberInfo + { + long apiInvokeCount; + long time; + }; + std::vector memberInfoList; + std::string memberName; + }; + + + DescribeDashboardMemberApiInfoResult(); + explicit DescribeDashboardMemberApiInfoResult(const std::string &payload); + ~DescribeDashboardMemberApiInfoResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEDASHBOARDMEMBERAPIINFORESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/DescribeDashboardMemberDeviceInfoRequest.h b/lto/include/alibabacloud/lto/model/DescribeDashboardMemberDeviceInfoRequest.h new file mode 100644 index 000000000..f44911de9 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeDashboardMemberDeviceInfoRequest.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_LTO_MODEL_DESCRIBEDASHBOARDMEMBERDEVICEINFOREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEDASHBOARDMEMBERDEVICEINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT DescribeDashboardMemberDeviceInfoRequest : public RpcServiceRequest { +public: + DescribeDashboardMemberDeviceInfoRequest(); + ~DescribeDashboardMemberDeviceInfoRequest(); + long getEndTime() const; + void setEndTime(long endTime); + long getStartTime() const; + void setStartTime(long startTime); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + long endTime_; + long startTime_; + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEDASHBOARDMEMBERDEVICEINFOREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/DescribeDashboardMemberDeviceInfoResult.h b/lto/include/alibabacloud/lto/model/DescribeDashboardMemberDeviceInfoResult.h new file mode 100644 index 000000000..b52158ebc --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeDashboardMemberDeviceInfoResult.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_LTO_MODEL_DESCRIBEDASHBOARDMEMBERDEVICEINFORESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEDASHBOARDMEMBERDEVICEINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT DescribeDashboardMemberDeviceInfoResult : public ServiceResult + { + public: + struct DataItem + { + struct MemberInfo + { + long time; + int deviceCount; + }; + std::vector memberInfoList; + std::string memberName; + }; + + + DescribeDashboardMemberDeviceInfoResult(); + explicit DescribeDashboardMemberDeviceInfoResult(const std::string &payload); + ~DescribeDashboardMemberDeviceInfoResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEDASHBOARDMEMBERDEVICEINFORESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/DescribeDeviceInfoRequest.h b/lto/include/alibabacloud/lto/model/DescribeDeviceInfoRequest.h new file mode 100644 index 000000000..04b21a9fc --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeDeviceInfoRequest.h @@ -0,0 +1,42 @@ +/* + * 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_LTO_MODEL_DESCRIBEDEVICEINFOREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEDEVICEINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT DescribeDeviceInfoRequest : public RpcServiceRequest { +public: + DescribeDeviceInfoRequest(); + ~DescribeDeviceInfoRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEDEVICEINFOREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/DescribeDeviceInfoResult.h b/lto/include/alibabacloud/lto/model/DescribeDeviceInfoResult.h new file mode 100644 index 000000000..a8c2796a2 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeDeviceInfoResult.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_LTO_MODEL_DESCRIBEDEVICEINFORESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEDEVICEINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT DescribeDeviceInfoResult : public ServiceResult + { + public: + struct Data + { + int authorizedCount; + int distributableCount; + int deviceCount; + }; + + + DescribeDeviceInfoResult(); + explicit DescribeDeviceInfoResult(const std::string &payload); + ~DescribeDeviceInfoResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEDEVICEINFORESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/DescribeEdgeStatInfoRequest.h b/lto/include/alibabacloud/lto/model/DescribeEdgeStatInfoRequest.h new file mode 100644 index 000000000..d76d5ab1d --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeEdgeStatInfoRequest.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_LTO_MODEL_DESCRIBEEDGESTATINFOREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEEDGESTATINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT DescribeEdgeStatInfoRequest : public RpcServiceRequest { +public: + DescribeEdgeStatInfoRequest(); + ~DescribeEdgeStatInfoRequest(); + std::string getEdgeDn() const; + void setEdgeDn(const std::string &edgeDn); + std::string getEdgePk() const; + void setEdgePk(const std::string &edgePk); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string edgeDn_; + std::string edgePk_; + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEEDGESTATINFOREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/DescribeEdgeStatInfoResult.h b/lto/include/alibabacloud/lto/model/DescribeEdgeStatInfoResult.h new file mode 100644 index 000000000..aaf840667 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeEdgeStatInfoResult.h @@ -0,0 +1,64 @@ +/* + * 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_LTO_MODEL_DESCRIBEEDGESTATINFORESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEEDGESTATINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT DescribeEdgeStatInfoResult : public ServiceResult + { + public: + struct Data + { + long usedDeviceLicenseCount; + long totalDeviceLicenseCount; + }; + + + DescribeEdgeStatInfoResult(); + explicit DescribeEdgeStatInfoResult(const std::string &payload); + ~DescribeEdgeStatInfoResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEEDGESTATINFORESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/DescribeMemberBizChainStatInfoRequest.h b/lto/include/alibabacloud/lto/model/DescribeMemberBizChainStatInfoRequest.h new file mode 100644 index 000000000..f4f664eca --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeMemberBizChainStatInfoRequest.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_LTO_MODEL_DESCRIBEMEMBERBIZCHAINSTATINFOREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEMEMBERBIZCHAINSTATINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT DescribeMemberBizChainStatInfoRequest : public RpcServiceRequest { +public: + DescribeMemberBizChainStatInfoRequest(); + ~DescribeMemberBizChainStatInfoRequest(); + std::string getAccountId() const; + void setAccountId(const std::string &accountId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string accountId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEMEMBERBIZCHAINSTATINFOREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/DescribeMemberBizChainStatInfoResult.h b/lto/include/alibabacloud/lto/model/DescribeMemberBizChainStatInfoResult.h new file mode 100644 index 000000000..db09adbad --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeMemberBizChainStatInfoResult.h @@ -0,0 +1,64 @@ +/* + * 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_LTO_MODEL_DESCRIBEMEMBERBIZCHAINSTATINFORESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEMEMBERBIZCHAINSTATINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT DescribeMemberBizChainStatInfoResult : public ServiceResult + { + public: + struct MemberBizChainStatInfo + { + std::string bizChainName; + long usedCount; + }; + + + DescribeMemberBizChainStatInfoResult(); + explicit DescribeMemberBizChainStatInfoResult(const std::string &payload); + ~DescribeMemberBizChainStatInfoResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEMEMBERBIZCHAINSTATINFORESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/DescribeMemberStatInfoRequest.h b/lto/include/alibabacloud/lto/model/DescribeMemberStatInfoRequest.h new file mode 100644 index 000000000..6faddbeb0 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeMemberStatInfoRequest.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_LTO_MODEL_DESCRIBEMEMBERSTATINFOREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEMEMBERSTATINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT DescribeMemberStatInfoRequest : public RpcServiceRequest { +public: + DescribeMemberStatInfoRequest(); + ~DescribeMemberStatInfoRequest(); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string bizChainId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEMEMBERSTATINFOREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/DescribeMemberStatInfoResult.h b/lto/include/alibabacloud/lto/model/DescribeMemberStatInfoResult.h new file mode 100644 index 000000000..bdabef044 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeMemberStatInfoResult.h @@ -0,0 +1,67 @@ +/* + * 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_LTO_MODEL_DESCRIBEMEMBERSTATINFORESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEMEMBERSTATINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT DescribeMemberStatInfoResult : public ServiceResult + { + public: + struct MemberStatInfo + { + int bizChainCount; + std::string memberId; + std::string memberName; + long usedCount; + long authorizedCount; + }; + + + DescribeMemberStatInfoResult(); + explicit DescribeMemberStatInfoResult(const std::string &payload); + ~DescribeMemberStatInfoResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEMEMBERSTATINFORESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/DescribeMemberTotalStatInfoRequest.h b/lto/include/alibabacloud/lto/model/DescribeMemberTotalStatInfoRequest.h new file mode 100644 index 000000000..32793d4e8 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeMemberTotalStatInfoRequest.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_LTO_MODEL_DESCRIBEMEMBERTOTALSTATINFOREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEMEMBERTOTALSTATINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT DescribeMemberTotalStatInfoRequest : public RpcServiceRequest { +public: + DescribeMemberTotalStatInfoRequest(); + ~DescribeMemberTotalStatInfoRequest(); + std::string getAccountId() const; + void setAccountId(const std::string &accountId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string accountId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEMEMBERTOTALSTATINFOREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/DescribeMemberTotalStatInfoResult.h b/lto/include/alibabacloud/lto/model/DescribeMemberTotalStatInfoResult.h new file mode 100644 index 000000000..ae1cedee6 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeMemberTotalStatInfoResult.h @@ -0,0 +1,64 @@ +/* + * 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_LTO_MODEL_DESCRIBEMEMBERTOTALSTATINFORESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEMEMBERTOTALSTATINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT DescribeMemberTotalStatInfoResult : public ServiceResult + { + public: + struct Data + { + long usedCount; + long authorizedCount; + }; + + + DescribeMemberTotalStatInfoResult(); + explicit DescribeMemberTotalStatInfoResult(const std::string &payload); + ~DescribeMemberTotalStatInfoResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEMEMBERTOTALSTATINFORESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/DescribePackgeInfoRequest.h b/lto/include/alibabacloud/lto/model/DescribePackgeInfoRequest.h new file mode 100644 index 000000000..0eff6935b --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribePackgeInfoRequest.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_LTO_MODEL_DESCRIBEPACKGEINFOREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEPACKGEINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT DescribePackgeInfoRequest : public RpcServiceRequest { +public: + DescribePackgeInfoRequest(); + ~DescribePackgeInfoRequest(); + std::string getAccountId() const; + void setAccountId(const std::string &accountId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string accountId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEPACKGEINFOREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/DescribePackgeInfoResult.h b/lto/include/alibabacloud/lto/model/DescribePackgeInfoResult.h new file mode 100644 index 000000000..c59ac1add --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribePackgeInfoResult.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_LTO_MODEL_DESCRIBEPACKGEINFORESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBEPACKGEINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT DescribePackgeInfoResult : public ServiceResult + { + public: + struct Data + { + bool enableTrace; + long endTime; + long startTime; + }; + + + DescribePackgeInfoResult(); + explicit DescribePackgeInfoResult(const std::string &payload); + ~DescribePackgeInfoResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBEPACKGEINFORESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/DescribeStatDeviceInfoRequest.h b/lto/include/alibabacloud/lto/model/DescribeStatDeviceInfoRequest.h new file mode 100644 index 000000000..a309c87c9 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeStatDeviceInfoRequest.h @@ -0,0 +1,42 @@ +/* + * 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_LTO_MODEL_DESCRIBESTATDEVICEINFOREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBESTATDEVICEINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT DescribeStatDeviceInfoRequest : public RpcServiceRequest { +public: + DescribeStatDeviceInfoRequest(); + ~DescribeStatDeviceInfoRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBESTATDEVICEINFOREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/DescribeStatDeviceInfoResult.h b/lto/include/alibabacloud/lto/model/DescribeStatDeviceInfoResult.h new file mode 100644 index 000000000..49f900b0b --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeStatDeviceInfoResult.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_LTO_MODEL_DESCRIBESTATDEVICEINFORESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBESTATDEVICEINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT DescribeStatDeviceInfoResult : public ServiceResult + { + public: + struct Data + { + struct BizChainInfo + { + std::string bizChainName; + int authorizedCount; + }; + std::vector bizChainList; + int totalAuthorizedCount; + int distributableCount; + }; + + + DescribeStatDeviceInfoResult(); + explicit DescribeStatDeviceInfoResult(const std::string &payload); + ~DescribeStatDeviceInfoResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBESTATDEVICEINFORESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/DescribeStatMemberDeviceInfoRequest.h b/lto/include/alibabacloud/lto/model/DescribeStatMemberDeviceInfoRequest.h new file mode 100644 index 000000000..ccc74097f --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeStatMemberDeviceInfoRequest.h @@ -0,0 +1,42 @@ +/* + * 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_LTO_MODEL_DESCRIBESTATMEMBERDEVICEINFOREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBESTATMEMBERDEVICEINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT DescribeStatMemberDeviceInfoRequest : public RpcServiceRequest { +public: + DescribeStatMemberDeviceInfoRequest(); + ~DescribeStatMemberDeviceInfoRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBESTATMEMBERDEVICEINFOREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/DescribeStatMemberDeviceInfoResult.h b/lto/include/alibabacloud/lto/model/DescribeStatMemberDeviceInfoResult.h new file mode 100644 index 000000000..4b5252a2b --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeStatMemberDeviceInfoResult.h @@ -0,0 +1,67 @@ +/* + * 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_LTO_MODEL_DESCRIBESTATMEMBERDEVICEINFORESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBESTATMEMBERDEVICEINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT DescribeStatMemberDeviceInfoResult : public ServiceResult + { + public: + struct DataItem + { + std::string bizChainCount; + std::string memberId; + std::string memberName; + std::string usedCount; + std::string authorizedCount; + }; + + + DescribeStatMemberDeviceInfoResult(); + explicit DescribeStatMemberDeviceInfoResult(const std::string &payload); + ~DescribeStatMemberDeviceInfoResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBESTATMEMBERDEVICEINFORESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/DescribeTotalStatInfoRequest.h b/lto/include/alibabacloud/lto/model/DescribeTotalStatInfoRequest.h new file mode 100644 index 000000000..ae545d02f --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeTotalStatInfoRequest.h @@ -0,0 +1,42 @@ +/* + * 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_LTO_MODEL_DESCRIBETOTALSTATINFOREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBETOTALSTATINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT DescribeTotalStatInfoRequest : public RpcServiceRequest { +public: + DescribeTotalStatInfoRequest(); + ~DescribeTotalStatInfoRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBETOTALSTATINFOREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/DescribeTotalStatInfoResult.h b/lto/include/alibabacloud/lto/model/DescribeTotalStatInfoResult.h new file mode 100644 index 000000000..a0b930a19 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DescribeTotalStatInfoResult.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_LTO_MODEL_DESCRIBETOTALSTATINFORESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_DESCRIBETOTALSTATINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT DescribeTotalStatInfoResult : public ServiceResult + { + public: + struct Data + { + long totalCount; + long usedCount; + long authorizedCount; + }; + + + DescribeTotalStatInfoResult(); + explicit DescribeTotalStatInfoResult(const std::string &payload); + ~DescribeTotalStatInfoResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_DESCRIBETOTALSTATINFORESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/DisableDeviceGroupRequest.h b/lto/include/alibabacloud/lto/model/DisableDeviceGroupRequest.h new file mode 100644 index 000000000..9b51d0f64 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DisableDeviceGroupRequest.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_LTO_MODEL_DISABLEDEVICEGROUPREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_DISABLEDEVICEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT DisableDeviceGroupRequest : public RpcServiceRequest { +public: + DisableDeviceGroupRequest(); + ~DisableDeviceGroupRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getDeviceGroupId() const; + void setDeviceGroupId(const std::string &deviceGroupId); + +private: + std::string regionId_; + std::string deviceGroupId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_DISABLEDEVICEGROUPREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/DisableDeviceGroupResult.h b/lto/include/alibabacloud/lto/model/DisableDeviceGroupResult.h new file mode 100644 index 000000000..54b0d9fda --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DisableDeviceGroupResult.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_LTO_MODEL_DISABLEDEVICEGROUPRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_DISABLEDEVICEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT DisableDeviceGroupResult : public ServiceResult + { + public: + + + DisableDeviceGroupResult(); + explicit DisableDeviceGroupResult(const std::string &payload); + ~DisableDeviceGroupResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_DISABLEDEVICEGROUPRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/DisableDeviceRequest.h b/lto/include/alibabacloud/lto/model/DisableDeviceRequest.h new file mode 100644 index 000000000..9256dab45 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DisableDeviceRequest.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_LTO_MODEL_DISABLEDEVICEREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_DISABLEDEVICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT DisableDeviceRequest : public RpcServiceRequest { +public: + DisableDeviceRequest(); + ~DisableDeviceRequest(); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string deviceId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_DISABLEDEVICEREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/DisableDeviceResult.h b/lto/include/alibabacloud/lto/model/DisableDeviceResult.h new file mode 100644 index 000000000..cdb8180df --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DisableDeviceResult.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_LTO_MODEL_DISABLEDEVICERESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_DISABLEDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT DisableDeviceResult : public ServiceResult + { + public: + + + DisableDeviceResult(); + explicit DisableDeviceResult(const std::string &payload); + ~DisableDeviceResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_DISABLEDEVICERESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/DownloadPrivacyKeyRequest.h b/lto/include/alibabacloud/lto/model/DownloadPrivacyKeyRequest.h new file mode 100644 index 000000000..cf3a96f35 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DownloadPrivacyKeyRequest.h @@ -0,0 +1,42 @@ +/* + * 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_LTO_MODEL_DOWNLOADPRIVACYKEYREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_DOWNLOADPRIVACYKEYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT DownloadPrivacyKeyRequest : public RpcServiceRequest { +public: + DownloadPrivacyKeyRequest(); + ~DownloadPrivacyKeyRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_DOWNLOADPRIVACYKEYREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/DownloadPrivacyKeyResult.h b/lto/include/alibabacloud/lto/model/DownloadPrivacyKeyResult.h new file mode 100644 index 000000000..022cd7c03 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/DownloadPrivacyKeyResult.h @@ -0,0 +1,59 @@ +/* + * 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_LTO_MODEL_DOWNLOADPRIVACYKEYRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_DOWNLOADPRIVACYKEYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT DownloadPrivacyKeyResult : public ServiceResult + { + public: + + + DownloadPrivacyKeyResult(); + explicit DownloadPrivacyKeyResult(const std::string &payload); + ~DownloadPrivacyKeyResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_DOWNLOADPRIVACYKEYRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/EnableDeviceGroupRequest.h b/lto/include/alibabacloud/lto/model/EnableDeviceGroupRequest.h new file mode 100644 index 000000000..ed631ad0d --- /dev/null +++ b/lto/include/alibabacloud/lto/model/EnableDeviceGroupRequest.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_LTO_MODEL_ENABLEDEVICEGROUPREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_ENABLEDEVICEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT EnableDeviceGroupRequest : public RpcServiceRequest { +public: + EnableDeviceGroupRequest(); + ~EnableDeviceGroupRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getDeviceGroupId() const; + void setDeviceGroupId(const std::string &deviceGroupId); + +private: + std::string regionId_; + std::string deviceGroupId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_ENABLEDEVICEGROUPREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/EnableDeviceGroupResult.h b/lto/include/alibabacloud/lto/model/EnableDeviceGroupResult.h new file mode 100644 index 000000000..07d17a97b --- /dev/null +++ b/lto/include/alibabacloud/lto/model/EnableDeviceGroupResult.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_LTO_MODEL_ENABLEDEVICEGROUPRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_ENABLEDEVICEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT EnableDeviceGroupResult : public ServiceResult + { + public: + + + EnableDeviceGroupResult(); + explicit EnableDeviceGroupResult(const std::string &payload); + ~EnableDeviceGroupResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_ENABLEDEVICEGROUPRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/EnableDeviceRequest.h b/lto/include/alibabacloud/lto/model/EnableDeviceRequest.h new file mode 100644 index 000000000..71cca650c --- /dev/null +++ b/lto/include/alibabacloud/lto/model/EnableDeviceRequest.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_LTO_MODEL_ENABLEDEVICEREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_ENABLEDEVICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT EnableDeviceRequest : public RpcServiceRequest { +public: + EnableDeviceRequest(); + ~EnableDeviceRequest(); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string deviceId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_ENABLEDEVICEREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/EnableDeviceResult.h b/lto/include/alibabacloud/lto/model/EnableDeviceResult.h new file mode 100644 index 000000000..08a1fd298 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/EnableDeviceResult.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_LTO_MODEL_ENABLEDEVICERESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_ENABLEDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT EnableDeviceResult : public ServiceResult + { + public: + + + EnableDeviceResult(); + explicit EnableDeviceResult(const std::string &payload); + ~EnableDeviceResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_ENABLEDEVICERESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/FreezeMemberRequest.h b/lto/include/alibabacloud/lto/model/FreezeMemberRequest.h new file mode 100644 index 000000000..c23d8bf59 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/FreezeMemberRequest.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_LTO_MODEL_FREEZEMEMBERREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_FREEZEMEMBERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT FreezeMemberRequest : public RpcServiceRequest { +public: + FreezeMemberRequest(); + ~FreezeMemberRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getMemberId() const; + void setMemberId(const std::string &memberId); + +private: + std::string regionId_; + std::string memberId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_FREEZEMEMBERREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/FreezeMemberResult.h b/lto/include/alibabacloud/lto/model/FreezeMemberResult.h new file mode 100644 index 000000000..48e3834c2 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/FreezeMemberResult.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_LTO_MODEL_FREEZEMEMBERRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_FREEZEMEMBERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT FreezeMemberResult : public ServiceResult + { + public: + + + FreezeMemberResult(); + explicit FreezeMemberResult(const std::string &payload); + ~FreezeMemberResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_FREEZEMEMBERRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/GetEdgeTotalDeviceCountRequest.h b/lto/include/alibabacloud/lto/model/GetEdgeTotalDeviceCountRequest.h new file mode 100644 index 000000000..110def4c3 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/GetEdgeTotalDeviceCountRequest.h @@ -0,0 +1,42 @@ +/* + * 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_LTO_MODEL_GETEDGETOTALDEVICECOUNTREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_GETEDGETOTALDEVICECOUNTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT GetEdgeTotalDeviceCountRequest : public RpcServiceRequest { +public: + GetEdgeTotalDeviceCountRequest(); + ~GetEdgeTotalDeviceCountRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_GETEDGETOTALDEVICECOUNTREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/GetEdgeTotalDeviceCountResult.h b/lto/include/alibabacloud/lto/model/GetEdgeTotalDeviceCountResult.h new file mode 100644 index 000000000..9947bc8d3 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/GetEdgeTotalDeviceCountResult.h @@ -0,0 +1,59 @@ +/* + * 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_LTO_MODEL_GETEDGETOTALDEVICECOUNTRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_GETEDGETOTALDEVICECOUNTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT GetEdgeTotalDeviceCountResult : public ServiceResult + { + public: + + + GetEdgeTotalDeviceCountResult(); + explicit GetEdgeTotalDeviceCountResult(const std::string &payload); + ~GetEdgeTotalDeviceCountResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + long getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + long data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_GETEDGETOTALDEVICECOUNTRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListAllAdminRequest.h b/lto/include/alibabacloud/lto/model/ListAllAdminRequest.h new file mode 100644 index 000000000..bc8907601 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListAllAdminRequest.h @@ -0,0 +1,42 @@ +/* + * 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_LTO_MODEL_LISTALLADMINREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTALLADMINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListAllAdminRequest : public RpcServiceRequest { +public: + ListAllAdminRequest(); + ~ListAllAdminRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTALLADMINREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListAllAdminResult.h b/lto/include/alibabacloud/lto/model/ListAllAdminResult.h new file mode 100644 index 000000000..e6d91b64d --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListAllAdminResult.h @@ -0,0 +1,64 @@ +/* + * 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_LTO_MODEL_LISTALLADMINRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTALLADMINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListAllAdminResult : public ServiceResult + { + public: + struct AdminInfo + { + std::string adminId; + std::string name; + }; + + + ListAllAdminResult(); + explicit ListAllAdminResult(const std::string &payload); + ~ListAllAdminResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTALLADMINRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListAllBizChainContractRequest.h b/lto/include/alibabacloud/lto/model/ListAllBizChainContractRequest.h new file mode 100644 index 000000000..3b414d50a --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListAllBizChainContractRequest.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_LTO_MODEL_LISTALLBIZCHAINCONTRACTREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTALLBIZCHAINCONTRACTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListAllBizChainContractRequest : public RpcServiceRequest { +public: + ListAllBizChainContractRequest(); + ~ListAllBizChainContractRequest(); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string bizChainId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTALLBIZCHAINCONTRACTREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListAllBizChainContractResult.h b/lto/include/alibabacloud/lto/model/ListAllBizChainContractResult.h new file mode 100644 index 000000000..8656d3602 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListAllBizChainContractResult.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_LTO_MODEL_LISTALLBIZCHAINCONTRACTRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTALLBIZCHAINCONTRACTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListAllBizChainContractResult : public ServiceResult + { + public: + struct ContractInfo + { + std::string contractTemplateId; + std::string invokeType; + std::string contractName; + }; + + + ListAllBizChainContractResult(); + explicit ListAllBizChainContractResult(const std::string &payload); + ~ListAllBizChainContractResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTALLBIZCHAINCONTRACTRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListAllBizChainRequest.h b/lto/include/alibabacloud/lto/model/ListAllBizChainRequest.h new file mode 100644 index 000000000..cac295069 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListAllBizChainRequest.h @@ -0,0 +1,42 @@ +/* + * 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_LTO_MODEL_LISTALLBIZCHAINREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTALLBIZCHAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListAllBizChainRequest : public RpcServiceRequest { +public: + ListAllBizChainRequest(); + ~ListAllBizChainRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTALLBIZCHAINREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListAllBizChainResult.h b/lto/include/alibabacloud/lto/model/ListAllBizChainResult.h new file mode 100644 index 000000000..c8adb7717 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListAllBizChainResult.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_LTO_MODEL_LISTALLBIZCHAINRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTALLBIZCHAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListAllBizChainResult : public ServiceResult + { + public: + struct BizChainInfo + { + long usedOnchainCount; + std::string bizChainId; + std::string name; + }; + + + ListAllBizChainResult(); + explicit ListAllBizChainResult(const std::string &payload); + ~ListAllBizChainResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTALLBIZCHAINRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListAllDeviceGroupRequest.h b/lto/include/alibabacloud/lto/model/ListAllDeviceGroupRequest.h new file mode 100644 index 000000000..b69be95f0 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListAllDeviceGroupRequest.h @@ -0,0 +1,42 @@ +/* + * 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_LTO_MODEL_LISTALLDEVICEGROUPREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTALLDEVICEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListAllDeviceGroupRequest : public RpcServiceRequest { +public: + ListAllDeviceGroupRequest(); + ~ListAllDeviceGroupRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTALLDEVICEGROUPREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListAllDeviceGroupResult.h b/lto/include/alibabacloud/lto/model/ListAllDeviceGroupResult.h new file mode 100644 index 000000000..31706347d --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListAllDeviceGroupResult.h @@ -0,0 +1,64 @@ +/* + * 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_LTO_MODEL_LISTALLDEVICEGROUPRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTALLDEVICEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListAllDeviceGroupResult : public ServiceResult + { + public: + struct DeviceGroupInfo + { + std::string deviceGroupId; + std::string name; + }; + + + ListAllDeviceGroupResult(); + explicit ListAllDeviceGroupResult(const std::string &payload); + ~ListAllDeviceGroupResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTALLDEVICEGROUPRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListAllMemberRequest.h b/lto/include/alibabacloud/lto/model/ListAllMemberRequest.h new file mode 100644 index 000000000..f046ce16d --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListAllMemberRequest.h @@ -0,0 +1,42 @@ +/* + * 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_LTO_MODEL_LISTALLMEMBERREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTALLMEMBERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListAllMemberRequest : public RpcServiceRequest { +public: + ListAllMemberRequest(); + ~ListAllMemberRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTALLMEMBERREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListAllMemberResult.h b/lto/include/alibabacloud/lto/model/ListAllMemberResult.h new file mode 100644 index 000000000..a6642715e --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListAllMemberResult.h @@ -0,0 +1,64 @@ +/* + * 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_LTO_MODEL_LISTALLMEMBERRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTALLMEMBERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListAllMemberResult : public ServiceResult + { + public: + struct MemberInfo + { + std::string memberId; + std::string name; + }; + + + ListAllMemberResult(); + explicit ListAllMemberResult(const std::string &payload); + ~ListAllMemberResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTALLMEMBERRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListAllPrivacyAlgorithmRequest.h b/lto/include/alibabacloud/lto/model/ListAllPrivacyAlgorithmRequest.h new file mode 100644 index 000000000..57e743a6e --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListAllPrivacyAlgorithmRequest.h @@ -0,0 +1,42 @@ +/* + * 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_LTO_MODEL_LISTALLPRIVACYALGORITHMREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTALLPRIVACYALGORITHMREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListAllPrivacyAlgorithmRequest : public RpcServiceRequest { +public: + ListAllPrivacyAlgorithmRequest(); + ~ListAllPrivacyAlgorithmRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTALLPRIVACYALGORITHMREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListAllPrivacyAlgorithmResult.h b/lto/include/alibabacloud/lto/model/ListAllPrivacyAlgorithmResult.h new file mode 100644 index 000000000..1d41caf60 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListAllPrivacyAlgorithmResult.h @@ -0,0 +1,64 @@ +/* + * 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_LTO_MODEL_LISTALLPRIVACYALGORITHMRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTALLPRIVACYALGORITHMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListAllPrivacyAlgorithmResult : public ServiceResult + { + public: + struct AlgTypeInfo + { + std::string algType; + std::vector algImplList; + }; + + + ListAllPrivacyAlgorithmResult(); + explicit ListAllPrivacyAlgorithmResult(const std::string &payload); + ~ListAllPrivacyAlgorithmResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTALLPRIVACYALGORITHMRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListAllPrivacyRuleRequest.h b/lto/include/alibabacloud/lto/model/ListAllPrivacyRuleRequest.h new file mode 100644 index 000000000..3aa4adf69 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListAllPrivacyRuleRequest.h @@ -0,0 +1,42 @@ +/* + * 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_LTO_MODEL_LISTALLPRIVACYRULEREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTALLPRIVACYRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListAllPrivacyRuleRequest : public RpcServiceRequest { +public: + ListAllPrivacyRuleRequest(); + ~ListAllPrivacyRuleRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTALLPRIVACYRULEREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListAllPrivacyRuleResult.h b/lto/include/alibabacloud/lto/model/ListAllPrivacyRuleResult.h new file mode 100644 index 000000000..8c481d3db --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListAllPrivacyRuleResult.h @@ -0,0 +1,64 @@ +/* + * 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_LTO_MODEL_LISTALLPRIVACYRULERESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTALLPRIVACYRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListAllPrivacyRuleResult : public ServiceResult + { + public: + struct PrivacyRuleInfo + { + std::string privacyRuleId; + std::string name; + }; + + + ListAllPrivacyRuleResult(); + explicit ListAllPrivacyRuleResult(const std::string &payload); + ~ListAllPrivacyRuleResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTALLPRIVACYRULERESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListAllProductKeyRequest.h b/lto/include/alibabacloud/lto/model/ListAllProductKeyRequest.h new file mode 100644 index 000000000..c3287bd04 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListAllProductKeyRequest.h @@ -0,0 +1,42 @@ +/* + * 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_LTO_MODEL_LISTALLPRODUCTKEYREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTALLPRODUCTKEYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListAllProductKeyRequest : public RpcServiceRequest { +public: + ListAllProductKeyRequest(); + ~ListAllProductKeyRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTALLPRODUCTKEYREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListAllProductKeyResult.h b/lto/include/alibabacloud/lto/model/ListAllProductKeyResult.h new file mode 100644 index 000000000..2bd8f0e10 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListAllProductKeyResult.h @@ -0,0 +1,64 @@ +/* + * 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_LTO_MODEL_LISTALLPRODUCTKEYRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTALLPRODUCTKEYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListAllProductKeyResult : public ServiceResult + { + public: + struct ProductKeyInfo + { + std::string productKey; + std::string name; + }; + + + ListAllProductKeyResult(); + explicit ListAllProductKeyResult(const std::string &payload); + ~ListAllProductKeyResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTALLPRODUCTKEYRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListAllSystemContractRequest.h b/lto/include/alibabacloud/lto/model/ListAllSystemContractRequest.h new file mode 100644 index 000000000..bed0973dc --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListAllSystemContractRequest.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_LTO_MODEL_LISTALLSYSTEMCONTRACTREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTALLSYSTEMCONTRACTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListAllSystemContractRequest : public RpcServiceRequest { +public: + ListAllSystemContractRequest(); + ~ListAllSystemContractRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getBlockChainType() const; + void setBlockChainType(const std::string &blockChainType); + +private: + std::string regionId_; + std::string blockChainType_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTALLSYSTEMCONTRACTREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListAllSystemContractResult.h b/lto/include/alibabacloud/lto/model/ListAllSystemContractResult.h new file mode 100644 index 000000000..7f8d8afaa --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListAllSystemContractResult.h @@ -0,0 +1,64 @@ +/* + * 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_LTO_MODEL_LISTALLSYSTEMCONTRACTRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTALLSYSTEMCONTRACTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListAllSystemContractResult : public ServiceResult + { + public: + struct SystemContractInfo + { + std::string systemContractId; + std::string name; + }; + + + ListAllSystemContractResult(); + explicit ListAllSystemContractResult(const std::string &payload); + ~ListAllSystemContractResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTALLSYSTEMCONTRACTRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListBaaSAntChainConsortiumRequest.h b/lto/include/alibabacloud/lto/model/ListBaaSAntChainConsortiumRequest.h new file mode 100644 index 000000000..f6e53514e --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListBaaSAntChainConsortiumRequest.h @@ -0,0 +1,42 @@ +/* + * 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_LTO_MODEL_LISTBAASANTCHAINCONSORTIUMREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTBAASANTCHAINCONSORTIUMREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListBaaSAntChainConsortiumRequest : public RpcServiceRequest { +public: + ListBaaSAntChainConsortiumRequest(); + ~ListBaaSAntChainConsortiumRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTBAASANTCHAINCONSORTIUMREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListBaaSAntChainConsortiumResult.h b/lto/include/alibabacloud/lto/model/ListBaaSAntChainConsortiumResult.h new file mode 100644 index 000000000..18ec4e7e6 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListBaaSAntChainConsortiumResult.h @@ -0,0 +1,64 @@ +/* + * 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_LTO_MODEL_LISTBAASANTCHAINCONSORTIUMRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTBAASANTCHAINCONSORTIUMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListBaaSAntChainConsortiumResult : public ServiceResult + { + public: + struct BaaSAntChainConsortiumInfo + { + std::string baaSAntChainConsortiumId; + std::string baaSAntChainConsortiumName; + }; + + + ListBaaSAntChainConsortiumResult(); + explicit ListBaaSAntChainConsortiumResult(const std::string &payload); + ~ListBaaSAntChainConsortiumResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTBAASANTCHAINCONSORTIUMRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListBaaSAntChainPeerRequest.h b/lto/include/alibabacloud/lto/model/ListBaaSAntChainPeerRequest.h new file mode 100644 index 000000000..3757454e6 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListBaaSAntChainPeerRequest.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_LTO_MODEL_LISTBAASANTCHAINPEERREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTBAASANTCHAINPEERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListBaaSAntChainPeerRequest : public RpcServiceRequest { +public: + ListBaaSAntChainPeerRequest(); + ~ListBaaSAntChainPeerRequest(); + std::string getBaaSAntChainConsortiumId() const; + void setBaaSAntChainConsortiumId(const std::string &baaSAntChainConsortiumId); + std::string getBaaSAntChainChainId() const; + void setBaaSAntChainChainId(const std::string &baaSAntChainChainId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string baaSAntChainConsortiumId_; + std::string baaSAntChainChainId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTBAASANTCHAINPEERREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListBaaSAntChainPeerResult.h b/lto/include/alibabacloud/lto/model/ListBaaSAntChainPeerResult.h new file mode 100644 index 000000000..dccfc3a83 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListBaaSAntChainPeerResult.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_LTO_MODEL_LISTBAASANTCHAINPEERRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTBAASANTCHAINPEERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListBaaSAntChainPeerResult : public ServiceResult + { + public: + struct BaaSAntChainPeerInfo + { + std::string nodeName; + }; + + + ListBaaSAntChainPeerResult(); + explicit ListBaaSAntChainPeerResult(const std::string &payload); + ~ListBaaSAntChainPeerResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTBAASANTCHAINPEERRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListBaaSAntChainRequest.h b/lto/include/alibabacloud/lto/model/ListBaaSAntChainRequest.h new file mode 100644 index 000000000..2d35a9c2c --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListBaaSAntChainRequest.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_LTO_MODEL_LISTBAASANTCHAINREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTBAASANTCHAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListBaaSAntChainRequest : public RpcServiceRequest { +public: + ListBaaSAntChainRequest(); + ~ListBaaSAntChainRequest(); + std::string getBaaSAntChainConsortiumId() const; + void setBaaSAntChainConsortiumId(const std::string &baaSAntChainConsortiumId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string baaSAntChainConsortiumId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTBAASANTCHAINREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListBaaSAntChainResult.h b/lto/include/alibabacloud/lto/model/ListBaaSAntChainResult.h new file mode 100644 index 000000000..2d4d75679 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListBaaSAntChainResult.h @@ -0,0 +1,64 @@ +/* + * 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_LTO_MODEL_LISTBAASANTCHAINRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTBAASANTCHAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListBaaSAntChainResult : public ServiceResult + { + public: + struct BaaSAntChainChainInfo + { + std::string baaSAntChainChainName; + std::string baaSAntChainChainId; + }; + + + ListBaaSAntChainResult(); + explicit ListBaaSAntChainResult(const std::string &payload); + ~ListBaaSAntChainResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTBAASANTCHAINRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListBaaSFabricChannelRequest.h b/lto/include/alibabacloud/lto/model/ListBaaSFabricChannelRequest.h new file mode 100644 index 000000000..bd3699f38 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListBaaSFabricChannelRequest.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_LTO_MODEL_LISTBAASFABRICCHANNELREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTBAASFABRICCHANNELREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListBaaSFabricChannelRequest : public RpcServiceRequest { +public: + ListBaaSFabricChannelRequest(); + ~ListBaaSFabricChannelRequest(); + std::string getBaaSFabricConsortiumId() const; + void setBaaSFabricConsortiumId(const std::string &baaSFabricConsortiumId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string baaSFabricConsortiumId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTBAASFABRICCHANNELREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListBaaSFabricChannelResult.h b/lto/include/alibabacloud/lto/model/ListBaaSFabricChannelResult.h new file mode 100644 index 000000000..0e2d81dc1 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListBaaSFabricChannelResult.h @@ -0,0 +1,64 @@ +/* + * 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_LTO_MODEL_LISTBAASFABRICCHANNELRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTBAASFABRICCHANNELRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListBaaSFabricChannelResult : public ServiceResult + { + public: + struct BaaSFabricChannelInfo + { + std::string baaSFabricChannelId; + std::string baaSFabricChannelName; + }; + + + ListBaaSFabricChannelResult(); + explicit ListBaaSFabricChannelResult(const std::string &payload); + ~ListBaaSFabricChannelResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTBAASFABRICCHANNELRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListBaaSFabricConsortiumRequest.h b/lto/include/alibabacloud/lto/model/ListBaaSFabricConsortiumRequest.h new file mode 100644 index 000000000..8e020cb2b --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListBaaSFabricConsortiumRequest.h @@ -0,0 +1,42 @@ +/* + * 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_LTO_MODEL_LISTBAASFABRICCONSORTIUMREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTBAASFABRICCONSORTIUMREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListBaaSFabricConsortiumRequest : public RpcServiceRequest { +public: + ListBaaSFabricConsortiumRequest(); + ~ListBaaSFabricConsortiumRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTBAASFABRICCONSORTIUMREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListBaaSFabricConsortiumResult.h b/lto/include/alibabacloud/lto/model/ListBaaSFabricConsortiumResult.h new file mode 100644 index 000000000..a359f88d6 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListBaaSFabricConsortiumResult.h @@ -0,0 +1,64 @@ +/* + * 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_LTO_MODEL_LISTBAASFABRICCONSORTIUMRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTBAASFABRICCONSORTIUMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListBaaSFabricConsortiumResult : public ServiceResult + { + public: + struct BaaSFabricConsortiumInfo + { + std::string baaSFabricConsortiumName; + std::string baaSFabricConsortiumId; + }; + + + ListBaaSFabricConsortiumResult(); + explicit ListBaaSFabricConsortiumResult(const std::string &payload); + ~ListBaaSFabricConsortiumResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTBAASFABRICCONSORTIUMRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListBaaSFabricOrganizationRequest.h b/lto/include/alibabacloud/lto/model/ListBaaSFabricOrganizationRequest.h new file mode 100644 index 000000000..442d8bbc7 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListBaaSFabricOrganizationRequest.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_LTO_MODEL_LISTBAASFABRICORGANIZATIONREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTBAASFABRICORGANIZATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListBaaSFabricOrganizationRequest : public RpcServiceRequest { +public: + ListBaaSFabricOrganizationRequest(); + ~ListBaaSFabricOrganizationRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getBaaSFabricChannelId() const; + void setBaaSFabricChannelId(const std::string &baaSFabricChannelId); + +private: + std::string regionId_; + std::string baaSFabricChannelId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTBAASFABRICORGANIZATIONREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListBaaSFabricOrganizationResult.h b/lto/include/alibabacloud/lto/model/ListBaaSFabricOrganizationResult.h new file mode 100644 index 000000000..939f09768 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListBaaSFabricOrganizationResult.h @@ -0,0 +1,64 @@ +/* + * 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_LTO_MODEL_LISTBAASFABRICORGANIZATIONRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTBAASFABRICORGANIZATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListBaaSFabricOrganizationResult : public ServiceResult + { + public: + struct BaaSFabricOrganizationInfo + { + std::string baaSFabricOrganizationId; + std::string baaSFabricOrganizationName; + }; + + + ListBaaSFabricOrganizationResult(); + explicit ListBaaSFabricOrganizationResult(const std::string &payload); + ~ListBaaSFabricOrganizationResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTBAASFABRICORGANIZATIONRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListBizChainDataRequest.h b/lto/include/alibabacloud/lto/model/ListBizChainDataRequest.h new file mode 100644 index 000000000..627992084 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListBizChainDataRequest.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_LTO_MODEL_LISTBIZCHAINDATAREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTBIZCHAINDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListBizChainDataRequest : public RpcServiceRequest { +public: + ListBizChainDataRequest(); + ~ListBizChainDataRequest(); + int getNum() const; + void setNum(int num); + long getEndTime() const; + void setEndTime(long endTime); + long getStartTime() const; + void setStartTime(long startTime); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + int getSize() const; + void setSize(int size); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getIoTDataDID() const; + void setIoTDataDID(const std::string &ioTDataDID); + std::string getMemberId() const; + void setMemberId(const std::string &memberId); + +private: + int num_; + long endTime_; + long startTime_; + std::string bizChainId_; + int size_; + std::string regionId_; + std::string ioTDataDID_; + std::string memberId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTBIZCHAINDATAREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListBizChainDataResult.h b/lto/include/alibabacloud/lto/model/ListBizChainDataResult.h new file mode 100644 index 000000000..a3aed0542 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListBizChainDataResult.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_LTO_MODEL_LISTBIZCHAINDATARESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTBIZCHAINDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListBizChainDataResult : public ServiceResult + { + public: + struct Data + { + struct BizChainDataInfo + { + std::string blockNum; + std::string iotDataDID; + std::string blockHash; + std::string txHash; + std::string memberName; + long timestamp; + std::string productKey; + std::string deviceName; + }; + std::vector pageData; + int size; + int num; + int total; + }; + + + ListBizChainDataResult(); + explicit ListBizChainDataResult(const std::string &payload); + ~ListBizChainDataResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTBIZCHAINDATARESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListBizChainRequest.h b/lto/include/alibabacloud/lto/model/ListBizChainRequest.h new file mode 100644 index 000000000..79f623441 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListBizChainRequest.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_LTO_MODEL_LISTBIZCHAINREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTBIZCHAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListBizChainRequest : public RpcServiceRequest { +public: + ListBizChainRequest(); + ~ListBizChainRequest(); + int getNum() const; + void setNum(int num); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + int getSize() const; + void setSize(int size); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getName() const; + void setName(const std::string &name); + +private: + int num_; + std::string bizChainId_; + int size_; + std::string regionId_; + std::string name_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTBIZCHAINREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListBizChainResult.h b/lto/include/alibabacloud/lto/model/ListBizChainResult.h new file mode 100644 index 000000000..4e27e2217 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListBizChainResult.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_LTO_MODEL_LISTBIZCHAINRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTBIZCHAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListBizChainResult : public ServiceResult + { + public: + struct Data + { + struct BizChainInfo + { + std::string type; + std::string bizChainId; + std::string remark; + std::string name; + }; + std::vector pageData; + int size; + int num; + int total; + }; + + + ListBizChainResult(); + explicit ListBizChainResult(const std::string &payload); + ~ListBizChainResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTBIZCHAINRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListDeviceGroupAuthorizedBizChainRequest.h b/lto/include/alibabacloud/lto/model/ListDeviceGroupAuthorizedBizChainRequest.h new file mode 100644 index 000000000..14d8c01dd --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListDeviceGroupAuthorizedBizChainRequest.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_LTO_MODEL_LISTDEVICEGROUPAUTHORIZEDBIZCHAINREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTDEVICEGROUPAUTHORIZEDBIZCHAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListDeviceGroupAuthorizedBizChainRequest : public RpcServiceRequest { +public: + ListDeviceGroupAuthorizedBizChainRequest(); + ~ListDeviceGroupAuthorizedBizChainRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getDeviceGroupId() const; + void setDeviceGroupId(const std::string &deviceGroupId); + +private: + std::string regionId_; + std::string deviceGroupId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTDEVICEGROUPAUTHORIZEDBIZCHAINREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListDeviceGroupAuthorizedBizChainResult.h b/lto/include/alibabacloud/lto/model/ListDeviceGroupAuthorizedBizChainResult.h new file mode 100644 index 000000000..cf6bc951b --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListDeviceGroupAuthorizedBizChainResult.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_LTO_MODEL_LISTDEVICEGROUPAUTHORIZEDBIZCHAINRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTDEVICEGROUPAUTHORIZEDBIZCHAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListDeviceGroupAuthorizedBizChainResult : public ServiceResult + { + public: + struct DeviceGroupAuthorizedInfo + { + std::string bizChainName; + bool authorized; + std::string bizChainId; + std::string blockChainType; + }; + + + ListDeviceGroupAuthorizedBizChainResult(); + explicit ListDeviceGroupAuthorizedBizChainResult(const std::string &payload); + ~ListDeviceGroupAuthorizedBizChainResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTDEVICEGROUPAUTHORIZEDBIZCHAINRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListDeviceGroupRequest.h b/lto/include/alibabacloud/lto/model/ListDeviceGroupRequest.h new file mode 100644 index 000000000..41cdc2a00 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListDeviceGroupRequest.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_LTO_MODEL_LISTDEVICEGROUPREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTDEVICEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListDeviceGroupRequest : public RpcServiceRequest { +public: + ListDeviceGroupRequest(); + ~ListDeviceGroupRequest(); + int getNum() const; + void setNum(int num); + int getSize() const; + void setSize(int size); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getName() const; + void setName(const std::string &name); + std::string getMemberName() const; + void setMemberName(const std::string &memberName); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + int num_; + int size_; + std::string regionId_; + std::string name_; + std::string memberName_; + std::string status_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTDEVICEGROUPREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListDeviceGroupResult.h b/lto/include/alibabacloud/lto/model/ListDeviceGroupResult.h new file mode 100644 index 000000000..f6e954a12 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListDeviceGroupResult.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_LTO_MODEL_LISTDEVICEGROUPRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTDEVICEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListDeviceGroupResult : public ServiceResult + { + public: + struct Data + { + struct MemberInfo + { + std::string status; + bool currentUser; + std::string deviceGroupId; + std::string memberName; + std::string productKey; + int authorizedCount; + std::string remark; + std::string name; + long deviceCount; + }; + std::vector pageData; + int size; + int num; + int total; + }; + + + ListDeviceGroupResult(); + explicit ListDeviceGroupResult(const std::string &payload); + ~ListDeviceGroupResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTDEVICEGROUPRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListDeviceRequest.h b/lto/include/alibabacloud/lto/model/ListDeviceRequest.h new file mode 100644 index 000000000..e47b6871b --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListDeviceRequest.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_LTO_MODEL_LISTDEVICEREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTDEVICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListDeviceRequest : public RpcServiceRequest { +public: + ListDeviceRequest(); + ~ListDeviceRequest(); + int getNum() const; + void setNum(int num); + int getSize() const; + void setSize(int size); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getName() const; + void setName(const std::string &name); + std::string getDeviceGroupId() const; + void setDeviceGroupId(const std::string &deviceGroupId); + +private: + int num_; + int size_; + std::string regionId_; + std::string name_; + std::string deviceGroupId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTDEVICEREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListDeviceResult.h b/lto/include/alibabacloud/lto/model/ListDeviceResult.h new file mode 100644 index 000000000..2a6cacbb6 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListDeviceResult.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_LTO_MODEL_LISTDEVICERESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListDeviceResult : public ServiceResult + { + public: + struct Data + { + struct MemberInfo + { + std::string status; + std::string lastOnchainTime; + std::string deviceId; + long usedOnchainCount; + std::string name; + }; + std::vector pageData; + int size; + int num; + int total; + }; + + + ListDeviceResult(); + explicit ListDeviceResult(const std::string &payload); + ~ListDeviceResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTDEVICERESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListEdgeDeviceGroupRequest.h b/lto/include/alibabacloud/lto/model/ListEdgeDeviceGroupRequest.h new file mode 100644 index 000000000..862ebc1da --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListEdgeDeviceGroupRequest.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_LTO_MODEL_LISTEDGEDEVICEGROUPREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTEDGEDEVICEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListEdgeDeviceGroupRequest : public RpcServiceRequest { +public: + ListEdgeDeviceGroupRequest(); + ~ListEdgeDeviceGroupRequest(); + int getNum() const; + void setNum(int num); + int getSize() const; + void setSize(int size); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getName() const; + void setName(const std::string &name); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + int num_; + int size_; + std::string regionId_; + std::string name_; + std::string status_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTEDGEDEVICEGROUPREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListEdgeDeviceGroupResult.h b/lto/include/alibabacloud/lto/model/ListEdgeDeviceGroupResult.h new file mode 100644 index 000000000..61c479ca4 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListEdgeDeviceGroupResult.h @@ -0,0 +1,79 @@ +/* + * 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_LTO_MODEL_LISTEDGEDEVICEGROUPRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTEDGEDEVICEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListEdgeDeviceGroupResult : public ServiceResult + { + public: + struct Data + { + struct MemberInfo + { + std::string status; + bool currentUser; + std::string deviceGroupId; + std::string memberName; + std::string productKey; + int authorizedCount; + std::string remark; + std::string name; + long deviceCount; + std::string edgeName; + }; + std::vector pageData; + int size; + int num; + int total; + }; + + + ListEdgeDeviceGroupResult(); + explicit ListEdgeDeviceGroupResult(const std::string &payload); + ~ListEdgeDeviceGroupResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTEDGEDEVICEGROUPRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListEdgeDeviceRequest.h b/lto/include/alibabacloud/lto/model/ListEdgeDeviceRequest.h new file mode 100644 index 000000000..d2f716664 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListEdgeDeviceRequest.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_LTO_MODEL_LISTEDGEDEVICEREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTEDGEDEVICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListEdgeDeviceRequest : public RpcServiceRequest { +public: + ListEdgeDeviceRequest(); + ~ListEdgeDeviceRequest(); + int getNum() const; + void setNum(int num); + std::string getProductKey() const; + void setProductKey(const std::string &productKey); + int getSize() const; + void setSize(int size); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getName() const; + void setName(const std::string &name); + +private: + int num_; + std::string productKey_; + int size_; + std::string regionId_; + std::string name_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTEDGEDEVICEREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListEdgeDeviceResult.h b/lto/include/alibabacloud/lto/model/ListEdgeDeviceResult.h new file mode 100644 index 000000000..6fc40f70e --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListEdgeDeviceResult.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_LTO_MODEL_LISTEDGEDEVICERESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTEDGEDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListEdgeDeviceResult : public ServiceResult + { + public: + struct Data + { + struct MemberInfo + { + std::string status; + std::string lastOnchainTime; + std::string deviceId; + long usedOnchainCount; + std::string name; + }; + std::vector pageData; + int size; + int num; + int total; + }; + + + ListEdgeDeviceResult(); + explicit ListEdgeDeviceResult(const std::string &payload); + ~ListEdgeDeviceResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTEDGEDEVICERESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListMemberAccessRecordRequest.h b/lto/include/alibabacloud/lto/model/ListMemberAccessRecordRequest.h new file mode 100644 index 000000000..75e3d3600 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListMemberAccessRecordRequest.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_LTO_MODEL_LISTMEMBERACCESSRECORDREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTMEMBERACCESSRECORDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListMemberAccessRecordRequest : public RpcServiceRequest { +public: + ListMemberAccessRecordRequest(); + ~ListMemberAccessRecordRequest(); + long getNum() const; + void setNum(long num); + std::string getUid() const; + void setUid(const std::string &uid); + long getSize() const; + void setSize(long size); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getName() const; + void setName(const std::string &name); + std::string getContactor() const; + void setContactor(const std::string &contactor); + std::string getAccessStatus() const; + void setAccessStatus(const std::string &accessStatus); + +private: + long num_; + std::string uid_; + long size_; + std::string regionId_; + std::string name_; + std::string contactor_; + std::string accessStatus_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTMEMBERACCESSRECORDREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListMemberAccessRecordResult.h b/lto/include/alibabacloud/lto/model/ListMemberAccessRecordResult.h new file mode 100644 index 000000000..c5603f8b7 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListMemberAccessRecordResult.h @@ -0,0 +1,82 @@ +/* + * 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_LTO_MODEL_LISTMEMBERACCESSRECORDRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTMEMBERACCESSRECORDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListMemberAccessRecordResult : public ServiceResult + { + public: + struct Data + { + struct MemberInfo + { + std::string status; + std::string adminName; + long accessDate; + long memberResponseDate; + long authorizedCount; + std::string remark; + std::string name; + std::string accessStatus; + int authorizedDeviceCount; + std::string memberId; + std::string uid; + std::string contactor; + std::string telephony; + }; + std::vector pageData; + int size; + int num; + int total; + }; + + + ListMemberAccessRecordResult(); + explicit ListMemberAccessRecordResult(const std::string &payload); + ~ListMemberAccessRecordResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTMEMBERACCESSRECORDRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListMemberAuthorizedBizChainRequest.h b/lto/include/alibabacloud/lto/model/ListMemberAuthorizedBizChainRequest.h new file mode 100644 index 000000000..e9d518a9b --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListMemberAuthorizedBizChainRequest.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_LTO_MODEL_LISTMEMBERAUTHORIZEDBIZCHAINREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTMEMBERAUTHORIZEDBIZCHAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListMemberAuthorizedBizChainRequest : public RpcServiceRequest { +public: + ListMemberAuthorizedBizChainRequest(); + ~ListMemberAuthorizedBizChainRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getMemberId() const; + void setMemberId(const std::string &memberId); + +private: + std::string regionId_; + std::string memberId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTMEMBERAUTHORIZEDBIZCHAINREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListMemberAuthorizedBizChainResult.h b/lto/include/alibabacloud/lto/model/ListMemberAuthorizedBizChainResult.h new file mode 100644 index 000000000..c3a8cd1af --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListMemberAuthorizedBizChainResult.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_LTO_MODEL_LISTMEMBERAUTHORIZEDBIZCHAINRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTMEMBERAUTHORIZEDBIZCHAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListMemberAuthorizedBizChainResult : public ServiceResult + { + public: + struct MemberAuthorizedBizChainInfo + { + struct PeerInfo + { + std::string peerName; + bool authorized; + }; + std::string bizChainName; + std::string bizChainType; + bool authorized; + std::vector peerList; + std::string bizChainId; + }; + + + ListMemberAuthorizedBizChainResult(); + explicit ListMemberAuthorizedBizChainResult(const std::string &payload); + ~ListMemberAuthorizedBizChainResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTMEMBERAUTHORIZEDBIZCHAINRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListMemberRequest.h b/lto/include/alibabacloud/lto/model/ListMemberRequest.h new file mode 100644 index 000000000..57d8c6a45 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListMemberRequest.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_LTO_MODEL_LISTMEMBERREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTMEMBERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListMemberRequest : public RpcServiceRequest { +public: + ListMemberRequest(); + ~ListMemberRequest(); + int getNum() const; + void setNum(int num); + std::string getUid() const; + void setUid(const std::string &uid); + int getSize() const; + void setSize(int size); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getName() const; + void setName(const std::string &name); + std::string getContactor() const; + void setContactor(const std::string &contactor); + +private: + int num_; + std::string uid_; + int size_; + std::string regionId_; + std::string name_; + std::string contactor_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTMEMBERREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListMemberResult.h b/lto/include/alibabacloud/lto/model/ListMemberResult.h new file mode 100644 index 000000000..c390cc04e --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListMemberResult.h @@ -0,0 +1,79 @@ +/* + * 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_LTO_MODEL_LISTMEMBERRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTMEMBERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListMemberResult : public ServiceResult + { + public: + struct Data + { + struct MemberInfo + { + std::string status; + int authorizedDeviceCount; + std::string memberId; + std::string uid; + std::string contactor; + std::string adminName; + std::string telephony; + long authorizedCount; + std::string remark; + std::string name; + }; + std::vector pageData; + int size; + int num; + int total; + }; + + + ListMemberResult(); + explicit ListMemberResult(const std::string &payload); + ~ListMemberResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTMEMBERRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListPrivacyRuleRequest.h b/lto/include/alibabacloud/lto/model/ListPrivacyRuleRequest.h new file mode 100644 index 000000000..a186a15b8 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListPrivacyRuleRequest.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_LTO_MODEL_LISTPRIVACYRULEREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTPRIVACYRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListPrivacyRuleRequest : public RpcServiceRequest { +public: + ListPrivacyRuleRequest(); + ~ListPrivacyRuleRequest(); + int getNum() const; + void setNum(int num); + int getSize() const; + void setSize(int size); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + int num_; + int size_; + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTPRIVACYRULEREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListPrivacyRuleResult.h b/lto/include/alibabacloud/lto/model/ListPrivacyRuleResult.h new file mode 100644 index 000000000..89d427de6 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListPrivacyRuleResult.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_LTO_MODEL_LISTPRIVACYRULERESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTPRIVACYRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListPrivacyRuleResult : public ServiceResult + { + public: + struct Data + { + struct PrivacyRuleInfo + { + std::string status; + std::string algImpl; + bool currentUser; + std::string algType; + std::string privacyRuleId; + std::string memberName; + std::string remark; + std::string name; + }; + std::vector pageData; + int size; + int num; + int total; + }; + + + ListPrivacyRuleResult(); + explicit ListPrivacyRuleResult(const std::string &payload); + ~ListPrivacyRuleResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTPRIVACYRULERESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListPrivacyRuleSharedMemberRequest.h b/lto/include/alibabacloud/lto/model/ListPrivacyRuleSharedMemberRequest.h new file mode 100644 index 000000000..55ee0fe26 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListPrivacyRuleSharedMemberRequest.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_LTO_MODEL_LISTPRIVACYRULESHAREDMEMBERREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTPRIVACYRULESHAREDMEMBERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListPrivacyRuleSharedMemberRequest : public RpcServiceRequest { +public: + ListPrivacyRuleSharedMemberRequest(); + ~ListPrivacyRuleSharedMemberRequest(); + std::string getPrivacyRuleId() const; + void setPrivacyRuleId(const std::string &privacyRuleId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string privacyRuleId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTPRIVACYRULESHAREDMEMBERREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListPrivacyRuleSharedMemberResult.h b/lto/include/alibabacloud/lto/model/ListPrivacyRuleSharedMemberResult.h new file mode 100644 index 000000000..63793d032 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListPrivacyRuleSharedMemberResult.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_LTO_MODEL_LISTPRIVACYRULESHAREDMEMBERRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTPRIVACYRULESHAREDMEMBERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListPrivacyRuleSharedMemberResult : public ServiceResult + { + public: + struct BizChainInfo + { + struct MemberInfo + { + std::string memberId; + std::string memberName; + std::string shared; + }; + std::string bizChainName; + std::vector memberList; + std::string bizChainId; + }; + + + ListPrivacyRuleSharedMemberResult(); + explicit ListPrivacyRuleSharedMemberResult(const std::string &payload); + ~ListPrivacyRuleSharedMemberResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTPRIVACYRULESHAREDMEMBERRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/ListRouteRuleRequest.h b/lto/include/alibabacloud/lto/model/ListRouteRuleRequest.h new file mode 100644 index 000000000..fc720e13e --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListRouteRuleRequest.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_LTO_MODEL_LISTROUTERULEREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTROUTERULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT ListRouteRuleRequest : public RpcServiceRequest { +public: + ListRouteRuleRequest(); + ~ListRouteRuleRequest(); + int getNum() const; + void setNum(int num); + std::string getBizChainName() const; + void setBizChainName(const std::string &bizChainName); + int getSize() const; + void setSize(int size); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getDeviceGroupName() const; + void setDeviceGroupName(const std::string &deviceGroupName); + std::string getChainUpMode() const; + void setChainUpMode(const std::string &chainUpMode); + +private: + int num_; + std::string bizChainName_; + int size_; + std::string regionId_; + std::string deviceGroupName_; + std::string chainUpMode_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_LISTROUTERULEREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/ListRouteRuleResult.h b/lto/include/alibabacloud/lto/model/ListRouteRuleResult.h new file mode 100644 index 000000000..6996a7557 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/ListRouteRuleResult.h @@ -0,0 +1,82 @@ +/* + * 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_LTO_MODEL_LISTROUTERULERESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_LISTROUTERULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT ListRouteRuleResult : public ServiceResult + { + public: + struct Data + { + struct RouteRuleInfo + { + std::string bizChainName; + std::string privacyRuleId; + std::string routeRuleId; + std::string contractName; + std::string remark; + std::string blockChainType; + std::string contractTemplateId; + std::string deviceGroupName; + std::string deviceGroupId; + std::string invokeType; + long bizChainId; + std::string privacyRuleName; + std::string chainUpMode; + }; + std::vector pageData; + int size; + int num; + int total; + }; + + + ListRouteRuleResult(); + explicit ListRouteRuleResult(const std::string &payload); + ~ListRouteRuleResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_LISTROUTERULERESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/QueryBlockchainDataRequest.h b/lto/include/alibabacloud/lto/model/QueryBlockchainDataRequest.h new file mode 100644 index 000000000..e8db163db --- /dev/null +++ b/lto/include/alibabacloud/lto/model/QueryBlockchainDataRequest.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_LTO_MODEL_QUERYBLOCKCHAINDATAREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_QUERYBLOCKCHAINDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT QueryBlockchainDataRequest : public RpcServiceRequest { +public: + QueryBlockchainDataRequest(); + ~QueryBlockchainDataRequest(); + std::string getContractName() const; + void setContractName(const std::string &contractName); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + std::string getTransactionId() const; + void setTransactionId(const std::string &transactionId); + std::string getInvokeType() const; + void setInvokeType(const std::string &invokeType); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getIotDataDID() const; + void setIotDataDID(const std::string &iotDataDID); + +private: + std::string contractName_; + std::string bizChainId_; + std::string transactionId_; + std::string invokeType_; + std::string regionId_; + std::string iotDataDID_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_QUERYBLOCKCHAINDATAREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/QueryBlockchainDataResult.h b/lto/include/alibabacloud/lto/model/QueryBlockchainDataResult.h new file mode 100644 index 000000000..c58cdd606 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/QueryBlockchainDataResult.h @@ -0,0 +1,64 @@ +/* + * 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_LTO_MODEL_QUERYBLOCKCHAINDATARESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_QUERYBLOCKCHAINDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT QueryBlockchainDataResult : public ServiceResult + { + public: + struct Data + { + std::string privacyRuleId; + std::string algType; + std::string privacyData; + std::string plainData; + }; + + + QueryBlockchainDataResult(); + explicit QueryBlockchainDataResult(const std::string &payload); + ~QueryBlockchainDataResult(); + std::string getMessage()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_QUERYBLOCKCHAINDATARESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/QueryBlockchainMetadataRequest.h b/lto/include/alibabacloud/lto/model/QueryBlockchainMetadataRequest.h new file mode 100644 index 000000000..54afce60f --- /dev/null +++ b/lto/include/alibabacloud/lto/model/QueryBlockchainMetadataRequest.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_LTO_MODEL_QUERYBLOCKCHAINMETADATAREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_QUERYBLOCKCHAINMETADATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT QueryBlockchainMetadataRequest : public RpcServiceRequest { +public: + QueryBlockchainMetadataRequest(); + ~QueryBlockchainMetadataRequest(); + std::string getContractName() const; + void setContractName(const std::string &contractName); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + std::string getTransactionId() const; + void setTransactionId(const std::string &transactionId); + std::string getInvokeType() const; + void setInvokeType(const std::string &invokeType); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getIotDataDID() const; + void setIotDataDID(const std::string &iotDataDID); + +private: + std::string contractName_; + std::string bizChainId_; + std::string transactionId_; + std::string invokeType_; + std::string regionId_; + std::string iotDataDID_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_QUERYBLOCKCHAINMETADATAREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/QueryBlockchainMetadataResult.h b/lto/include/alibabacloud/lto/model/QueryBlockchainMetadataResult.h new file mode 100644 index 000000000..33240c473 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/QueryBlockchainMetadataResult.h @@ -0,0 +1,67 @@ +/* + * 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_LTO_MODEL_QUERYBLOCKCHAINMETADATARESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_QUERYBLOCKCHAINMETADATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT QueryBlockchainMetadataResult : public ServiceResult + { + public: + struct Data + { + std::string iotId; + std::string txHash; + std::string blockHash; + std::string memberName; + std::string blockNumber; + long timestamp; + std::string productKey; + }; + + + QueryBlockchainMetadataResult(); + explicit QueryBlockchainMetadataResult(const std::string &payload); + ~QueryBlockchainMetadataResult(); + std::string getMessage()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_QUERYBLOCKCHAINMETADATARESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/SharePrivacyRuleRequest.h b/lto/include/alibabacloud/lto/model/SharePrivacyRuleRequest.h new file mode 100644 index 000000000..e9b4a4fb7 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/SharePrivacyRuleRequest.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_LTO_MODEL_SHAREPRIVACYRULEREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_SHAREPRIVACYRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT SharePrivacyRuleRequest : public RpcServiceRequest { +public: + SharePrivacyRuleRequest(); + ~SharePrivacyRuleRequest(); + std::string getMemberIdList() const; + void setMemberIdList(const std::string &memberIdList); + std::string getPrivacyRuleId() const; + void setPrivacyRuleId(const std::string &privacyRuleId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string memberIdList_; + std::string privacyRuleId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_SHAREPRIVACYRULEREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/SharePrivacyRuleResult.h b/lto/include/alibabacloud/lto/model/SharePrivacyRuleResult.h new file mode 100644 index 000000000..7d0a069db --- /dev/null +++ b/lto/include/alibabacloud/lto/model/SharePrivacyRuleResult.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_LTO_MODEL_SHAREPRIVACYRULERESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_SHAREPRIVACYRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT SharePrivacyRuleResult : public ServiceResult + { + public: + + + SharePrivacyRuleResult(); + explicit SharePrivacyRuleResult(const std::string &payload); + ~SharePrivacyRuleResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_SHAREPRIVACYRULERESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/UnFreezeMemberRequest.h b/lto/include/alibabacloud/lto/model/UnFreezeMemberRequest.h new file mode 100644 index 000000000..fa5362623 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/UnFreezeMemberRequest.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_LTO_MODEL_UNFREEZEMEMBERREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_UNFREEZEMEMBERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT UnFreezeMemberRequest : public RpcServiceRequest { +public: + UnFreezeMemberRequest(); + ~UnFreezeMemberRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getMemberId() const; + void setMemberId(const std::string &memberId); + +private: + std::string regionId_; + std::string memberId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_UNFREEZEMEMBERREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/UnFreezeMemberResult.h b/lto/include/alibabacloud/lto/model/UnFreezeMemberResult.h new file mode 100644 index 000000000..1aa024f1e --- /dev/null +++ b/lto/include/alibabacloud/lto/model/UnFreezeMemberResult.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_LTO_MODEL_UNFREEZEMEMBERRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_UNFREEZEMEMBERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT UnFreezeMemberResult : public ServiceResult + { + public: + + + UnFreezeMemberResult(); + explicit UnFreezeMemberResult(const std::string &payload); + ~UnFreezeMemberResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_UNFREEZEMEMBERRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/UpdateBizChainRequest.h b/lto/include/alibabacloud/lto/model/UpdateBizChainRequest.h new file mode 100644 index 000000000..a32e18c30 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/UpdateBizChainRequest.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_LTO_MODEL_UPDATEBIZCHAINREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_UPDATEBIZCHAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT UpdateBizChainRequest : public RpcServiceRequest { +public: + UpdateBizChainRequest(); + ~UpdateBizChainRequest(); + std::string getRemark() const; + void setRemark(const std::string &remark); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string remark_; + std::string bizChainId_; + std::string regionId_; + std::string name_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_UPDATEBIZCHAINREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/UpdateBizChainResult.h b/lto/include/alibabacloud/lto/model/UpdateBizChainResult.h new file mode 100644 index 000000000..709ad23a6 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/UpdateBizChainResult.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_LTO_MODEL_UPDATEBIZCHAINRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_UPDATEBIZCHAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT UpdateBizChainResult : public ServiceResult + { + public: + + + UpdateBizChainResult(); + explicit UpdateBizChainResult(const std::string &payload); + ~UpdateBizChainResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_UPDATEBIZCHAINRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/UpdateMemberRequest.h b/lto/include/alibabacloud/lto/model/UpdateMemberRequest.h new file mode 100644 index 000000000..401acebf7 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/UpdateMemberRequest.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_LTO_MODEL_UPDATEMEMBERREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_UPDATEMEMBERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT UpdateMemberRequest : public RpcServiceRequest { +public: + UpdateMemberRequest(); + ~UpdateMemberRequest(); + std::string getRemark() const; + void setRemark(const std::string &remark); + std::string getUid() const; + void setUid(const std::string &uid); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getTelephony() const; + void setTelephony(const std::string &telephony); + std::string getName() const; + void setName(const std::string &name); + int getAuthorizedDeviceCount() const; + void setAuthorizedDeviceCount(int authorizedDeviceCount); + std::string getContactor() const; + void setContactor(const std::string &contactor); + long getAuthorizedCount() const; + void setAuthorizedCount(long authorizedCount); + std::string getMemberId() const; + void setMemberId(const std::string &memberId); + +private: + std::string remark_; + std::string uid_; + std::string regionId_; + std::string telephony_; + std::string name_; + int authorizedDeviceCount_; + std::string contactor_; + long authorizedCount_; + std::string memberId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_UPDATEMEMBERREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/UpdateMemberResult.h b/lto/include/alibabacloud/lto/model/UpdateMemberResult.h new file mode 100644 index 000000000..428b2fb5b --- /dev/null +++ b/lto/include/alibabacloud/lto/model/UpdateMemberResult.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_LTO_MODEL_UPDATEMEMBERRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_UPDATEMEMBERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT UpdateMemberResult : public ServiceResult + { + public: + + + UpdateMemberResult(); + explicit UpdateMemberResult(const std::string &payload); + ~UpdateMemberResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_UPDATEMEMBERRESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/UpdatePrivacyRuleRequest.h b/lto/include/alibabacloud/lto/model/UpdatePrivacyRuleRequest.h new file mode 100644 index 000000000..2bf25ab12 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/UpdatePrivacyRuleRequest.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_LTO_MODEL_UPDATEPRIVACYRULEREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_UPDATEPRIVACYRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT UpdatePrivacyRuleRequest : public RpcServiceRequest { +public: + UpdatePrivacyRuleRequest(); + ~UpdatePrivacyRuleRequest(); + std::string getPrivacyRuleId() const; + void setPrivacyRuleId(const std::string &privacyRuleId); + std::string getRemark() const; + void setRemark(const std::string &remark); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getName() const; + void setName(const std::string &name); + std::string getAlgImpl() const; + void setAlgImpl(const std::string &algImpl); + std::string getAlgType() const; + void setAlgType(const std::string &algType); + +private: + std::string privacyRuleId_; + std::string remark_; + std::string regionId_; + std::string name_; + std::string algImpl_; + std::string algType_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_UPDATEPRIVACYRULEREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/UpdatePrivacyRuleResult.h b/lto/include/alibabacloud/lto/model/UpdatePrivacyRuleResult.h new file mode 100644 index 000000000..cff472562 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/UpdatePrivacyRuleResult.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_LTO_MODEL_UPDATEPRIVACYRULERESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_UPDATEPRIVACYRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT UpdatePrivacyRuleResult : public ServiceResult + { + public: + + + UpdatePrivacyRuleResult(); + explicit UpdatePrivacyRuleResult(const std::string &payload); + ~UpdatePrivacyRuleResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_UPDATEPRIVACYRULERESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/UpdateRouteRuleRequest.h b/lto/include/alibabacloud/lto/model/UpdateRouteRuleRequest.h new file mode 100644 index 000000000..a789debb1 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/UpdateRouteRuleRequest.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_LTO_MODEL_UPDATEROUTERULEREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_UPDATEROUTERULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT UpdateRouteRuleRequest : public RpcServiceRequest { +public: + UpdateRouteRuleRequest(); + ~UpdateRouteRuleRequest(); + std::string getContractTemplateId() const; + void setContractTemplateId(const std::string &contractTemplateId); + std::string getContractName() const; + void setContractName(const std::string &contractName); + std::string getPrivacyRuleId() const; + void setPrivacyRuleId(const std::string &privacyRuleId); + std::string getRemark() const; + void setRemark(const std::string &remark); + std::string getBizChainId() const; + void setBizChainId(const std::string &bizChainId); + std::string getInvokeType() const; + void setInvokeType(const std::string &invokeType); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getRouteRuleId() const; + void setRouteRuleId(const std::string &routeRuleId); + +private: + std::string contractTemplateId_; + std::string contractName_; + std::string privacyRuleId_; + std::string remark_; + std::string bizChainId_; + std::string invokeType_; + std::string regionId_; + std::string routeRuleId_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_UPDATEROUTERULEREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/UpdateRouteRuleResult.h b/lto/include/alibabacloud/lto/model/UpdateRouteRuleResult.h new file mode 100644 index 000000000..7e70cb395 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/UpdateRouteRuleResult.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_LTO_MODEL_UPDATEROUTERULERESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_UPDATEROUTERULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT UpdateRouteRuleResult : public ServiceResult + { + public: + + + UpdateRouteRuleResult(); + explicit UpdateRouteRuleResult(const std::string &payload); + ~UpdateRouteRuleResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_UPDATEROUTERULERESULT_H_ \ No newline at end of file diff --git a/lto/include/alibabacloud/lto/model/UploadIoTDataToBlockchainRequest.h b/lto/include/alibabacloud/lto/model/UploadIoTDataToBlockchainRequest.h new file mode 100644 index 000000000..4df747e91 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/UploadIoTDataToBlockchainRequest.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_LTO_MODEL_UPLOADIOTDATATOBLOCKCHAINREQUEST_H_ +#define ALIBABACLOUD_LTO_MODEL_UPLOADIOTDATATOBLOCKCHAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Lto { +namespace Model { +class ALIBABACLOUD_LTO_EXPORT UploadIoTDataToBlockchainRequest : public RpcServiceRequest { +public: + UploadIoTDataToBlockchainRequest(); + ~UploadIoTDataToBlockchainRequest(); + std::string getIotIdSource() const; + void setIotIdSource(const std::string &iotIdSource); + std::string getIotDataToken() const; + void setIotDataToken(const std::string &iotDataToken); + std::string getPrivacyData() const; + void setPrivacyData(const std::string &privacyData); + std::string getIotId() const; + void setIotId(const std::string &iotId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getIotDataDigest() const; + void setIotDataDigest(const std::string &iotDataDigest); + std::string getIotDataDID() const; + void setIotDataDID(const std::string &iotDataDID); + std::string getPlainData() const; + void setPlainData(const std::string &plainData); + std::string getIotAuthType() const; + void setIotAuthType(const std::string &iotAuthType); + std::string getIotIdServiceProvider() const; + void setIotIdServiceProvider(const std::string &iotIdServiceProvider); + +private: + std::string iotIdSource_; + std::string iotDataToken_; + std::string privacyData_; + std::string iotId_; + std::string regionId_; + std::string iotDataDigest_; + std::string iotDataDID_; + std::string plainData_; + std::string iotAuthType_; + std::string iotIdServiceProvider_; +}; +} // namespace Model +} // namespace Lto +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LTO_MODEL_UPLOADIOTDATATOBLOCKCHAINREQUEST_H_ diff --git a/lto/include/alibabacloud/lto/model/UploadIoTDataToBlockchainResult.h b/lto/include/alibabacloud/lto/model/UploadIoTDataToBlockchainResult.h new file mode 100644 index 000000000..90aeb7501 --- /dev/null +++ b/lto/include/alibabacloud/lto/model/UploadIoTDataToBlockchainResult.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_LTO_MODEL_UPLOADIOTDATATOBLOCKCHAINRESULT_H_ +#define ALIBABACLOUD_LTO_MODEL_UPLOADIOTDATATOBLOCKCHAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Lto + { + namespace Model + { + class ALIBABACLOUD_LTO_EXPORT UploadIoTDataToBlockchainResult : public ServiceResult + { + public: + + + UploadIoTDataToBlockchainResult(); + explicit UploadIoTDataToBlockchainResult(const std::string &payload); + ~UploadIoTDataToBlockchainResult(); + std::string getMessage()const; + std::string getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LTO_MODEL_UPLOADIOTDATATOBLOCKCHAINRESULT_H_ \ No newline at end of file diff --git a/lto/src/LtoClient.cc b/lto/src/LtoClient.cc new file mode 100644 index 000000000..de5faf651 --- /dev/null +++ b/lto/src/LtoClient.cc @@ -0,0 +1,2753 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +namespace +{ + const std::string SERVICE_NAME = "lto"; +} + +LtoClient::LtoClient(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, ""); +} + +LtoClient::LtoClient(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, ""); +} + +LtoClient::LtoClient(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, ""); +} + +LtoClient::~LtoClient() +{} + +LtoClient::AddBaaSAntChainBizChainOutcome LtoClient::addBaaSAntChainBizChain(const AddBaaSAntChainBizChainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddBaaSAntChainBizChainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddBaaSAntChainBizChainOutcome(AddBaaSAntChainBizChainResult(outcome.result())); + else + return AddBaaSAntChainBizChainOutcome(outcome.error()); +} + +void LtoClient::addBaaSAntChainBizChainAsync(const AddBaaSAntChainBizChainRequest& request, const AddBaaSAntChainBizChainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addBaaSAntChainBizChain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::AddBaaSAntChainBizChainOutcomeCallable LtoClient::addBaaSAntChainBizChainCallable(const AddBaaSAntChainBizChainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addBaaSAntChainBizChain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::AddBaaSFabricBizChainOutcome LtoClient::addBaaSFabricBizChain(const AddBaaSFabricBizChainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddBaaSFabricBizChainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddBaaSFabricBizChainOutcome(AddBaaSFabricBizChainResult(outcome.result())); + else + return AddBaaSFabricBizChainOutcome(outcome.error()); +} + +void LtoClient::addBaaSFabricBizChainAsync(const AddBaaSFabricBizChainRequest& request, const AddBaaSFabricBizChainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addBaaSFabricBizChain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::AddBaaSFabricBizChainOutcomeCallable LtoClient::addBaaSFabricBizChainCallable(const AddBaaSFabricBizChainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addBaaSFabricBizChain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::AddBsnFabricBizChainOutcome LtoClient::addBsnFabricBizChain(const AddBsnFabricBizChainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddBsnFabricBizChainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddBsnFabricBizChainOutcome(AddBsnFabricBizChainResult(outcome.result())); + else + return AddBsnFabricBizChainOutcome(outcome.error()); +} + +void LtoClient::addBsnFabricBizChainAsync(const AddBsnFabricBizChainRequest& request, const AddBsnFabricBizChainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addBsnFabricBizChain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::AddBsnFabricBizChainOutcomeCallable LtoClient::addBsnFabricBizChainCallable(const AddBsnFabricBizChainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addBsnFabricBizChain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::AddDeviceGroupOutcome LtoClient::addDeviceGroup(const AddDeviceGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddDeviceGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddDeviceGroupOutcome(AddDeviceGroupResult(outcome.result())); + else + return AddDeviceGroupOutcome(outcome.error()); +} + +void LtoClient::addDeviceGroupAsync(const AddDeviceGroupRequest& request, const AddDeviceGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addDeviceGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::AddDeviceGroupOutcomeCallable LtoClient::addDeviceGroupCallable(const AddDeviceGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addDeviceGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::AddMemberOutcome LtoClient::addMember(const AddMemberRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddMemberOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddMemberOutcome(AddMemberResult(outcome.result())); + else + return AddMemberOutcome(outcome.error()); +} + +void LtoClient::addMemberAsync(const AddMemberRequest& request, const AddMemberAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addMember(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::AddMemberOutcomeCallable LtoClient::addMemberCallable(const AddMemberRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addMember(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::AddPrivacyRuleOutcome LtoClient::addPrivacyRule(const AddPrivacyRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddPrivacyRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddPrivacyRuleOutcome(AddPrivacyRuleResult(outcome.result())); + else + return AddPrivacyRuleOutcome(outcome.error()); +} + +void LtoClient::addPrivacyRuleAsync(const AddPrivacyRuleRequest& request, const AddPrivacyRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addPrivacyRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::AddPrivacyRuleOutcomeCallable LtoClient::addPrivacyRuleCallable(const AddPrivacyRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addPrivacyRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::AddRouteRuleOutcome LtoClient::addRouteRule(const AddRouteRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddRouteRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddRouteRuleOutcome(AddRouteRuleResult(outcome.result())); + else + return AddRouteRuleOutcome(outcome.error()); +} + +void LtoClient::addRouteRuleAsync(const AddRouteRuleRequest& request, const AddRouteRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addRouteRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::AddRouteRuleOutcomeCallable LtoClient::addRouteRuleCallable(const AddRouteRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addRouteRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::AgreeMemberAccessOutcome LtoClient::agreeMemberAccess(const AgreeMemberAccessRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AgreeMemberAccessOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AgreeMemberAccessOutcome(AgreeMemberAccessResult(outcome.result())); + else + return AgreeMemberAccessOutcome(outcome.error()); +} + +void LtoClient::agreeMemberAccessAsync(const AgreeMemberAccessRequest& request, const AgreeMemberAccessAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, agreeMemberAccess(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::AgreeMemberAccessOutcomeCallable LtoClient::agreeMemberAccessCallable(const AgreeMemberAccessRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->agreeMemberAccess(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::AuthorizeBaaSOutcome LtoClient::authorizeBaaS(const AuthorizeBaaSRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AuthorizeBaaSOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AuthorizeBaaSOutcome(AuthorizeBaaSResult(outcome.result())); + else + return AuthorizeBaaSOutcome(outcome.error()); +} + +void LtoClient::authorizeBaaSAsync(const AuthorizeBaaSRequest& request, const AuthorizeBaaSAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, authorizeBaaS(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::AuthorizeBaaSOutcomeCallable LtoClient::authorizeBaaSCallable(const AuthorizeBaaSRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->authorizeBaaS(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::AuthorizeDeviceGroupBizChainOutcome LtoClient::authorizeDeviceGroupBizChain(const AuthorizeDeviceGroupBizChainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AuthorizeDeviceGroupBizChainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AuthorizeDeviceGroupBizChainOutcome(AuthorizeDeviceGroupBizChainResult(outcome.result())); + else + return AuthorizeDeviceGroupBizChainOutcome(outcome.error()); +} + +void LtoClient::authorizeDeviceGroupBizChainAsync(const AuthorizeDeviceGroupBizChainRequest& request, const AuthorizeDeviceGroupBizChainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, authorizeDeviceGroupBizChain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::AuthorizeDeviceGroupBizChainOutcomeCallable LtoClient::authorizeDeviceGroupBizChainCallable(const AuthorizeDeviceGroupBizChainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->authorizeDeviceGroupBizChain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::AuthorizeMemberBizChainOutcome LtoClient::authorizeMemberBizChain(const AuthorizeMemberBizChainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AuthorizeMemberBizChainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AuthorizeMemberBizChainOutcome(AuthorizeMemberBizChainResult(outcome.result())); + else + return AuthorizeMemberBizChainOutcome(outcome.error()); +} + +void LtoClient::authorizeMemberBizChainAsync(const AuthorizeMemberBizChainRequest& request, const AuthorizeMemberBizChainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, authorizeMemberBizChain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::AuthorizeMemberBizChainOutcomeCallable LtoClient::authorizeMemberBizChainCallable(const AuthorizeMemberBizChainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->authorizeMemberBizChain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::DeletePrivacyRuleOutcome LtoClient::deletePrivacyRule(const DeletePrivacyRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeletePrivacyRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeletePrivacyRuleOutcome(DeletePrivacyRuleResult(outcome.result())); + else + return DeletePrivacyRuleOutcome(outcome.error()); +} + +void LtoClient::deletePrivacyRuleAsync(const DeletePrivacyRuleRequest& request, const DeletePrivacyRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deletePrivacyRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::DeletePrivacyRuleOutcomeCallable LtoClient::deletePrivacyRuleCallable(const DeletePrivacyRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deletePrivacyRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::DeleteRouteRuleOutcome LtoClient::deleteRouteRule(const DeleteRouteRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteRouteRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteRouteRuleOutcome(DeleteRouteRuleResult(outcome.result())); + else + return DeleteRouteRuleOutcome(outcome.error()); +} + +void LtoClient::deleteRouteRuleAsync(const DeleteRouteRuleRequest& request, const DeleteRouteRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteRouteRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::DeleteRouteRuleOutcomeCallable LtoClient::deleteRouteRuleCallable(const DeleteRouteRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteRouteRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::DeniedMemberAccessOutcome LtoClient::deniedMemberAccess(const DeniedMemberAccessRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeniedMemberAccessOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeniedMemberAccessOutcome(DeniedMemberAccessResult(outcome.result())); + else + return DeniedMemberAccessOutcome(outcome.error()); +} + +void LtoClient::deniedMemberAccessAsync(const DeniedMemberAccessRequest& request, const DeniedMemberAccessAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deniedMemberAccess(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::DeniedMemberAccessOutcomeCallable LtoClient::deniedMemberAccessCallable(const DeniedMemberAccessRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deniedMemberAccess(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::DescribeAccountRoleOutcome LtoClient::describeAccountRole(const DescribeAccountRoleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAccountRoleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAccountRoleOutcome(DescribeAccountRoleResult(outcome.result())); + else + return DescribeAccountRoleOutcome(outcome.error()); +} + +void LtoClient::describeAccountRoleAsync(const DescribeAccountRoleRequest& request, const DescribeAccountRoleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAccountRole(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::DescribeAccountRoleOutcomeCallable LtoClient::describeAccountRoleCallable(const DescribeAccountRoleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAccountRole(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::DescribeAdminInfoOutcome LtoClient::describeAdminInfo(const DescribeAdminInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAdminInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAdminInfoOutcome(DescribeAdminInfoResult(outcome.result())); + else + return DescribeAdminInfoOutcome(outcome.error()); +} + +void LtoClient::describeAdminInfoAsync(const DescribeAdminInfoRequest& request, const DescribeAdminInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAdminInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::DescribeAdminInfoOutcomeCallable LtoClient::describeAdminInfoCallable(const DescribeAdminInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAdminInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::DescribeBizChainStatInfoOutcome LtoClient::describeBizChainStatInfo(const DescribeBizChainStatInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBizChainStatInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBizChainStatInfoOutcome(DescribeBizChainStatInfoResult(outcome.result())); + else + return DescribeBizChainStatInfoOutcome(outcome.error()); +} + +void LtoClient::describeBizChainStatInfoAsync(const DescribeBizChainStatInfoRequest& request, const DescribeBizChainStatInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBizChainStatInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::DescribeBizChainStatInfoOutcomeCallable LtoClient::describeBizChainStatInfoCallable(const DescribeBizChainStatInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBizChainStatInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::DescribeDashboardApiInfoOutcome LtoClient::describeDashboardApiInfo(const DescribeDashboardApiInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDashboardApiInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDashboardApiInfoOutcome(DescribeDashboardApiInfoResult(outcome.result())); + else + return DescribeDashboardApiInfoOutcome(outcome.error()); +} + +void LtoClient::describeDashboardApiInfoAsync(const DescribeDashboardApiInfoRequest& request, const DescribeDashboardApiInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDashboardApiInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::DescribeDashboardApiInfoOutcomeCallable LtoClient::describeDashboardApiInfoCallable(const DescribeDashboardApiInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDashboardApiInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::DescribeDashboardBaseInfoOutcome LtoClient::describeDashboardBaseInfo(const DescribeDashboardBaseInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDashboardBaseInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDashboardBaseInfoOutcome(DescribeDashboardBaseInfoResult(outcome.result())); + else + return DescribeDashboardBaseInfoOutcome(outcome.error()); +} + +void LtoClient::describeDashboardBaseInfoAsync(const DescribeDashboardBaseInfoRequest& request, const DescribeDashboardBaseInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDashboardBaseInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::DescribeDashboardBaseInfoOutcomeCallable LtoClient::describeDashboardBaseInfoCallable(const DescribeDashboardBaseInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDashboardBaseInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::DescribeDashboardDeviceInfoOutcome LtoClient::describeDashboardDeviceInfo(const DescribeDashboardDeviceInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDashboardDeviceInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDashboardDeviceInfoOutcome(DescribeDashboardDeviceInfoResult(outcome.result())); + else + return DescribeDashboardDeviceInfoOutcome(outcome.error()); +} + +void LtoClient::describeDashboardDeviceInfoAsync(const DescribeDashboardDeviceInfoRequest& request, const DescribeDashboardDeviceInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDashboardDeviceInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::DescribeDashboardDeviceInfoOutcomeCallable LtoClient::describeDashboardDeviceInfoCallable(const DescribeDashboardDeviceInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDashboardDeviceInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::DescribeDashboardMemberApiInfoOutcome LtoClient::describeDashboardMemberApiInfo(const DescribeDashboardMemberApiInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDashboardMemberApiInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDashboardMemberApiInfoOutcome(DescribeDashboardMemberApiInfoResult(outcome.result())); + else + return DescribeDashboardMemberApiInfoOutcome(outcome.error()); +} + +void LtoClient::describeDashboardMemberApiInfoAsync(const DescribeDashboardMemberApiInfoRequest& request, const DescribeDashboardMemberApiInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDashboardMemberApiInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::DescribeDashboardMemberApiInfoOutcomeCallable LtoClient::describeDashboardMemberApiInfoCallable(const DescribeDashboardMemberApiInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDashboardMemberApiInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::DescribeDashboardMemberDeviceInfoOutcome LtoClient::describeDashboardMemberDeviceInfo(const DescribeDashboardMemberDeviceInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDashboardMemberDeviceInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDashboardMemberDeviceInfoOutcome(DescribeDashboardMemberDeviceInfoResult(outcome.result())); + else + return DescribeDashboardMemberDeviceInfoOutcome(outcome.error()); +} + +void LtoClient::describeDashboardMemberDeviceInfoAsync(const DescribeDashboardMemberDeviceInfoRequest& request, const DescribeDashboardMemberDeviceInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDashboardMemberDeviceInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::DescribeDashboardMemberDeviceInfoOutcomeCallable LtoClient::describeDashboardMemberDeviceInfoCallable(const DescribeDashboardMemberDeviceInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDashboardMemberDeviceInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::DescribeDeviceInfoOutcome LtoClient::describeDeviceInfo(const DescribeDeviceInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDeviceInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDeviceInfoOutcome(DescribeDeviceInfoResult(outcome.result())); + else + return DescribeDeviceInfoOutcome(outcome.error()); +} + +void LtoClient::describeDeviceInfoAsync(const DescribeDeviceInfoRequest& request, const DescribeDeviceInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDeviceInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::DescribeDeviceInfoOutcomeCallable LtoClient::describeDeviceInfoCallable(const DescribeDeviceInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDeviceInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::DescribeEdgeStatInfoOutcome LtoClient::describeEdgeStatInfo(const DescribeEdgeStatInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeEdgeStatInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeEdgeStatInfoOutcome(DescribeEdgeStatInfoResult(outcome.result())); + else + return DescribeEdgeStatInfoOutcome(outcome.error()); +} + +void LtoClient::describeEdgeStatInfoAsync(const DescribeEdgeStatInfoRequest& request, const DescribeEdgeStatInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeEdgeStatInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::DescribeEdgeStatInfoOutcomeCallable LtoClient::describeEdgeStatInfoCallable(const DescribeEdgeStatInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeEdgeStatInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::DescribeMemberBizChainStatInfoOutcome LtoClient::describeMemberBizChainStatInfo(const DescribeMemberBizChainStatInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeMemberBizChainStatInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeMemberBizChainStatInfoOutcome(DescribeMemberBizChainStatInfoResult(outcome.result())); + else + return DescribeMemberBizChainStatInfoOutcome(outcome.error()); +} + +void LtoClient::describeMemberBizChainStatInfoAsync(const DescribeMemberBizChainStatInfoRequest& request, const DescribeMemberBizChainStatInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeMemberBizChainStatInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::DescribeMemberBizChainStatInfoOutcomeCallable LtoClient::describeMemberBizChainStatInfoCallable(const DescribeMemberBizChainStatInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeMemberBizChainStatInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::DescribeMemberStatInfoOutcome LtoClient::describeMemberStatInfo(const DescribeMemberStatInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeMemberStatInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeMemberStatInfoOutcome(DescribeMemberStatInfoResult(outcome.result())); + else + return DescribeMemberStatInfoOutcome(outcome.error()); +} + +void LtoClient::describeMemberStatInfoAsync(const DescribeMemberStatInfoRequest& request, const DescribeMemberStatInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeMemberStatInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::DescribeMemberStatInfoOutcomeCallable LtoClient::describeMemberStatInfoCallable(const DescribeMemberStatInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeMemberStatInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::DescribeMemberTotalStatInfoOutcome LtoClient::describeMemberTotalStatInfo(const DescribeMemberTotalStatInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeMemberTotalStatInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeMemberTotalStatInfoOutcome(DescribeMemberTotalStatInfoResult(outcome.result())); + else + return DescribeMemberTotalStatInfoOutcome(outcome.error()); +} + +void LtoClient::describeMemberTotalStatInfoAsync(const DescribeMemberTotalStatInfoRequest& request, const DescribeMemberTotalStatInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeMemberTotalStatInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::DescribeMemberTotalStatInfoOutcomeCallable LtoClient::describeMemberTotalStatInfoCallable(const DescribeMemberTotalStatInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeMemberTotalStatInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::DescribePackgeInfoOutcome LtoClient::describePackgeInfo(const DescribePackgeInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribePackgeInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribePackgeInfoOutcome(DescribePackgeInfoResult(outcome.result())); + else + return DescribePackgeInfoOutcome(outcome.error()); +} + +void LtoClient::describePackgeInfoAsync(const DescribePackgeInfoRequest& request, const DescribePackgeInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describePackgeInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::DescribePackgeInfoOutcomeCallable LtoClient::describePackgeInfoCallable(const DescribePackgeInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describePackgeInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::DescribeStatDeviceInfoOutcome LtoClient::describeStatDeviceInfo(const DescribeStatDeviceInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeStatDeviceInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeStatDeviceInfoOutcome(DescribeStatDeviceInfoResult(outcome.result())); + else + return DescribeStatDeviceInfoOutcome(outcome.error()); +} + +void LtoClient::describeStatDeviceInfoAsync(const DescribeStatDeviceInfoRequest& request, const DescribeStatDeviceInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeStatDeviceInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::DescribeStatDeviceInfoOutcomeCallable LtoClient::describeStatDeviceInfoCallable(const DescribeStatDeviceInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeStatDeviceInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::DescribeStatMemberDeviceInfoOutcome LtoClient::describeStatMemberDeviceInfo(const DescribeStatMemberDeviceInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeStatMemberDeviceInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeStatMemberDeviceInfoOutcome(DescribeStatMemberDeviceInfoResult(outcome.result())); + else + return DescribeStatMemberDeviceInfoOutcome(outcome.error()); +} + +void LtoClient::describeStatMemberDeviceInfoAsync(const DescribeStatMemberDeviceInfoRequest& request, const DescribeStatMemberDeviceInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeStatMemberDeviceInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::DescribeStatMemberDeviceInfoOutcomeCallable LtoClient::describeStatMemberDeviceInfoCallable(const DescribeStatMemberDeviceInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeStatMemberDeviceInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::DescribeTotalStatInfoOutcome LtoClient::describeTotalStatInfo(const DescribeTotalStatInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeTotalStatInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeTotalStatInfoOutcome(DescribeTotalStatInfoResult(outcome.result())); + else + return DescribeTotalStatInfoOutcome(outcome.error()); +} + +void LtoClient::describeTotalStatInfoAsync(const DescribeTotalStatInfoRequest& request, const DescribeTotalStatInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeTotalStatInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::DescribeTotalStatInfoOutcomeCallable LtoClient::describeTotalStatInfoCallable(const DescribeTotalStatInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeTotalStatInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::DisableDeviceOutcome LtoClient::disableDevice(const DisableDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DisableDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DisableDeviceOutcome(DisableDeviceResult(outcome.result())); + else + return DisableDeviceOutcome(outcome.error()); +} + +void LtoClient::disableDeviceAsync(const DisableDeviceRequest& request, const DisableDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, disableDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::DisableDeviceOutcomeCallable LtoClient::disableDeviceCallable(const DisableDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->disableDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::DisableDeviceGroupOutcome LtoClient::disableDeviceGroup(const DisableDeviceGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DisableDeviceGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DisableDeviceGroupOutcome(DisableDeviceGroupResult(outcome.result())); + else + return DisableDeviceGroupOutcome(outcome.error()); +} + +void LtoClient::disableDeviceGroupAsync(const DisableDeviceGroupRequest& request, const DisableDeviceGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, disableDeviceGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::DisableDeviceGroupOutcomeCallable LtoClient::disableDeviceGroupCallable(const DisableDeviceGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->disableDeviceGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::DownloadPrivacyKeyOutcome LtoClient::downloadPrivacyKey(const DownloadPrivacyKeyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DownloadPrivacyKeyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DownloadPrivacyKeyOutcome(DownloadPrivacyKeyResult(outcome.result())); + else + return DownloadPrivacyKeyOutcome(outcome.error()); +} + +void LtoClient::downloadPrivacyKeyAsync(const DownloadPrivacyKeyRequest& request, const DownloadPrivacyKeyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, downloadPrivacyKey(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::DownloadPrivacyKeyOutcomeCallable LtoClient::downloadPrivacyKeyCallable(const DownloadPrivacyKeyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->downloadPrivacyKey(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::EnableDeviceOutcome LtoClient::enableDevice(const EnableDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return EnableDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return EnableDeviceOutcome(EnableDeviceResult(outcome.result())); + else + return EnableDeviceOutcome(outcome.error()); +} + +void LtoClient::enableDeviceAsync(const EnableDeviceRequest& request, const EnableDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, enableDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::EnableDeviceOutcomeCallable LtoClient::enableDeviceCallable(const EnableDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->enableDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::EnableDeviceGroupOutcome LtoClient::enableDeviceGroup(const EnableDeviceGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return EnableDeviceGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return EnableDeviceGroupOutcome(EnableDeviceGroupResult(outcome.result())); + else + return EnableDeviceGroupOutcome(outcome.error()); +} + +void LtoClient::enableDeviceGroupAsync(const EnableDeviceGroupRequest& request, const EnableDeviceGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, enableDeviceGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::EnableDeviceGroupOutcomeCallable LtoClient::enableDeviceGroupCallable(const EnableDeviceGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->enableDeviceGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::FreezeMemberOutcome LtoClient::freezeMember(const FreezeMemberRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return FreezeMemberOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return FreezeMemberOutcome(FreezeMemberResult(outcome.result())); + else + return FreezeMemberOutcome(outcome.error()); +} + +void LtoClient::freezeMemberAsync(const FreezeMemberRequest& request, const FreezeMemberAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, freezeMember(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::FreezeMemberOutcomeCallable LtoClient::freezeMemberCallable(const FreezeMemberRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->freezeMember(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::GetEdgeTotalDeviceCountOutcome LtoClient::getEdgeTotalDeviceCount(const GetEdgeTotalDeviceCountRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetEdgeTotalDeviceCountOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetEdgeTotalDeviceCountOutcome(GetEdgeTotalDeviceCountResult(outcome.result())); + else + return GetEdgeTotalDeviceCountOutcome(outcome.error()); +} + +void LtoClient::getEdgeTotalDeviceCountAsync(const GetEdgeTotalDeviceCountRequest& request, const GetEdgeTotalDeviceCountAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getEdgeTotalDeviceCount(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::GetEdgeTotalDeviceCountOutcomeCallable LtoClient::getEdgeTotalDeviceCountCallable(const GetEdgeTotalDeviceCountRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getEdgeTotalDeviceCount(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::ListAllAdminOutcome LtoClient::listAllAdmin(const ListAllAdminRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListAllAdminOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListAllAdminOutcome(ListAllAdminResult(outcome.result())); + else + return ListAllAdminOutcome(outcome.error()); +} + +void LtoClient::listAllAdminAsync(const ListAllAdminRequest& request, const ListAllAdminAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listAllAdmin(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::ListAllAdminOutcomeCallable LtoClient::listAllAdminCallable(const ListAllAdminRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listAllAdmin(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::ListAllBizChainOutcome LtoClient::listAllBizChain(const ListAllBizChainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListAllBizChainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListAllBizChainOutcome(ListAllBizChainResult(outcome.result())); + else + return ListAllBizChainOutcome(outcome.error()); +} + +void LtoClient::listAllBizChainAsync(const ListAllBizChainRequest& request, const ListAllBizChainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listAllBizChain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::ListAllBizChainOutcomeCallable LtoClient::listAllBizChainCallable(const ListAllBizChainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listAllBizChain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::ListAllBizChainContractOutcome LtoClient::listAllBizChainContract(const ListAllBizChainContractRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListAllBizChainContractOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListAllBizChainContractOutcome(ListAllBizChainContractResult(outcome.result())); + else + return ListAllBizChainContractOutcome(outcome.error()); +} + +void LtoClient::listAllBizChainContractAsync(const ListAllBizChainContractRequest& request, const ListAllBizChainContractAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listAllBizChainContract(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::ListAllBizChainContractOutcomeCallable LtoClient::listAllBizChainContractCallable(const ListAllBizChainContractRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listAllBizChainContract(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::ListAllDeviceGroupOutcome LtoClient::listAllDeviceGroup(const ListAllDeviceGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListAllDeviceGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListAllDeviceGroupOutcome(ListAllDeviceGroupResult(outcome.result())); + else + return ListAllDeviceGroupOutcome(outcome.error()); +} + +void LtoClient::listAllDeviceGroupAsync(const ListAllDeviceGroupRequest& request, const ListAllDeviceGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listAllDeviceGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::ListAllDeviceGroupOutcomeCallable LtoClient::listAllDeviceGroupCallable(const ListAllDeviceGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listAllDeviceGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::ListAllMemberOutcome LtoClient::listAllMember(const ListAllMemberRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListAllMemberOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListAllMemberOutcome(ListAllMemberResult(outcome.result())); + else + return ListAllMemberOutcome(outcome.error()); +} + +void LtoClient::listAllMemberAsync(const ListAllMemberRequest& request, const ListAllMemberAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listAllMember(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::ListAllMemberOutcomeCallable LtoClient::listAllMemberCallable(const ListAllMemberRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listAllMember(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::ListAllPrivacyAlgorithmOutcome LtoClient::listAllPrivacyAlgorithm(const ListAllPrivacyAlgorithmRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListAllPrivacyAlgorithmOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListAllPrivacyAlgorithmOutcome(ListAllPrivacyAlgorithmResult(outcome.result())); + else + return ListAllPrivacyAlgorithmOutcome(outcome.error()); +} + +void LtoClient::listAllPrivacyAlgorithmAsync(const ListAllPrivacyAlgorithmRequest& request, const ListAllPrivacyAlgorithmAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listAllPrivacyAlgorithm(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::ListAllPrivacyAlgorithmOutcomeCallable LtoClient::listAllPrivacyAlgorithmCallable(const ListAllPrivacyAlgorithmRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listAllPrivacyAlgorithm(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::ListAllPrivacyRuleOutcome LtoClient::listAllPrivacyRule(const ListAllPrivacyRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListAllPrivacyRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListAllPrivacyRuleOutcome(ListAllPrivacyRuleResult(outcome.result())); + else + return ListAllPrivacyRuleOutcome(outcome.error()); +} + +void LtoClient::listAllPrivacyRuleAsync(const ListAllPrivacyRuleRequest& request, const ListAllPrivacyRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listAllPrivacyRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::ListAllPrivacyRuleOutcomeCallable LtoClient::listAllPrivacyRuleCallable(const ListAllPrivacyRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listAllPrivacyRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::ListAllProductKeyOutcome LtoClient::listAllProductKey(const ListAllProductKeyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListAllProductKeyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListAllProductKeyOutcome(ListAllProductKeyResult(outcome.result())); + else + return ListAllProductKeyOutcome(outcome.error()); +} + +void LtoClient::listAllProductKeyAsync(const ListAllProductKeyRequest& request, const ListAllProductKeyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listAllProductKey(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::ListAllProductKeyOutcomeCallable LtoClient::listAllProductKeyCallable(const ListAllProductKeyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listAllProductKey(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::ListAllSystemContractOutcome LtoClient::listAllSystemContract(const ListAllSystemContractRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListAllSystemContractOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListAllSystemContractOutcome(ListAllSystemContractResult(outcome.result())); + else + return ListAllSystemContractOutcome(outcome.error()); +} + +void LtoClient::listAllSystemContractAsync(const ListAllSystemContractRequest& request, const ListAllSystemContractAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listAllSystemContract(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::ListAllSystemContractOutcomeCallable LtoClient::listAllSystemContractCallable(const ListAllSystemContractRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listAllSystemContract(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::ListBaaSAntChainOutcome LtoClient::listBaaSAntChain(const ListBaaSAntChainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListBaaSAntChainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListBaaSAntChainOutcome(ListBaaSAntChainResult(outcome.result())); + else + return ListBaaSAntChainOutcome(outcome.error()); +} + +void LtoClient::listBaaSAntChainAsync(const ListBaaSAntChainRequest& request, const ListBaaSAntChainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listBaaSAntChain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::ListBaaSAntChainOutcomeCallable LtoClient::listBaaSAntChainCallable(const ListBaaSAntChainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listBaaSAntChain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::ListBaaSAntChainConsortiumOutcome LtoClient::listBaaSAntChainConsortium(const ListBaaSAntChainConsortiumRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListBaaSAntChainConsortiumOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListBaaSAntChainConsortiumOutcome(ListBaaSAntChainConsortiumResult(outcome.result())); + else + return ListBaaSAntChainConsortiumOutcome(outcome.error()); +} + +void LtoClient::listBaaSAntChainConsortiumAsync(const ListBaaSAntChainConsortiumRequest& request, const ListBaaSAntChainConsortiumAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listBaaSAntChainConsortium(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::ListBaaSAntChainConsortiumOutcomeCallable LtoClient::listBaaSAntChainConsortiumCallable(const ListBaaSAntChainConsortiumRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listBaaSAntChainConsortium(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::ListBaaSAntChainPeerOutcome LtoClient::listBaaSAntChainPeer(const ListBaaSAntChainPeerRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListBaaSAntChainPeerOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListBaaSAntChainPeerOutcome(ListBaaSAntChainPeerResult(outcome.result())); + else + return ListBaaSAntChainPeerOutcome(outcome.error()); +} + +void LtoClient::listBaaSAntChainPeerAsync(const ListBaaSAntChainPeerRequest& request, const ListBaaSAntChainPeerAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listBaaSAntChainPeer(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::ListBaaSAntChainPeerOutcomeCallable LtoClient::listBaaSAntChainPeerCallable(const ListBaaSAntChainPeerRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listBaaSAntChainPeer(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::ListBaaSFabricChannelOutcome LtoClient::listBaaSFabricChannel(const ListBaaSFabricChannelRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListBaaSFabricChannelOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListBaaSFabricChannelOutcome(ListBaaSFabricChannelResult(outcome.result())); + else + return ListBaaSFabricChannelOutcome(outcome.error()); +} + +void LtoClient::listBaaSFabricChannelAsync(const ListBaaSFabricChannelRequest& request, const ListBaaSFabricChannelAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listBaaSFabricChannel(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::ListBaaSFabricChannelOutcomeCallable LtoClient::listBaaSFabricChannelCallable(const ListBaaSFabricChannelRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listBaaSFabricChannel(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::ListBaaSFabricConsortiumOutcome LtoClient::listBaaSFabricConsortium(const ListBaaSFabricConsortiumRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListBaaSFabricConsortiumOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListBaaSFabricConsortiumOutcome(ListBaaSFabricConsortiumResult(outcome.result())); + else + return ListBaaSFabricConsortiumOutcome(outcome.error()); +} + +void LtoClient::listBaaSFabricConsortiumAsync(const ListBaaSFabricConsortiumRequest& request, const ListBaaSFabricConsortiumAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listBaaSFabricConsortium(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::ListBaaSFabricConsortiumOutcomeCallable LtoClient::listBaaSFabricConsortiumCallable(const ListBaaSFabricConsortiumRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listBaaSFabricConsortium(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::ListBaaSFabricOrganizationOutcome LtoClient::listBaaSFabricOrganization(const ListBaaSFabricOrganizationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListBaaSFabricOrganizationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListBaaSFabricOrganizationOutcome(ListBaaSFabricOrganizationResult(outcome.result())); + else + return ListBaaSFabricOrganizationOutcome(outcome.error()); +} + +void LtoClient::listBaaSFabricOrganizationAsync(const ListBaaSFabricOrganizationRequest& request, const ListBaaSFabricOrganizationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listBaaSFabricOrganization(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::ListBaaSFabricOrganizationOutcomeCallable LtoClient::listBaaSFabricOrganizationCallable(const ListBaaSFabricOrganizationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listBaaSFabricOrganization(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::ListBizChainOutcome LtoClient::listBizChain(const ListBizChainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListBizChainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListBizChainOutcome(ListBizChainResult(outcome.result())); + else + return ListBizChainOutcome(outcome.error()); +} + +void LtoClient::listBizChainAsync(const ListBizChainRequest& request, const ListBizChainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listBizChain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::ListBizChainOutcomeCallable LtoClient::listBizChainCallable(const ListBizChainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listBizChain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::ListBizChainDataOutcome LtoClient::listBizChainData(const ListBizChainDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListBizChainDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListBizChainDataOutcome(ListBizChainDataResult(outcome.result())); + else + return ListBizChainDataOutcome(outcome.error()); +} + +void LtoClient::listBizChainDataAsync(const ListBizChainDataRequest& request, const ListBizChainDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listBizChainData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::ListBizChainDataOutcomeCallable LtoClient::listBizChainDataCallable(const ListBizChainDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listBizChainData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::ListDeviceOutcome LtoClient::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 LtoClient::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)); +} + +LtoClient::ListDeviceOutcomeCallable LtoClient::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(); +} + +LtoClient::ListDeviceGroupOutcome LtoClient::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 LtoClient::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)); +} + +LtoClient::ListDeviceGroupOutcomeCallable LtoClient::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(); +} + +LtoClient::ListDeviceGroupAuthorizedBizChainOutcome LtoClient::listDeviceGroupAuthorizedBizChain(const ListDeviceGroupAuthorizedBizChainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDeviceGroupAuthorizedBizChainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDeviceGroupAuthorizedBizChainOutcome(ListDeviceGroupAuthorizedBizChainResult(outcome.result())); + else + return ListDeviceGroupAuthorizedBizChainOutcome(outcome.error()); +} + +void LtoClient::listDeviceGroupAuthorizedBizChainAsync(const ListDeviceGroupAuthorizedBizChainRequest& request, const ListDeviceGroupAuthorizedBizChainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDeviceGroupAuthorizedBizChain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::ListDeviceGroupAuthorizedBizChainOutcomeCallable LtoClient::listDeviceGroupAuthorizedBizChainCallable(const ListDeviceGroupAuthorizedBizChainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDeviceGroupAuthorizedBizChain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::ListEdgeDeviceOutcome LtoClient::listEdgeDevice(const ListEdgeDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListEdgeDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListEdgeDeviceOutcome(ListEdgeDeviceResult(outcome.result())); + else + return ListEdgeDeviceOutcome(outcome.error()); +} + +void LtoClient::listEdgeDeviceAsync(const ListEdgeDeviceRequest& request, const ListEdgeDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listEdgeDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::ListEdgeDeviceOutcomeCallable LtoClient::listEdgeDeviceCallable(const ListEdgeDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listEdgeDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::ListEdgeDeviceGroupOutcome LtoClient::listEdgeDeviceGroup(const ListEdgeDeviceGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListEdgeDeviceGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListEdgeDeviceGroupOutcome(ListEdgeDeviceGroupResult(outcome.result())); + else + return ListEdgeDeviceGroupOutcome(outcome.error()); +} + +void LtoClient::listEdgeDeviceGroupAsync(const ListEdgeDeviceGroupRequest& request, const ListEdgeDeviceGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listEdgeDeviceGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::ListEdgeDeviceGroupOutcomeCallable LtoClient::listEdgeDeviceGroupCallable(const ListEdgeDeviceGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listEdgeDeviceGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::ListMemberOutcome LtoClient::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 LtoClient::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)); +} + +LtoClient::ListMemberOutcomeCallable LtoClient::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(); +} + +LtoClient::ListMemberAccessRecordOutcome LtoClient::listMemberAccessRecord(const ListMemberAccessRecordRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListMemberAccessRecordOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListMemberAccessRecordOutcome(ListMemberAccessRecordResult(outcome.result())); + else + return ListMemberAccessRecordOutcome(outcome.error()); +} + +void LtoClient::listMemberAccessRecordAsync(const ListMemberAccessRecordRequest& request, const ListMemberAccessRecordAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listMemberAccessRecord(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::ListMemberAccessRecordOutcomeCallable LtoClient::listMemberAccessRecordCallable(const ListMemberAccessRecordRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listMemberAccessRecord(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::ListMemberAuthorizedBizChainOutcome LtoClient::listMemberAuthorizedBizChain(const ListMemberAuthorizedBizChainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListMemberAuthorizedBizChainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListMemberAuthorizedBizChainOutcome(ListMemberAuthorizedBizChainResult(outcome.result())); + else + return ListMemberAuthorizedBizChainOutcome(outcome.error()); +} + +void LtoClient::listMemberAuthorizedBizChainAsync(const ListMemberAuthorizedBizChainRequest& request, const ListMemberAuthorizedBizChainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listMemberAuthorizedBizChain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::ListMemberAuthorizedBizChainOutcomeCallable LtoClient::listMemberAuthorizedBizChainCallable(const ListMemberAuthorizedBizChainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listMemberAuthorizedBizChain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::ListPrivacyRuleOutcome LtoClient::listPrivacyRule(const ListPrivacyRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListPrivacyRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListPrivacyRuleOutcome(ListPrivacyRuleResult(outcome.result())); + else + return ListPrivacyRuleOutcome(outcome.error()); +} + +void LtoClient::listPrivacyRuleAsync(const ListPrivacyRuleRequest& request, const ListPrivacyRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listPrivacyRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::ListPrivacyRuleOutcomeCallable LtoClient::listPrivacyRuleCallable(const ListPrivacyRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listPrivacyRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::ListPrivacyRuleSharedMemberOutcome LtoClient::listPrivacyRuleSharedMember(const ListPrivacyRuleSharedMemberRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListPrivacyRuleSharedMemberOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListPrivacyRuleSharedMemberOutcome(ListPrivacyRuleSharedMemberResult(outcome.result())); + else + return ListPrivacyRuleSharedMemberOutcome(outcome.error()); +} + +void LtoClient::listPrivacyRuleSharedMemberAsync(const ListPrivacyRuleSharedMemberRequest& request, const ListPrivacyRuleSharedMemberAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listPrivacyRuleSharedMember(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::ListPrivacyRuleSharedMemberOutcomeCallable LtoClient::listPrivacyRuleSharedMemberCallable(const ListPrivacyRuleSharedMemberRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listPrivacyRuleSharedMember(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::ListRouteRuleOutcome LtoClient::listRouteRule(const ListRouteRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListRouteRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListRouteRuleOutcome(ListRouteRuleResult(outcome.result())); + else + return ListRouteRuleOutcome(outcome.error()); +} + +void LtoClient::listRouteRuleAsync(const ListRouteRuleRequest& request, const ListRouteRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listRouteRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::ListRouteRuleOutcomeCallable LtoClient::listRouteRuleCallable(const ListRouteRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listRouteRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::QueryBlockchainDataOutcome LtoClient::queryBlockchainData(const QueryBlockchainDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryBlockchainDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryBlockchainDataOutcome(QueryBlockchainDataResult(outcome.result())); + else + return QueryBlockchainDataOutcome(outcome.error()); +} + +void LtoClient::queryBlockchainDataAsync(const QueryBlockchainDataRequest& request, const QueryBlockchainDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryBlockchainData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::QueryBlockchainDataOutcomeCallable LtoClient::queryBlockchainDataCallable(const QueryBlockchainDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryBlockchainData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::QueryBlockchainMetadataOutcome LtoClient::queryBlockchainMetadata(const QueryBlockchainMetadataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryBlockchainMetadataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryBlockchainMetadataOutcome(QueryBlockchainMetadataResult(outcome.result())); + else + return QueryBlockchainMetadataOutcome(outcome.error()); +} + +void LtoClient::queryBlockchainMetadataAsync(const QueryBlockchainMetadataRequest& request, const QueryBlockchainMetadataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryBlockchainMetadata(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::QueryBlockchainMetadataOutcomeCallable LtoClient::queryBlockchainMetadataCallable(const QueryBlockchainMetadataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryBlockchainMetadata(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::SharePrivacyRuleOutcome LtoClient::sharePrivacyRule(const SharePrivacyRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SharePrivacyRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SharePrivacyRuleOutcome(SharePrivacyRuleResult(outcome.result())); + else + return SharePrivacyRuleOutcome(outcome.error()); +} + +void LtoClient::sharePrivacyRuleAsync(const SharePrivacyRuleRequest& request, const SharePrivacyRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, sharePrivacyRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::SharePrivacyRuleOutcomeCallable LtoClient::sharePrivacyRuleCallable(const SharePrivacyRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->sharePrivacyRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::UnFreezeMemberOutcome LtoClient::unFreezeMember(const UnFreezeMemberRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UnFreezeMemberOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UnFreezeMemberOutcome(UnFreezeMemberResult(outcome.result())); + else + return UnFreezeMemberOutcome(outcome.error()); +} + +void LtoClient::unFreezeMemberAsync(const UnFreezeMemberRequest& request, const UnFreezeMemberAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, unFreezeMember(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::UnFreezeMemberOutcomeCallable LtoClient::unFreezeMemberCallable(const UnFreezeMemberRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->unFreezeMember(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::UpdateBizChainOutcome LtoClient::updateBizChain(const UpdateBizChainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateBizChainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateBizChainOutcome(UpdateBizChainResult(outcome.result())); + else + return UpdateBizChainOutcome(outcome.error()); +} + +void LtoClient::updateBizChainAsync(const UpdateBizChainRequest& request, const UpdateBizChainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateBizChain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::UpdateBizChainOutcomeCallable LtoClient::updateBizChainCallable(const UpdateBizChainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateBizChain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::UpdateMemberOutcome LtoClient::updateMember(const UpdateMemberRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateMemberOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateMemberOutcome(UpdateMemberResult(outcome.result())); + else + return UpdateMemberOutcome(outcome.error()); +} + +void LtoClient::updateMemberAsync(const UpdateMemberRequest& request, const UpdateMemberAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateMember(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::UpdateMemberOutcomeCallable LtoClient::updateMemberCallable(const UpdateMemberRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateMember(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::UpdatePrivacyRuleOutcome LtoClient::updatePrivacyRule(const UpdatePrivacyRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdatePrivacyRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdatePrivacyRuleOutcome(UpdatePrivacyRuleResult(outcome.result())); + else + return UpdatePrivacyRuleOutcome(outcome.error()); +} + +void LtoClient::updatePrivacyRuleAsync(const UpdatePrivacyRuleRequest& request, const UpdatePrivacyRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updatePrivacyRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::UpdatePrivacyRuleOutcomeCallable LtoClient::updatePrivacyRuleCallable(const UpdatePrivacyRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updatePrivacyRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::UpdateRouteRuleOutcome LtoClient::updateRouteRule(const UpdateRouteRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateRouteRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateRouteRuleOutcome(UpdateRouteRuleResult(outcome.result())); + else + return UpdateRouteRuleOutcome(outcome.error()); +} + +void LtoClient::updateRouteRuleAsync(const UpdateRouteRuleRequest& request, const UpdateRouteRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateRouteRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::UpdateRouteRuleOutcomeCallable LtoClient::updateRouteRuleCallable(const UpdateRouteRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateRouteRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LtoClient::UploadIoTDataToBlockchainOutcome LtoClient::uploadIoTDataToBlockchain(const UploadIoTDataToBlockchainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UploadIoTDataToBlockchainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UploadIoTDataToBlockchainOutcome(UploadIoTDataToBlockchainResult(outcome.result())); + else + return UploadIoTDataToBlockchainOutcome(outcome.error()); +} + +void LtoClient::uploadIoTDataToBlockchainAsync(const UploadIoTDataToBlockchainRequest& request, const UploadIoTDataToBlockchainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, uploadIoTDataToBlockchain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LtoClient::UploadIoTDataToBlockchainOutcomeCallable LtoClient::uploadIoTDataToBlockchainCallable(const UploadIoTDataToBlockchainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->uploadIoTDataToBlockchain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + diff --git a/lto/src/model/AddBaaSAntChainBizChainRequest.cc b/lto/src/model/AddBaaSAntChainBizChainRequest.cc new file mode 100644 index 000000000..764e3c823 --- /dev/null +++ b/lto/src/model/AddBaaSAntChainBizChainRequest.cc @@ -0,0 +1,162 @@ +/* + * 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::Lto::Model::AddBaaSAntChainBizChainRequest; + +AddBaaSAntChainBizChainRequest::AddBaaSAntChainBizChainRequest() + : RpcServiceRequest("lto", "2021-07-07", "AddBaaSAntChainBizChain") { + setMethod(HttpRequest::Method::Post); +} + +AddBaaSAntChainBizChainRequest::~AddBaaSAntChainBizChainRequest() {} + +std::string AddBaaSAntChainBizChainRequest::getCaCertPassword() const { + return caCertPassword_; +} + +void AddBaaSAntChainBizChainRequest::setCaCertPassword(const std::string &caCertPassword) { + caCertPassword_ = caCertPassword; + setParameter(std::string("CaCertPassword"), caCertPassword); +} + +std::string AddBaaSAntChainBizChainRequest::getNodeNameList() const { + return nodeNameList_; +} + +void AddBaaSAntChainBizChainRequest::setNodeNameList(const std::string &nodeNameList) { + nodeNameList_ = nodeNameList; + setParameter(std::string("NodeNameList"), nodeNameList); +} + +std::string AddBaaSAntChainBizChainRequest::getRemark() const { + return remark_; +} + +void AddBaaSAntChainBizChainRequest::setRemark(const std::string &remark) { + remark_ = remark; + setParameter(std::string("Remark"), remark); +} + +std::string AddBaaSAntChainBizChainRequest::getUserKey() const { + return userKey_; +} + +void AddBaaSAntChainBizChainRequest::setUserKey(const std::string &userKey) { + userKey_ = userKey; + setParameter(std::string("UserKey"), userKey); +} + +std::string AddBaaSAntChainBizChainRequest::getClientCert() const { + return clientCert_; +} + +void AddBaaSAntChainBizChainRequest::setClientCert(const std::string &clientCert) { + clientCert_ = clientCert; + setParameter(std::string("ClientCert"), clientCert); +} + +std::string AddBaaSAntChainBizChainRequest::getRegionId() const { + return regionId_; +} + +void AddBaaSAntChainBizChainRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string AddBaaSAntChainBizChainRequest::getBaaSAntChainConsortiumId() const { + return baaSAntChainConsortiumId_; +} + +void AddBaaSAntChainBizChainRequest::setBaaSAntChainConsortiumId(const std::string &baaSAntChainConsortiumId) { + baaSAntChainConsortiumId_ = baaSAntChainConsortiumId; + setParameter(std::string("BaaSAntChainConsortiumId"), baaSAntChainConsortiumId); +} + +std::string AddBaaSAntChainBizChainRequest::getUserKeyPassword() const { + return userKeyPassword_; +} + +void AddBaaSAntChainBizChainRequest::setUserKeyPassword(const std::string &userKeyPassword) { + userKeyPassword_ = userKeyPassword; + setParameter(std::string("UserKeyPassword"), userKeyPassword); +} + +std::string AddBaaSAntChainBizChainRequest::getBaaSAntChainChainId() const { + return baaSAntChainChainId_; +} + +void AddBaaSAntChainBizChainRequest::setBaaSAntChainChainId(const std::string &baaSAntChainChainId) { + baaSAntChainChainId_ = baaSAntChainChainId; + setParameter(std::string("BaaSAntChainChainId"), baaSAntChainChainId); +} + +std::string AddBaaSAntChainBizChainRequest::getClientKey() const { + return clientKey_; +} + +void AddBaaSAntChainBizChainRequest::setClientKey(const std::string &clientKey) { + clientKey_ = clientKey; + setParameter(std::string("ClientKey"), clientKey); +} + +std::string AddBaaSAntChainBizChainRequest::getCaCert() const { + return caCert_; +} + +void AddBaaSAntChainBizChainRequest::setCaCert(const std::string &caCert) { + caCert_ = caCert; + setParameter(std::string("CaCert"), caCert); +} + +std::string AddBaaSAntChainBizChainRequest::getName() const { + return name_; +} + +void AddBaaSAntChainBizChainRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +std::string AddBaaSAntChainBizChainRequest::getClientKeyPassword() const { + return clientKeyPassword_; +} + +void AddBaaSAntChainBizChainRequest::setClientKeyPassword(const std::string &clientKeyPassword) { + clientKeyPassword_ = clientKeyPassword; + setParameter(std::string("ClientKeyPassword"), clientKeyPassword); +} + +std::string AddBaaSAntChainBizChainRequest::getContractTemplateIdList() const { + return contractTemplateIdList_; +} + +void AddBaaSAntChainBizChainRequest::setContractTemplateIdList(const std::string &contractTemplateIdList) { + contractTemplateIdList_ = contractTemplateIdList; + setParameter(std::string("ContractTemplateIdList"), contractTemplateIdList); +} + +std::string AddBaaSAntChainBizChainRequest::getUserName() const { + return userName_; +} + +void AddBaaSAntChainBizChainRequest::setUserName(const std::string &userName) { + userName_ = userName; + setParameter(std::string("UserName"), userName); +} + diff --git a/lto/src/model/AddBaaSAntChainBizChainResult.cc b/lto/src/model/AddBaaSAntChainBizChainResult.cc new file mode 100644 index 000000000..abd3cda80 --- /dev/null +++ b/lto/src/model/AddBaaSAntChainBizChainResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +AddBaaSAntChainBizChainResult::AddBaaSAntChainBizChainResult() : + ServiceResult() +{} + +AddBaaSAntChainBizChainResult::AddBaaSAntChainBizChainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddBaaSAntChainBizChainResult::~AddBaaSAntChainBizChainResult() +{} + +void AddBaaSAntChainBizChainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string AddBaaSAntChainBizChainResult::getMessage()const +{ + return message_; +} + +int AddBaaSAntChainBizChainResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string AddBaaSAntChainBizChainResult::getCode()const +{ + return code_; +} + +bool AddBaaSAntChainBizChainResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/AddBaaSFabricBizChainRequest.cc b/lto/src/model/AddBaaSFabricBizChainRequest.cc new file mode 100644 index 000000000..6ee380b84 --- /dev/null +++ b/lto/src/model/AddBaaSFabricBizChainRequest.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::Lto::Model::AddBaaSFabricBizChainRequest; + +AddBaaSFabricBizChainRequest::AddBaaSFabricBizChainRequest() + : RpcServiceRequest("lto", "2021-07-07", "AddBaaSFabricBizChain") { + setMethod(HttpRequest::Method::Post); +} + +AddBaaSFabricBizChainRequest::~AddBaaSFabricBizChainRequest() {} + +std::string AddBaaSFabricBizChainRequest::getBaaSFabricConsortiumId() const { + return baaSFabricConsortiumId_; +} + +void AddBaaSFabricBizChainRequest::setBaaSFabricConsortiumId(const std::string &baaSFabricConsortiumId) { + baaSFabricConsortiumId_ = baaSFabricConsortiumId; + setParameter(std::string("BaaSFabricConsortiumId"), baaSFabricConsortiumId); +} + +std::string AddBaaSFabricBizChainRequest::getRemark() const { + return remark_; +} + +void AddBaaSFabricBizChainRequest::setRemark(const std::string &remark) { + remark_ = remark; + setParameter(std::string("Remark"), remark); +} + +std::string AddBaaSFabricBizChainRequest::getRegionId() const { + return regionId_; +} + +void AddBaaSFabricBizChainRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string AddBaaSFabricBizChainRequest::getName() const { + return name_; +} + +void AddBaaSFabricBizChainRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +std::string AddBaaSFabricBizChainRequest::getBaaSFabricChannelId() const { + return baaSFabricChannelId_; +} + +void AddBaaSFabricBizChainRequest::setBaaSFabricChannelId(const std::string &baaSFabricChannelId) { + baaSFabricChannelId_ = baaSFabricChannelId; + setParameter(std::string("BaaSFabricChannelId"), baaSFabricChannelId); +} + +std::string AddBaaSFabricBizChainRequest::getBaaSFabricOrganizationId() const { + return baaSFabricOrganizationId_; +} + +void AddBaaSFabricBizChainRequest::setBaaSFabricOrganizationId(const std::string &baaSFabricOrganizationId) { + baaSFabricOrganizationId_ = baaSFabricOrganizationId; + setParameter(std::string("BaaSFabricOrganizationId"), baaSFabricOrganizationId); +} + +std::string AddBaaSFabricBizChainRequest::getContractTemplateIdList() const { + return contractTemplateIdList_; +} + +void AddBaaSFabricBizChainRequest::setContractTemplateIdList(const std::string &contractTemplateIdList) { + contractTemplateIdList_ = contractTemplateIdList; + setParameter(std::string("ContractTemplateIdList"), contractTemplateIdList); +} + diff --git a/lto/src/model/AddBaaSFabricBizChainResult.cc b/lto/src/model/AddBaaSFabricBizChainResult.cc new file mode 100644 index 000000000..0db960429 --- /dev/null +++ b/lto/src/model/AddBaaSFabricBizChainResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +AddBaaSFabricBizChainResult::AddBaaSFabricBizChainResult() : + ServiceResult() +{} + +AddBaaSFabricBizChainResult::AddBaaSFabricBizChainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddBaaSFabricBizChainResult::~AddBaaSFabricBizChainResult() +{} + +void AddBaaSFabricBizChainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string AddBaaSFabricBizChainResult::getMessage()const +{ + return message_; +} + +int AddBaaSFabricBizChainResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string AddBaaSFabricBizChainResult::getCode()const +{ + return code_; +} + +bool AddBaaSFabricBizChainResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/AddBsnFabricBizChainRequest.cc b/lto/src/model/AddBsnFabricBizChainRequest.cc new file mode 100644 index 000000000..c94ca55fc --- /dev/null +++ b/lto/src/model/AddBsnFabricBizChainRequest.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::Lto::Model::AddBsnFabricBizChainRequest; + +AddBsnFabricBizChainRequest::AddBsnFabricBizChainRequest() + : RpcServiceRequest("lto", "2021-07-07", "AddBsnFabricBizChain") { + setMethod(HttpRequest::Method::Post); +} + +AddBsnFabricBizChainRequest::~AddBsnFabricBizChainRequest() {} + +std::string AddBsnFabricBizChainRequest::getRemark() const { + return remark_; +} + +void AddBsnFabricBizChainRequest::setRemark(const std::string &remark) { + remark_ = remark; + setParameter(std::string("Remark"), remark); +} + +std::string AddBsnFabricBizChainRequest::getRegionId() const { + return regionId_; +} + +void AddBsnFabricBizChainRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string AddBsnFabricBizChainRequest::getName() const { + return name_; +} + +void AddBsnFabricBizChainRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +std::string AddBsnFabricBizChainRequest::getAppCode() const { + return appCode_; +} + +void AddBsnFabricBizChainRequest::setAppCode(const std::string &appCode) { + appCode_ = appCode; + setParameter(std::string("AppCode"), appCode); +} + +std::string AddBsnFabricBizChainRequest::getNodeList() const { + return nodeList_; +} + +void AddBsnFabricBizChainRequest::setNodeList(const std::string &nodeList) { + nodeList_ = nodeList; + setParameter(std::string("NodeList"), nodeList); +} + +std::string AddBsnFabricBizChainRequest::getUserCode() const { + return userCode_; +} + +void AddBsnFabricBizChainRequest::setUserCode(const std::string &userCode) { + userCode_ = userCode; + setParameter(std::string("UserCode"), userCode); +} + diff --git a/lto/src/model/AddBsnFabricBizChainResult.cc b/lto/src/model/AddBsnFabricBizChainResult.cc new file mode 100644 index 000000000..7f291221c --- /dev/null +++ b/lto/src/model/AddBsnFabricBizChainResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +AddBsnFabricBizChainResult::AddBsnFabricBizChainResult() : + ServiceResult() +{} + +AddBsnFabricBizChainResult::AddBsnFabricBizChainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddBsnFabricBizChainResult::~AddBsnFabricBizChainResult() +{} + +void AddBsnFabricBizChainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string AddBsnFabricBizChainResult::getMessage()const +{ + return message_; +} + +int AddBsnFabricBizChainResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string AddBsnFabricBizChainResult::getCode()const +{ + return code_; +} + +bool AddBsnFabricBizChainResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/AddDeviceGroupRequest.cc b/lto/src/model/AddDeviceGroupRequest.cc new file mode 100644 index 000000000..651c7c913 --- /dev/null +++ b/lto/src/model/AddDeviceGroupRequest.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::Lto::Model::AddDeviceGroupRequest; + +AddDeviceGroupRequest::AddDeviceGroupRequest() + : RpcServiceRequest("lto", "2021-07-07", "AddDeviceGroup") { + setMethod(HttpRequest::Method::Post); +} + +AddDeviceGroupRequest::~AddDeviceGroupRequest() {} + +std::string AddDeviceGroupRequest::getRemark() const { + return remark_; +} + +void AddDeviceGroupRequest::setRemark(const std::string &remark) { + remark_ = remark; + setParameter(std::string("Remark"), remark); +} + +std::string AddDeviceGroupRequest::getProductKey() const { + return productKey_; +} + +void AddDeviceGroupRequest::setProductKey(const std::string &productKey) { + productKey_ = productKey; + setParameter(std::string("ProductKey"), productKey); +} + +std::string AddDeviceGroupRequest::getRegionId() const { + return regionId_; +} + +void AddDeviceGroupRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +int AddDeviceGroupRequest::getAuthorizedCount() const { + return authorizedCount_; +} + +void AddDeviceGroupRequest::setAuthorizedCount(int authorizedCount) { + authorizedCount_ = authorizedCount; + setParameter(std::string("AuthorizedCount"), std::to_string(authorizedCount)); +} + diff --git a/lto/src/model/AddDeviceGroupResult.cc b/lto/src/model/AddDeviceGroupResult.cc new file mode 100644 index 000000000..9d71b00ba --- /dev/null +++ b/lto/src/model/AddDeviceGroupResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +AddDeviceGroupResult::AddDeviceGroupResult() : + ServiceResult() +{} + +AddDeviceGroupResult::AddDeviceGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddDeviceGroupResult::~AddDeviceGroupResult() +{} + +void AddDeviceGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string AddDeviceGroupResult::getMessage()const +{ + return message_; +} + +int AddDeviceGroupResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string AddDeviceGroupResult::getCode()const +{ + return code_; +} + +bool AddDeviceGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/AddMemberRequest.cc b/lto/src/model/AddMemberRequest.cc new file mode 100644 index 000000000..3bea987da --- /dev/null +++ b/lto/src/model/AddMemberRequest.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::Lto::Model::AddMemberRequest; + +AddMemberRequest::AddMemberRequest() + : RpcServiceRequest("lto", "2021-07-07", "AddMember") { + setMethod(HttpRequest::Method::Post); +} + +AddMemberRequest::~AddMemberRequest() {} + +std::string AddMemberRequest::getRemark() const { + return remark_; +} + +void AddMemberRequest::setRemark(const std::string &remark) { + remark_ = remark; + setParameter(std::string("Remark"), remark); +} + +std::string AddMemberRequest::getUid() const { + return uid_; +} + +void AddMemberRequest::setUid(const std::string &uid) { + uid_ = uid; + setParameter(std::string("Uid"), uid); +} + +std::string AddMemberRequest::getRegionId() const { + return regionId_; +} + +void AddMemberRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string AddMemberRequest::getTelephony() const { + return telephony_; +} + +void AddMemberRequest::setTelephony(const std::string &telephony) { + telephony_ = telephony; + setParameter(std::string("Telephony"), telephony); +} + +std::string AddMemberRequest::getName() const { + return name_; +} + +void AddMemberRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +int AddMemberRequest::getAuthorizedDeviceCount() const { + return authorizedDeviceCount_; +} + +void AddMemberRequest::setAuthorizedDeviceCount(int authorizedDeviceCount) { + authorizedDeviceCount_ = authorizedDeviceCount; + setParameter(std::string("AuthorizedDeviceCount"), std::to_string(authorizedDeviceCount)); +} + +std::string AddMemberRequest::getContactor() const { + return contactor_; +} + +void AddMemberRequest::setContactor(const std::string &contactor) { + contactor_ = contactor; + setParameter(std::string("Contactor"), contactor); +} + +long AddMemberRequest::getAuthorizedCount() const { + return authorizedCount_; +} + +void AddMemberRequest::setAuthorizedCount(long authorizedCount) { + authorizedCount_ = authorizedCount; + setParameter(std::string("AuthorizedCount"), std::to_string(authorizedCount)); +} + diff --git a/lto/src/model/AddMemberResult.cc b/lto/src/model/AddMemberResult.cc new file mode 100644 index 000000000..216d4bacb --- /dev/null +++ b/lto/src/model/AddMemberResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +AddMemberResult::AddMemberResult() : + ServiceResult() +{} + +AddMemberResult::AddMemberResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddMemberResult::~AddMemberResult() +{} + +void AddMemberResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string AddMemberResult::getMessage()const +{ + return message_; +} + +int AddMemberResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string AddMemberResult::getCode()const +{ + return code_; +} + +bool AddMemberResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/AddPrivacyRuleRequest.cc b/lto/src/model/AddPrivacyRuleRequest.cc new file mode 100644 index 000000000..bcf1e1a40 --- /dev/null +++ b/lto/src/model/AddPrivacyRuleRequest.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::Lto::Model::AddPrivacyRuleRequest; + +AddPrivacyRuleRequest::AddPrivacyRuleRequest() + : RpcServiceRequest("lto", "2021-07-07", "AddPrivacyRule") { + setMethod(HttpRequest::Method::Post); +} + +AddPrivacyRuleRequest::~AddPrivacyRuleRequest() {} + +std::string AddPrivacyRuleRequest::getRemark() const { + return remark_; +} + +void AddPrivacyRuleRequest::setRemark(const std::string &remark) { + remark_ = remark; + setParameter(std::string("Remark"), remark); +} + +std::string AddPrivacyRuleRequest::getRegionId() const { + return regionId_; +} + +void AddPrivacyRuleRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string AddPrivacyRuleRequest::getName() const { + return name_; +} + +void AddPrivacyRuleRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +std::string AddPrivacyRuleRequest::getAlgImpl() const { + return algImpl_; +} + +void AddPrivacyRuleRequest::setAlgImpl(const std::string &algImpl) { + algImpl_ = algImpl; + setParameter(std::string("AlgImpl"), algImpl); +} + +std::string AddPrivacyRuleRequest::getAlgType() const { + return algType_; +} + +void AddPrivacyRuleRequest::setAlgType(const std::string &algType) { + algType_ = algType; + setParameter(std::string("AlgType"), algType); +} + diff --git a/lto/src/model/AddPrivacyRuleResult.cc b/lto/src/model/AddPrivacyRuleResult.cc new file mode 100644 index 000000000..9788b149c --- /dev/null +++ b/lto/src/model/AddPrivacyRuleResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +AddPrivacyRuleResult::AddPrivacyRuleResult() : + ServiceResult() +{} + +AddPrivacyRuleResult::AddPrivacyRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddPrivacyRuleResult::~AddPrivacyRuleResult() +{} + +void AddPrivacyRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string AddPrivacyRuleResult::getMessage()const +{ + return message_; +} + +int AddPrivacyRuleResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string AddPrivacyRuleResult::getCode()const +{ + return code_; +} + +bool AddPrivacyRuleResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/AddRouteRuleRequest.cc b/lto/src/model/AddRouteRuleRequest.cc new file mode 100644 index 000000000..d633a39ab --- /dev/null +++ b/lto/src/model/AddRouteRuleRequest.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::Lto::Model::AddRouteRuleRequest; + +AddRouteRuleRequest::AddRouteRuleRequest() + : RpcServiceRequest("lto", "2021-07-07", "AddRouteRule") { + setMethod(HttpRequest::Method::Post); +} + +AddRouteRuleRequest::~AddRouteRuleRequest() {} + +std::string AddRouteRuleRequest::getContractTemplateId() const { + return contractTemplateId_; +} + +void AddRouteRuleRequest::setContractTemplateId(const std::string &contractTemplateId) { + contractTemplateId_ = contractTemplateId; + setParameter(std::string("ContractTemplateId"), contractTemplateId); +} + +std::string AddRouteRuleRequest::getContractName() const { + return contractName_; +} + +void AddRouteRuleRequest::setContractName(const std::string &contractName) { + contractName_ = contractName; + setParameter(std::string("ContractName"), contractName); +} + +std::string AddRouteRuleRequest::getPrivacyRuleId() const { + return privacyRuleId_; +} + +void AddRouteRuleRequest::setPrivacyRuleId(const std::string &privacyRuleId) { + privacyRuleId_ = privacyRuleId; + setParameter(std::string("PrivacyRuleId"), privacyRuleId); +} + +std::string AddRouteRuleRequest::getRemark() const { + return remark_; +} + +void AddRouteRuleRequest::setRemark(const std::string &remark) { + remark_ = remark; + setParameter(std::string("Remark"), remark); +} + +std::string AddRouteRuleRequest::getBizChainId() const { + return bizChainId_; +} + +void AddRouteRuleRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + +std::string AddRouteRuleRequest::getInvokeType() const { + return invokeType_; +} + +void AddRouteRuleRequest::setInvokeType(const std::string &invokeType) { + invokeType_ = invokeType; + setParameter(std::string("InvokeType"), invokeType); +} + +std::string AddRouteRuleRequest::getRegionId() const { + return regionId_; +} + +void AddRouteRuleRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string AddRouteRuleRequest::getDeviceGroupId() const { + return deviceGroupId_; +} + +void AddRouteRuleRequest::setDeviceGroupId(const std::string &deviceGroupId) { + deviceGroupId_ = deviceGroupId; + setParameter(std::string("DeviceGroupId"), deviceGroupId); +} + +std::string AddRouteRuleRequest::getChainUpMode() const { + return chainUpMode_; +} + +void AddRouteRuleRequest::setChainUpMode(const std::string &chainUpMode) { + chainUpMode_ = chainUpMode; + setParameter(std::string("ChainUpMode"), chainUpMode); +} + diff --git a/lto/src/model/AddRouteRuleResult.cc b/lto/src/model/AddRouteRuleResult.cc new file mode 100644 index 000000000..bce9902f5 --- /dev/null +++ b/lto/src/model/AddRouteRuleResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +AddRouteRuleResult::AddRouteRuleResult() : + ServiceResult() +{} + +AddRouteRuleResult::AddRouteRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddRouteRuleResult::~AddRouteRuleResult() +{} + +void AddRouteRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string AddRouteRuleResult::getMessage()const +{ + return message_; +} + +int AddRouteRuleResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string AddRouteRuleResult::getCode()const +{ + return code_; +} + +bool AddRouteRuleResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/AgreeMemberAccessRequest.cc b/lto/src/model/AgreeMemberAccessRequest.cc new file mode 100644 index 000000000..0b2814cb0 --- /dev/null +++ b/lto/src/model/AgreeMemberAccessRequest.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::Lto::Model::AgreeMemberAccessRequest; + +AgreeMemberAccessRequest::AgreeMemberAccessRequest() + : RpcServiceRequest("lto", "2021-07-07", "AgreeMemberAccess") { + setMethod(HttpRequest::Method::Post); +} + +AgreeMemberAccessRequest::~AgreeMemberAccessRequest() {} + +std::string AgreeMemberAccessRequest::getMemberAccountId() const { + return memberAccountId_; +} + +void AgreeMemberAccessRequest::setMemberAccountId(const std::string &memberAccountId) { + memberAccountId_ = memberAccountId; + setParameter(std::string("MemberAccountId"), memberAccountId); +} + +std::string AgreeMemberAccessRequest::getRegionId() const { + return regionId_; +} + +void AgreeMemberAccessRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/AgreeMemberAccessResult.cc b/lto/src/model/AgreeMemberAccessResult.cc new file mode 100644 index 000000000..0c6368166 --- /dev/null +++ b/lto/src/model/AgreeMemberAccessResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +AgreeMemberAccessResult::AgreeMemberAccessResult() : + ServiceResult() +{} + +AgreeMemberAccessResult::AgreeMemberAccessResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AgreeMemberAccessResult::~AgreeMemberAccessResult() +{} + +void AgreeMemberAccessResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string AgreeMemberAccessResult::getMessage()const +{ + return message_; +} + +int AgreeMemberAccessResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string AgreeMemberAccessResult::getCode()const +{ + return code_; +} + +bool AgreeMemberAccessResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/AuthorizeBaaSRequest.cc b/lto/src/model/AuthorizeBaaSRequest.cc new file mode 100644 index 000000000..4b41ff360 --- /dev/null +++ b/lto/src/model/AuthorizeBaaSRequest.cc @@ -0,0 +1,36 @@ +/* + * 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::Lto::Model::AuthorizeBaaSRequest; + +AuthorizeBaaSRequest::AuthorizeBaaSRequest() + : RpcServiceRequest("lto", "2021-07-07", "AuthorizeBaaS") { + setMethod(HttpRequest::Method::Post); +} + +AuthorizeBaaSRequest::~AuthorizeBaaSRequest() {} + +std::string AuthorizeBaaSRequest::getRegionId() const { + return regionId_; +} + +void AuthorizeBaaSRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/AuthorizeBaaSResult.cc b/lto/src/model/AuthorizeBaaSResult.cc new file mode 100644 index 000000000..e1d11f0a8 --- /dev/null +++ b/lto/src/model/AuthorizeBaaSResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +AuthorizeBaaSResult::AuthorizeBaaSResult() : + ServiceResult() +{} + +AuthorizeBaaSResult::AuthorizeBaaSResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AuthorizeBaaSResult::~AuthorizeBaaSResult() +{} + +void AuthorizeBaaSResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string AuthorizeBaaSResult::getMessage()const +{ + return message_; +} + +int AuthorizeBaaSResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string AuthorizeBaaSResult::getCode()const +{ + return code_; +} + +bool AuthorizeBaaSResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/AuthorizeDeviceGroupBizChainRequest.cc b/lto/src/model/AuthorizeDeviceGroupBizChainRequest.cc new file mode 100644 index 000000000..2ce23e2d2 --- /dev/null +++ b/lto/src/model/AuthorizeDeviceGroupBizChainRequest.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::Lto::Model::AuthorizeDeviceGroupBizChainRequest; + +AuthorizeDeviceGroupBizChainRequest::AuthorizeDeviceGroupBizChainRequest() + : RpcServiceRequest("lto", "2021-07-07", "AuthorizeDeviceGroupBizChain") { + setMethod(HttpRequest::Method::Post); +} + +AuthorizeDeviceGroupBizChainRequest::~AuthorizeDeviceGroupBizChainRequest() {} + +std::string AuthorizeDeviceGroupBizChainRequest::getBizChainIdList() const { + return bizChainIdList_; +} + +void AuthorizeDeviceGroupBizChainRequest::setBizChainIdList(const std::string &bizChainIdList) { + bizChainIdList_ = bizChainIdList; + setParameter(std::string("BizChainIdList"), bizChainIdList); +} + +std::string AuthorizeDeviceGroupBizChainRequest::getRegionId() const { + return regionId_; +} + +void AuthorizeDeviceGroupBizChainRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string AuthorizeDeviceGroupBizChainRequest::getDeviceGroupId() const { + return deviceGroupId_; +} + +void AuthorizeDeviceGroupBizChainRequest::setDeviceGroupId(const std::string &deviceGroupId) { + deviceGroupId_ = deviceGroupId; + setParameter(std::string("DeviceGroupId"), deviceGroupId); +} + diff --git a/lto/src/model/AuthorizeDeviceGroupBizChainResult.cc b/lto/src/model/AuthorizeDeviceGroupBizChainResult.cc new file mode 100644 index 000000000..615dd8464 --- /dev/null +++ b/lto/src/model/AuthorizeDeviceGroupBizChainResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +AuthorizeDeviceGroupBizChainResult::AuthorizeDeviceGroupBizChainResult() : + ServiceResult() +{} + +AuthorizeDeviceGroupBizChainResult::AuthorizeDeviceGroupBizChainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AuthorizeDeviceGroupBizChainResult::~AuthorizeDeviceGroupBizChainResult() +{} + +void AuthorizeDeviceGroupBizChainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string AuthorizeDeviceGroupBizChainResult::getMessage()const +{ + return message_; +} + +int AuthorizeDeviceGroupBizChainResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string AuthorizeDeviceGroupBizChainResult::getCode()const +{ + return code_; +} + +bool AuthorizeDeviceGroupBizChainResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/AuthorizeMemberBizChainRequest.cc b/lto/src/model/AuthorizeMemberBizChainRequest.cc new file mode 100644 index 000000000..b14a18e98 --- /dev/null +++ b/lto/src/model/AuthorizeMemberBizChainRequest.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::Lto::Model::AuthorizeMemberBizChainRequest; + +AuthorizeMemberBizChainRequest::AuthorizeMemberBizChainRequest() + : RpcServiceRequest("lto", "2021-07-07", "AuthorizeMemberBizChain") { + setMethod(HttpRequest::Method::Post); +} + +AuthorizeMemberBizChainRequest::~AuthorizeMemberBizChainRequest() {} + +std::string AuthorizeMemberBizChainRequest::getBizChainInfo() const { + return bizChainInfo_; +} + +void AuthorizeMemberBizChainRequest::setBizChainInfo(const std::string &bizChainInfo) { + bizChainInfo_ = bizChainInfo; + setParameter(std::string("BizChainInfo"), bizChainInfo); +} + +std::string AuthorizeMemberBizChainRequest::getRegionId() const { + return regionId_; +} + +void AuthorizeMemberBizChainRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string AuthorizeMemberBizChainRequest::getMemberId() const { + return memberId_; +} + +void AuthorizeMemberBizChainRequest::setMemberId(const std::string &memberId) { + memberId_ = memberId; + setParameter(std::string("MemberId"), memberId); +} + diff --git a/lto/src/model/AuthorizeMemberBizChainResult.cc b/lto/src/model/AuthorizeMemberBizChainResult.cc new file mode 100644 index 000000000..fcff85f12 --- /dev/null +++ b/lto/src/model/AuthorizeMemberBizChainResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +AuthorizeMemberBizChainResult::AuthorizeMemberBizChainResult() : + ServiceResult() +{} + +AuthorizeMemberBizChainResult::AuthorizeMemberBizChainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AuthorizeMemberBizChainResult::~AuthorizeMemberBizChainResult() +{} + +void AuthorizeMemberBizChainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string AuthorizeMemberBizChainResult::getMessage()const +{ + return message_; +} + +int AuthorizeMemberBizChainResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string AuthorizeMemberBizChainResult::getCode()const +{ + return code_; +} + +bool AuthorizeMemberBizChainResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/DeletePrivacyRuleRequest.cc b/lto/src/model/DeletePrivacyRuleRequest.cc new file mode 100644 index 000000000..38a1b4590 --- /dev/null +++ b/lto/src/model/DeletePrivacyRuleRequest.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::Lto::Model::DeletePrivacyRuleRequest; + +DeletePrivacyRuleRequest::DeletePrivacyRuleRequest() + : RpcServiceRequest("lto", "2021-07-07", "DeletePrivacyRule") { + setMethod(HttpRequest::Method::Post); +} + +DeletePrivacyRuleRequest::~DeletePrivacyRuleRequest() {} + +std::string DeletePrivacyRuleRequest::getPrivacyRuleId() const { + return privacyRuleId_; +} + +void DeletePrivacyRuleRequest::setPrivacyRuleId(const std::string &privacyRuleId) { + privacyRuleId_ = privacyRuleId; + setParameter(std::string("PrivacyRuleId"), privacyRuleId); +} + +std::string DeletePrivacyRuleRequest::getRegionId() const { + return regionId_; +} + +void DeletePrivacyRuleRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/DeletePrivacyRuleResult.cc b/lto/src/model/DeletePrivacyRuleResult.cc new file mode 100644 index 000000000..de2ddb369 --- /dev/null +++ b/lto/src/model/DeletePrivacyRuleResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +DeletePrivacyRuleResult::DeletePrivacyRuleResult() : + ServiceResult() +{} + +DeletePrivacyRuleResult::DeletePrivacyRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeletePrivacyRuleResult::~DeletePrivacyRuleResult() +{} + +void DeletePrivacyRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DeletePrivacyRuleResult::getMessage()const +{ + return message_; +} + +int DeletePrivacyRuleResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string DeletePrivacyRuleResult::getCode()const +{ + return code_; +} + +bool DeletePrivacyRuleResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/DeleteRouteRuleRequest.cc b/lto/src/model/DeleteRouteRuleRequest.cc new file mode 100644 index 000000000..302440daa --- /dev/null +++ b/lto/src/model/DeleteRouteRuleRequest.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::Lto::Model::DeleteRouteRuleRequest; + +DeleteRouteRuleRequest::DeleteRouteRuleRequest() + : RpcServiceRequest("lto", "2021-07-07", "DeleteRouteRule") { + setMethod(HttpRequest::Method::Post); +} + +DeleteRouteRuleRequest::~DeleteRouteRuleRequest() {} + +std::string DeleteRouteRuleRequest::getRegionId() const { + return regionId_; +} + +void DeleteRouteRuleRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string DeleteRouteRuleRequest::getRouteRuleId() const { + return routeRuleId_; +} + +void DeleteRouteRuleRequest::setRouteRuleId(const std::string &routeRuleId) { + routeRuleId_ = routeRuleId; + setParameter(std::string("RouteRuleId"), routeRuleId); +} + diff --git a/lto/src/model/DeleteRouteRuleResult.cc b/lto/src/model/DeleteRouteRuleResult.cc new file mode 100644 index 000000000..a59474075 --- /dev/null +++ b/lto/src/model/DeleteRouteRuleResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +DeleteRouteRuleResult::DeleteRouteRuleResult() : + ServiceResult() +{} + +DeleteRouteRuleResult::DeleteRouteRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteRouteRuleResult::~DeleteRouteRuleResult() +{} + +void DeleteRouteRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DeleteRouteRuleResult::getMessage()const +{ + return message_; +} + +int DeleteRouteRuleResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string DeleteRouteRuleResult::getCode()const +{ + return code_; +} + +bool DeleteRouteRuleResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/DeniedMemberAccessRequest.cc b/lto/src/model/DeniedMemberAccessRequest.cc new file mode 100644 index 000000000..f57043778 --- /dev/null +++ b/lto/src/model/DeniedMemberAccessRequest.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::Lto::Model::DeniedMemberAccessRequest; + +DeniedMemberAccessRequest::DeniedMemberAccessRequest() + : RpcServiceRequest("lto", "2021-07-07", "DeniedMemberAccess") { + setMethod(HttpRequest::Method::Post); +} + +DeniedMemberAccessRequest::~DeniedMemberAccessRequest() {} + +std::string DeniedMemberAccessRequest::getMemberAccountId() const { + return memberAccountId_; +} + +void DeniedMemberAccessRequest::setMemberAccountId(const std::string &memberAccountId) { + memberAccountId_ = memberAccountId; + setParameter(std::string("MemberAccountId"), memberAccountId); +} + +std::string DeniedMemberAccessRequest::getRegionId() const { + return regionId_; +} + +void DeniedMemberAccessRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/DeniedMemberAccessResult.cc b/lto/src/model/DeniedMemberAccessResult.cc new file mode 100644 index 000000000..db34e0dfe --- /dev/null +++ b/lto/src/model/DeniedMemberAccessResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +DeniedMemberAccessResult::DeniedMemberAccessResult() : + ServiceResult() +{} + +DeniedMemberAccessResult::DeniedMemberAccessResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeniedMemberAccessResult::~DeniedMemberAccessResult() +{} + +void DeniedMemberAccessResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DeniedMemberAccessResult::getMessage()const +{ + return message_; +} + +int DeniedMemberAccessResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string DeniedMemberAccessResult::getCode()const +{ + return code_; +} + +bool DeniedMemberAccessResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/DescribeAccountRoleRequest.cc b/lto/src/model/DescribeAccountRoleRequest.cc new file mode 100644 index 000000000..6742bf4a1 --- /dev/null +++ b/lto/src/model/DescribeAccountRoleRequest.cc @@ -0,0 +1,36 @@ +/* + * 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::Lto::Model::DescribeAccountRoleRequest; + +DescribeAccountRoleRequest::DescribeAccountRoleRequest() + : RpcServiceRequest("lto", "2021-07-07", "DescribeAccountRole") { + setMethod(HttpRequest::Method::Post); +} + +DescribeAccountRoleRequest::~DescribeAccountRoleRequest() {} + +std::string DescribeAccountRoleRequest::getRegionId() const { + return regionId_; +} + +void DescribeAccountRoleRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/DescribeAccountRoleResult.cc b/lto/src/model/DescribeAccountRoleResult.cc new file mode 100644 index 000000000..f2c431d05 --- /dev/null +++ b/lto/src/model/DescribeAccountRoleResult.cc @@ -0,0 +1,82 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +DescribeAccountRoleResult::DescribeAccountRoleResult() : + ServiceResult() +{} + +DescribeAccountRoleResult::DescribeAccountRoleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAccountRoleResult::~DescribeAccountRoleResult() +{} + +void DescribeAccountRoleResult::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["AuthorizedBaaS"].isNull()) + data_.authorizedBaaS = dataNode["AuthorizedBaaS"].asString() == "true"; + if(!dataNode["RoleType"].isNull()) + data_.roleType = dataNode["RoleType"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DescribeAccountRoleResult::getMessage()const +{ + return message_; +} + +int DescribeAccountRoleResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +DescribeAccountRoleResult::Data DescribeAccountRoleResult::getData()const +{ + return data_; +} + +std::string DescribeAccountRoleResult::getCode()const +{ + return code_; +} + +bool DescribeAccountRoleResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/DescribeAdminInfoRequest.cc b/lto/src/model/DescribeAdminInfoRequest.cc new file mode 100644 index 000000000..1b1e3e6d1 --- /dev/null +++ b/lto/src/model/DescribeAdminInfoRequest.cc @@ -0,0 +1,36 @@ +/* + * 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::Lto::Model::DescribeAdminInfoRequest; + +DescribeAdminInfoRequest::DescribeAdminInfoRequest() + : RpcServiceRequest("lto", "2021-07-07", "DescribeAdminInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeAdminInfoRequest::~DescribeAdminInfoRequest() {} + +std::string DescribeAdminInfoRequest::getRegionId() const { + return regionId_; +} + +void DescribeAdminInfoRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/DescribeAdminInfoResult.cc b/lto/src/model/DescribeAdminInfoResult.cc new file mode 100644 index 000000000..fe6857a14 --- /dev/null +++ b/lto/src/model/DescribeAdminInfoResult.cc @@ -0,0 +1,100 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +DescribeAdminInfoResult::DescribeAdminInfoResult() : + ServiceResult() +{} + +DescribeAdminInfoResult::DescribeAdminInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAdminInfoResult::~DescribeAdminInfoResult() +{} + +void DescribeAdminInfoResult::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["MemberId"].isNull()) + data_.memberId = dataNode["MemberId"].asString(); + if(!dataNode["Uid"].isNull()) + data_.uid = dataNode["Uid"].asString(); + if(!dataNode["Name"].isNull()) + data_.name = dataNode["Name"].asString(); + if(!dataNode["AuthorizedCount"].isNull()) + data_.authorizedCount = std::stol(dataNode["AuthorizedCount"].asString()); + if(!dataNode["AuthorizedDeviceCount"].isNull()) + data_.authorizedDeviceCount = std::stol(dataNode["AuthorizedDeviceCount"].asString()); + if(!dataNode["Contactor"].isNull()) + data_.contactor = dataNode["Contactor"].asString(); + if(!dataNode["Telephony"].isNull()) + data_.telephony = dataNode["Telephony"].asString(); + if(!dataNode["Remark"].isNull()) + data_.remark = dataNode["Remark"].asString(); + if(!dataNode["Status"].isNull()) + data_.status = dataNode["Status"].asString(); + if(!dataNode["AccessStatus"].isNull()) + data_.accessStatus = dataNode["AccessStatus"].asString(); + if(!dataNode["AccessDate"].isNull()) + data_.accessDate = std::stol(dataNode["AccessDate"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DescribeAdminInfoResult::getMessage()const +{ + return message_; +} + +int DescribeAdminInfoResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +DescribeAdminInfoResult::Data DescribeAdminInfoResult::getData()const +{ + return data_; +} + +std::string DescribeAdminInfoResult::getCode()const +{ + return code_; +} + +bool DescribeAdminInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/DescribeBizChainStatInfoRequest.cc b/lto/src/model/DescribeBizChainStatInfoRequest.cc new file mode 100644 index 000000000..1af741aa1 --- /dev/null +++ b/lto/src/model/DescribeBizChainStatInfoRequest.cc @@ -0,0 +1,36 @@ +/* + * 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::Lto::Model::DescribeBizChainStatInfoRequest; + +DescribeBizChainStatInfoRequest::DescribeBizChainStatInfoRequest() + : RpcServiceRequest("lto", "2021-07-07", "DescribeBizChainStatInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeBizChainStatInfoRequest::~DescribeBizChainStatInfoRequest() {} + +std::string DescribeBizChainStatInfoRequest::getRegionId() const { + return regionId_; +} + +void DescribeBizChainStatInfoRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/DescribeBizChainStatInfoResult.cc b/lto/src/model/DescribeBizChainStatInfoResult.cc new file mode 100644 index 000000000..b377e1fc7 --- /dev/null +++ b/lto/src/model/DescribeBizChainStatInfoResult.cc @@ -0,0 +1,87 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +DescribeBizChainStatInfoResult::DescribeBizChainStatInfoResult() : + ServiceResult() +{} + +DescribeBizChainStatInfoResult::DescribeBizChainStatInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBizChainStatInfoResult::~DescribeBizChainStatInfoResult() +{} + +void DescribeBizChainStatInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["BizChainStatInfo"]; + for (auto valueDataBizChainStatInfo : allDataNode) + { + BizChainStatInfo dataObject; + if(!valueDataBizChainStatInfo["UsedCount"].isNull()) + dataObject.usedCount = std::stol(valueDataBizChainStatInfo["UsedCount"].asString()); + if(!valueDataBizChainStatInfo["BizChainName"].isNull()) + dataObject.bizChainName = valueDataBizChainStatInfo["BizChainName"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DescribeBizChainStatInfoResult::getMessage()const +{ + return message_; +} + +int DescribeBizChainStatInfoResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector DescribeBizChainStatInfoResult::getData()const +{ + return data_; +} + +std::string DescribeBizChainStatInfoResult::getCode()const +{ + return code_; +} + +bool DescribeBizChainStatInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/DescribeDashboardApiInfoRequest.cc b/lto/src/model/DescribeDashboardApiInfoRequest.cc new file mode 100644 index 000000000..2cfb37f80 --- /dev/null +++ b/lto/src/model/DescribeDashboardApiInfoRequest.cc @@ -0,0 +1,36 @@ +/* + * 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::Lto::Model::DescribeDashboardApiInfoRequest; + +DescribeDashboardApiInfoRequest::DescribeDashboardApiInfoRequest() + : RpcServiceRequest("lto", "2021-07-07", "DescribeDashboardApiInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDashboardApiInfoRequest::~DescribeDashboardApiInfoRequest() {} + +std::string DescribeDashboardApiInfoRequest::getRegionId() const { + return regionId_; +} + +void DescribeDashboardApiInfoRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/DescribeDashboardApiInfoResult.cc b/lto/src/model/DescribeDashboardApiInfoResult.cc new file mode 100644 index 000000000..af864306d --- /dev/null +++ b/lto/src/model/DescribeDashboardApiInfoResult.cc @@ -0,0 +1,82 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +DescribeDashboardApiInfoResult::DescribeDashboardApiInfoResult() : + ServiceResult() +{} + +DescribeDashboardApiInfoResult::DescribeDashboardApiInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDashboardApiInfoResult::~DescribeDashboardApiInfoResult() +{} + +void DescribeDashboardApiInfoResult::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["AuthorizedCount"].isNull()) + data_.authorizedCount = std::stol(dataNode["AuthorizedCount"].asString()); + if(!dataNode["UsedCount"].isNull()) + data_.usedCount = std::stol(dataNode["UsedCount"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DescribeDashboardApiInfoResult::getMessage()const +{ + return message_; +} + +int DescribeDashboardApiInfoResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +DescribeDashboardApiInfoResult::Data DescribeDashboardApiInfoResult::getData()const +{ + return data_; +} + +std::string DescribeDashboardApiInfoResult::getCode()const +{ + return code_; +} + +bool DescribeDashboardApiInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/DescribeDashboardBaseInfoRequest.cc b/lto/src/model/DescribeDashboardBaseInfoRequest.cc new file mode 100644 index 000000000..ed733ef20 --- /dev/null +++ b/lto/src/model/DescribeDashboardBaseInfoRequest.cc @@ -0,0 +1,36 @@ +/* + * 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::Lto::Model::DescribeDashboardBaseInfoRequest; + +DescribeDashboardBaseInfoRequest::DescribeDashboardBaseInfoRequest() + : RpcServiceRequest("lto", "2021-07-07", "DescribeDashboardBaseInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDashboardBaseInfoRequest::~DescribeDashboardBaseInfoRequest() {} + +std::string DescribeDashboardBaseInfoRequest::getRegionId() const { + return regionId_; +} + +void DescribeDashboardBaseInfoRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/DescribeDashboardBaseInfoResult.cc b/lto/src/model/DescribeDashboardBaseInfoResult.cc new file mode 100644 index 000000000..cecfa7bde --- /dev/null +++ b/lto/src/model/DescribeDashboardBaseInfoResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +DescribeDashboardBaseInfoResult::DescribeDashboardBaseInfoResult() : + ServiceResult() +{} + +DescribeDashboardBaseInfoResult::DescribeDashboardBaseInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDashboardBaseInfoResult::~DescribeDashboardBaseInfoResult() +{} + +void DescribeDashboardBaseInfoResult::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["BizChainCount"].isNull()) + data_.bizChainCount = std::stoi(dataNode["BizChainCount"].asString()); + if(!dataNode["MemberCount"].isNull()) + data_.memberCount = std::stoi(dataNode["MemberCount"].asString()); + if(!dataNode["DeviceCount"].isNull()) + data_.deviceCount = std::stoi(dataNode["DeviceCount"].asString()); + if(!dataNode["ApiInvokeCount"].isNull()) + data_.apiInvokeCount = std::stol(dataNode["ApiInvokeCount"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DescribeDashboardBaseInfoResult::getMessage()const +{ + return message_; +} + +int DescribeDashboardBaseInfoResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +DescribeDashboardBaseInfoResult::Data DescribeDashboardBaseInfoResult::getData()const +{ + return data_; +} + +std::string DescribeDashboardBaseInfoResult::getCode()const +{ + return code_; +} + +bool DescribeDashboardBaseInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/DescribeDashboardDeviceInfoRequest.cc b/lto/src/model/DescribeDashboardDeviceInfoRequest.cc new file mode 100644 index 000000000..ab4320c8f --- /dev/null +++ b/lto/src/model/DescribeDashboardDeviceInfoRequest.cc @@ -0,0 +1,36 @@ +/* + * 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::Lto::Model::DescribeDashboardDeviceInfoRequest; + +DescribeDashboardDeviceInfoRequest::DescribeDashboardDeviceInfoRequest() + : RpcServiceRequest("lto", "2021-07-07", "DescribeDashboardDeviceInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDashboardDeviceInfoRequest::~DescribeDashboardDeviceInfoRequest() {} + +std::string DescribeDashboardDeviceInfoRequest::getRegionId() const { + return regionId_; +} + +void DescribeDashboardDeviceInfoRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/DescribeDashboardDeviceInfoResult.cc b/lto/src/model/DescribeDashboardDeviceInfoResult.cc new file mode 100644 index 000000000..36376600b --- /dev/null +++ b/lto/src/model/DescribeDashboardDeviceInfoResult.cc @@ -0,0 +1,82 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +DescribeDashboardDeviceInfoResult::DescribeDashboardDeviceInfoResult() : + ServiceResult() +{} + +DescribeDashboardDeviceInfoResult::DescribeDashboardDeviceInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDashboardDeviceInfoResult::~DescribeDashboardDeviceInfoResult() +{} + +void DescribeDashboardDeviceInfoResult::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["AuthorizedCount"].isNull()) + data_.authorizedCount = std::stol(dataNode["AuthorizedCount"].asString()); + if(!dataNode["UsedCount"].isNull()) + data_.usedCount = std::stol(dataNode["UsedCount"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DescribeDashboardDeviceInfoResult::getMessage()const +{ + return message_; +} + +int DescribeDashboardDeviceInfoResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +DescribeDashboardDeviceInfoResult::Data DescribeDashboardDeviceInfoResult::getData()const +{ + return data_; +} + +std::string DescribeDashboardDeviceInfoResult::getCode()const +{ + return code_; +} + +bool DescribeDashboardDeviceInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/DescribeDashboardMemberApiInfoRequest.cc b/lto/src/model/DescribeDashboardMemberApiInfoRequest.cc new file mode 100644 index 000000000..7ea53e584 --- /dev/null +++ b/lto/src/model/DescribeDashboardMemberApiInfoRequest.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::Lto::Model::DescribeDashboardMemberApiInfoRequest; + +DescribeDashboardMemberApiInfoRequest::DescribeDashboardMemberApiInfoRequest() + : RpcServiceRequest("lto", "2021-07-07", "DescribeDashboardMemberApiInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDashboardMemberApiInfoRequest::~DescribeDashboardMemberApiInfoRequest() {} + +long DescribeDashboardMemberApiInfoRequest::getEndTime() const { + return endTime_; +} + +void DescribeDashboardMemberApiInfoRequest::setEndTime(long endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), std::to_string(endTime)); +} + +long DescribeDashboardMemberApiInfoRequest::getStartTime() const { + return startTime_; +} + +void DescribeDashboardMemberApiInfoRequest::setStartTime(long startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), std::to_string(startTime)); +} + +std::string DescribeDashboardMemberApiInfoRequest::getBizChainId() const { + return bizChainId_; +} + +void DescribeDashboardMemberApiInfoRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + +std::string DescribeDashboardMemberApiInfoRequest::getRegionId() const { + return regionId_; +} + +void DescribeDashboardMemberApiInfoRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/DescribeDashboardMemberApiInfoResult.cc b/lto/src/model/DescribeDashboardMemberApiInfoResult.cc new file mode 100644 index 000000000..8bae5781d --- /dev/null +++ b/lto/src/model/DescribeDashboardMemberApiInfoResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +DescribeDashboardMemberApiInfoResult::DescribeDashboardMemberApiInfoResult() : + ServiceResult() +{} + +DescribeDashboardMemberApiInfoResult::DescribeDashboardMemberApiInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDashboardMemberApiInfoResult::~DescribeDashboardMemberApiInfoResult() +{} + +void DescribeDashboardMemberApiInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["MemberName"].isNull()) + dataObject.memberName = valueDataDataItem["MemberName"].asString(); + auto allMemberInfoListNode = valueDataDataItem["MemberInfoList"]["MemberInfo"]; + for (auto valueDataDataItemMemberInfoListMemberInfo : allMemberInfoListNode) + { + DataItem::MemberInfo memberInfoListObject; + if(!valueDataDataItemMemberInfoListMemberInfo["Time"].isNull()) + memberInfoListObject.time = std::stol(valueDataDataItemMemberInfoListMemberInfo["Time"].asString()); + if(!valueDataDataItemMemberInfoListMemberInfo["ApiInvokeCount"].isNull()) + memberInfoListObject.apiInvokeCount = std::stol(valueDataDataItemMemberInfoListMemberInfo["ApiInvokeCount"].asString()); + dataObject.memberInfoList.push_back(memberInfoListObject); + } + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DescribeDashboardMemberApiInfoResult::getMessage()const +{ + return message_; +} + +int DescribeDashboardMemberApiInfoResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector DescribeDashboardMemberApiInfoResult::getData()const +{ + return data_; +} + +std::string DescribeDashboardMemberApiInfoResult::getCode()const +{ + return code_; +} + +bool DescribeDashboardMemberApiInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/DescribeDashboardMemberDeviceInfoRequest.cc b/lto/src/model/DescribeDashboardMemberDeviceInfoRequest.cc new file mode 100644 index 000000000..f05febe5b --- /dev/null +++ b/lto/src/model/DescribeDashboardMemberDeviceInfoRequest.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::Lto::Model::DescribeDashboardMemberDeviceInfoRequest; + +DescribeDashboardMemberDeviceInfoRequest::DescribeDashboardMemberDeviceInfoRequest() + : RpcServiceRequest("lto", "2021-07-07", "DescribeDashboardMemberDeviceInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDashboardMemberDeviceInfoRequest::~DescribeDashboardMemberDeviceInfoRequest() {} + +long DescribeDashboardMemberDeviceInfoRequest::getEndTime() const { + return endTime_; +} + +void DescribeDashboardMemberDeviceInfoRequest::setEndTime(long endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), std::to_string(endTime)); +} + +long DescribeDashboardMemberDeviceInfoRequest::getStartTime() const { + return startTime_; +} + +void DescribeDashboardMemberDeviceInfoRequest::setStartTime(long startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), std::to_string(startTime)); +} + +std::string DescribeDashboardMemberDeviceInfoRequest::getRegionId() const { + return regionId_; +} + +void DescribeDashboardMemberDeviceInfoRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/DescribeDashboardMemberDeviceInfoResult.cc b/lto/src/model/DescribeDashboardMemberDeviceInfoResult.cc new file mode 100644 index 000000000..1fd99f020 --- /dev/null +++ b/lto/src/model/DescribeDashboardMemberDeviceInfoResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +DescribeDashboardMemberDeviceInfoResult::DescribeDashboardMemberDeviceInfoResult() : + ServiceResult() +{} + +DescribeDashboardMemberDeviceInfoResult::DescribeDashboardMemberDeviceInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDashboardMemberDeviceInfoResult::~DescribeDashboardMemberDeviceInfoResult() +{} + +void DescribeDashboardMemberDeviceInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["MemberName"].isNull()) + dataObject.memberName = valueDataDataItem["MemberName"].asString(); + auto allMemberInfoListNode = valueDataDataItem["MemberInfoList"]["MemberInfo"]; + for (auto valueDataDataItemMemberInfoListMemberInfo : allMemberInfoListNode) + { + DataItem::MemberInfo memberInfoListObject; + if(!valueDataDataItemMemberInfoListMemberInfo["Time"].isNull()) + memberInfoListObject.time = std::stol(valueDataDataItemMemberInfoListMemberInfo["Time"].asString()); + if(!valueDataDataItemMemberInfoListMemberInfo["DeviceCount"].isNull()) + memberInfoListObject.deviceCount = std::stoi(valueDataDataItemMemberInfoListMemberInfo["DeviceCount"].asString()); + dataObject.memberInfoList.push_back(memberInfoListObject); + } + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DescribeDashboardMemberDeviceInfoResult::getMessage()const +{ + return message_; +} + +int DescribeDashboardMemberDeviceInfoResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector DescribeDashboardMemberDeviceInfoResult::getData()const +{ + return data_; +} + +std::string DescribeDashboardMemberDeviceInfoResult::getCode()const +{ + return code_; +} + +bool DescribeDashboardMemberDeviceInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/DescribeDeviceInfoRequest.cc b/lto/src/model/DescribeDeviceInfoRequest.cc new file mode 100644 index 000000000..f26d87929 --- /dev/null +++ b/lto/src/model/DescribeDeviceInfoRequest.cc @@ -0,0 +1,36 @@ +/* + * 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::Lto::Model::DescribeDeviceInfoRequest; + +DescribeDeviceInfoRequest::DescribeDeviceInfoRequest() + : RpcServiceRequest("lto", "2021-07-07", "DescribeDeviceInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDeviceInfoRequest::~DescribeDeviceInfoRequest() {} + +std::string DescribeDeviceInfoRequest::getRegionId() const { + return regionId_; +} + +void DescribeDeviceInfoRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/DescribeDeviceInfoResult.cc b/lto/src/model/DescribeDeviceInfoResult.cc new file mode 100644 index 000000000..dcb5cf2e8 --- /dev/null +++ b/lto/src/model/DescribeDeviceInfoResult.cc @@ -0,0 +1,84 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +DescribeDeviceInfoResult::DescribeDeviceInfoResult() : + ServiceResult() +{} + +DescribeDeviceInfoResult::DescribeDeviceInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDeviceInfoResult::~DescribeDeviceInfoResult() +{} + +void DescribeDeviceInfoResult::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["DistributableCount"].isNull()) + data_.distributableCount = std::stoi(dataNode["DistributableCount"].asString()); + if(!dataNode["AuthorizedCount"].isNull()) + data_.authorizedCount = std::stoi(dataNode["AuthorizedCount"].asString()); + if(!dataNode["DeviceCount"].isNull()) + data_.deviceCount = std::stoi(dataNode["DeviceCount"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DescribeDeviceInfoResult::getMessage()const +{ + return message_; +} + +int DescribeDeviceInfoResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +DescribeDeviceInfoResult::Data DescribeDeviceInfoResult::getData()const +{ + return data_; +} + +std::string DescribeDeviceInfoResult::getCode()const +{ + return code_; +} + +bool DescribeDeviceInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/DescribeEdgeStatInfoRequest.cc b/lto/src/model/DescribeEdgeStatInfoRequest.cc new file mode 100644 index 000000000..72f212dc6 --- /dev/null +++ b/lto/src/model/DescribeEdgeStatInfoRequest.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::Lto::Model::DescribeEdgeStatInfoRequest; + +DescribeEdgeStatInfoRequest::DescribeEdgeStatInfoRequest() + : RpcServiceRequest("lto", "2021-07-07", "DescribeEdgeStatInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeEdgeStatInfoRequest::~DescribeEdgeStatInfoRequest() {} + +std::string DescribeEdgeStatInfoRequest::getEdgeDn() const { + return edgeDn_; +} + +void DescribeEdgeStatInfoRequest::setEdgeDn(const std::string &edgeDn) { + edgeDn_ = edgeDn; + setParameter(std::string("EdgeDn"), edgeDn); +} + +std::string DescribeEdgeStatInfoRequest::getEdgePk() const { + return edgePk_; +} + +void DescribeEdgeStatInfoRequest::setEdgePk(const std::string &edgePk) { + edgePk_ = edgePk; + setParameter(std::string("EdgePk"), edgePk); +} + +std::string DescribeEdgeStatInfoRequest::getRegionId() const { + return regionId_; +} + +void DescribeEdgeStatInfoRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/DescribeEdgeStatInfoResult.cc b/lto/src/model/DescribeEdgeStatInfoResult.cc new file mode 100644 index 000000000..fd5398e95 --- /dev/null +++ b/lto/src/model/DescribeEdgeStatInfoResult.cc @@ -0,0 +1,82 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +DescribeEdgeStatInfoResult::DescribeEdgeStatInfoResult() : + ServiceResult() +{} + +DescribeEdgeStatInfoResult::DescribeEdgeStatInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeEdgeStatInfoResult::~DescribeEdgeStatInfoResult() +{} + +void DescribeEdgeStatInfoResult::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["TotalDeviceLicenseCount"].isNull()) + data_.totalDeviceLicenseCount = std::stol(dataNode["TotalDeviceLicenseCount"].asString()); + if(!dataNode["UsedDeviceLicenseCount"].isNull()) + data_.usedDeviceLicenseCount = std::stol(dataNode["UsedDeviceLicenseCount"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DescribeEdgeStatInfoResult::getMessage()const +{ + return message_; +} + +int DescribeEdgeStatInfoResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +DescribeEdgeStatInfoResult::Data DescribeEdgeStatInfoResult::getData()const +{ + return data_; +} + +std::string DescribeEdgeStatInfoResult::getCode()const +{ + return code_; +} + +bool DescribeEdgeStatInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/DescribeMemberBizChainStatInfoRequest.cc b/lto/src/model/DescribeMemberBizChainStatInfoRequest.cc new file mode 100644 index 000000000..d17ed7b93 --- /dev/null +++ b/lto/src/model/DescribeMemberBizChainStatInfoRequest.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::Lto::Model::DescribeMemberBizChainStatInfoRequest; + +DescribeMemberBizChainStatInfoRequest::DescribeMemberBizChainStatInfoRequest() + : RpcServiceRequest("lto", "2021-07-07", "DescribeMemberBizChainStatInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeMemberBizChainStatInfoRequest::~DescribeMemberBizChainStatInfoRequest() {} + +std::string DescribeMemberBizChainStatInfoRequest::getAccountId() const { + return accountId_; +} + +void DescribeMemberBizChainStatInfoRequest::setAccountId(const std::string &accountId) { + accountId_ = accountId; + setParameter(std::string("AccountId"), accountId); +} + +std::string DescribeMemberBizChainStatInfoRequest::getRegionId() const { + return regionId_; +} + +void DescribeMemberBizChainStatInfoRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/DescribeMemberBizChainStatInfoResult.cc b/lto/src/model/DescribeMemberBizChainStatInfoResult.cc new file mode 100644 index 000000000..217561e1d --- /dev/null +++ b/lto/src/model/DescribeMemberBizChainStatInfoResult.cc @@ -0,0 +1,87 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +DescribeMemberBizChainStatInfoResult::DescribeMemberBizChainStatInfoResult() : + ServiceResult() +{} + +DescribeMemberBizChainStatInfoResult::DescribeMemberBizChainStatInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeMemberBizChainStatInfoResult::~DescribeMemberBizChainStatInfoResult() +{} + +void DescribeMemberBizChainStatInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["MemberBizChainStatInfo"]; + for (auto valueDataMemberBizChainStatInfo : allDataNode) + { + MemberBizChainStatInfo dataObject; + if(!valueDataMemberBizChainStatInfo["UsedCount"].isNull()) + dataObject.usedCount = std::stol(valueDataMemberBizChainStatInfo["UsedCount"].asString()); + if(!valueDataMemberBizChainStatInfo["BizChainName"].isNull()) + dataObject.bizChainName = valueDataMemberBizChainStatInfo["BizChainName"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DescribeMemberBizChainStatInfoResult::getMessage()const +{ + return message_; +} + +int DescribeMemberBizChainStatInfoResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector DescribeMemberBizChainStatInfoResult::getData()const +{ + return data_; +} + +std::string DescribeMemberBizChainStatInfoResult::getCode()const +{ + return code_; +} + +bool DescribeMemberBizChainStatInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/DescribeMemberStatInfoRequest.cc b/lto/src/model/DescribeMemberStatInfoRequest.cc new file mode 100644 index 000000000..035bf1820 --- /dev/null +++ b/lto/src/model/DescribeMemberStatInfoRequest.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::Lto::Model::DescribeMemberStatInfoRequest; + +DescribeMemberStatInfoRequest::DescribeMemberStatInfoRequest() + : RpcServiceRequest("lto", "2021-07-07", "DescribeMemberStatInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeMemberStatInfoRequest::~DescribeMemberStatInfoRequest() {} + +std::string DescribeMemberStatInfoRequest::getBizChainId() const { + return bizChainId_; +} + +void DescribeMemberStatInfoRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + +std::string DescribeMemberStatInfoRequest::getRegionId() const { + return regionId_; +} + +void DescribeMemberStatInfoRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/DescribeMemberStatInfoResult.cc b/lto/src/model/DescribeMemberStatInfoResult.cc new file mode 100644 index 000000000..af4a1cdd2 --- /dev/null +++ b/lto/src/model/DescribeMemberStatInfoResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +DescribeMemberStatInfoResult::DescribeMemberStatInfoResult() : + ServiceResult() +{} + +DescribeMemberStatInfoResult::DescribeMemberStatInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeMemberStatInfoResult::~DescribeMemberStatInfoResult() +{} + +void DescribeMemberStatInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["MemberStatInfo"]; + for (auto valueDataMemberStatInfo : allDataNode) + { + MemberStatInfo dataObject; + if(!valueDataMemberStatInfo["AuthorizedCount"].isNull()) + dataObject.authorizedCount = std::stol(valueDataMemberStatInfo["AuthorizedCount"].asString()); + if(!valueDataMemberStatInfo["MemberId"].isNull()) + dataObject.memberId = valueDataMemberStatInfo["MemberId"].asString(); + if(!valueDataMemberStatInfo["MemberName"].isNull()) + dataObject.memberName = valueDataMemberStatInfo["MemberName"].asString(); + if(!valueDataMemberStatInfo["UsedCount"].isNull()) + dataObject.usedCount = std::stol(valueDataMemberStatInfo["UsedCount"].asString()); + if(!valueDataMemberStatInfo["BizChainCount"].isNull()) + dataObject.bizChainCount = std::stoi(valueDataMemberStatInfo["BizChainCount"].asString()); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DescribeMemberStatInfoResult::getMessage()const +{ + return message_; +} + +int DescribeMemberStatInfoResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector DescribeMemberStatInfoResult::getData()const +{ + return data_; +} + +std::string DescribeMemberStatInfoResult::getCode()const +{ + return code_; +} + +bool DescribeMemberStatInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/DescribeMemberTotalStatInfoRequest.cc b/lto/src/model/DescribeMemberTotalStatInfoRequest.cc new file mode 100644 index 000000000..20ad48f6b --- /dev/null +++ b/lto/src/model/DescribeMemberTotalStatInfoRequest.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::Lto::Model::DescribeMemberTotalStatInfoRequest; + +DescribeMemberTotalStatInfoRequest::DescribeMemberTotalStatInfoRequest() + : RpcServiceRequest("lto", "2021-07-07", "DescribeMemberTotalStatInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeMemberTotalStatInfoRequest::~DescribeMemberTotalStatInfoRequest() {} + +std::string DescribeMemberTotalStatInfoRequest::getAccountId() const { + return accountId_; +} + +void DescribeMemberTotalStatInfoRequest::setAccountId(const std::string &accountId) { + accountId_ = accountId; + setParameter(std::string("AccountId"), accountId); +} + +std::string DescribeMemberTotalStatInfoRequest::getRegionId() const { + return regionId_; +} + +void DescribeMemberTotalStatInfoRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/DescribeMemberTotalStatInfoResult.cc b/lto/src/model/DescribeMemberTotalStatInfoResult.cc new file mode 100644 index 000000000..08b8dbb60 --- /dev/null +++ b/lto/src/model/DescribeMemberTotalStatInfoResult.cc @@ -0,0 +1,82 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +DescribeMemberTotalStatInfoResult::DescribeMemberTotalStatInfoResult() : + ServiceResult() +{} + +DescribeMemberTotalStatInfoResult::DescribeMemberTotalStatInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeMemberTotalStatInfoResult::~DescribeMemberTotalStatInfoResult() +{} + +void DescribeMemberTotalStatInfoResult::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["AuthorizedCount"].isNull()) + data_.authorizedCount = std::stol(dataNode["AuthorizedCount"].asString()); + if(!dataNode["UsedCount"].isNull()) + data_.usedCount = std::stol(dataNode["UsedCount"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DescribeMemberTotalStatInfoResult::getMessage()const +{ + return message_; +} + +int DescribeMemberTotalStatInfoResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +DescribeMemberTotalStatInfoResult::Data DescribeMemberTotalStatInfoResult::getData()const +{ + return data_; +} + +std::string DescribeMemberTotalStatInfoResult::getCode()const +{ + return code_; +} + +bool DescribeMemberTotalStatInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/DescribePackgeInfoRequest.cc b/lto/src/model/DescribePackgeInfoRequest.cc new file mode 100644 index 000000000..1866ba717 --- /dev/null +++ b/lto/src/model/DescribePackgeInfoRequest.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::Lto::Model::DescribePackgeInfoRequest; + +DescribePackgeInfoRequest::DescribePackgeInfoRequest() + : RpcServiceRequest("lto", "2021-07-07", "DescribePackgeInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribePackgeInfoRequest::~DescribePackgeInfoRequest() {} + +std::string DescribePackgeInfoRequest::getAccountId() const { + return accountId_; +} + +void DescribePackgeInfoRequest::setAccountId(const std::string &accountId) { + accountId_ = accountId; + setParameter(std::string("AccountId"), accountId); +} + +std::string DescribePackgeInfoRequest::getRegionId() const { + return regionId_; +} + +void DescribePackgeInfoRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/DescribePackgeInfoResult.cc b/lto/src/model/DescribePackgeInfoResult.cc new file mode 100644 index 000000000..c282d9a8f --- /dev/null +++ b/lto/src/model/DescribePackgeInfoResult.cc @@ -0,0 +1,84 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +DescribePackgeInfoResult::DescribePackgeInfoResult() : + ServiceResult() +{} + +DescribePackgeInfoResult::DescribePackgeInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribePackgeInfoResult::~DescribePackgeInfoResult() +{} + +void DescribePackgeInfoResult::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["EndTime"].isNull()) + data_.endTime = std::stol(dataNode["EndTime"].asString()); + if(!dataNode["StartTime"].isNull()) + data_.startTime = std::stol(dataNode["StartTime"].asString()); + if(!dataNode["EnableTrace"].isNull()) + data_.enableTrace = dataNode["EnableTrace"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DescribePackgeInfoResult::getMessage()const +{ + return message_; +} + +int DescribePackgeInfoResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +DescribePackgeInfoResult::Data DescribePackgeInfoResult::getData()const +{ + return data_; +} + +std::string DescribePackgeInfoResult::getCode()const +{ + return code_; +} + +bool DescribePackgeInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/DescribeStatDeviceInfoRequest.cc b/lto/src/model/DescribeStatDeviceInfoRequest.cc new file mode 100644 index 000000000..9a52b2501 --- /dev/null +++ b/lto/src/model/DescribeStatDeviceInfoRequest.cc @@ -0,0 +1,36 @@ +/* + * 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::Lto::Model::DescribeStatDeviceInfoRequest; + +DescribeStatDeviceInfoRequest::DescribeStatDeviceInfoRequest() + : RpcServiceRequest("lto", "2021-07-07", "DescribeStatDeviceInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeStatDeviceInfoRequest::~DescribeStatDeviceInfoRequest() {} + +std::string DescribeStatDeviceInfoRequest::getRegionId() const { + return regionId_; +} + +void DescribeStatDeviceInfoRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/DescribeStatDeviceInfoResult.cc b/lto/src/model/DescribeStatDeviceInfoResult.cc new file mode 100644 index 000000000..cae09fe69 --- /dev/null +++ b/lto/src/model/DescribeStatDeviceInfoResult.cc @@ -0,0 +1,92 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +DescribeStatDeviceInfoResult::DescribeStatDeviceInfoResult() : + ServiceResult() +{} + +DescribeStatDeviceInfoResult::DescribeStatDeviceInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeStatDeviceInfoResult::~DescribeStatDeviceInfoResult() +{} + +void DescribeStatDeviceInfoResult::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["TotalAuthorizedCount"].isNull()) + data_.totalAuthorizedCount = std::stoi(dataNode["TotalAuthorizedCount"].asString()); + if(!dataNode["DistributableCount"].isNull()) + data_.distributableCount = std::stoi(dataNode["DistributableCount"].asString()); + auto allBizChainListNode = dataNode["BizChainList"]["BizChainInfo"]; + for (auto dataNodeBizChainListBizChainInfo : allBizChainListNode) + { + Data::BizChainInfo bizChainInfoObject; + if(!dataNodeBizChainListBizChainInfo["BizChainName"].isNull()) + bizChainInfoObject.bizChainName = dataNodeBizChainListBizChainInfo["BizChainName"].asString(); + if(!dataNodeBizChainListBizChainInfo["AuthorizedCount"].isNull()) + bizChainInfoObject.authorizedCount = std::stoi(dataNodeBizChainListBizChainInfo["AuthorizedCount"].asString()); + data_.bizChainList.push_back(bizChainInfoObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DescribeStatDeviceInfoResult::getMessage()const +{ + return message_; +} + +int DescribeStatDeviceInfoResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +DescribeStatDeviceInfoResult::Data DescribeStatDeviceInfoResult::getData()const +{ + return data_; +} + +std::string DescribeStatDeviceInfoResult::getCode()const +{ + return code_; +} + +bool DescribeStatDeviceInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/DescribeStatMemberDeviceInfoRequest.cc b/lto/src/model/DescribeStatMemberDeviceInfoRequest.cc new file mode 100644 index 000000000..c6da9598f --- /dev/null +++ b/lto/src/model/DescribeStatMemberDeviceInfoRequest.cc @@ -0,0 +1,36 @@ +/* + * 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::Lto::Model::DescribeStatMemberDeviceInfoRequest; + +DescribeStatMemberDeviceInfoRequest::DescribeStatMemberDeviceInfoRequest() + : RpcServiceRequest("lto", "2021-07-07", "DescribeStatMemberDeviceInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeStatMemberDeviceInfoRequest::~DescribeStatMemberDeviceInfoRequest() {} + +std::string DescribeStatMemberDeviceInfoRequest::getRegionId() const { + return regionId_; +} + +void DescribeStatMemberDeviceInfoRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/DescribeStatMemberDeviceInfoResult.cc b/lto/src/model/DescribeStatMemberDeviceInfoResult.cc new file mode 100644 index 000000000..58a2a7dc2 --- /dev/null +++ b/lto/src/model/DescribeStatMemberDeviceInfoResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +DescribeStatMemberDeviceInfoResult::DescribeStatMemberDeviceInfoResult() : + ServiceResult() +{} + +DescribeStatMemberDeviceInfoResult::DescribeStatMemberDeviceInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeStatMemberDeviceInfoResult::~DescribeStatMemberDeviceInfoResult() +{} + +void DescribeStatMemberDeviceInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["MemberId"].isNull()) + dataObject.memberId = valueDataDataItem["MemberId"].asString(); + if(!valueDataDataItem["MemberName"].isNull()) + dataObject.memberName = valueDataDataItem["MemberName"].asString(); + if(!valueDataDataItem["BizChainCount"].isNull()) + dataObject.bizChainCount = valueDataDataItem["BizChainCount"].asString(); + if(!valueDataDataItem["AuthorizedCount"].isNull()) + dataObject.authorizedCount = valueDataDataItem["AuthorizedCount"].asString(); + if(!valueDataDataItem["UsedCount"].isNull()) + dataObject.usedCount = valueDataDataItem["UsedCount"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DescribeStatMemberDeviceInfoResult::getMessage()const +{ + return message_; +} + +int DescribeStatMemberDeviceInfoResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector DescribeStatMemberDeviceInfoResult::getData()const +{ + return data_; +} + +std::string DescribeStatMemberDeviceInfoResult::getCode()const +{ + return code_; +} + +bool DescribeStatMemberDeviceInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/DescribeTotalStatInfoRequest.cc b/lto/src/model/DescribeTotalStatInfoRequest.cc new file mode 100644 index 000000000..d283b68b7 --- /dev/null +++ b/lto/src/model/DescribeTotalStatInfoRequest.cc @@ -0,0 +1,36 @@ +/* + * 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::Lto::Model::DescribeTotalStatInfoRequest; + +DescribeTotalStatInfoRequest::DescribeTotalStatInfoRequest() + : RpcServiceRequest("lto", "2021-07-07", "DescribeTotalStatInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeTotalStatInfoRequest::~DescribeTotalStatInfoRequest() {} + +std::string DescribeTotalStatInfoRequest::getRegionId() const { + return regionId_; +} + +void DescribeTotalStatInfoRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/DescribeTotalStatInfoResult.cc b/lto/src/model/DescribeTotalStatInfoResult.cc new file mode 100644 index 000000000..726484228 --- /dev/null +++ b/lto/src/model/DescribeTotalStatInfoResult.cc @@ -0,0 +1,84 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +DescribeTotalStatInfoResult::DescribeTotalStatInfoResult() : + ServiceResult() +{} + +DescribeTotalStatInfoResult::DescribeTotalStatInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeTotalStatInfoResult::~DescribeTotalStatInfoResult() +{} + +void DescribeTotalStatInfoResult::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["AuthorizedCount"].isNull()) + data_.authorizedCount = std::stol(dataNode["AuthorizedCount"].asString()); + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stol(dataNode["TotalCount"].asString()); + if(!dataNode["UsedCount"].isNull()) + data_.usedCount = std::stol(dataNode["UsedCount"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DescribeTotalStatInfoResult::getMessage()const +{ + return message_; +} + +int DescribeTotalStatInfoResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +DescribeTotalStatInfoResult::Data DescribeTotalStatInfoResult::getData()const +{ + return data_; +} + +std::string DescribeTotalStatInfoResult::getCode()const +{ + return code_; +} + +bool DescribeTotalStatInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/DisableDeviceGroupRequest.cc b/lto/src/model/DisableDeviceGroupRequest.cc new file mode 100644 index 000000000..b1c9bdd8e --- /dev/null +++ b/lto/src/model/DisableDeviceGroupRequest.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::Lto::Model::DisableDeviceGroupRequest; + +DisableDeviceGroupRequest::DisableDeviceGroupRequest() + : RpcServiceRequest("lto", "2021-07-07", "DisableDeviceGroup") { + setMethod(HttpRequest::Method::Post); +} + +DisableDeviceGroupRequest::~DisableDeviceGroupRequest() {} + +std::string DisableDeviceGroupRequest::getRegionId() const { + return regionId_; +} + +void DisableDeviceGroupRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string DisableDeviceGroupRequest::getDeviceGroupId() const { + return deviceGroupId_; +} + +void DisableDeviceGroupRequest::setDeviceGroupId(const std::string &deviceGroupId) { + deviceGroupId_ = deviceGroupId; + setParameter(std::string("DeviceGroupId"), deviceGroupId); +} + diff --git a/lto/src/model/DisableDeviceGroupResult.cc b/lto/src/model/DisableDeviceGroupResult.cc new file mode 100644 index 000000000..414c54096 --- /dev/null +++ b/lto/src/model/DisableDeviceGroupResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +DisableDeviceGroupResult::DisableDeviceGroupResult() : + ServiceResult() +{} + +DisableDeviceGroupResult::DisableDeviceGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DisableDeviceGroupResult::~DisableDeviceGroupResult() +{} + +void DisableDeviceGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DisableDeviceGroupResult::getMessage()const +{ + return message_; +} + +int DisableDeviceGroupResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string DisableDeviceGroupResult::getCode()const +{ + return code_; +} + +bool DisableDeviceGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/DisableDeviceRequest.cc b/lto/src/model/DisableDeviceRequest.cc new file mode 100644 index 000000000..d2daadce8 --- /dev/null +++ b/lto/src/model/DisableDeviceRequest.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::Lto::Model::DisableDeviceRequest; + +DisableDeviceRequest::DisableDeviceRequest() + : RpcServiceRequest("lto", "2021-07-07", "DisableDevice") { + setMethod(HttpRequest::Method::Post); +} + +DisableDeviceRequest::~DisableDeviceRequest() {} + +std::string DisableDeviceRequest::getDeviceId() const { + return deviceId_; +} + +void DisableDeviceRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); +} + +std::string DisableDeviceRequest::getRegionId() const { + return regionId_; +} + +void DisableDeviceRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/DisableDeviceResult.cc b/lto/src/model/DisableDeviceResult.cc new file mode 100644 index 000000000..d009d9b2d --- /dev/null +++ b/lto/src/model/DisableDeviceResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +DisableDeviceResult::DisableDeviceResult() : + ServiceResult() +{} + +DisableDeviceResult::DisableDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DisableDeviceResult::~DisableDeviceResult() +{} + +void DisableDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DisableDeviceResult::getMessage()const +{ + return message_; +} + +int DisableDeviceResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string DisableDeviceResult::getCode()const +{ + return code_; +} + +bool DisableDeviceResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/DownloadPrivacyKeyRequest.cc b/lto/src/model/DownloadPrivacyKeyRequest.cc new file mode 100644 index 000000000..6ad2dc98a --- /dev/null +++ b/lto/src/model/DownloadPrivacyKeyRequest.cc @@ -0,0 +1,36 @@ +/* + * 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::Lto::Model::DownloadPrivacyKeyRequest; + +DownloadPrivacyKeyRequest::DownloadPrivacyKeyRequest() + : RpcServiceRequest("lto", "2021-07-07", "DownloadPrivacyKey") { + setMethod(HttpRequest::Method::Post); +} + +DownloadPrivacyKeyRequest::~DownloadPrivacyKeyRequest() {} + +std::string DownloadPrivacyKeyRequest::getRegionId() const { + return regionId_; +} + +void DownloadPrivacyKeyRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/DownloadPrivacyKeyResult.cc b/lto/src/model/DownloadPrivacyKeyResult.cc new file mode 100644 index 000000000..8ee323b3c --- /dev/null +++ b/lto/src/model/DownloadPrivacyKeyResult.cc @@ -0,0 +1,79 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +DownloadPrivacyKeyResult::DownloadPrivacyKeyResult() : + ServiceResult() +{} + +DownloadPrivacyKeyResult::DownloadPrivacyKeyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DownloadPrivacyKeyResult::~DownloadPrivacyKeyResult() +{} + +void DownloadPrivacyKeyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string DownloadPrivacyKeyResult::getMessage()const +{ + return message_; +} + +int DownloadPrivacyKeyResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string DownloadPrivacyKeyResult::getData()const +{ + return data_; +} + +std::string DownloadPrivacyKeyResult::getCode()const +{ + return code_; +} + +bool DownloadPrivacyKeyResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/EnableDeviceGroupRequest.cc b/lto/src/model/EnableDeviceGroupRequest.cc new file mode 100644 index 000000000..1b14afcf4 --- /dev/null +++ b/lto/src/model/EnableDeviceGroupRequest.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::Lto::Model::EnableDeviceGroupRequest; + +EnableDeviceGroupRequest::EnableDeviceGroupRequest() + : RpcServiceRequest("lto", "2021-07-07", "EnableDeviceGroup") { + setMethod(HttpRequest::Method::Post); +} + +EnableDeviceGroupRequest::~EnableDeviceGroupRequest() {} + +std::string EnableDeviceGroupRequest::getRegionId() const { + return regionId_; +} + +void EnableDeviceGroupRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string EnableDeviceGroupRequest::getDeviceGroupId() const { + return deviceGroupId_; +} + +void EnableDeviceGroupRequest::setDeviceGroupId(const std::string &deviceGroupId) { + deviceGroupId_ = deviceGroupId; + setParameter(std::string("DeviceGroupId"), deviceGroupId); +} + diff --git a/lto/src/model/EnableDeviceGroupResult.cc b/lto/src/model/EnableDeviceGroupResult.cc new file mode 100644 index 000000000..f1643dd04 --- /dev/null +++ b/lto/src/model/EnableDeviceGroupResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +EnableDeviceGroupResult::EnableDeviceGroupResult() : + ServiceResult() +{} + +EnableDeviceGroupResult::EnableDeviceGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +EnableDeviceGroupResult::~EnableDeviceGroupResult() +{} + +void EnableDeviceGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string EnableDeviceGroupResult::getMessage()const +{ + return message_; +} + +int EnableDeviceGroupResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string EnableDeviceGroupResult::getCode()const +{ + return code_; +} + +bool EnableDeviceGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/EnableDeviceRequest.cc b/lto/src/model/EnableDeviceRequest.cc new file mode 100644 index 000000000..c18e548e4 --- /dev/null +++ b/lto/src/model/EnableDeviceRequest.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::Lto::Model::EnableDeviceRequest; + +EnableDeviceRequest::EnableDeviceRequest() + : RpcServiceRequest("lto", "2021-07-07", "EnableDevice") { + setMethod(HttpRequest::Method::Post); +} + +EnableDeviceRequest::~EnableDeviceRequest() {} + +std::string EnableDeviceRequest::getDeviceId() const { + return deviceId_; +} + +void EnableDeviceRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); +} + +std::string EnableDeviceRequest::getRegionId() const { + return regionId_; +} + +void EnableDeviceRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/EnableDeviceResult.cc b/lto/src/model/EnableDeviceResult.cc new file mode 100644 index 000000000..f98fdc570 --- /dev/null +++ b/lto/src/model/EnableDeviceResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +EnableDeviceResult::EnableDeviceResult() : + ServiceResult() +{} + +EnableDeviceResult::EnableDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +EnableDeviceResult::~EnableDeviceResult() +{} + +void EnableDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string EnableDeviceResult::getMessage()const +{ + return message_; +} + +int EnableDeviceResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string EnableDeviceResult::getCode()const +{ + return code_; +} + +bool EnableDeviceResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/FreezeMemberRequest.cc b/lto/src/model/FreezeMemberRequest.cc new file mode 100644 index 000000000..b05614d6d --- /dev/null +++ b/lto/src/model/FreezeMemberRequest.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::Lto::Model::FreezeMemberRequest; + +FreezeMemberRequest::FreezeMemberRequest() + : RpcServiceRequest("lto", "2021-07-07", "FreezeMember") { + setMethod(HttpRequest::Method::Post); +} + +FreezeMemberRequest::~FreezeMemberRequest() {} + +std::string FreezeMemberRequest::getRegionId() const { + return regionId_; +} + +void FreezeMemberRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string FreezeMemberRequest::getMemberId() const { + return memberId_; +} + +void FreezeMemberRequest::setMemberId(const std::string &memberId) { + memberId_ = memberId; + setParameter(std::string("MemberId"), memberId); +} + diff --git a/lto/src/model/FreezeMemberResult.cc b/lto/src/model/FreezeMemberResult.cc new file mode 100644 index 000000000..0429e4a82 --- /dev/null +++ b/lto/src/model/FreezeMemberResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +FreezeMemberResult::FreezeMemberResult() : + ServiceResult() +{} + +FreezeMemberResult::FreezeMemberResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +FreezeMemberResult::~FreezeMemberResult() +{} + +void FreezeMemberResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string FreezeMemberResult::getMessage()const +{ + return message_; +} + +int FreezeMemberResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string FreezeMemberResult::getCode()const +{ + return code_; +} + +bool FreezeMemberResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/GetEdgeTotalDeviceCountRequest.cc b/lto/src/model/GetEdgeTotalDeviceCountRequest.cc new file mode 100644 index 000000000..7d707208c --- /dev/null +++ b/lto/src/model/GetEdgeTotalDeviceCountRequest.cc @@ -0,0 +1,36 @@ +/* + * 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::Lto::Model::GetEdgeTotalDeviceCountRequest; + +GetEdgeTotalDeviceCountRequest::GetEdgeTotalDeviceCountRequest() + : RpcServiceRequest("lto", "2021-07-07", "GetEdgeTotalDeviceCount") { + setMethod(HttpRequest::Method::Post); +} + +GetEdgeTotalDeviceCountRequest::~GetEdgeTotalDeviceCountRequest() {} + +std::string GetEdgeTotalDeviceCountRequest::getRegionId() const { + return regionId_; +} + +void GetEdgeTotalDeviceCountRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/GetEdgeTotalDeviceCountResult.cc b/lto/src/model/GetEdgeTotalDeviceCountResult.cc new file mode 100644 index 000000000..706251a4a --- /dev/null +++ b/lto/src/model/GetEdgeTotalDeviceCountResult.cc @@ -0,0 +1,79 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +GetEdgeTotalDeviceCountResult::GetEdgeTotalDeviceCountResult() : + ServiceResult() +{} + +GetEdgeTotalDeviceCountResult::GetEdgeTotalDeviceCountResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetEdgeTotalDeviceCountResult::~GetEdgeTotalDeviceCountResult() +{} + +void GetEdgeTotalDeviceCountResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = std::stol(value["Data"].asString()); + +} + +std::string GetEdgeTotalDeviceCountResult::getMessage()const +{ + return message_; +} + +int GetEdgeTotalDeviceCountResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +long GetEdgeTotalDeviceCountResult::getData()const +{ + return data_; +} + +std::string GetEdgeTotalDeviceCountResult::getCode()const +{ + return code_; +} + +bool GetEdgeTotalDeviceCountResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListAllAdminRequest.cc b/lto/src/model/ListAllAdminRequest.cc new file mode 100644 index 000000000..e774af400 --- /dev/null +++ b/lto/src/model/ListAllAdminRequest.cc @@ -0,0 +1,36 @@ +/* + * 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::Lto::Model::ListAllAdminRequest; + +ListAllAdminRequest::ListAllAdminRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListAllAdmin") { + setMethod(HttpRequest::Method::Post); +} + +ListAllAdminRequest::~ListAllAdminRequest() {} + +std::string ListAllAdminRequest::getRegionId() const { + return regionId_; +} + +void ListAllAdminRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/ListAllAdminResult.cc b/lto/src/model/ListAllAdminResult.cc new file mode 100644 index 000000000..03d8601d4 --- /dev/null +++ b/lto/src/model/ListAllAdminResult.cc @@ -0,0 +1,87 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +ListAllAdminResult::ListAllAdminResult() : + ServiceResult() +{} + +ListAllAdminResult::ListAllAdminResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListAllAdminResult::~ListAllAdminResult() +{} + +void ListAllAdminResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["AdminInfo"]; + for (auto valueDataAdminInfo : allDataNode) + { + AdminInfo dataObject; + if(!valueDataAdminInfo["Name"].isNull()) + dataObject.name = valueDataAdminInfo["Name"].asString(); + if(!valueDataAdminInfo["AdminId"].isNull()) + dataObject.adminId = valueDataAdminInfo["AdminId"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListAllAdminResult::getMessage()const +{ + return message_; +} + +int ListAllAdminResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ListAllAdminResult::getData()const +{ + return data_; +} + +std::string ListAllAdminResult::getCode()const +{ + return code_; +} + +bool ListAllAdminResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListAllBizChainContractRequest.cc b/lto/src/model/ListAllBizChainContractRequest.cc new file mode 100644 index 000000000..807fd422e --- /dev/null +++ b/lto/src/model/ListAllBizChainContractRequest.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::Lto::Model::ListAllBizChainContractRequest; + +ListAllBizChainContractRequest::ListAllBizChainContractRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListAllBizChainContract") { + setMethod(HttpRequest::Method::Post); +} + +ListAllBizChainContractRequest::~ListAllBizChainContractRequest() {} + +std::string ListAllBizChainContractRequest::getBizChainId() const { + return bizChainId_; +} + +void ListAllBizChainContractRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + +std::string ListAllBizChainContractRequest::getRegionId() const { + return regionId_; +} + +void ListAllBizChainContractRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/ListAllBizChainContractResult.cc b/lto/src/model/ListAllBizChainContractResult.cc new file mode 100644 index 000000000..6daf8a13f --- /dev/null +++ b/lto/src/model/ListAllBizChainContractResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +ListAllBizChainContractResult::ListAllBizChainContractResult() : + ServiceResult() +{} + +ListAllBizChainContractResult::ListAllBizChainContractResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListAllBizChainContractResult::~ListAllBizChainContractResult() +{} + +void ListAllBizChainContractResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["ContractInfo"]; + for (auto valueDataContractInfo : allDataNode) + { + ContractInfo dataObject; + if(!valueDataContractInfo["ContractName"].isNull()) + dataObject.contractName = valueDataContractInfo["ContractName"].asString(); + if(!valueDataContractInfo["InvokeType"].isNull()) + dataObject.invokeType = valueDataContractInfo["InvokeType"].asString(); + if(!valueDataContractInfo["ContractTemplateId"].isNull()) + dataObject.contractTemplateId = valueDataContractInfo["ContractTemplateId"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListAllBizChainContractResult::getMessage()const +{ + return message_; +} + +int ListAllBizChainContractResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ListAllBizChainContractResult::getData()const +{ + return data_; +} + +std::string ListAllBizChainContractResult::getCode()const +{ + return code_; +} + +bool ListAllBizChainContractResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListAllBizChainRequest.cc b/lto/src/model/ListAllBizChainRequest.cc new file mode 100644 index 000000000..14ba14af8 --- /dev/null +++ b/lto/src/model/ListAllBizChainRequest.cc @@ -0,0 +1,36 @@ +/* + * 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::Lto::Model::ListAllBizChainRequest; + +ListAllBizChainRequest::ListAllBizChainRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListAllBizChain") { + setMethod(HttpRequest::Method::Post); +} + +ListAllBizChainRequest::~ListAllBizChainRequest() {} + +std::string ListAllBizChainRequest::getRegionId() const { + return regionId_; +} + +void ListAllBizChainRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/ListAllBizChainResult.cc b/lto/src/model/ListAllBizChainResult.cc new file mode 100644 index 000000000..657cad9f8 --- /dev/null +++ b/lto/src/model/ListAllBizChainResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +ListAllBizChainResult::ListAllBizChainResult() : + ServiceResult() +{} + +ListAllBizChainResult::ListAllBizChainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListAllBizChainResult::~ListAllBizChainResult() +{} + +void ListAllBizChainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["BizChainInfo"]; + for (auto valueDataBizChainInfo : allDataNode) + { + BizChainInfo dataObject; + if(!valueDataBizChainInfo["UsedOnchainCount"].isNull()) + dataObject.usedOnchainCount = std::stol(valueDataBizChainInfo["UsedOnchainCount"].asString()); + if(!valueDataBizChainInfo["Name"].isNull()) + dataObject.name = valueDataBizChainInfo["Name"].asString(); + if(!valueDataBizChainInfo["BizChainId"].isNull()) + dataObject.bizChainId = valueDataBizChainInfo["BizChainId"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListAllBizChainResult::getMessage()const +{ + return message_; +} + +int ListAllBizChainResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ListAllBizChainResult::getData()const +{ + return data_; +} + +std::string ListAllBizChainResult::getCode()const +{ + return code_; +} + +bool ListAllBizChainResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListAllDeviceGroupRequest.cc b/lto/src/model/ListAllDeviceGroupRequest.cc new file mode 100644 index 000000000..195400179 --- /dev/null +++ b/lto/src/model/ListAllDeviceGroupRequest.cc @@ -0,0 +1,36 @@ +/* + * 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::Lto::Model::ListAllDeviceGroupRequest; + +ListAllDeviceGroupRequest::ListAllDeviceGroupRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListAllDeviceGroup") { + setMethod(HttpRequest::Method::Post); +} + +ListAllDeviceGroupRequest::~ListAllDeviceGroupRequest() {} + +std::string ListAllDeviceGroupRequest::getRegionId() const { + return regionId_; +} + +void ListAllDeviceGroupRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/ListAllDeviceGroupResult.cc b/lto/src/model/ListAllDeviceGroupResult.cc new file mode 100644 index 000000000..e2f5efe7e --- /dev/null +++ b/lto/src/model/ListAllDeviceGroupResult.cc @@ -0,0 +1,87 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +ListAllDeviceGroupResult::ListAllDeviceGroupResult() : + ServiceResult() +{} + +ListAllDeviceGroupResult::ListAllDeviceGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListAllDeviceGroupResult::~ListAllDeviceGroupResult() +{} + +void ListAllDeviceGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DeviceGroupInfo"]; + for (auto valueDataDeviceGroupInfo : allDataNode) + { + DeviceGroupInfo dataObject; + if(!valueDataDeviceGroupInfo["Name"].isNull()) + dataObject.name = valueDataDeviceGroupInfo["Name"].asString(); + if(!valueDataDeviceGroupInfo["DeviceGroupId"].isNull()) + dataObject.deviceGroupId = valueDataDeviceGroupInfo["DeviceGroupId"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListAllDeviceGroupResult::getMessage()const +{ + return message_; +} + +int ListAllDeviceGroupResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ListAllDeviceGroupResult::getData()const +{ + return data_; +} + +std::string ListAllDeviceGroupResult::getCode()const +{ + return code_; +} + +bool ListAllDeviceGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListAllMemberRequest.cc b/lto/src/model/ListAllMemberRequest.cc new file mode 100644 index 000000000..c198c8c03 --- /dev/null +++ b/lto/src/model/ListAllMemberRequest.cc @@ -0,0 +1,36 @@ +/* + * 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::Lto::Model::ListAllMemberRequest; + +ListAllMemberRequest::ListAllMemberRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListAllMember") { + setMethod(HttpRequest::Method::Post); +} + +ListAllMemberRequest::~ListAllMemberRequest() {} + +std::string ListAllMemberRequest::getRegionId() const { + return regionId_; +} + +void ListAllMemberRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/ListAllMemberResult.cc b/lto/src/model/ListAllMemberResult.cc new file mode 100644 index 000000000..7fa84151f --- /dev/null +++ b/lto/src/model/ListAllMemberResult.cc @@ -0,0 +1,87 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +ListAllMemberResult::ListAllMemberResult() : + ServiceResult() +{} + +ListAllMemberResult::ListAllMemberResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListAllMemberResult::~ListAllMemberResult() +{} + +void ListAllMemberResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["MemberInfo"]; + for (auto valueDataMemberInfo : allDataNode) + { + MemberInfo dataObject; + if(!valueDataMemberInfo["Name"].isNull()) + dataObject.name = valueDataMemberInfo["Name"].asString(); + if(!valueDataMemberInfo["MemberId"].isNull()) + dataObject.memberId = valueDataMemberInfo["MemberId"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListAllMemberResult::getMessage()const +{ + return message_; +} + +int ListAllMemberResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ListAllMemberResult::getData()const +{ + return data_; +} + +std::string ListAllMemberResult::getCode()const +{ + return code_; +} + +bool ListAllMemberResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListAllPrivacyAlgorithmRequest.cc b/lto/src/model/ListAllPrivacyAlgorithmRequest.cc new file mode 100644 index 000000000..14df932e1 --- /dev/null +++ b/lto/src/model/ListAllPrivacyAlgorithmRequest.cc @@ -0,0 +1,36 @@ +/* + * 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::Lto::Model::ListAllPrivacyAlgorithmRequest; + +ListAllPrivacyAlgorithmRequest::ListAllPrivacyAlgorithmRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListAllPrivacyAlgorithm") { + setMethod(HttpRequest::Method::Post); +} + +ListAllPrivacyAlgorithmRequest::~ListAllPrivacyAlgorithmRequest() {} + +std::string ListAllPrivacyAlgorithmRequest::getRegionId() const { + return regionId_; +} + +void ListAllPrivacyAlgorithmRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/ListAllPrivacyAlgorithmResult.cc b/lto/src/model/ListAllPrivacyAlgorithmResult.cc new file mode 100644 index 000000000..ed2f26195 --- /dev/null +++ b/lto/src/model/ListAllPrivacyAlgorithmResult.cc @@ -0,0 +1,88 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Lto; +using namespace AlibabaCloud::Lto::Model; + +ListAllPrivacyAlgorithmResult::ListAllPrivacyAlgorithmResult() : + ServiceResult() +{} + +ListAllPrivacyAlgorithmResult::ListAllPrivacyAlgorithmResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListAllPrivacyAlgorithmResult::~ListAllPrivacyAlgorithmResult() +{} + +void ListAllPrivacyAlgorithmResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["AlgTypeInfo"]; + for (auto valueDataAlgTypeInfo : allDataNode) + { + AlgTypeInfo dataObject; + if(!valueDataAlgTypeInfo["AlgType"].isNull()) + dataObject.algType = valueDataAlgTypeInfo["AlgType"].asString(); + auto allAlgImplList = value["AlgImplList"]["AlgImplInfo"]; + for (auto value : allAlgImplList) + dataObject.algImplList.push_back(value.asString()); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListAllPrivacyAlgorithmResult::getMessage()const +{ + return message_; +} + +int ListAllPrivacyAlgorithmResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ListAllPrivacyAlgorithmResult::getData()const +{ + return data_; +} + +std::string ListAllPrivacyAlgorithmResult::getCode()const +{ + return code_; +} + +bool ListAllPrivacyAlgorithmResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListAllPrivacyRuleRequest.cc b/lto/src/model/ListAllPrivacyRuleRequest.cc new file mode 100644 index 000000000..bcf5a20a6 --- /dev/null +++ b/lto/src/model/ListAllPrivacyRuleRequest.cc @@ -0,0 +1,36 @@ +/* + * 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::Lto::Model::ListAllPrivacyRuleRequest; + +ListAllPrivacyRuleRequest::ListAllPrivacyRuleRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListAllPrivacyRule") { + setMethod(HttpRequest::Method::Post); +} + +ListAllPrivacyRuleRequest::~ListAllPrivacyRuleRequest() {} + +std::string ListAllPrivacyRuleRequest::getRegionId() const { + return regionId_; +} + +void ListAllPrivacyRuleRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/ListAllPrivacyRuleResult.cc b/lto/src/model/ListAllPrivacyRuleResult.cc new file mode 100644 index 000000000..9d8c1b2c5 --- /dev/null +++ b/lto/src/model/ListAllPrivacyRuleResult.cc @@ -0,0 +1,87 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +ListAllPrivacyRuleResult::ListAllPrivacyRuleResult() : + ServiceResult() +{} + +ListAllPrivacyRuleResult::ListAllPrivacyRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListAllPrivacyRuleResult::~ListAllPrivacyRuleResult() +{} + +void ListAllPrivacyRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["PrivacyRuleInfo"]; + for (auto valueDataPrivacyRuleInfo : allDataNode) + { + PrivacyRuleInfo dataObject; + if(!valueDataPrivacyRuleInfo["Name"].isNull()) + dataObject.name = valueDataPrivacyRuleInfo["Name"].asString(); + if(!valueDataPrivacyRuleInfo["PrivacyRuleId"].isNull()) + dataObject.privacyRuleId = valueDataPrivacyRuleInfo["PrivacyRuleId"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListAllPrivacyRuleResult::getMessage()const +{ + return message_; +} + +int ListAllPrivacyRuleResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ListAllPrivacyRuleResult::getData()const +{ + return data_; +} + +std::string ListAllPrivacyRuleResult::getCode()const +{ + return code_; +} + +bool ListAllPrivacyRuleResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListAllProductKeyRequest.cc b/lto/src/model/ListAllProductKeyRequest.cc new file mode 100644 index 000000000..6dde9394a --- /dev/null +++ b/lto/src/model/ListAllProductKeyRequest.cc @@ -0,0 +1,36 @@ +/* + * 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::Lto::Model::ListAllProductKeyRequest; + +ListAllProductKeyRequest::ListAllProductKeyRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListAllProductKey") { + setMethod(HttpRequest::Method::Post); +} + +ListAllProductKeyRequest::~ListAllProductKeyRequest() {} + +std::string ListAllProductKeyRequest::getRegionId() const { + return regionId_; +} + +void ListAllProductKeyRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/ListAllProductKeyResult.cc b/lto/src/model/ListAllProductKeyResult.cc new file mode 100644 index 000000000..9d7a97ec8 --- /dev/null +++ b/lto/src/model/ListAllProductKeyResult.cc @@ -0,0 +1,87 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +ListAllProductKeyResult::ListAllProductKeyResult() : + ServiceResult() +{} + +ListAllProductKeyResult::ListAllProductKeyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListAllProductKeyResult::~ListAllProductKeyResult() +{} + +void ListAllProductKeyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["ProductKeyInfo"]; + for (auto valueDataProductKeyInfo : allDataNode) + { + ProductKeyInfo dataObject; + if(!valueDataProductKeyInfo["Name"].isNull()) + dataObject.name = valueDataProductKeyInfo["Name"].asString(); + if(!valueDataProductKeyInfo["ProductKey"].isNull()) + dataObject.productKey = valueDataProductKeyInfo["ProductKey"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListAllProductKeyResult::getMessage()const +{ + return message_; +} + +int ListAllProductKeyResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ListAllProductKeyResult::getData()const +{ + return data_; +} + +std::string ListAllProductKeyResult::getCode()const +{ + return code_; +} + +bool ListAllProductKeyResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListAllSystemContractRequest.cc b/lto/src/model/ListAllSystemContractRequest.cc new file mode 100644 index 000000000..b7f1260f1 --- /dev/null +++ b/lto/src/model/ListAllSystemContractRequest.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::Lto::Model::ListAllSystemContractRequest; + +ListAllSystemContractRequest::ListAllSystemContractRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListAllSystemContract") { + setMethod(HttpRequest::Method::Post); +} + +ListAllSystemContractRequest::~ListAllSystemContractRequest() {} + +std::string ListAllSystemContractRequest::getRegionId() const { + return regionId_; +} + +void ListAllSystemContractRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string ListAllSystemContractRequest::getBlockChainType() const { + return blockChainType_; +} + +void ListAllSystemContractRequest::setBlockChainType(const std::string &blockChainType) { + blockChainType_ = blockChainType; + setParameter(std::string("BlockChainType"), blockChainType); +} + diff --git a/lto/src/model/ListAllSystemContractResult.cc b/lto/src/model/ListAllSystemContractResult.cc new file mode 100644 index 000000000..9a12ef82c --- /dev/null +++ b/lto/src/model/ListAllSystemContractResult.cc @@ -0,0 +1,87 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +ListAllSystemContractResult::ListAllSystemContractResult() : + ServiceResult() +{} + +ListAllSystemContractResult::ListAllSystemContractResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListAllSystemContractResult::~ListAllSystemContractResult() +{} + +void ListAllSystemContractResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["SystemContractInfo"]; + for (auto valueDataSystemContractInfo : allDataNode) + { + SystemContractInfo dataObject; + if(!valueDataSystemContractInfo["Name"].isNull()) + dataObject.name = valueDataSystemContractInfo["Name"].asString(); + if(!valueDataSystemContractInfo["SystemContractId"].isNull()) + dataObject.systemContractId = valueDataSystemContractInfo["SystemContractId"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListAllSystemContractResult::getMessage()const +{ + return message_; +} + +int ListAllSystemContractResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ListAllSystemContractResult::getData()const +{ + return data_; +} + +std::string ListAllSystemContractResult::getCode()const +{ + return code_; +} + +bool ListAllSystemContractResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListBaaSAntChainConsortiumRequest.cc b/lto/src/model/ListBaaSAntChainConsortiumRequest.cc new file mode 100644 index 000000000..3377d97c1 --- /dev/null +++ b/lto/src/model/ListBaaSAntChainConsortiumRequest.cc @@ -0,0 +1,36 @@ +/* + * 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::Lto::Model::ListBaaSAntChainConsortiumRequest; + +ListBaaSAntChainConsortiumRequest::ListBaaSAntChainConsortiumRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListBaaSAntChainConsortium") { + setMethod(HttpRequest::Method::Post); +} + +ListBaaSAntChainConsortiumRequest::~ListBaaSAntChainConsortiumRequest() {} + +std::string ListBaaSAntChainConsortiumRequest::getRegionId() const { + return regionId_; +} + +void ListBaaSAntChainConsortiumRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/ListBaaSAntChainConsortiumResult.cc b/lto/src/model/ListBaaSAntChainConsortiumResult.cc new file mode 100644 index 000000000..bf48c3671 --- /dev/null +++ b/lto/src/model/ListBaaSAntChainConsortiumResult.cc @@ -0,0 +1,87 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +ListBaaSAntChainConsortiumResult::ListBaaSAntChainConsortiumResult() : + ServiceResult() +{} + +ListBaaSAntChainConsortiumResult::ListBaaSAntChainConsortiumResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListBaaSAntChainConsortiumResult::~ListBaaSAntChainConsortiumResult() +{} + +void ListBaaSAntChainConsortiumResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["BaaSAntChainConsortiumInfo"]; + for (auto valueDataBaaSAntChainConsortiumInfo : allDataNode) + { + BaaSAntChainConsortiumInfo dataObject; + if(!valueDataBaaSAntChainConsortiumInfo["BaaSAntChainConsortiumName"].isNull()) + dataObject.baaSAntChainConsortiumName = valueDataBaaSAntChainConsortiumInfo["BaaSAntChainConsortiumName"].asString(); + if(!valueDataBaaSAntChainConsortiumInfo["BaaSAntChainConsortiumId"].isNull()) + dataObject.baaSAntChainConsortiumId = valueDataBaaSAntChainConsortiumInfo["BaaSAntChainConsortiumId"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListBaaSAntChainConsortiumResult::getMessage()const +{ + return message_; +} + +int ListBaaSAntChainConsortiumResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ListBaaSAntChainConsortiumResult::getData()const +{ + return data_; +} + +std::string ListBaaSAntChainConsortiumResult::getCode()const +{ + return code_; +} + +bool ListBaaSAntChainConsortiumResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListBaaSAntChainPeerRequest.cc b/lto/src/model/ListBaaSAntChainPeerRequest.cc new file mode 100644 index 000000000..b9bffb2e1 --- /dev/null +++ b/lto/src/model/ListBaaSAntChainPeerRequest.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::Lto::Model::ListBaaSAntChainPeerRequest; + +ListBaaSAntChainPeerRequest::ListBaaSAntChainPeerRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListBaaSAntChainPeer") { + setMethod(HttpRequest::Method::Post); +} + +ListBaaSAntChainPeerRequest::~ListBaaSAntChainPeerRequest() {} + +std::string ListBaaSAntChainPeerRequest::getBaaSAntChainConsortiumId() const { + return baaSAntChainConsortiumId_; +} + +void ListBaaSAntChainPeerRequest::setBaaSAntChainConsortiumId(const std::string &baaSAntChainConsortiumId) { + baaSAntChainConsortiumId_ = baaSAntChainConsortiumId; + setParameter(std::string("BaaSAntChainConsortiumId"), baaSAntChainConsortiumId); +} + +std::string ListBaaSAntChainPeerRequest::getBaaSAntChainChainId() const { + return baaSAntChainChainId_; +} + +void ListBaaSAntChainPeerRequest::setBaaSAntChainChainId(const std::string &baaSAntChainChainId) { + baaSAntChainChainId_ = baaSAntChainChainId; + setParameter(std::string("BaaSAntChainChainId"), baaSAntChainChainId); +} + +std::string ListBaaSAntChainPeerRequest::getRegionId() const { + return regionId_; +} + +void ListBaaSAntChainPeerRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/ListBaaSAntChainPeerResult.cc b/lto/src/model/ListBaaSAntChainPeerResult.cc new file mode 100644 index 000000000..35bcf6662 --- /dev/null +++ b/lto/src/model/ListBaaSAntChainPeerResult.cc @@ -0,0 +1,85 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +ListBaaSAntChainPeerResult::ListBaaSAntChainPeerResult() : + ServiceResult() +{} + +ListBaaSAntChainPeerResult::ListBaaSAntChainPeerResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListBaaSAntChainPeerResult::~ListBaaSAntChainPeerResult() +{} + +void ListBaaSAntChainPeerResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["BaaSAntChainPeerInfo"]; + for (auto valueDataBaaSAntChainPeerInfo : allDataNode) + { + BaaSAntChainPeerInfo dataObject; + if(!valueDataBaaSAntChainPeerInfo["NodeName"].isNull()) + dataObject.nodeName = valueDataBaaSAntChainPeerInfo["NodeName"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListBaaSAntChainPeerResult::getMessage()const +{ + return message_; +} + +int ListBaaSAntChainPeerResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ListBaaSAntChainPeerResult::getData()const +{ + return data_; +} + +std::string ListBaaSAntChainPeerResult::getCode()const +{ + return code_; +} + +bool ListBaaSAntChainPeerResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListBaaSAntChainRequest.cc b/lto/src/model/ListBaaSAntChainRequest.cc new file mode 100644 index 000000000..b4fec3851 --- /dev/null +++ b/lto/src/model/ListBaaSAntChainRequest.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::Lto::Model::ListBaaSAntChainRequest; + +ListBaaSAntChainRequest::ListBaaSAntChainRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListBaaSAntChain") { + setMethod(HttpRequest::Method::Post); +} + +ListBaaSAntChainRequest::~ListBaaSAntChainRequest() {} + +std::string ListBaaSAntChainRequest::getBaaSAntChainConsortiumId() const { + return baaSAntChainConsortiumId_; +} + +void ListBaaSAntChainRequest::setBaaSAntChainConsortiumId(const std::string &baaSAntChainConsortiumId) { + baaSAntChainConsortiumId_ = baaSAntChainConsortiumId; + setParameter(std::string("BaaSAntChainConsortiumId"), baaSAntChainConsortiumId); +} + +std::string ListBaaSAntChainRequest::getRegionId() const { + return regionId_; +} + +void ListBaaSAntChainRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/ListBaaSAntChainResult.cc b/lto/src/model/ListBaaSAntChainResult.cc new file mode 100644 index 000000000..561e7731e --- /dev/null +++ b/lto/src/model/ListBaaSAntChainResult.cc @@ -0,0 +1,87 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +ListBaaSAntChainResult::ListBaaSAntChainResult() : + ServiceResult() +{} + +ListBaaSAntChainResult::ListBaaSAntChainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListBaaSAntChainResult::~ListBaaSAntChainResult() +{} + +void ListBaaSAntChainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["BaaSAntChainChainInfo"]; + for (auto valueDataBaaSAntChainChainInfo : allDataNode) + { + BaaSAntChainChainInfo dataObject; + if(!valueDataBaaSAntChainChainInfo["BaaSAntChainChainName"].isNull()) + dataObject.baaSAntChainChainName = valueDataBaaSAntChainChainInfo["BaaSAntChainChainName"].asString(); + if(!valueDataBaaSAntChainChainInfo["BaaSAntChainChainId"].isNull()) + dataObject.baaSAntChainChainId = valueDataBaaSAntChainChainInfo["BaaSAntChainChainId"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListBaaSAntChainResult::getMessage()const +{ + return message_; +} + +int ListBaaSAntChainResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ListBaaSAntChainResult::getData()const +{ + return data_; +} + +std::string ListBaaSAntChainResult::getCode()const +{ + return code_; +} + +bool ListBaaSAntChainResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListBaaSFabricChannelRequest.cc b/lto/src/model/ListBaaSFabricChannelRequest.cc new file mode 100644 index 000000000..18e4e8075 --- /dev/null +++ b/lto/src/model/ListBaaSFabricChannelRequest.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::Lto::Model::ListBaaSFabricChannelRequest; + +ListBaaSFabricChannelRequest::ListBaaSFabricChannelRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListBaaSFabricChannel") { + setMethod(HttpRequest::Method::Post); +} + +ListBaaSFabricChannelRequest::~ListBaaSFabricChannelRequest() {} + +std::string ListBaaSFabricChannelRequest::getBaaSFabricConsortiumId() const { + return baaSFabricConsortiumId_; +} + +void ListBaaSFabricChannelRequest::setBaaSFabricConsortiumId(const std::string &baaSFabricConsortiumId) { + baaSFabricConsortiumId_ = baaSFabricConsortiumId; + setParameter(std::string("BaaSFabricConsortiumId"), baaSFabricConsortiumId); +} + +std::string ListBaaSFabricChannelRequest::getRegionId() const { + return regionId_; +} + +void ListBaaSFabricChannelRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/ListBaaSFabricChannelResult.cc b/lto/src/model/ListBaaSFabricChannelResult.cc new file mode 100644 index 000000000..14151de28 --- /dev/null +++ b/lto/src/model/ListBaaSFabricChannelResult.cc @@ -0,0 +1,87 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +ListBaaSFabricChannelResult::ListBaaSFabricChannelResult() : + ServiceResult() +{} + +ListBaaSFabricChannelResult::ListBaaSFabricChannelResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListBaaSFabricChannelResult::~ListBaaSFabricChannelResult() +{} + +void ListBaaSFabricChannelResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["BaaSFabricChannelInfo"]; + for (auto valueDataBaaSFabricChannelInfo : allDataNode) + { + BaaSFabricChannelInfo dataObject; + if(!valueDataBaaSFabricChannelInfo["BaaSFabricChannelName"].isNull()) + dataObject.baaSFabricChannelName = valueDataBaaSFabricChannelInfo["BaaSFabricChannelName"].asString(); + if(!valueDataBaaSFabricChannelInfo["BaaSFabricChannelId"].isNull()) + dataObject.baaSFabricChannelId = valueDataBaaSFabricChannelInfo["BaaSFabricChannelId"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListBaaSFabricChannelResult::getMessage()const +{ + return message_; +} + +int ListBaaSFabricChannelResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ListBaaSFabricChannelResult::getData()const +{ + return data_; +} + +std::string ListBaaSFabricChannelResult::getCode()const +{ + return code_; +} + +bool ListBaaSFabricChannelResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListBaaSFabricConsortiumRequest.cc b/lto/src/model/ListBaaSFabricConsortiumRequest.cc new file mode 100644 index 000000000..a2c774ef4 --- /dev/null +++ b/lto/src/model/ListBaaSFabricConsortiumRequest.cc @@ -0,0 +1,36 @@ +/* + * 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::Lto::Model::ListBaaSFabricConsortiumRequest; + +ListBaaSFabricConsortiumRequest::ListBaaSFabricConsortiumRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListBaaSFabricConsortium") { + setMethod(HttpRequest::Method::Post); +} + +ListBaaSFabricConsortiumRequest::~ListBaaSFabricConsortiumRequest() {} + +std::string ListBaaSFabricConsortiumRequest::getRegionId() const { + return regionId_; +} + +void ListBaaSFabricConsortiumRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/ListBaaSFabricConsortiumResult.cc b/lto/src/model/ListBaaSFabricConsortiumResult.cc new file mode 100644 index 000000000..8faed2cac --- /dev/null +++ b/lto/src/model/ListBaaSFabricConsortiumResult.cc @@ -0,0 +1,87 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +ListBaaSFabricConsortiumResult::ListBaaSFabricConsortiumResult() : + ServiceResult() +{} + +ListBaaSFabricConsortiumResult::ListBaaSFabricConsortiumResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListBaaSFabricConsortiumResult::~ListBaaSFabricConsortiumResult() +{} + +void ListBaaSFabricConsortiumResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["BaaSFabricConsortiumInfo"]; + for (auto valueDataBaaSFabricConsortiumInfo : allDataNode) + { + BaaSFabricConsortiumInfo dataObject; + if(!valueDataBaaSFabricConsortiumInfo["BaaSFabricConsortiumId"].isNull()) + dataObject.baaSFabricConsortiumId = valueDataBaaSFabricConsortiumInfo["BaaSFabricConsortiumId"].asString(); + if(!valueDataBaaSFabricConsortiumInfo["BaaSFabricConsortiumName"].isNull()) + dataObject.baaSFabricConsortiumName = valueDataBaaSFabricConsortiumInfo["BaaSFabricConsortiumName"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListBaaSFabricConsortiumResult::getMessage()const +{ + return message_; +} + +int ListBaaSFabricConsortiumResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ListBaaSFabricConsortiumResult::getData()const +{ + return data_; +} + +std::string ListBaaSFabricConsortiumResult::getCode()const +{ + return code_; +} + +bool ListBaaSFabricConsortiumResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListBaaSFabricOrganizationRequest.cc b/lto/src/model/ListBaaSFabricOrganizationRequest.cc new file mode 100644 index 000000000..b34c65bab --- /dev/null +++ b/lto/src/model/ListBaaSFabricOrganizationRequest.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::Lto::Model::ListBaaSFabricOrganizationRequest; + +ListBaaSFabricOrganizationRequest::ListBaaSFabricOrganizationRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListBaaSFabricOrganization") { + setMethod(HttpRequest::Method::Post); +} + +ListBaaSFabricOrganizationRequest::~ListBaaSFabricOrganizationRequest() {} + +std::string ListBaaSFabricOrganizationRequest::getRegionId() const { + return regionId_; +} + +void ListBaaSFabricOrganizationRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string ListBaaSFabricOrganizationRequest::getBaaSFabricChannelId() const { + return baaSFabricChannelId_; +} + +void ListBaaSFabricOrganizationRequest::setBaaSFabricChannelId(const std::string &baaSFabricChannelId) { + baaSFabricChannelId_ = baaSFabricChannelId; + setParameter(std::string("BaaSFabricChannelId"), baaSFabricChannelId); +} + diff --git a/lto/src/model/ListBaaSFabricOrganizationResult.cc b/lto/src/model/ListBaaSFabricOrganizationResult.cc new file mode 100644 index 000000000..43c1a84f3 --- /dev/null +++ b/lto/src/model/ListBaaSFabricOrganizationResult.cc @@ -0,0 +1,87 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +ListBaaSFabricOrganizationResult::ListBaaSFabricOrganizationResult() : + ServiceResult() +{} + +ListBaaSFabricOrganizationResult::ListBaaSFabricOrganizationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListBaaSFabricOrganizationResult::~ListBaaSFabricOrganizationResult() +{} + +void ListBaaSFabricOrganizationResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["BaaSFabricOrganizationInfo"]; + for (auto valueDataBaaSFabricOrganizationInfo : allDataNode) + { + BaaSFabricOrganizationInfo dataObject; + if(!valueDataBaaSFabricOrganizationInfo["BaaSFabricOrganizationName"].isNull()) + dataObject.baaSFabricOrganizationName = valueDataBaaSFabricOrganizationInfo["BaaSFabricOrganizationName"].asString(); + if(!valueDataBaaSFabricOrganizationInfo["BaaSFabricOrganizationId"].isNull()) + dataObject.baaSFabricOrganizationId = valueDataBaaSFabricOrganizationInfo["BaaSFabricOrganizationId"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListBaaSFabricOrganizationResult::getMessage()const +{ + return message_; +} + +int ListBaaSFabricOrganizationResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ListBaaSFabricOrganizationResult::getData()const +{ + return data_; +} + +std::string ListBaaSFabricOrganizationResult::getCode()const +{ + return code_; +} + +bool ListBaaSFabricOrganizationResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListBizChainDataRequest.cc b/lto/src/model/ListBizChainDataRequest.cc new file mode 100644 index 000000000..f7d710eca --- /dev/null +++ b/lto/src/model/ListBizChainDataRequest.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::Lto::Model::ListBizChainDataRequest; + +ListBizChainDataRequest::ListBizChainDataRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListBizChainData") { + setMethod(HttpRequest::Method::Post); +} + +ListBizChainDataRequest::~ListBizChainDataRequest() {} + +int ListBizChainDataRequest::getNum() const { + return num_; +} + +void ListBizChainDataRequest::setNum(int num) { + num_ = num; + setParameter(std::string("Num"), std::to_string(num)); +} + +long ListBizChainDataRequest::getEndTime() const { + return endTime_; +} + +void ListBizChainDataRequest::setEndTime(long endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), std::to_string(endTime)); +} + +long ListBizChainDataRequest::getStartTime() const { + return startTime_; +} + +void ListBizChainDataRequest::setStartTime(long startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), std::to_string(startTime)); +} + +std::string ListBizChainDataRequest::getBizChainId() const { + return bizChainId_; +} + +void ListBizChainDataRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + +int ListBizChainDataRequest::getSize() const { + return size_; +} + +void ListBizChainDataRequest::setSize(int size) { + size_ = size; + setParameter(std::string("Size"), std::to_string(size)); +} + +std::string ListBizChainDataRequest::getRegionId() const { + return regionId_; +} + +void ListBizChainDataRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string ListBizChainDataRequest::getIoTDataDID() const { + return ioTDataDID_; +} + +void ListBizChainDataRequest::setIoTDataDID(const std::string &ioTDataDID) { + ioTDataDID_ = ioTDataDID; + setParameter(std::string("IoTDataDID"), ioTDataDID); +} + +std::string ListBizChainDataRequest::getMemberId() const { + return memberId_; +} + +void ListBizChainDataRequest::setMemberId(const std::string &memberId) { + memberId_ = memberId; + setParameter(std::string("MemberId"), memberId); +} + diff --git a/lto/src/model/ListBizChainDataResult.cc b/lto/src/model/ListBizChainDataResult.cc new file mode 100644 index 000000000..5df596608 --- /dev/null +++ b/lto/src/model/ListBizChainDataResult.cc @@ -0,0 +1,106 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +ListBizChainDataResult::ListBizChainDataResult() : + ServiceResult() +{} + +ListBizChainDataResult::ListBizChainDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListBizChainDataResult::~ListBizChainDataResult() +{} + +void ListBizChainDataResult::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"]["BizChainDataInfo"]; + for (auto dataNodePageDataBizChainDataInfo : allPageDataNode) + { + Data::BizChainDataInfo bizChainDataInfoObject; + if(!dataNodePageDataBizChainDataInfo["BlockNum"].isNull()) + bizChainDataInfoObject.blockNum = dataNodePageDataBizChainDataInfo["BlockNum"].asString(); + if(!dataNodePageDataBizChainDataInfo["ProductKey"].isNull()) + bizChainDataInfoObject.productKey = dataNodePageDataBizChainDataInfo["ProductKey"].asString(); + if(!dataNodePageDataBizChainDataInfo["MemberName"].isNull()) + bizChainDataInfoObject.memberName = dataNodePageDataBizChainDataInfo["MemberName"].asString(); + if(!dataNodePageDataBizChainDataInfo["DeviceName"].isNull()) + bizChainDataInfoObject.deviceName = dataNodePageDataBizChainDataInfo["DeviceName"].asString(); + if(!dataNodePageDataBizChainDataInfo["BlockHash"].isNull()) + bizChainDataInfoObject.blockHash = dataNodePageDataBizChainDataInfo["BlockHash"].asString(); + if(!dataNodePageDataBizChainDataInfo["TxHash"].isNull()) + bizChainDataInfoObject.txHash = dataNodePageDataBizChainDataInfo["TxHash"].asString(); + if(!dataNodePageDataBizChainDataInfo["Timestamp"].isNull()) + bizChainDataInfoObject.timestamp = std::stol(dataNodePageDataBizChainDataInfo["Timestamp"].asString()); + if(!dataNodePageDataBizChainDataInfo["IotDataDID"].isNull()) + bizChainDataInfoObject.iotDataDID = dataNodePageDataBizChainDataInfo["IotDataDID"].asString(); + data_.pageData.push_back(bizChainDataInfoObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListBizChainDataResult::getMessage()const +{ + return message_; +} + +int ListBizChainDataResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +ListBizChainDataResult::Data ListBizChainDataResult::getData()const +{ + return data_; +} + +std::string ListBizChainDataResult::getCode()const +{ + return code_; +} + +bool ListBizChainDataResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListBizChainRequest.cc b/lto/src/model/ListBizChainRequest.cc new file mode 100644 index 000000000..ab013f460 --- /dev/null +++ b/lto/src/model/ListBizChainRequest.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::Lto::Model::ListBizChainRequest; + +ListBizChainRequest::ListBizChainRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListBizChain") { + setMethod(HttpRequest::Method::Post); +} + +ListBizChainRequest::~ListBizChainRequest() {} + +int ListBizChainRequest::getNum() const { + return num_; +} + +void ListBizChainRequest::setNum(int num) { + num_ = num; + setParameter(std::string("Num"), std::to_string(num)); +} + +std::string ListBizChainRequest::getBizChainId() const { + return bizChainId_; +} + +void ListBizChainRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + +int ListBizChainRequest::getSize() const { + return size_; +} + +void ListBizChainRequest::setSize(int size) { + size_ = size; + setParameter(std::string("Size"), std::to_string(size)); +} + +std::string ListBizChainRequest::getRegionId() const { + return regionId_; +} + +void ListBizChainRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string ListBizChainRequest::getName() const { + return name_; +} + +void ListBizChainRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + diff --git a/lto/src/model/ListBizChainResult.cc b/lto/src/model/ListBizChainResult.cc new file mode 100644 index 000000000..753e6a6bf --- /dev/null +++ b/lto/src/model/ListBizChainResult.cc @@ -0,0 +1,98 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +ListBizChainResult::ListBizChainResult() : + ServiceResult() +{} + +ListBizChainResult::ListBizChainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListBizChainResult::~ListBizChainResult() +{} + +void ListBizChainResult::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"]["BizChainInfo"]; + for (auto dataNodePageDataBizChainInfo : allPageDataNode) + { + Data::BizChainInfo bizChainInfoObject; + if(!dataNodePageDataBizChainInfo["Type"].isNull()) + bizChainInfoObject.type = dataNodePageDataBizChainInfo["Type"].asString(); + if(!dataNodePageDataBizChainInfo["Remark"].isNull()) + bizChainInfoObject.remark = dataNodePageDataBizChainInfo["Remark"].asString(); + if(!dataNodePageDataBizChainInfo["Name"].isNull()) + bizChainInfoObject.name = dataNodePageDataBizChainInfo["Name"].asString(); + if(!dataNodePageDataBizChainInfo["BizChainId"].isNull()) + bizChainInfoObject.bizChainId = dataNodePageDataBizChainInfo["BizChainId"].asString(); + data_.pageData.push_back(bizChainInfoObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListBizChainResult::getMessage()const +{ + return message_; +} + +int ListBizChainResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +ListBizChainResult::Data ListBizChainResult::getData()const +{ + return data_; +} + +std::string ListBizChainResult::getCode()const +{ + return code_; +} + +bool ListBizChainResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListDeviceGroupAuthorizedBizChainRequest.cc b/lto/src/model/ListDeviceGroupAuthorizedBizChainRequest.cc new file mode 100644 index 000000000..6f964614f --- /dev/null +++ b/lto/src/model/ListDeviceGroupAuthorizedBizChainRequest.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::Lto::Model::ListDeviceGroupAuthorizedBizChainRequest; + +ListDeviceGroupAuthorizedBizChainRequest::ListDeviceGroupAuthorizedBizChainRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListDeviceGroupAuthorizedBizChain") { + setMethod(HttpRequest::Method::Post); +} + +ListDeviceGroupAuthorizedBizChainRequest::~ListDeviceGroupAuthorizedBizChainRequest() {} + +std::string ListDeviceGroupAuthorizedBizChainRequest::getRegionId() const { + return regionId_; +} + +void ListDeviceGroupAuthorizedBizChainRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string ListDeviceGroupAuthorizedBizChainRequest::getDeviceGroupId() const { + return deviceGroupId_; +} + +void ListDeviceGroupAuthorizedBizChainRequest::setDeviceGroupId(const std::string &deviceGroupId) { + deviceGroupId_ = deviceGroupId; + setParameter(std::string("DeviceGroupId"), deviceGroupId); +} + diff --git a/lto/src/model/ListDeviceGroupAuthorizedBizChainResult.cc b/lto/src/model/ListDeviceGroupAuthorizedBizChainResult.cc new file mode 100644 index 000000000..512a24b55 --- /dev/null +++ b/lto/src/model/ListDeviceGroupAuthorizedBizChainResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +ListDeviceGroupAuthorizedBizChainResult::ListDeviceGroupAuthorizedBizChainResult() : + ServiceResult() +{} + +ListDeviceGroupAuthorizedBizChainResult::ListDeviceGroupAuthorizedBizChainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDeviceGroupAuthorizedBizChainResult::~ListDeviceGroupAuthorizedBizChainResult() +{} + +void ListDeviceGroupAuthorizedBizChainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DeviceGroupAuthorizedInfo"]; + for (auto valueDataDeviceGroupAuthorizedInfo : allDataNode) + { + DeviceGroupAuthorizedInfo dataObject; + if(!valueDataDeviceGroupAuthorizedInfo["BizChainName"].isNull()) + dataObject.bizChainName = valueDataDeviceGroupAuthorizedInfo["BizChainName"].asString(); + if(!valueDataDeviceGroupAuthorizedInfo["BizChainId"].isNull()) + dataObject.bizChainId = valueDataDeviceGroupAuthorizedInfo["BizChainId"].asString(); + if(!valueDataDeviceGroupAuthorizedInfo["Authorized"].isNull()) + dataObject.authorized = valueDataDeviceGroupAuthorizedInfo["Authorized"].asString() == "true"; + if(!valueDataDeviceGroupAuthorizedInfo["BlockChainType"].isNull()) + dataObject.blockChainType = valueDataDeviceGroupAuthorizedInfo["BlockChainType"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListDeviceGroupAuthorizedBizChainResult::getMessage()const +{ + return message_; +} + +int ListDeviceGroupAuthorizedBizChainResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ListDeviceGroupAuthorizedBizChainResult::getData()const +{ + return data_; +} + +std::string ListDeviceGroupAuthorizedBizChainResult::getCode()const +{ + return code_; +} + +bool ListDeviceGroupAuthorizedBizChainResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListDeviceGroupRequest.cc b/lto/src/model/ListDeviceGroupRequest.cc new file mode 100644 index 000000000..cb611bdca --- /dev/null +++ b/lto/src/model/ListDeviceGroupRequest.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::Lto::Model::ListDeviceGroupRequest; + +ListDeviceGroupRequest::ListDeviceGroupRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListDeviceGroup") { + setMethod(HttpRequest::Method::Post); +} + +ListDeviceGroupRequest::~ListDeviceGroupRequest() {} + +int ListDeviceGroupRequest::getNum() const { + return num_; +} + +void ListDeviceGroupRequest::setNum(int num) { + num_ = num; + setParameter(std::string("Num"), std::to_string(num)); +} + +int ListDeviceGroupRequest::getSize() const { + return size_; +} + +void ListDeviceGroupRequest::setSize(int size) { + size_ = size; + setParameter(std::string("Size"), std::to_string(size)); +} + +std::string ListDeviceGroupRequest::getRegionId() const { + return regionId_; +} + +void ListDeviceGroupRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string ListDeviceGroupRequest::getName() const { + return name_; +} + +void ListDeviceGroupRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +std::string ListDeviceGroupRequest::getMemberName() const { + return memberName_; +} + +void ListDeviceGroupRequest::setMemberName(const std::string &memberName) { + memberName_ = memberName; + setParameter(std::string("MemberName"), memberName); +} + +std::string ListDeviceGroupRequest::getStatus() const { + return status_; +} + +void ListDeviceGroupRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); +} + diff --git a/lto/src/model/ListDeviceGroupResult.cc b/lto/src/model/ListDeviceGroupResult.cc new file mode 100644 index 000000000..357ba2b16 --- /dev/null +++ b/lto/src/model/ListDeviceGroupResult.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 +#include + +using namespace AlibabaCloud::Lto; +using namespace AlibabaCloud::Lto::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"]["MemberInfo"]; + for (auto dataNodePageDataMemberInfo : allPageDataNode) + { + Data::MemberInfo memberInfoObject; + if(!dataNodePageDataMemberInfo["Status"].isNull()) + memberInfoObject.status = dataNodePageDataMemberInfo["Status"].asString(); + if(!dataNodePageDataMemberInfo["CurrentUser"].isNull()) + memberInfoObject.currentUser = dataNodePageDataMemberInfo["CurrentUser"].asString() == "true"; + if(!dataNodePageDataMemberInfo["DeviceGroupId"].isNull()) + memberInfoObject.deviceGroupId = dataNodePageDataMemberInfo["DeviceGroupId"].asString(); + if(!dataNodePageDataMemberInfo["ProductKey"].isNull()) + memberInfoObject.productKey = dataNodePageDataMemberInfo["ProductKey"].asString(); + if(!dataNodePageDataMemberInfo["MemberName"].isNull()) + memberInfoObject.memberName = dataNodePageDataMemberInfo["MemberName"].asString(); + if(!dataNodePageDataMemberInfo["Remark"].isNull()) + memberInfoObject.remark = dataNodePageDataMemberInfo["Remark"].asString(); + if(!dataNodePageDataMemberInfo["Name"].isNull()) + memberInfoObject.name = dataNodePageDataMemberInfo["Name"].asString(); + if(!dataNodePageDataMemberInfo["DeviceCount"].isNull()) + memberInfoObject.deviceCount = std::stol(dataNodePageDataMemberInfo["DeviceCount"].asString()); + if(!dataNodePageDataMemberInfo["AuthorizedCount"].isNull()) + memberInfoObject.authorizedCount = std::stoi(dataNodePageDataMemberInfo["AuthorizedCount"].asString()); + data_.pageData.push_back(memberInfoObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].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_; +} + +int ListDeviceGroupResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +ListDeviceGroupResult::Data ListDeviceGroupResult::getData()const +{ + return data_; +} + +std::string ListDeviceGroupResult::getCode()const +{ + return code_; +} + +bool ListDeviceGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListDeviceRequest.cc b/lto/src/model/ListDeviceRequest.cc new file mode 100644 index 000000000..44e1d37b9 --- /dev/null +++ b/lto/src/model/ListDeviceRequest.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::Lto::Model::ListDeviceRequest; + +ListDeviceRequest::ListDeviceRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListDevice") { + setMethod(HttpRequest::Method::Post); +} + +ListDeviceRequest::~ListDeviceRequest() {} + +int ListDeviceRequest::getNum() const { + return num_; +} + +void ListDeviceRequest::setNum(int num) { + num_ = num; + setParameter(std::string("Num"), std::to_string(num)); +} + +int ListDeviceRequest::getSize() const { + return size_; +} + +void ListDeviceRequest::setSize(int size) { + size_ = size; + setParameter(std::string("Size"), std::to_string(size)); +} + +std::string ListDeviceRequest::getRegionId() const { + return regionId_; +} + +void ListDeviceRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string ListDeviceRequest::getName() const { + return name_; +} + +void ListDeviceRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +std::string ListDeviceRequest::getDeviceGroupId() const { + return deviceGroupId_; +} + +void ListDeviceRequest::setDeviceGroupId(const std::string &deviceGroupId) { + deviceGroupId_ = deviceGroupId; + setParameter(std::string("DeviceGroupId"), deviceGroupId); +} + diff --git a/lto/src/model/ListDeviceResult.cc b/lto/src/model/ListDeviceResult.cc new file mode 100644 index 000000000..477d01550 --- /dev/null +++ b/lto/src/model/ListDeviceResult.cc @@ -0,0 +1,100 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::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"]["MemberInfo"]; + for (auto dataNodePageDataMemberInfo : allPageDataNode) + { + Data::MemberInfo memberInfoObject; + if(!dataNodePageDataMemberInfo["Status"].isNull()) + memberInfoObject.status = dataNodePageDataMemberInfo["Status"].asString(); + if(!dataNodePageDataMemberInfo["LastOnchainTime"].isNull()) + memberInfoObject.lastOnchainTime = dataNodePageDataMemberInfo["LastOnchainTime"].asString(); + if(!dataNodePageDataMemberInfo["UsedOnchainCount"].isNull()) + memberInfoObject.usedOnchainCount = std::stol(dataNodePageDataMemberInfo["UsedOnchainCount"].asString()); + if(!dataNodePageDataMemberInfo["Name"].isNull()) + memberInfoObject.name = dataNodePageDataMemberInfo["Name"].asString(); + if(!dataNodePageDataMemberInfo["DeviceId"].isNull()) + memberInfoObject.deviceId = dataNodePageDataMemberInfo["DeviceId"].asString(); + data_.pageData.push_back(memberInfoObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].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_; +} + +int ListDeviceResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +ListDeviceResult::Data ListDeviceResult::getData()const +{ + return data_; +} + +std::string ListDeviceResult::getCode()const +{ + return code_; +} + +bool ListDeviceResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListEdgeDeviceGroupRequest.cc b/lto/src/model/ListEdgeDeviceGroupRequest.cc new file mode 100644 index 000000000..84da84e13 --- /dev/null +++ b/lto/src/model/ListEdgeDeviceGroupRequest.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::Lto::Model::ListEdgeDeviceGroupRequest; + +ListEdgeDeviceGroupRequest::ListEdgeDeviceGroupRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListEdgeDeviceGroup") { + setMethod(HttpRequest::Method::Post); +} + +ListEdgeDeviceGroupRequest::~ListEdgeDeviceGroupRequest() {} + +int ListEdgeDeviceGroupRequest::getNum() const { + return num_; +} + +void ListEdgeDeviceGroupRequest::setNum(int num) { + num_ = num; + setParameter(std::string("Num"), std::to_string(num)); +} + +int ListEdgeDeviceGroupRequest::getSize() const { + return size_; +} + +void ListEdgeDeviceGroupRequest::setSize(int size) { + size_ = size; + setParameter(std::string("Size"), std::to_string(size)); +} + +std::string ListEdgeDeviceGroupRequest::getRegionId() const { + return regionId_; +} + +void ListEdgeDeviceGroupRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string ListEdgeDeviceGroupRequest::getName() const { + return name_; +} + +void ListEdgeDeviceGroupRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +std::string ListEdgeDeviceGroupRequest::getStatus() const { + return status_; +} + +void ListEdgeDeviceGroupRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); +} + diff --git a/lto/src/model/ListEdgeDeviceGroupResult.cc b/lto/src/model/ListEdgeDeviceGroupResult.cc new file mode 100644 index 000000000..efe20e37f --- /dev/null +++ b/lto/src/model/ListEdgeDeviceGroupResult.cc @@ -0,0 +1,110 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +ListEdgeDeviceGroupResult::ListEdgeDeviceGroupResult() : + ServiceResult() +{} + +ListEdgeDeviceGroupResult::ListEdgeDeviceGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListEdgeDeviceGroupResult::~ListEdgeDeviceGroupResult() +{} + +void ListEdgeDeviceGroupResult::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["CurrentUser"].isNull()) + memberInfoObject.currentUser = dataNodePageDataMemberInfo["CurrentUser"].asString() == "true"; + if(!dataNodePageDataMemberInfo["DeviceGroupId"].isNull()) + memberInfoObject.deviceGroupId = dataNodePageDataMemberInfo["DeviceGroupId"].asString(); + if(!dataNodePageDataMemberInfo["ProductKey"].isNull()) + memberInfoObject.productKey = dataNodePageDataMemberInfo["ProductKey"].asString(); + if(!dataNodePageDataMemberInfo["MemberName"].isNull()) + memberInfoObject.memberName = dataNodePageDataMemberInfo["MemberName"].asString(); + if(!dataNodePageDataMemberInfo["Remark"].isNull()) + memberInfoObject.remark = dataNodePageDataMemberInfo["Remark"].asString(); + if(!dataNodePageDataMemberInfo["Name"].isNull()) + memberInfoObject.name = dataNodePageDataMemberInfo["Name"].asString(); + if(!dataNodePageDataMemberInfo["DeviceCount"].isNull()) + memberInfoObject.deviceCount = std::stol(dataNodePageDataMemberInfo["DeviceCount"].asString()); + if(!dataNodePageDataMemberInfo["AuthorizedCount"].isNull()) + memberInfoObject.authorizedCount = std::stoi(dataNodePageDataMemberInfo["AuthorizedCount"].asString()); + if(!dataNodePageDataMemberInfo["EdgeName"].isNull()) + memberInfoObject.edgeName = dataNodePageDataMemberInfo["EdgeName"].asString(); + data_.pageData.push_back(memberInfoObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListEdgeDeviceGroupResult::getMessage()const +{ + return message_; +} + +int ListEdgeDeviceGroupResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +ListEdgeDeviceGroupResult::Data ListEdgeDeviceGroupResult::getData()const +{ + return data_; +} + +std::string ListEdgeDeviceGroupResult::getCode()const +{ + return code_; +} + +bool ListEdgeDeviceGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListEdgeDeviceRequest.cc b/lto/src/model/ListEdgeDeviceRequest.cc new file mode 100644 index 000000000..ae0984b01 --- /dev/null +++ b/lto/src/model/ListEdgeDeviceRequest.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::Lto::Model::ListEdgeDeviceRequest; + +ListEdgeDeviceRequest::ListEdgeDeviceRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListEdgeDevice") { + setMethod(HttpRequest::Method::Post); +} + +ListEdgeDeviceRequest::~ListEdgeDeviceRequest() {} + +int ListEdgeDeviceRequest::getNum() const { + return num_; +} + +void ListEdgeDeviceRequest::setNum(int num) { + num_ = num; + setParameter(std::string("Num"), std::to_string(num)); +} + +std::string ListEdgeDeviceRequest::getProductKey() const { + return productKey_; +} + +void ListEdgeDeviceRequest::setProductKey(const std::string &productKey) { + productKey_ = productKey; + setParameter(std::string("ProductKey"), productKey); +} + +int ListEdgeDeviceRequest::getSize() const { + return size_; +} + +void ListEdgeDeviceRequest::setSize(int size) { + size_ = size; + setParameter(std::string("Size"), std::to_string(size)); +} + +std::string ListEdgeDeviceRequest::getRegionId() const { + return regionId_; +} + +void ListEdgeDeviceRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string ListEdgeDeviceRequest::getName() const { + return name_; +} + +void ListEdgeDeviceRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + diff --git a/lto/src/model/ListEdgeDeviceResult.cc b/lto/src/model/ListEdgeDeviceResult.cc new file mode 100644 index 000000000..3fe5d7fed --- /dev/null +++ b/lto/src/model/ListEdgeDeviceResult.cc @@ -0,0 +1,100 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +ListEdgeDeviceResult::ListEdgeDeviceResult() : + ServiceResult() +{} + +ListEdgeDeviceResult::ListEdgeDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListEdgeDeviceResult::~ListEdgeDeviceResult() +{} + +void ListEdgeDeviceResult::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["LastOnchainTime"].isNull()) + memberInfoObject.lastOnchainTime = dataNodePageDataMemberInfo["LastOnchainTime"].asString(); + if(!dataNodePageDataMemberInfo["UsedOnchainCount"].isNull()) + memberInfoObject.usedOnchainCount = std::stol(dataNodePageDataMemberInfo["UsedOnchainCount"].asString()); + if(!dataNodePageDataMemberInfo["Name"].isNull()) + memberInfoObject.name = dataNodePageDataMemberInfo["Name"].asString(); + if(!dataNodePageDataMemberInfo["DeviceId"].isNull()) + memberInfoObject.deviceId = dataNodePageDataMemberInfo["DeviceId"].asString(); + data_.pageData.push_back(memberInfoObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListEdgeDeviceResult::getMessage()const +{ + return message_; +} + +int ListEdgeDeviceResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +ListEdgeDeviceResult::Data ListEdgeDeviceResult::getData()const +{ + return data_; +} + +std::string ListEdgeDeviceResult::getCode()const +{ + return code_; +} + +bool ListEdgeDeviceResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListMemberAccessRecordRequest.cc b/lto/src/model/ListMemberAccessRecordRequest.cc new file mode 100644 index 000000000..1668dfb5f --- /dev/null +++ b/lto/src/model/ListMemberAccessRecordRequest.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::Lto::Model::ListMemberAccessRecordRequest; + +ListMemberAccessRecordRequest::ListMemberAccessRecordRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListMemberAccessRecord") { + setMethod(HttpRequest::Method::Post); +} + +ListMemberAccessRecordRequest::~ListMemberAccessRecordRequest() {} + +long ListMemberAccessRecordRequest::getNum() const { + return num_; +} + +void ListMemberAccessRecordRequest::setNum(long num) { + num_ = num; + setParameter(std::string("Num"), std::to_string(num)); +} + +std::string ListMemberAccessRecordRequest::getUid() const { + return uid_; +} + +void ListMemberAccessRecordRequest::setUid(const std::string &uid) { + uid_ = uid; + setParameter(std::string("Uid"), uid); +} + +long ListMemberAccessRecordRequest::getSize() const { + return size_; +} + +void ListMemberAccessRecordRequest::setSize(long size) { + size_ = size; + setParameter(std::string("Size"), std::to_string(size)); +} + +std::string ListMemberAccessRecordRequest::getRegionId() const { + return regionId_; +} + +void ListMemberAccessRecordRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string ListMemberAccessRecordRequest::getName() const { + return name_; +} + +void ListMemberAccessRecordRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +std::string ListMemberAccessRecordRequest::getContactor() const { + return contactor_; +} + +void ListMemberAccessRecordRequest::setContactor(const std::string &contactor) { + contactor_ = contactor; + setParameter(std::string("Contactor"), contactor); +} + +std::string ListMemberAccessRecordRequest::getAccessStatus() const { + return accessStatus_; +} + +void ListMemberAccessRecordRequest::setAccessStatus(const std::string &accessStatus) { + accessStatus_ = accessStatus; + setParameter(std::string("AccessStatus"), accessStatus); +} + diff --git a/lto/src/model/ListMemberAccessRecordResult.cc b/lto/src/model/ListMemberAccessRecordResult.cc new file mode 100644 index 000000000..102171d02 --- /dev/null +++ b/lto/src/model/ListMemberAccessRecordResult.cc @@ -0,0 +1,116 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +ListMemberAccessRecordResult::ListMemberAccessRecordResult() : + ServiceResult() +{} + +ListMemberAccessRecordResult::ListMemberAccessRecordResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListMemberAccessRecordResult::~ListMemberAccessRecordResult() +{} + +void ListMemberAccessRecordResult::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["AuthorizedCount"].isNull()) + memberInfoObject.authorizedCount = std::stol(dataNodePageDataMemberInfo["AuthorizedCount"].asString()); + if(!dataNodePageDataMemberInfo["Remark"].isNull()) + memberInfoObject.remark = dataNodePageDataMemberInfo["Remark"].asString(); + if(!dataNodePageDataMemberInfo["AdminName"].isNull()) + memberInfoObject.adminName = dataNodePageDataMemberInfo["AdminName"].asString(); + if(!dataNodePageDataMemberInfo["MemberId"].isNull()) + memberInfoObject.memberId = dataNodePageDataMemberInfo["MemberId"].asString(); + if(!dataNodePageDataMemberInfo["Name"].isNull()) + memberInfoObject.name = dataNodePageDataMemberInfo["Name"].asString(); + if(!dataNodePageDataMemberInfo["Contactor"].isNull()) + memberInfoObject.contactor = dataNodePageDataMemberInfo["Contactor"].asString(); + if(!dataNodePageDataMemberInfo["Telephony"].isNull()) + memberInfoObject.telephony = dataNodePageDataMemberInfo["Telephony"].asString(); + if(!dataNodePageDataMemberInfo["Uid"].isNull()) + memberInfoObject.uid = dataNodePageDataMemberInfo["Uid"].asString(); + if(!dataNodePageDataMemberInfo["AccessStatus"].isNull()) + memberInfoObject.accessStatus = dataNodePageDataMemberInfo["AccessStatus"].asString(); + if(!dataNodePageDataMemberInfo["AccessDate"].isNull()) + memberInfoObject.accessDate = std::stol(dataNodePageDataMemberInfo["AccessDate"].asString()); + if(!dataNodePageDataMemberInfo["MemberResponseDate"].isNull()) + memberInfoObject.memberResponseDate = std::stol(dataNodePageDataMemberInfo["MemberResponseDate"].asString()); + if(!dataNodePageDataMemberInfo["AuthorizedDeviceCount"].isNull()) + memberInfoObject.authorizedDeviceCount = std::stoi(dataNodePageDataMemberInfo["AuthorizedDeviceCount"].asString()); + data_.pageData.push_back(memberInfoObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListMemberAccessRecordResult::getMessage()const +{ + return message_; +} + +int ListMemberAccessRecordResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +ListMemberAccessRecordResult::Data ListMemberAccessRecordResult::getData()const +{ + return data_; +} + +std::string ListMemberAccessRecordResult::getCode()const +{ + return code_; +} + +bool ListMemberAccessRecordResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListMemberAuthorizedBizChainRequest.cc b/lto/src/model/ListMemberAuthorizedBizChainRequest.cc new file mode 100644 index 000000000..29c46d9d2 --- /dev/null +++ b/lto/src/model/ListMemberAuthorizedBizChainRequest.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::Lto::Model::ListMemberAuthorizedBizChainRequest; + +ListMemberAuthorizedBizChainRequest::ListMemberAuthorizedBizChainRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListMemberAuthorizedBizChain") { + setMethod(HttpRequest::Method::Post); +} + +ListMemberAuthorizedBizChainRequest::~ListMemberAuthorizedBizChainRequest() {} + +std::string ListMemberAuthorizedBizChainRequest::getRegionId() const { + return regionId_; +} + +void ListMemberAuthorizedBizChainRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string ListMemberAuthorizedBizChainRequest::getMemberId() const { + return memberId_; +} + +void ListMemberAuthorizedBizChainRequest::setMemberId(const std::string &memberId) { + memberId_ = memberId; + setParameter(std::string("MemberId"), memberId); +} + diff --git a/lto/src/model/ListMemberAuthorizedBizChainResult.cc b/lto/src/model/ListMemberAuthorizedBizChainResult.cc new file mode 100644 index 000000000..9db088a74 --- /dev/null +++ b/lto/src/model/ListMemberAuthorizedBizChainResult.cc @@ -0,0 +1,101 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +ListMemberAuthorizedBizChainResult::ListMemberAuthorizedBizChainResult() : + ServiceResult() +{} + +ListMemberAuthorizedBizChainResult::ListMemberAuthorizedBizChainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListMemberAuthorizedBizChainResult::~ListMemberAuthorizedBizChainResult() +{} + +void ListMemberAuthorizedBizChainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["MemberAuthorizedBizChainInfo"]; + for (auto valueDataMemberAuthorizedBizChainInfo : allDataNode) + { + MemberAuthorizedBizChainInfo dataObject; + if(!valueDataMemberAuthorizedBizChainInfo["BizChainType"].isNull()) + dataObject.bizChainType = valueDataMemberAuthorizedBizChainInfo["BizChainType"].asString(); + if(!valueDataMemberAuthorizedBizChainInfo["BizChainName"].isNull()) + dataObject.bizChainName = valueDataMemberAuthorizedBizChainInfo["BizChainName"].asString(); + if(!valueDataMemberAuthorizedBizChainInfo["BizChainId"].isNull()) + dataObject.bizChainId = valueDataMemberAuthorizedBizChainInfo["BizChainId"].asString(); + if(!valueDataMemberAuthorizedBizChainInfo["Authorized"].isNull()) + dataObject.authorized = valueDataMemberAuthorizedBizChainInfo["Authorized"].asString() == "true"; + auto allPeerListNode = valueDataMemberAuthorizedBizChainInfo["PeerList"]["PeerInfo"]; + for (auto valueDataMemberAuthorizedBizChainInfoPeerListPeerInfo : allPeerListNode) + { + MemberAuthorizedBizChainInfo::PeerInfo peerListObject; + if(!valueDataMemberAuthorizedBizChainInfoPeerListPeerInfo["PeerName"].isNull()) + peerListObject.peerName = valueDataMemberAuthorizedBizChainInfoPeerListPeerInfo["PeerName"].asString(); + if(!valueDataMemberAuthorizedBizChainInfoPeerListPeerInfo["Authorized"].isNull()) + peerListObject.authorized = valueDataMemberAuthorizedBizChainInfoPeerListPeerInfo["Authorized"].asString() == "true"; + dataObject.peerList.push_back(peerListObject); + } + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListMemberAuthorizedBizChainResult::getMessage()const +{ + return message_; +} + +int ListMemberAuthorizedBizChainResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ListMemberAuthorizedBizChainResult::getData()const +{ + return data_; +} + +std::string ListMemberAuthorizedBizChainResult::getCode()const +{ + return code_; +} + +bool ListMemberAuthorizedBizChainResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListMemberRequest.cc b/lto/src/model/ListMemberRequest.cc new file mode 100644 index 000000000..9441b62f4 --- /dev/null +++ b/lto/src/model/ListMemberRequest.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::Lto::Model::ListMemberRequest; + +ListMemberRequest::ListMemberRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListMember") { + setMethod(HttpRequest::Method::Post); +} + +ListMemberRequest::~ListMemberRequest() {} + +int ListMemberRequest::getNum() const { + return num_; +} + +void ListMemberRequest::setNum(int num) { + num_ = num; + setParameter(std::string("Num"), std::to_string(num)); +} + +std::string ListMemberRequest::getUid() const { + return uid_; +} + +void ListMemberRequest::setUid(const std::string &uid) { + uid_ = uid; + setParameter(std::string("Uid"), uid); +} + +int ListMemberRequest::getSize() const { + return size_; +} + +void ListMemberRequest::setSize(int size) { + size_ = size; + setParameter(std::string("Size"), std::to_string(size)); +} + +std::string ListMemberRequest::getRegionId() const { + return regionId_; +} + +void ListMemberRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string ListMemberRequest::getName() const { + return name_; +} + +void ListMemberRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +std::string ListMemberRequest::getContactor() const { + return contactor_; +} + +void ListMemberRequest::setContactor(const std::string &contactor) { + contactor_ = contactor; + setParameter(std::string("Contactor"), contactor); +} + diff --git a/lto/src/model/ListMemberResult.cc b/lto/src/model/ListMemberResult.cc new file mode 100644 index 000000000..77a96a21f --- /dev/null +++ b/lto/src/model/ListMemberResult.cc @@ -0,0 +1,110 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::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["AuthorizedCount"].isNull()) + memberInfoObject.authorizedCount = std::stol(dataNodePageDataMemberInfo["AuthorizedCount"].asString()); + if(!dataNodePageDataMemberInfo["Remark"].isNull()) + memberInfoObject.remark = dataNodePageDataMemberInfo["Remark"].asString(); + if(!dataNodePageDataMemberInfo["AdminName"].isNull()) + memberInfoObject.adminName = dataNodePageDataMemberInfo["AdminName"].asString(); + if(!dataNodePageDataMemberInfo["MemberId"].isNull()) + memberInfoObject.memberId = dataNodePageDataMemberInfo["MemberId"].asString(); + if(!dataNodePageDataMemberInfo["Name"].isNull()) + memberInfoObject.name = dataNodePageDataMemberInfo["Name"].asString(); + if(!dataNodePageDataMemberInfo["Contactor"].isNull()) + memberInfoObject.contactor = dataNodePageDataMemberInfo["Contactor"].asString(); + if(!dataNodePageDataMemberInfo["Telephony"].isNull()) + memberInfoObject.telephony = dataNodePageDataMemberInfo["Telephony"].asString(); + if(!dataNodePageDataMemberInfo["Uid"].isNull()) + memberInfoObject.uid = dataNodePageDataMemberInfo["Uid"].asString(); + if(!dataNodePageDataMemberInfo["AuthorizedDeviceCount"].isNull()) + memberInfoObject.authorizedDeviceCount = std::stoi(dataNodePageDataMemberInfo["AuthorizedDeviceCount"].asString()); + data_.pageData.push_back(memberInfoObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].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_; +} + +int ListMemberResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +ListMemberResult::Data ListMemberResult::getData()const +{ + return data_; +} + +std::string ListMemberResult::getCode()const +{ + return code_; +} + +bool ListMemberResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListPrivacyRuleRequest.cc b/lto/src/model/ListPrivacyRuleRequest.cc new file mode 100644 index 000000000..08f604e45 --- /dev/null +++ b/lto/src/model/ListPrivacyRuleRequest.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::Lto::Model::ListPrivacyRuleRequest; + +ListPrivacyRuleRequest::ListPrivacyRuleRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListPrivacyRule") { + setMethod(HttpRequest::Method::Post); +} + +ListPrivacyRuleRequest::~ListPrivacyRuleRequest() {} + +int ListPrivacyRuleRequest::getNum() const { + return num_; +} + +void ListPrivacyRuleRequest::setNum(int num) { + num_ = num; + setParameter(std::string("Num"), std::to_string(num)); +} + +int ListPrivacyRuleRequest::getSize() const { + return size_; +} + +void ListPrivacyRuleRequest::setSize(int size) { + size_ = size; + setParameter(std::string("Size"), std::to_string(size)); +} + +std::string ListPrivacyRuleRequest::getRegionId() const { + return regionId_; +} + +void ListPrivacyRuleRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/ListPrivacyRuleResult.cc b/lto/src/model/ListPrivacyRuleResult.cc new file mode 100644 index 000000000..ece847f55 --- /dev/null +++ b/lto/src/model/ListPrivacyRuleResult.cc @@ -0,0 +1,106 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +ListPrivacyRuleResult::ListPrivacyRuleResult() : + ServiceResult() +{} + +ListPrivacyRuleResult::ListPrivacyRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListPrivacyRuleResult::~ListPrivacyRuleResult() +{} + +void ListPrivacyRuleResult::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"]["PrivacyRuleInfo"]; + for (auto dataNodePageDataPrivacyRuleInfo : allPageDataNode) + { + Data::PrivacyRuleInfo privacyRuleInfoObject; + if(!dataNodePageDataPrivacyRuleInfo["Status"].isNull()) + privacyRuleInfoObject.status = dataNodePageDataPrivacyRuleInfo["Status"].asString(); + if(!dataNodePageDataPrivacyRuleInfo["CurrentUser"].isNull()) + privacyRuleInfoObject.currentUser = dataNodePageDataPrivacyRuleInfo["CurrentUser"].asString() == "true"; + if(!dataNodePageDataPrivacyRuleInfo["AlgType"].isNull()) + privacyRuleInfoObject.algType = dataNodePageDataPrivacyRuleInfo["AlgType"].asString(); + if(!dataNodePageDataPrivacyRuleInfo["Remark"].isNull()) + privacyRuleInfoObject.remark = dataNodePageDataPrivacyRuleInfo["Remark"].asString(); + if(!dataNodePageDataPrivacyRuleInfo["MemberName"].isNull()) + privacyRuleInfoObject.memberName = dataNodePageDataPrivacyRuleInfo["MemberName"].asString(); + if(!dataNodePageDataPrivacyRuleInfo["PrivacyRuleId"].isNull()) + privacyRuleInfoObject.privacyRuleId = dataNodePageDataPrivacyRuleInfo["PrivacyRuleId"].asString(); + if(!dataNodePageDataPrivacyRuleInfo["Name"].isNull()) + privacyRuleInfoObject.name = dataNodePageDataPrivacyRuleInfo["Name"].asString(); + if(!dataNodePageDataPrivacyRuleInfo["AlgImpl"].isNull()) + privacyRuleInfoObject.algImpl = dataNodePageDataPrivacyRuleInfo["AlgImpl"].asString(); + data_.pageData.push_back(privacyRuleInfoObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListPrivacyRuleResult::getMessage()const +{ + return message_; +} + +int ListPrivacyRuleResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +ListPrivacyRuleResult::Data ListPrivacyRuleResult::getData()const +{ + return data_; +} + +std::string ListPrivacyRuleResult::getCode()const +{ + return code_; +} + +bool ListPrivacyRuleResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListPrivacyRuleSharedMemberRequest.cc b/lto/src/model/ListPrivacyRuleSharedMemberRequest.cc new file mode 100644 index 000000000..ec0d08bcf --- /dev/null +++ b/lto/src/model/ListPrivacyRuleSharedMemberRequest.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::Lto::Model::ListPrivacyRuleSharedMemberRequest; + +ListPrivacyRuleSharedMemberRequest::ListPrivacyRuleSharedMemberRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListPrivacyRuleSharedMember") { + setMethod(HttpRequest::Method::Post); +} + +ListPrivacyRuleSharedMemberRequest::~ListPrivacyRuleSharedMemberRequest() {} + +std::string ListPrivacyRuleSharedMemberRequest::getPrivacyRuleId() const { + return privacyRuleId_; +} + +void ListPrivacyRuleSharedMemberRequest::setPrivacyRuleId(const std::string &privacyRuleId) { + privacyRuleId_ = privacyRuleId; + setParameter(std::string("PrivacyRuleId"), privacyRuleId); +} + +std::string ListPrivacyRuleSharedMemberRequest::getRegionId() const { + return regionId_; +} + +void ListPrivacyRuleSharedMemberRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/ListPrivacyRuleSharedMemberResult.cc b/lto/src/model/ListPrivacyRuleSharedMemberResult.cc new file mode 100644 index 000000000..606f68e0b --- /dev/null +++ b/lto/src/model/ListPrivacyRuleSharedMemberResult.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 +#include + +using namespace AlibabaCloud::Lto; +using namespace AlibabaCloud::Lto::Model; + +ListPrivacyRuleSharedMemberResult::ListPrivacyRuleSharedMemberResult() : + ServiceResult() +{} + +ListPrivacyRuleSharedMemberResult::ListPrivacyRuleSharedMemberResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListPrivacyRuleSharedMemberResult::~ListPrivacyRuleSharedMemberResult() +{} + +void ListPrivacyRuleSharedMemberResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["BizChainInfo"]; + for (auto valueDataBizChainInfo : allDataNode) + { + BizChainInfo dataObject; + if(!valueDataBizChainInfo["BizChainId"].isNull()) + dataObject.bizChainId = valueDataBizChainInfo["BizChainId"].asString(); + if(!valueDataBizChainInfo["BizChainName"].isNull()) + dataObject.bizChainName = valueDataBizChainInfo["BizChainName"].asString(); + auto allMemberListNode = valueDataBizChainInfo["MemberList"]["MemberInfo"]; + for (auto valueDataBizChainInfoMemberListMemberInfo : allMemberListNode) + { + BizChainInfo::MemberInfo memberListObject; + if(!valueDataBizChainInfoMemberListMemberInfo["Shared"].isNull()) + memberListObject.shared = valueDataBizChainInfoMemberListMemberInfo["Shared"].asString(); + if(!valueDataBizChainInfoMemberListMemberInfo["MemberId"].isNull()) + memberListObject.memberId = valueDataBizChainInfoMemberListMemberInfo["MemberId"].asString(); + if(!valueDataBizChainInfoMemberListMemberInfo["MemberName"].isNull()) + memberListObject.memberName = valueDataBizChainInfoMemberListMemberInfo["MemberName"].asString(); + dataObject.memberList.push_back(memberListObject); + } + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListPrivacyRuleSharedMemberResult::getMessage()const +{ + return message_; +} + +int ListPrivacyRuleSharedMemberResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ListPrivacyRuleSharedMemberResult::getData()const +{ + return data_; +} + +std::string ListPrivacyRuleSharedMemberResult::getCode()const +{ + return code_; +} + +bool ListPrivacyRuleSharedMemberResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/ListRouteRuleRequest.cc b/lto/src/model/ListRouteRuleRequest.cc new file mode 100644 index 000000000..3882f9f97 --- /dev/null +++ b/lto/src/model/ListRouteRuleRequest.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::Lto::Model::ListRouteRuleRequest; + +ListRouteRuleRequest::ListRouteRuleRequest() + : RpcServiceRequest("lto", "2021-07-07", "ListRouteRule") { + setMethod(HttpRequest::Method::Post); +} + +ListRouteRuleRequest::~ListRouteRuleRequest() {} + +int ListRouteRuleRequest::getNum() const { + return num_; +} + +void ListRouteRuleRequest::setNum(int num) { + num_ = num; + setParameter(std::string("Num"), std::to_string(num)); +} + +std::string ListRouteRuleRequest::getBizChainName() const { + return bizChainName_; +} + +void ListRouteRuleRequest::setBizChainName(const std::string &bizChainName) { + bizChainName_ = bizChainName; + setParameter(std::string("BizChainName"), bizChainName); +} + +int ListRouteRuleRequest::getSize() const { + return size_; +} + +void ListRouteRuleRequest::setSize(int size) { + size_ = size; + setParameter(std::string("Size"), std::to_string(size)); +} + +std::string ListRouteRuleRequest::getRegionId() const { + return regionId_; +} + +void ListRouteRuleRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string ListRouteRuleRequest::getDeviceGroupName() const { + return deviceGroupName_; +} + +void ListRouteRuleRequest::setDeviceGroupName(const std::string &deviceGroupName) { + deviceGroupName_ = deviceGroupName; + setParameter(std::string("DeviceGroupName"), deviceGroupName); +} + +std::string ListRouteRuleRequest::getChainUpMode() const { + return chainUpMode_; +} + +void ListRouteRuleRequest::setChainUpMode(const std::string &chainUpMode) { + chainUpMode_ = chainUpMode; + setParameter(std::string("ChainUpMode"), chainUpMode); +} + diff --git a/lto/src/model/ListRouteRuleResult.cc b/lto/src/model/ListRouteRuleResult.cc new file mode 100644 index 000000000..f26eafdeb --- /dev/null +++ b/lto/src/model/ListRouteRuleResult.cc @@ -0,0 +1,116 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +ListRouteRuleResult::ListRouteRuleResult() : + ServiceResult() +{} + +ListRouteRuleResult::ListRouteRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListRouteRuleResult::~ListRouteRuleResult() +{} + +void ListRouteRuleResult::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"]["RouteRuleInfo"]; + for (auto dataNodePageDataRouteRuleInfo : allPageDataNode) + { + Data::RouteRuleInfo routeRuleInfoObject; + if(!dataNodePageDataRouteRuleInfo["ContractName"].isNull()) + routeRuleInfoObject.contractName = dataNodePageDataRouteRuleInfo["ContractName"].asString(); + if(!dataNodePageDataRouteRuleInfo["DeviceGroupId"].isNull()) + routeRuleInfoObject.deviceGroupId = dataNodePageDataRouteRuleInfo["DeviceGroupId"].asString(); + if(!dataNodePageDataRouteRuleInfo["Remark"].isNull()) + routeRuleInfoObject.remark = dataNodePageDataRouteRuleInfo["Remark"].asString(); + if(!dataNodePageDataRouteRuleInfo["DeviceGroupName"].isNull()) + routeRuleInfoObject.deviceGroupName = dataNodePageDataRouteRuleInfo["DeviceGroupName"].asString(); + if(!dataNodePageDataRouteRuleInfo["PrivacyRuleId"].isNull()) + routeRuleInfoObject.privacyRuleId = dataNodePageDataRouteRuleInfo["PrivacyRuleId"].asString(); + if(!dataNodePageDataRouteRuleInfo["BizChainId"].isNull()) + routeRuleInfoObject.bizChainId = std::stol(dataNodePageDataRouteRuleInfo["BizChainId"].asString()); + if(!dataNodePageDataRouteRuleInfo["PrivacyRuleName"].isNull()) + routeRuleInfoObject.privacyRuleName = dataNodePageDataRouteRuleInfo["PrivacyRuleName"].asString(); + if(!dataNodePageDataRouteRuleInfo["InvokeType"].isNull()) + routeRuleInfoObject.invokeType = dataNodePageDataRouteRuleInfo["InvokeType"].asString(); + if(!dataNodePageDataRouteRuleInfo["RouteRuleId"].isNull()) + routeRuleInfoObject.routeRuleId = dataNodePageDataRouteRuleInfo["RouteRuleId"].asString(); + if(!dataNodePageDataRouteRuleInfo["BizChainName"].isNull()) + routeRuleInfoObject.bizChainName = dataNodePageDataRouteRuleInfo["BizChainName"].asString(); + if(!dataNodePageDataRouteRuleInfo["ContractTemplateId"].isNull()) + routeRuleInfoObject.contractTemplateId = dataNodePageDataRouteRuleInfo["ContractTemplateId"].asString(); + if(!dataNodePageDataRouteRuleInfo["BlockChainType"].isNull()) + routeRuleInfoObject.blockChainType = dataNodePageDataRouteRuleInfo["BlockChainType"].asString(); + if(!dataNodePageDataRouteRuleInfo["ChainUpMode"].isNull()) + routeRuleInfoObject.chainUpMode = dataNodePageDataRouteRuleInfo["ChainUpMode"].asString(); + data_.pageData.push_back(routeRuleInfoObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListRouteRuleResult::getMessage()const +{ + return message_; +} + +int ListRouteRuleResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +ListRouteRuleResult::Data ListRouteRuleResult::getData()const +{ + return data_; +} + +std::string ListRouteRuleResult::getCode()const +{ + return code_; +} + +bool ListRouteRuleResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/QueryBlockchainDataRequest.cc b/lto/src/model/QueryBlockchainDataRequest.cc new file mode 100644 index 000000000..fc4048e27 --- /dev/null +++ b/lto/src/model/QueryBlockchainDataRequest.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::Lto::Model::QueryBlockchainDataRequest; + +QueryBlockchainDataRequest::QueryBlockchainDataRequest() + : RpcServiceRequest("lto", "2021-07-07", "QueryBlockchainData") { + setMethod(HttpRequest::Method::Post); +} + +QueryBlockchainDataRequest::~QueryBlockchainDataRequest() {} + +std::string QueryBlockchainDataRequest::getContractName() const { + return contractName_; +} + +void QueryBlockchainDataRequest::setContractName(const std::string &contractName) { + contractName_ = contractName; + setParameter(std::string("ContractName"), contractName); +} + +std::string QueryBlockchainDataRequest::getBizChainId() const { + return bizChainId_; +} + +void QueryBlockchainDataRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + +std::string QueryBlockchainDataRequest::getTransactionId() const { + return transactionId_; +} + +void QueryBlockchainDataRequest::setTransactionId(const std::string &transactionId) { + transactionId_ = transactionId; + setParameter(std::string("TransactionId"), transactionId); +} + +std::string QueryBlockchainDataRequest::getInvokeType() const { + return invokeType_; +} + +void QueryBlockchainDataRequest::setInvokeType(const std::string &invokeType) { + invokeType_ = invokeType; + setParameter(std::string("InvokeType"), invokeType); +} + +std::string QueryBlockchainDataRequest::getRegionId() const { + return regionId_; +} + +void QueryBlockchainDataRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string QueryBlockchainDataRequest::getIotDataDID() const { + return iotDataDID_; +} + +void QueryBlockchainDataRequest::setIotDataDID(const std::string &iotDataDID) { + iotDataDID_ = iotDataDID; + setParameter(std::string("IotDataDID"), iotDataDID); +} + diff --git a/lto/src/model/QueryBlockchainDataResult.cc b/lto/src/model/QueryBlockchainDataResult.cc new file mode 100644 index 000000000..ae6c5e105 --- /dev/null +++ b/lto/src/model/QueryBlockchainDataResult.cc @@ -0,0 +1,79 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +QueryBlockchainDataResult::QueryBlockchainDataResult() : + ServiceResult() +{} + +QueryBlockchainDataResult::QueryBlockchainDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryBlockchainDataResult::~QueryBlockchainDataResult() +{} + +void QueryBlockchainDataResult::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["PrivacyData"].isNull()) + data_.privacyData = dataNode["PrivacyData"].asString(); + if(!dataNode["PlainData"].isNull()) + data_.plainData = dataNode["PlainData"].asString(); + if(!dataNode["PrivacyRuleId"].isNull()) + data_.privacyRuleId = dataNode["PrivacyRuleId"].asString(); + if(!dataNode["AlgType"].isNull()) + data_.algType = dataNode["AlgType"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string QueryBlockchainDataResult::getMessage()const +{ + return message_; +} + +QueryBlockchainDataResult::Data QueryBlockchainDataResult::getData()const +{ + return data_; +} + +std::string QueryBlockchainDataResult::getCode()const +{ + return code_; +} + +bool QueryBlockchainDataResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/QueryBlockchainMetadataRequest.cc b/lto/src/model/QueryBlockchainMetadataRequest.cc new file mode 100644 index 000000000..acd1d52ed --- /dev/null +++ b/lto/src/model/QueryBlockchainMetadataRequest.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::Lto::Model::QueryBlockchainMetadataRequest; + +QueryBlockchainMetadataRequest::QueryBlockchainMetadataRequest() + : RpcServiceRequest("lto", "2021-07-07", "QueryBlockchainMetadata") { + setMethod(HttpRequest::Method::Post); +} + +QueryBlockchainMetadataRequest::~QueryBlockchainMetadataRequest() {} + +std::string QueryBlockchainMetadataRequest::getContractName() const { + return contractName_; +} + +void QueryBlockchainMetadataRequest::setContractName(const std::string &contractName) { + contractName_ = contractName; + setParameter(std::string("ContractName"), contractName); +} + +std::string QueryBlockchainMetadataRequest::getBizChainId() const { + return bizChainId_; +} + +void QueryBlockchainMetadataRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + +std::string QueryBlockchainMetadataRequest::getTransactionId() const { + return transactionId_; +} + +void QueryBlockchainMetadataRequest::setTransactionId(const std::string &transactionId) { + transactionId_ = transactionId; + setParameter(std::string("TransactionId"), transactionId); +} + +std::string QueryBlockchainMetadataRequest::getInvokeType() const { + return invokeType_; +} + +void QueryBlockchainMetadataRequest::setInvokeType(const std::string &invokeType) { + invokeType_ = invokeType; + setParameter(std::string("InvokeType"), invokeType); +} + +std::string QueryBlockchainMetadataRequest::getRegionId() const { + return regionId_; +} + +void QueryBlockchainMetadataRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string QueryBlockchainMetadataRequest::getIotDataDID() const { + return iotDataDID_; +} + +void QueryBlockchainMetadataRequest::setIotDataDID(const std::string &iotDataDID) { + iotDataDID_ = iotDataDID; + setParameter(std::string("IotDataDID"), iotDataDID); +} + diff --git a/lto/src/model/QueryBlockchainMetadataResult.cc b/lto/src/model/QueryBlockchainMetadataResult.cc new file mode 100644 index 000000000..3f31159ef --- /dev/null +++ b/lto/src/model/QueryBlockchainMetadataResult.cc @@ -0,0 +1,85 @@ +/* + * 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::Lto; +using namespace AlibabaCloud::Lto::Model; + +QueryBlockchainMetadataResult::QueryBlockchainMetadataResult() : + ServiceResult() +{} + +QueryBlockchainMetadataResult::QueryBlockchainMetadataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryBlockchainMetadataResult::~QueryBlockchainMetadataResult() +{} + +void QueryBlockchainMetadataResult::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["ProductKey"].isNull()) + data_.productKey = dataNode["ProductKey"].asString(); + if(!dataNode["MemberName"].isNull()) + data_.memberName = dataNode["MemberName"].asString(); + if(!dataNode["Timestamp"].isNull()) + data_.timestamp = std::stol(dataNode["Timestamp"].asString()); + if(!dataNode["TxHash"].isNull()) + data_.txHash = dataNode["TxHash"].asString(); + if(!dataNode["BlockHash"].isNull()) + data_.blockHash = dataNode["BlockHash"].asString(); + if(!dataNode["BlockNumber"].isNull()) + data_.blockNumber = dataNode["BlockNumber"].asString(); + if(!dataNode["IotId"].isNull()) + data_.iotId = dataNode["IotId"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string QueryBlockchainMetadataResult::getMessage()const +{ + return message_; +} + +QueryBlockchainMetadataResult::Data QueryBlockchainMetadataResult::getData()const +{ + return data_; +} + +std::string QueryBlockchainMetadataResult::getCode()const +{ + return code_; +} + +bool QueryBlockchainMetadataResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/SharePrivacyRuleRequest.cc b/lto/src/model/SharePrivacyRuleRequest.cc new file mode 100644 index 000000000..f81dcd826 --- /dev/null +++ b/lto/src/model/SharePrivacyRuleRequest.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::Lto::Model::SharePrivacyRuleRequest; + +SharePrivacyRuleRequest::SharePrivacyRuleRequest() + : RpcServiceRequest("lto", "2021-07-07", "SharePrivacyRule") { + setMethod(HttpRequest::Method::Post); +} + +SharePrivacyRuleRequest::~SharePrivacyRuleRequest() {} + +std::string SharePrivacyRuleRequest::getMemberIdList() const { + return memberIdList_; +} + +void SharePrivacyRuleRequest::setMemberIdList(const std::string &memberIdList) { + memberIdList_ = memberIdList; + setParameter(std::string("MemberIdList"), memberIdList); +} + +std::string SharePrivacyRuleRequest::getPrivacyRuleId() const { + return privacyRuleId_; +} + +void SharePrivacyRuleRequest::setPrivacyRuleId(const std::string &privacyRuleId) { + privacyRuleId_ = privacyRuleId; + setParameter(std::string("PrivacyRuleId"), privacyRuleId); +} + +std::string SharePrivacyRuleRequest::getRegionId() const { + return regionId_; +} + +void SharePrivacyRuleRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/lto/src/model/SharePrivacyRuleResult.cc b/lto/src/model/SharePrivacyRuleResult.cc new file mode 100644 index 000000000..a1229588d --- /dev/null +++ b/lto/src/model/SharePrivacyRuleResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +SharePrivacyRuleResult::SharePrivacyRuleResult() : + ServiceResult() +{} + +SharePrivacyRuleResult::SharePrivacyRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SharePrivacyRuleResult::~SharePrivacyRuleResult() +{} + +void SharePrivacyRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string SharePrivacyRuleResult::getMessage()const +{ + return message_; +} + +int SharePrivacyRuleResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string SharePrivacyRuleResult::getCode()const +{ + return code_; +} + +bool SharePrivacyRuleResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/UnFreezeMemberRequest.cc b/lto/src/model/UnFreezeMemberRequest.cc new file mode 100644 index 000000000..6789f5a31 --- /dev/null +++ b/lto/src/model/UnFreezeMemberRequest.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::Lto::Model::UnFreezeMemberRequest; + +UnFreezeMemberRequest::UnFreezeMemberRequest() + : RpcServiceRequest("lto", "2021-07-07", "UnFreezeMember") { + setMethod(HttpRequest::Method::Post); +} + +UnFreezeMemberRequest::~UnFreezeMemberRequest() {} + +std::string UnFreezeMemberRequest::getRegionId() const { + return regionId_; +} + +void UnFreezeMemberRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string UnFreezeMemberRequest::getMemberId() const { + return memberId_; +} + +void UnFreezeMemberRequest::setMemberId(const std::string &memberId) { + memberId_ = memberId; + setParameter(std::string("MemberId"), memberId); +} + diff --git a/lto/src/model/UnFreezeMemberResult.cc b/lto/src/model/UnFreezeMemberResult.cc new file mode 100644 index 000000000..25972b6ec --- /dev/null +++ b/lto/src/model/UnFreezeMemberResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +UnFreezeMemberResult::UnFreezeMemberResult() : + ServiceResult() +{} + +UnFreezeMemberResult::UnFreezeMemberResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UnFreezeMemberResult::~UnFreezeMemberResult() +{} + +void UnFreezeMemberResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string UnFreezeMemberResult::getMessage()const +{ + return message_; +} + +int UnFreezeMemberResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string UnFreezeMemberResult::getCode()const +{ + return code_; +} + +bool UnFreezeMemberResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/UpdateBizChainRequest.cc b/lto/src/model/UpdateBizChainRequest.cc new file mode 100644 index 000000000..7d67008f9 --- /dev/null +++ b/lto/src/model/UpdateBizChainRequest.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::Lto::Model::UpdateBizChainRequest; + +UpdateBizChainRequest::UpdateBizChainRequest() + : RpcServiceRequest("lto", "2021-07-07", "UpdateBizChain") { + setMethod(HttpRequest::Method::Post); +} + +UpdateBizChainRequest::~UpdateBizChainRequest() {} + +std::string UpdateBizChainRequest::getRemark() const { + return remark_; +} + +void UpdateBizChainRequest::setRemark(const std::string &remark) { + remark_ = remark; + setParameter(std::string("Remark"), remark); +} + +std::string UpdateBizChainRequest::getBizChainId() const { + return bizChainId_; +} + +void UpdateBizChainRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + +std::string UpdateBizChainRequest::getRegionId() const { + return regionId_; +} + +void UpdateBizChainRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string UpdateBizChainRequest::getName() const { + return name_; +} + +void UpdateBizChainRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + diff --git a/lto/src/model/UpdateBizChainResult.cc b/lto/src/model/UpdateBizChainResult.cc new file mode 100644 index 000000000..3dfe4092f --- /dev/null +++ b/lto/src/model/UpdateBizChainResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +UpdateBizChainResult::UpdateBizChainResult() : + ServiceResult() +{} + +UpdateBizChainResult::UpdateBizChainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateBizChainResult::~UpdateBizChainResult() +{} + +void UpdateBizChainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string UpdateBizChainResult::getMessage()const +{ + return message_; +} + +int UpdateBizChainResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string UpdateBizChainResult::getCode()const +{ + return code_; +} + +bool UpdateBizChainResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/UpdateMemberRequest.cc b/lto/src/model/UpdateMemberRequest.cc new file mode 100644 index 000000000..3a6b3e779 --- /dev/null +++ b/lto/src/model/UpdateMemberRequest.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::Lto::Model::UpdateMemberRequest; + +UpdateMemberRequest::UpdateMemberRequest() + : RpcServiceRequest("lto", "2021-07-07", "UpdateMember") { + setMethod(HttpRequest::Method::Post); +} + +UpdateMemberRequest::~UpdateMemberRequest() {} + +std::string UpdateMemberRequest::getRemark() const { + return remark_; +} + +void UpdateMemberRequest::setRemark(const std::string &remark) { + remark_ = remark; + setParameter(std::string("Remark"), remark); +} + +std::string UpdateMemberRequest::getUid() const { + return uid_; +} + +void UpdateMemberRequest::setUid(const std::string &uid) { + uid_ = uid; + setParameter(std::string("Uid"), uid); +} + +std::string UpdateMemberRequest::getRegionId() const { + return regionId_; +} + +void UpdateMemberRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string UpdateMemberRequest::getTelephony() const { + return telephony_; +} + +void UpdateMemberRequest::setTelephony(const std::string &telephony) { + telephony_ = telephony; + setParameter(std::string("Telephony"), telephony); +} + +std::string UpdateMemberRequest::getName() const { + return name_; +} + +void UpdateMemberRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +int UpdateMemberRequest::getAuthorizedDeviceCount() const { + return authorizedDeviceCount_; +} + +void UpdateMemberRequest::setAuthorizedDeviceCount(int authorizedDeviceCount) { + authorizedDeviceCount_ = authorizedDeviceCount; + setParameter(std::string("AuthorizedDeviceCount"), std::to_string(authorizedDeviceCount)); +} + +std::string UpdateMemberRequest::getContactor() const { + return contactor_; +} + +void UpdateMemberRequest::setContactor(const std::string &contactor) { + contactor_ = contactor; + setParameter(std::string("Contactor"), contactor); +} + +long UpdateMemberRequest::getAuthorizedCount() const { + return authorizedCount_; +} + +void UpdateMemberRequest::setAuthorizedCount(long authorizedCount) { + authorizedCount_ = authorizedCount; + setParameter(std::string("AuthorizedCount"), std::to_string(authorizedCount)); +} + +std::string UpdateMemberRequest::getMemberId() const { + return memberId_; +} + +void UpdateMemberRequest::setMemberId(const std::string &memberId) { + memberId_ = memberId; + setParameter(std::string("MemberId"), memberId); +} + diff --git a/lto/src/model/UpdateMemberResult.cc b/lto/src/model/UpdateMemberResult.cc new file mode 100644 index 000000000..77b8c6a85 --- /dev/null +++ b/lto/src/model/UpdateMemberResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +UpdateMemberResult::UpdateMemberResult() : + ServiceResult() +{} + +UpdateMemberResult::UpdateMemberResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateMemberResult::~UpdateMemberResult() +{} + +void UpdateMemberResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string UpdateMemberResult::getMessage()const +{ + return message_; +} + +int UpdateMemberResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string UpdateMemberResult::getCode()const +{ + return code_; +} + +bool UpdateMemberResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/UpdatePrivacyRuleRequest.cc b/lto/src/model/UpdatePrivacyRuleRequest.cc new file mode 100644 index 000000000..1765f5eb9 --- /dev/null +++ b/lto/src/model/UpdatePrivacyRuleRequest.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::Lto::Model::UpdatePrivacyRuleRequest; + +UpdatePrivacyRuleRequest::UpdatePrivacyRuleRequest() + : RpcServiceRequest("lto", "2021-07-07", "UpdatePrivacyRule") { + setMethod(HttpRequest::Method::Post); +} + +UpdatePrivacyRuleRequest::~UpdatePrivacyRuleRequest() {} + +std::string UpdatePrivacyRuleRequest::getPrivacyRuleId() const { + return privacyRuleId_; +} + +void UpdatePrivacyRuleRequest::setPrivacyRuleId(const std::string &privacyRuleId) { + privacyRuleId_ = privacyRuleId; + setParameter(std::string("PrivacyRuleId"), privacyRuleId); +} + +std::string UpdatePrivacyRuleRequest::getRemark() const { + return remark_; +} + +void UpdatePrivacyRuleRequest::setRemark(const std::string &remark) { + remark_ = remark; + setParameter(std::string("Remark"), remark); +} + +std::string UpdatePrivacyRuleRequest::getRegionId() const { + return regionId_; +} + +void UpdatePrivacyRuleRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string UpdatePrivacyRuleRequest::getName() const { + return name_; +} + +void UpdatePrivacyRuleRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +std::string UpdatePrivacyRuleRequest::getAlgImpl() const { + return algImpl_; +} + +void UpdatePrivacyRuleRequest::setAlgImpl(const std::string &algImpl) { + algImpl_ = algImpl; + setParameter(std::string("AlgImpl"), algImpl); +} + +std::string UpdatePrivacyRuleRequest::getAlgType() const { + return algType_; +} + +void UpdatePrivacyRuleRequest::setAlgType(const std::string &algType) { + algType_ = algType; + setParameter(std::string("AlgType"), algType); +} + diff --git a/lto/src/model/UpdatePrivacyRuleResult.cc b/lto/src/model/UpdatePrivacyRuleResult.cc new file mode 100644 index 000000000..417a77013 --- /dev/null +++ b/lto/src/model/UpdatePrivacyRuleResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +UpdatePrivacyRuleResult::UpdatePrivacyRuleResult() : + ServiceResult() +{} + +UpdatePrivacyRuleResult::UpdatePrivacyRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdatePrivacyRuleResult::~UpdatePrivacyRuleResult() +{} + +void UpdatePrivacyRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string UpdatePrivacyRuleResult::getMessage()const +{ + return message_; +} + +int UpdatePrivacyRuleResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string UpdatePrivacyRuleResult::getCode()const +{ + return code_; +} + +bool UpdatePrivacyRuleResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/UpdateRouteRuleRequest.cc b/lto/src/model/UpdateRouteRuleRequest.cc new file mode 100644 index 000000000..c7be38a75 --- /dev/null +++ b/lto/src/model/UpdateRouteRuleRequest.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::Lto::Model::UpdateRouteRuleRequest; + +UpdateRouteRuleRequest::UpdateRouteRuleRequest() + : RpcServiceRequest("lto", "2021-07-07", "UpdateRouteRule") { + setMethod(HttpRequest::Method::Post); +} + +UpdateRouteRuleRequest::~UpdateRouteRuleRequest() {} + +std::string UpdateRouteRuleRequest::getContractTemplateId() const { + return contractTemplateId_; +} + +void UpdateRouteRuleRequest::setContractTemplateId(const std::string &contractTemplateId) { + contractTemplateId_ = contractTemplateId; + setParameter(std::string("ContractTemplateId"), contractTemplateId); +} + +std::string UpdateRouteRuleRequest::getContractName() const { + return contractName_; +} + +void UpdateRouteRuleRequest::setContractName(const std::string &contractName) { + contractName_ = contractName; + setParameter(std::string("ContractName"), contractName); +} + +std::string UpdateRouteRuleRequest::getPrivacyRuleId() const { + return privacyRuleId_; +} + +void UpdateRouteRuleRequest::setPrivacyRuleId(const std::string &privacyRuleId) { + privacyRuleId_ = privacyRuleId; + setParameter(std::string("PrivacyRuleId"), privacyRuleId); +} + +std::string UpdateRouteRuleRequest::getRemark() const { + return remark_; +} + +void UpdateRouteRuleRequest::setRemark(const std::string &remark) { + remark_ = remark; + setParameter(std::string("Remark"), remark); +} + +std::string UpdateRouteRuleRequest::getBizChainId() const { + return bizChainId_; +} + +void UpdateRouteRuleRequest::setBizChainId(const std::string &bizChainId) { + bizChainId_ = bizChainId; + setParameter(std::string("BizChainId"), bizChainId); +} + +std::string UpdateRouteRuleRequest::getInvokeType() const { + return invokeType_; +} + +void UpdateRouteRuleRequest::setInvokeType(const std::string &invokeType) { + invokeType_ = invokeType; + setParameter(std::string("InvokeType"), invokeType); +} + +std::string UpdateRouteRuleRequest::getRegionId() const { + return regionId_; +} + +void UpdateRouteRuleRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string UpdateRouteRuleRequest::getRouteRuleId() const { + return routeRuleId_; +} + +void UpdateRouteRuleRequest::setRouteRuleId(const std::string &routeRuleId) { + routeRuleId_ = routeRuleId; + setParameter(std::string("RouteRuleId"), routeRuleId); +} + diff --git a/lto/src/model/UpdateRouteRuleResult.cc b/lto/src/model/UpdateRouteRuleResult.cc new file mode 100644 index 000000000..7747c4b35 --- /dev/null +++ b/lto/src/model/UpdateRouteRuleResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +UpdateRouteRuleResult::UpdateRouteRuleResult() : + ServiceResult() +{} + +UpdateRouteRuleResult::UpdateRouteRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateRouteRuleResult::~UpdateRouteRuleResult() +{} + +void UpdateRouteRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string UpdateRouteRuleResult::getMessage()const +{ + return message_; +} + +int UpdateRouteRuleResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string UpdateRouteRuleResult::getCode()const +{ + return code_; +} + +bool UpdateRouteRuleResult::getSuccess()const +{ + return success_; +} + diff --git a/lto/src/model/UploadIoTDataToBlockchainRequest.cc b/lto/src/model/UploadIoTDataToBlockchainRequest.cc new file mode 100644 index 000000000..b92299ea0 --- /dev/null +++ b/lto/src/model/UploadIoTDataToBlockchainRequest.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::Lto::Model::UploadIoTDataToBlockchainRequest; + +UploadIoTDataToBlockchainRequest::UploadIoTDataToBlockchainRequest() + : RpcServiceRequest("lto", "2021-07-07", "UploadIoTDataToBlockchain") { + setMethod(HttpRequest::Method::Post); +} + +UploadIoTDataToBlockchainRequest::~UploadIoTDataToBlockchainRequest() {} + +std::string UploadIoTDataToBlockchainRequest::getIotIdSource() const { + return iotIdSource_; +} + +void UploadIoTDataToBlockchainRequest::setIotIdSource(const std::string &iotIdSource) { + iotIdSource_ = iotIdSource; + setParameter(std::string("IotIdSource"), iotIdSource); +} + +std::string UploadIoTDataToBlockchainRequest::getIotDataToken() const { + return iotDataToken_; +} + +void UploadIoTDataToBlockchainRequest::setIotDataToken(const std::string &iotDataToken) { + iotDataToken_ = iotDataToken; + setParameter(std::string("IotDataToken"), iotDataToken); +} + +std::string UploadIoTDataToBlockchainRequest::getPrivacyData() const { + return privacyData_; +} + +void UploadIoTDataToBlockchainRequest::setPrivacyData(const std::string &privacyData) { + privacyData_ = privacyData; + setParameter(std::string("PrivacyData"), privacyData); +} + +std::string UploadIoTDataToBlockchainRequest::getIotId() const { + return iotId_; +} + +void UploadIoTDataToBlockchainRequest::setIotId(const std::string &iotId) { + iotId_ = iotId; + setParameter(std::string("IotId"), iotId); +} + +std::string UploadIoTDataToBlockchainRequest::getRegionId() const { + return regionId_; +} + +void UploadIoTDataToBlockchainRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string UploadIoTDataToBlockchainRequest::getIotDataDigest() const { + return iotDataDigest_; +} + +void UploadIoTDataToBlockchainRequest::setIotDataDigest(const std::string &iotDataDigest) { + iotDataDigest_ = iotDataDigest; + setParameter(std::string("IotDataDigest"), iotDataDigest); +} + +std::string UploadIoTDataToBlockchainRequest::getIotDataDID() const { + return iotDataDID_; +} + +void UploadIoTDataToBlockchainRequest::setIotDataDID(const std::string &iotDataDID) { + iotDataDID_ = iotDataDID; + setParameter(std::string("IotDataDID"), iotDataDID); +} + +std::string UploadIoTDataToBlockchainRequest::getPlainData() const { + return plainData_; +} + +void UploadIoTDataToBlockchainRequest::setPlainData(const std::string &plainData) { + plainData_ = plainData; + setParameter(std::string("PlainData"), plainData); +} + +std::string UploadIoTDataToBlockchainRequest::getIotAuthType() const { + return iotAuthType_; +} + +void UploadIoTDataToBlockchainRequest::setIotAuthType(const std::string &iotAuthType) { + iotAuthType_ = iotAuthType; + setParameter(std::string("IotAuthType"), iotAuthType); +} + +std::string UploadIoTDataToBlockchainRequest::getIotIdServiceProvider() const { + return iotIdServiceProvider_; +} + +void UploadIoTDataToBlockchainRequest::setIotIdServiceProvider(const std::string &iotIdServiceProvider) { + iotIdServiceProvider_ = iotIdServiceProvider; + setParameter(std::string("IotIdServiceProvider"), iotIdServiceProvider); +} + diff --git a/lto/src/model/UploadIoTDataToBlockchainResult.cc b/lto/src/model/UploadIoTDataToBlockchainResult.cc new file mode 100644 index 000000000..ccd5a347c --- /dev/null +++ b/lto/src/model/UploadIoTDataToBlockchainResult.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::Lto; +using namespace AlibabaCloud::Lto::Model; + +UploadIoTDataToBlockchainResult::UploadIoTDataToBlockchainResult() : + ServiceResult() +{} + +UploadIoTDataToBlockchainResult::UploadIoTDataToBlockchainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UploadIoTDataToBlockchainResult::~UploadIoTDataToBlockchainResult() +{} + +void UploadIoTDataToBlockchainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = 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 UploadIoTDataToBlockchainResult::getMessage()const +{ + return message_; +} + +std::string UploadIoTDataToBlockchainResult::getData()const +{ + return data_; +} + +std::string UploadIoTDataToBlockchainResult::getCode()const +{ + return code_; +} + +bool UploadIoTDataToBlockchainResult::getSuccess()const +{ + return success_; +} +