From edc4c69e3b945e1c85b878c0475dc723d7cae157 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Mon, 7 Nov 2022 07:30:44 +0000 Subject: [PATCH] Cc5g. --- VERSION | 2 +- cc5g/CMakeLists.txt | 302 +++ cc5g/include/alibabacloud/cc5g/CC5GClient.h | 486 ++++ cc5g/include/alibabacloud/cc5g/CC5GExport.h | 32 + .../model/AddDNSAuthorizationRuleRequest.h | 60 + .../model/AddDNSAuthorizationRuleResult.h | 51 + .../AddGroupDnsAuthorizationRuleRequest.h | 60 + .../AddGroupDnsAuthorizationRuleResult.h | 51 + .../AddWirelessCloudConnectorToGroupRequest.h | 54 + .../AddWirelessCloudConnectorToGroupResult.h | 49 + .../cc5g/model/AttachVpcToNetLinkRequest.h | 60 + .../cc5g/model/AttachVpcToNetLinkResult.h | 49 + .../model/CreateAuthorizationRuleRequest.h | 72 + .../model/CreateAuthorizationRuleResult.h | 51 + .../CreateBatchOperateCardsTaskRequest.h | 72 + .../model/CreateBatchOperateCardsTaskResult.h | 53 + .../CreateGroupAuthorizationRuleRequest.h | 72 + .../CreateGroupAuthorizationRuleResult.h | 51 + ...ateIoTCloudConnectorBackhaulRouteRequest.h | 51 + ...eateIoTCloudConnectorBackhaulRouteResult.h | 49 + ...CreateWirelessCloudConnectorGroupRequest.h | 54 + .../CreateWirelessCloudConnectorGroupResult.h | 51 + .../CreateWirelessCloudConnectorRequest.h | 73 + .../CreateWirelessCloudConnectorResult.h | 51 + .../model/DeleteAuthorizationRuleRequest.h | 51 + .../model/DeleteAuthorizationRuleResult.h | 49 + .../DeleteBatchOperateCardsTaskRequest.h | 51 + .../model/DeleteBatchOperateCardsTaskResult.h | 49 + .../DeleteGroupAuthorizationRuleRequest.h | 51 + .../DeleteGroupAuthorizationRuleResult.h | 49 + ...eteIoTCloudConnectorBackhaulRouteRequest.h | 51 + ...leteIoTCloudConnectorBackhaulRouteResult.h | 49 + ...DeleteWirelessCloudConnectorGroupRequest.h | 48 + .../DeleteWirelessCloudConnectorGroupResult.h | 49 + .../DeleteWirelessCloudConnectorRequest.h | 48 + .../DeleteWirelessCloudConnectorResult.h | 49 + .../cc5g/model/DetachVpcFromNetLinkRequest.h | 51 + .../cc5g/model/DetachVpcFromNetLinkResult.h | 49 + .../cc5g/model/FailCardsRequest.h | 51 + .../alibabacloud/cc5g/model/FailCardsResult.h | 49 + .../cc5g/model/GetCardLockReasonRequest.h | 42 + .../cc5g/model/GetCardLockReasonResult.h | 51 + .../alibabacloud/cc5g/model/GetCardRequest.h | 42 + .../alibabacloud/cc5g/model/GetCardResult.h | 95 + .../GetCreateCustomerInformationRequest.h | 45 + .../GetCreateCustomerInformationResult.h | 53 + .../GetDiagnoseResultForSingleCardRequest.h | 45 + .../GetDiagnoseResultForSingleCardResult.h | 81 + .../model/GetWirelessCloudConnectorRequest.h | 45 + .../model/GetWirelessCloudConnectorResult.h | 93 + .../cc5g/model/GrantNetLinkRequest.h | 54 + .../cc5g/model/GrantNetLinkResult.h | 49 + .../alibabacloud/cc5g/model/ListAPNsRequest.h | 54 + .../alibabacloud/cc5g/model/ListAPNsResult.h | 65 + .../model/ListAuthorizationRulesRequest.h | 78 + .../cc5g/model/ListAuthorizationRulesResult.h | 73 + .../model/ListBatchOperateCardsTasksRequest.h | 57 + .../model/ListBatchOperateCardsTasksResult.h | 76 + .../cc5g/model/ListCardsRequest.h | 75 + .../alibabacloud/cc5g/model/ListCardsResult.h | 78 + .../cc5g/model/ListDataPackagesRequest.h | 57 + .../cc5g/model/ListDataPackagesResult.h | 68 + .../ListDiagnoseInfoForSingleCardRequest.h | 60 + .../ListDiagnoseInfoForSingleCardResult.h | 72 + .../ListGroupAuthorizationRulesRequest.h | 78 + .../model/ListGroupAuthorizationRulesResult.h | 73 + ...istIoTCloudConnectorBackhaulRouteRequest.h | 48 + ...ListIoTCloudConnectorBackhaulRouteResult.h | 61 + .../cc5g/model/ListOrdersRequest.h | 57 + .../cc5g/model/ListOrdersResult.h | 77 + .../cc5g/model/ListRegionsRequest.h | 45 + .../cc5g/model/ListRegionsResult.h | 57 + .../ListWirelessCloudConnectorGroupsRequest.h | 57 + .../ListWirelessCloudConnectorGroupsResult.h | 82 + .../ListWirelessCloudConnectorsRequest.h | 66 + .../model/ListWirelessCloudConnectorsResult.h | 73 + .../cc5g/model/ListZonesRequest.h | 42 + .../alibabacloud/cc5g/model/ListZonesResult.h | 56 + .../cc5g/model/LockCardsRequest.h | 51 + .../alibabacloud/cc5g/model/LockCardsResult.h | 49 + ...difyWirelessCloudConnectorFeatureRequest.h | 54 + ...odifyWirelessCloudConnectorFeatureResult.h | 49 + .../cc5g/model/OpenCc5gServiceRequest.h | 42 + .../cc5g/model/OpenCc5gServiceResult.h | 49 + ...veWirelessCloudConnectorFromGroupRequest.h | 54 + ...oveWirelessCloudConnectorFromGroupResult.h | 49 + .../cc5g/model/ResumeCardsRequest.h | 51 + .../cc5g/model/ResumeCardsResult.h | 49 + .../cc5g/model/RevokeNetLinkRequest.h | 51 + .../cc5g/model/RevokeNetLinkResult.h | 49 + .../cc5g/model/StopCardsRequest.h | 51 + .../alibabacloud/cc5g/model/StopCardsResult.h | 49 + .../SubmitDiagnoseTaskForSingleCardRequest.h | 60 + .../SubmitDiagnoseTaskForSingleCardResult.h | 51 + ...hWirelessCloudConnectorToBusinessRequest.h | 48 + ...chWirelessCloudConnectorToBusinessResult.h | 49 + .../cc5g/model/UnlockCardsRequest.h | 51 + .../cc5g/model/UnlockCardsResult.h | 49 + .../model/UpdateAuthorizationRuleRequest.h | 72 + .../model/UpdateAuthorizationRuleResult.h | 49 + .../UpdateBatchOperateCardsTaskRequest.h | 75 + .../model/UpdateBatchOperateCardsTaskResult.h | 49 + .../cc5g/model/UpdateCardRequest.h | 57 + .../cc5g/model/UpdateCardResult.h | 49 + .../model/UpdateDNSAuthorizationRuleRequest.h | 63 + .../model/UpdateDNSAuthorizationRuleResult.h | 49 + .../UpdateGroupAuthorizationRuleRequest.h | 72 + .../UpdateGroupAuthorizationRuleResult.h | 49 + .../UpdateGroupDnsAuthorizationRuleRequest.h | 63 + .../UpdateGroupDnsAuthorizationRuleResult.h | 49 + ...UpdateWirelessCloudConnectorGroupRequest.h | 54 + .../UpdateWirelessCloudConnectorGroupResult.h | 49 + .../UpdateWirelessCloudConnectorRequest.h | 54 + .../UpdateWirelessCloudConnectorResult.h | 49 + cc5g/src/CC5GClient.cc | 2033 +++++++++++++++++ .../model/AddDNSAuthorizationRuleRequest.cc | 90 + .../model/AddDNSAuthorizationRuleResult.cc | 51 + .../AddGroupDnsAuthorizationRuleRequest.cc | 90 + .../AddGroupDnsAuthorizationRuleResult.cc | 51 + ...AddWirelessCloudConnectorToGroupRequest.cc | 71 + .../AddWirelessCloudConnectorToGroupResult.cc | 44 + cc5g/src/model/AttachVpcToNetLinkRequest.cc | 92 + cc5g/src/model/AttachVpcToNetLinkResult.cc | 44 + .../model/CreateAuthorizationRuleRequest.cc | 126 + .../model/CreateAuthorizationRuleResult.cc | 51 + .../CreateBatchOperateCardsTaskRequest.cc | 130 ++ .../CreateBatchOperateCardsTaskResult.cc | 58 + .../CreateGroupAuthorizationRuleRequest.cc | 126 + .../CreateGroupAuthorizationRuleResult.cc | 51 + ...teIoTCloudConnectorBackhaulRouteRequest.cc | 63 + ...ateIoTCloudConnectorBackhaulRouteResult.cc | 44 + ...reateWirelessCloudConnectorGroupRequest.cc | 72 + ...CreateWirelessCloudConnectorGroupResult.cc | 51 + .../CreateWirelessCloudConnectorRequest.cc | 115 + .../CreateWirelessCloudConnectorResult.cc | 51 + .../model/DeleteAuthorizationRuleRequest.cc | 63 + .../model/DeleteAuthorizationRuleResult.cc | 44 + .../DeleteBatchOperateCardsTaskRequest.cc | 63 + .../DeleteBatchOperateCardsTaskResult.cc | 44 + .../DeleteGroupAuthorizationRuleRequest.cc | 63 + .../DeleteGroupAuthorizationRuleResult.cc | 44 + ...teIoTCloudConnectorBackhaulRouteRequest.cc | 63 + ...eteIoTCloudConnectorBackhaulRouteResult.cc | 44 + ...eleteWirelessCloudConnectorGroupRequest.cc | 54 + ...DeleteWirelessCloudConnectorGroupResult.cc | 44 + .../DeleteWirelessCloudConnectorRequest.cc | 54 + .../DeleteWirelessCloudConnectorResult.cc | 44 + cc5g/src/model/DetachVpcFromNetLinkRequest.cc | 63 + cc5g/src/model/DetachVpcFromNetLinkResult.cc | 44 + cc5g/src/model/FailCardsRequest.cc | 62 + cc5g/src/model/FailCardsResult.cc | 44 + cc5g/src/model/GetCardLockReasonRequest.cc | 36 + cc5g/src/model/GetCardLockReasonResult.cc | 51 + cc5g/src/model/GetCardRequest.cc | 36 + cc5g/src/model/GetCardResult.cc | 205 ++ .../GetCreateCustomerInformationRequest.cc | 45 + .../GetCreateCustomerInformationResult.cc | 58 + .../GetDiagnoseResultForSingleCardRequest.cc | 45 + .../GetDiagnoseResultForSingleCardResult.cc | 134 ++ .../model/GetWirelessCloudConnectorRequest.cc | 45 + .../model/GetWirelessCloudConnectorResult.cc | 177 ++ cc5g/src/model/GrantNetLinkRequest.cc | 72 + cc5g/src/model/GrantNetLinkResult.cc | 44 + cc5g/src/model/ListAPNsRequest.cc | 72 + cc5g/src/model/ListAPNsResult.cc | 87 + .../model/ListAuthorizationRulesRequest.cc | 150 ++ .../src/model/ListAuthorizationRulesResult.cc | 102 + .../ListBatchOperateCardsTasksRequest.cc | 87 + .../model/ListBatchOperateCardsTasksResult.cc | 106 + cc5g/src/model/ListCardsRequest.cc | 139 ++ cc5g/src/model/ListCardsResult.cc | 112 + cc5g/src/model/ListDataPackagesRequest.cc | 87 + cc5g/src/model/ListDataPackagesResult.cc | 92 + .../ListDiagnoseInfoForSingleCardRequest.cc | 90 + .../ListDiagnoseInfoForSingleCardResult.cc | 100 + .../ListGroupAuthorizationRulesRequest.cc | 150 ++ .../ListGroupAuthorizationRulesResult.cc | 102 + ...stIoTCloudConnectorBackhaulRouteRequest.cc | 54 + ...istIoTCloudConnectorBackhaulRouteResult.cc | 72 + cc5g/src/model/ListOrdersRequest.cc | 85 + cc5g/src/model/ListOrdersResult.cc | 110 + cc5g/src/model/ListRegionsRequest.cc | 45 + cc5g/src/model/ListRegionsResult.cc | 61 + ...ListWirelessCloudConnectorGroupsRequest.cc | 87 + .../ListWirelessCloudConnectorGroupsResult.cc | 118 + .../ListWirelessCloudConnectorsRequest.cc | 114 + .../ListWirelessCloudConnectorsResult.cc | 102 + cc5g/src/model/ListZonesRequest.cc | 36 + cc5g/src/model/ListZonesResult.cc | 59 + cc5g/src/model/LockCardsRequest.cc | 62 + cc5g/src/model/LockCardsResult.cc | 44 + ...ifyWirelessCloudConnectorFeatureRequest.cc | 72 + ...difyWirelessCloudConnectorFeatureResult.cc | 44 + cc5g/src/model/OpenCc5gServiceRequest.cc | 36 + cc5g/src/model/OpenCc5gServiceResult.cc | 44 + ...eWirelessCloudConnectorFromGroupRequest.cc | 71 + ...veWirelessCloudConnectorFromGroupResult.cc | 44 + cc5g/src/model/ResumeCardsRequest.cc | 62 + cc5g/src/model/ResumeCardsResult.cc | 44 + cc5g/src/model/RevokeNetLinkRequest.cc | 63 + cc5g/src/model/RevokeNetLinkResult.cc | 44 + cc5g/src/model/StopCardsRequest.cc | 62 + cc5g/src/model/StopCardsResult.cc | 44 + .../SubmitDiagnoseTaskForSingleCardRequest.cc | 90 + .../SubmitDiagnoseTaskForSingleCardResult.cc | 51 + ...WirelessCloudConnectorToBusinessRequest.cc | 54 + ...hWirelessCloudConnectorToBusinessResult.cc | 44 + cc5g/src/model/UnlockCardsRequest.cc | 62 + cc5g/src/model/UnlockCardsResult.cc | 44 + .../model/UpdateAuthorizationRuleRequest.cc | 126 + .../model/UpdateAuthorizationRuleResult.cc | 44 + .../UpdateBatchOperateCardsTaskRequest.cc | 139 ++ .../UpdateBatchOperateCardsTaskResult.cc | 44 + cc5g/src/model/UpdateCardRequest.cc | 81 + cc5g/src/model/UpdateCardResult.cc | 44 + .../UpdateDNSAuthorizationRuleRequest.cc | 99 + .../model/UpdateDNSAuthorizationRuleResult.cc | 44 + .../UpdateGroupAuthorizationRuleRequest.cc | 126 + .../UpdateGroupAuthorizationRuleResult.cc | 44 + .../UpdateGroupDnsAuthorizationRuleRequest.cc | 99 + .../UpdateGroupDnsAuthorizationRuleResult.cc | 44 + ...pdateWirelessCloudConnectorGroupRequest.cc | 72 + ...UpdateWirelessCloudConnectorGroupResult.cc | 44 + .../UpdateWirelessCloudConnectorRequest.cc | 72 + .../UpdateWirelessCloudConnectorResult.cc | 44 + 225 files changed, 16991 insertions(+), 1 deletion(-) create mode 100644 cc5g/CMakeLists.txt create mode 100644 cc5g/include/alibabacloud/cc5g/CC5GClient.h create mode 100644 cc5g/include/alibabacloud/cc5g/CC5GExport.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/AddDNSAuthorizationRuleRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/AddDNSAuthorizationRuleResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/AddGroupDnsAuthorizationRuleRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/AddGroupDnsAuthorizationRuleResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/AddWirelessCloudConnectorToGroupRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/AddWirelessCloudConnectorToGroupResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/AttachVpcToNetLinkRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/AttachVpcToNetLinkResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/CreateAuthorizationRuleRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/CreateAuthorizationRuleResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/CreateBatchOperateCardsTaskRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/CreateBatchOperateCardsTaskResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/CreateGroupAuthorizationRuleRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/CreateGroupAuthorizationRuleResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/CreateIoTCloudConnectorBackhaulRouteRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/CreateIoTCloudConnectorBackhaulRouteResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/CreateWirelessCloudConnectorGroupRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/CreateWirelessCloudConnectorGroupResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/CreateWirelessCloudConnectorRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/CreateWirelessCloudConnectorResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/DeleteAuthorizationRuleRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/DeleteAuthorizationRuleResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/DeleteBatchOperateCardsTaskRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/DeleteBatchOperateCardsTaskResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/DeleteGroupAuthorizationRuleRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/DeleteGroupAuthorizationRuleResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/DeleteIoTCloudConnectorBackhaulRouteRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/DeleteIoTCloudConnectorBackhaulRouteResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/DeleteWirelessCloudConnectorGroupRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/DeleteWirelessCloudConnectorGroupResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/DeleteWirelessCloudConnectorRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/DeleteWirelessCloudConnectorResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/DetachVpcFromNetLinkRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/DetachVpcFromNetLinkResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/FailCardsRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/FailCardsResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/GetCardLockReasonRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/GetCardLockReasonResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/GetCardRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/GetCardResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/GetCreateCustomerInformationRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/GetCreateCustomerInformationResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/GetDiagnoseResultForSingleCardRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/GetDiagnoseResultForSingleCardResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/GetWirelessCloudConnectorRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/GetWirelessCloudConnectorResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/GrantNetLinkRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/GrantNetLinkResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ListAPNsRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ListAPNsResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ListAuthorizationRulesRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ListAuthorizationRulesResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ListBatchOperateCardsTasksRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ListBatchOperateCardsTasksResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ListCardsRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ListCardsResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ListDataPackagesRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ListDataPackagesResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ListDiagnoseInfoForSingleCardRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ListDiagnoseInfoForSingleCardResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ListGroupAuthorizationRulesRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ListGroupAuthorizationRulesResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ListIoTCloudConnectorBackhaulRouteRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ListIoTCloudConnectorBackhaulRouteResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ListOrdersRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ListOrdersResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ListRegionsRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ListRegionsResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ListWirelessCloudConnectorGroupsRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ListWirelessCloudConnectorGroupsResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ListWirelessCloudConnectorsRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ListWirelessCloudConnectorsResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ListZonesRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ListZonesResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/LockCardsRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/LockCardsResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ModifyWirelessCloudConnectorFeatureRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ModifyWirelessCloudConnectorFeatureResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/OpenCc5gServiceRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/OpenCc5gServiceResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/RemoveWirelessCloudConnectorFromGroupRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/RemoveWirelessCloudConnectorFromGroupResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ResumeCardsRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/ResumeCardsResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/RevokeNetLinkRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/RevokeNetLinkResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/StopCardsRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/StopCardsResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/SubmitDiagnoseTaskForSingleCardRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/SubmitDiagnoseTaskForSingleCardResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/SwitchWirelessCloudConnectorToBusinessRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/SwitchWirelessCloudConnectorToBusinessResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/UnlockCardsRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/UnlockCardsResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/UpdateAuthorizationRuleRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/UpdateAuthorizationRuleResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/UpdateBatchOperateCardsTaskRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/UpdateBatchOperateCardsTaskResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/UpdateCardRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/UpdateCardResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/UpdateDNSAuthorizationRuleRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/UpdateDNSAuthorizationRuleResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/UpdateGroupAuthorizationRuleRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/UpdateGroupAuthorizationRuleResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/UpdateGroupDnsAuthorizationRuleRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/UpdateGroupDnsAuthorizationRuleResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/UpdateWirelessCloudConnectorGroupRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/UpdateWirelessCloudConnectorGroupResult.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/UpdateWirelessCloudConnectorRequest.h create mode 100644 cc5g/include/alibabacloud/cc5g/model/UpdateWirelessCloudConnectorResult.h create mode 100644 cc5g/src/CC5GClient.cc create mode 100644 cc5g/src/model/AddDNSAuthorizationRuleRequest.cc create mode 100644 cc5g/src/model/AddDNSAuthorizationRuleResult.cc create mode 100644 cc5g/src/model/AddGroupDnsAuthorizationRuleRequest.cc create mode 100644 cc5g/src/model/AddGroupDnsAuthorizationRuleResult.cc create mode 100644 cc5g/src/model/AddWirelessCloudConnectorToGroupRequest.cc create mode 100644 cc5g/src/model/AddWirelessCloudConnectorToGroupResult.cc create mode 100644 cc5g/src/model/AttachVpcToNetLinkRequest.cc create mode 100644 cc5g/src/model/AttachVpcToNetLinkResult.cc create mode 100644 cc5g/src/model/CreateAuthorizationRuleRequest.cc create mode 100644 cc5g/src/model/CreateAuthorizationRuleResult.cc create mode 100644 cc5g/src/model/CreateBatchOperateCardsTaskRequest.cc create mode 100644 cc5g/src/model/CreateBatchOperateCardsTaskResult.cc create mode 100644 cc5g/src/model/CreateGroupAuthorizationRuleRequest.cc create mode 100644 cc5g/src/model/CreateGroupAuthorizationRuleResult.cc create mode 100644 cc5g/src/model/CreateIoTCloudConnectorBackhaulRouteRequest.cc create mode 100644 cc5g/src/model/CreateIoTCloudConnectorBackhaulRouteResult.cc create mode 100644 cc5g/src/model/CreateWirelessCloudConnectorGroupRequest.cc create mode 100644 cc5g/src/model/CreateWirelessCloudConnectorGroupResult.cc create mode 100644 cc5g/src/model/CreateWirelessCloudConnectorRequest.cc create mode 100644 cc5g/src/model/CreateWirelessCloudConnectorResult.cc create mode 100644 cc5g/src/model/DeleteAuthorizationRuleRequest.cc create mode 100644 cc5g/src/model/DeleteAuthorizationRuleResult.cc create mode 100644 cc5g/src/model/DeleteBatchOperateCardsTaskRequest.cc create mode 100644 cc5g/src/model/DeleteBatchOperateCardsTaskResult.cc create mode 100644 cc5g/src/model/DeleteGroupAuthorizationRuleRequest.cc create mode 100644 cc5g/src/model/DeleteGroupAuthorizationRuleResult.cc create mode 100644 cc5g/src/model/DeleteIoTCloudConnectorBackhaulRouteRequest.cc create mode 100644 cc5g/src/model/DeleteIoTCloudConnectorBackhaulRouteResult.cc create mode 100644 cc5g/src/model/DeleteWirelessCloudConnectorGroupRequest.cc create mode 100644 cc5g/src/model/DeleteWirelessCloudConnectorGroupResult.cc create mode 100644 cc5g/src/model/DeleteWirelessCloudConnectorRequest.cc create mode 100644 cc5g/src/model/DeleteWirelessCloudConnectorResult.cc create mode 100644 cc5g/src/model/DetachVpcFromNetLinkRequest.cc create mode 100644 cc5g/src/model/DetachVpcFromNetLinkResult.cc create mode 100644 cc5g/src/model/FailCardsRequest.cc create mode 100644 cc5g/src/model/FailCardsResult.cc create mode 100644 cc5g/src/model/GetCardLockReasonRequest.cc create mode 100644 cc5g/src/model/GetCardLockReasonResult.cc create mode 100644 cc5g/src/model/GetCardRequest.cc create mode 100644 cc5g/src/model/GetCardResult.cc create mode 100644 cc5g/src/model/GetCreateCustomerInformationRequest.cc create mode 100644 cc5g/src/model/GetCreateCustomerInformationResult.cc create mode 100644 cc5g/src/model/GetDiagnoseResultForSingleCardRequest.cc create mode 100644 cc5g/src/model/GetDiagnoseResultForSingleCardResult.cc create mode 100644 cc5g/src/model/GetWirelessCloudConnectorRequest.cc create mode 100644 cc5g/src/model/GetWirelessCloudConnectorResult.cc create mode 100644 cc5g/src/model/GrantNetLinkRequest.cc create mode 100644 cc5g/src/model/GrantNetLinkResult.cc create mode 100644 cc5g/src/model/ListAPNsRequest.cc create mode 100644 cc5g/src/model/ListAPNsResult.cc create mode 100644 cc5g/src/model/ListAuthorizationRulesRequest.cc create mode 100644 cc5g/src/model/ListAuthorizationRulesResult.cc create mode 100644 cc5g/src/model/ListBatchOperateCardsTasksRequest.cc create mode 100644 cc5g/src/model/ListBatchOperateCardsTasksResult.cc create mode 100644 cc5g/src/model/ListCardsRequest.cc create mode 100644 cc5g/src/model/ListCardsResult.cc create mode 100644 cc5g/src/model/ListDataPackagesRequest.cc create mode 100644 cc5g/src/model/ListDataPackagesResult.cc create mode 100644 cc5g/src/model/ListDiagnoseInfoForSingleCardRequest.cc create mode 100644 cc5g/src/model/ListDiagnoseInfoForSingleCardResult.cc create mode 100644 cc5g/src/model/ListGroupAuthorizationRulesRequest.cc create mode 100644 cc5g/src/model/ListGroupAuthorizationRulesResult.cc create mode 100644 cc5g/src/model/ListIoTCloudConnectorBackhaulRouteRequest.cc create mode 100644 cc5g/src/model/ListIoTCloudConnectorBackhaulRouteResult.cc create mode 100644 cc5g/src/model/ListOrdersRequest.cc create mode 100644 cc5g/src/model/ListOrdersResult.cc create mode 100644 cc5g/src/model/ListRegionsRequest.cc create mode 100644 cc5g/src/model/ListRegionsResult.cc create mode 100644 cc5g/src/model/ListWirelessCloudConnectorGroupsRequest.cc create mode 100644 cc5g/src/model/ListWirelessCloudConnectorGroupsResult.cc create mode 100644 cc5g/src/model/ListWirelessCloudConnectorsRequest.cc create mode 100644 cc5g/src/model/ListWirelessCloudConnectorsResult.cc create mode 100644 cc5g/src/model/ListZonesRequest.cc create mode 100644 cc5g/src/model/ListZonesResult.cc create mode 100644 cc5g/src/model/LockCardsRequest.cc create mode 100644 cc5g/src/model/LockCardsResult.cc create mode 100644 cc5g/src/model/ModifyWirelessCloudConnectorFeatureRequest.cc create mode 100644 cc5g/src/model/ModifyWirelessCloudConnectorFeatureResult.cc create mode 100644 cc5g/src/model/OpenCc5gServiceRequest.cc create mode 100644 cc5g/src/model/OpenCc5gServiceResult.cc create mode 100644 cc5g/src/model/RemoveWirelessCloudConnectorFromGroupRequest.cc create mode 100644 cc5g/src/model/RemoveWirelessCloudConnectorFromGroupResult.cc create mode 100644 cc5g/src/model/ResumeCardsRequest.cc create mode 100644 cc5g/src/model/ResumeCardsResult.cc create mode 100644 cc5g/src/model/RevokeNetLinkRequest.cc create mode 100644 cc5g/src/model/RevokeNetLinkResult.cc create mode 100644 cc5g/src/model/StopCardsRequest.cc create mode 100644 cc5g/src/model/StopCardsResult.cc create mode 100644 cc5g/src/model/SubmitDiagnoseTaskForSingleCardRequest.cc create mode 100644 cc5g/src/model/SubmitDiagnoseTaskForSingleCardResult.cc create mode 100644 cc5g/src/model/SwitchWirelessCloudConnectorToBusinessRequest.cc create mode 100644 cc5g/src/model/SwitchWirelessCloudConnectorToBusinessResult.cc create mode 100644 cc5g/src/model/UnlockCardsRequest.cc create mode 100644 cc5g/src/model/UnlockCardsResult.cc create mode 100644 cc5g/src/model/UpdateAuthorizationRuleRequest.cc create mode 100644 cc5g/src/model/UpdateAuthorizationRuleResult.cc create mode 100644 cc5g/src/model/UpdateBatchOperateCardsTaskRequest.cc create mode 100644 cc5g/src/model/UpdateBatchOperateCardsTaskResult.cc create mode 100644 cc5g/src/model/UpdateCardRequest.cc create mode 100644 cc5g/src/model/UpdateCardResult.cc create mode 100644 cc5g/src/model/UpdateDNSAuthorizationRuleRequest.cc create mode 100644 cc5g/src/model/UpdateDNSAuthorizationRuleResult.cc create mode 100644 cc5g/src/model/UpdateGroupAuthorizationRuleRequest.cc create mode 100644 cc5g/src/model/UpdateGroupAuthorizationRuleResult.cc create mode 100644 cc5g/src/model/UpdateGroupDnsAuthorizationRuleRequest.cc create mode 100644 cc5g/src/model/UpdateGroupDnsAuthorizationRuleResult.cc create mode 100644 cc5g/src/model/UpdateWirelessCloudConnectorGroupRequest.cc create mode 100644 cc5g/src/model/UpdateWirelessCloudConnectorGroupResult.cc create mode 100644 cc5g/src/model/UpdateWirelessCloudConnectorRequest.cc create mode 100644 cc5g/src/model/UpdateWirelessCloudConnectorResult.cc diff --git a/VERSION b/VERSION index 16bad1814..7bc1a4405 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1323 \ No newline at end of file +1.36.1324 \ No newline at end of file diff --git a/cc5g/CMakeLists.txt b/cc5g/CMakeLists.txt new file mode 100644 index 000000000..95c16fe7e --- /dev/null +++ b/cc5g/CMakeLists.txt @@ -0,0 +1,302 @@ +# +# Copyright 2009-2017 Alibaba Cloud All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT 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(cc5g_public_header + include/alibabacloud/cc5g/CC5GClient.h + include/alibabacloud/cc5g/CC5GExport.h ) + +set(cc5g_public_header_model + include/alibabacloud/cc5g/model/AddDNSAuthorizationRuleRequest.h + include/alibabacloud/cc5g/model/AddDNSAuthorizationRuleResult.h + include/alibabacloud/cc5g/model/AddGroupDnsAuthorizationRuleRequest.h + include/alibabacloud/cc5g/model/AddGroupDnsAuthorizationRuleResult.h + include/alibabacloud/cc5g/model/AddWirelessCloudConnectorToGroupRequest.h + include/alibabacloud/cc5g/model/AddWirelessCloudConnectorToGroupResult.h + include/alibabacloud/cc5g/model/AttachVpcToNetLinkRequest.h + include/alibabacloud/cc5g/model/AttachVpcToNetLinkResult.h + include/alibabacloud/cc5g/model/CreateAuthorizationRuleRequest.h + include/alibabacloud/cc5g/model/CreateAuthorizationRuleResult.h + include/alibabacloud/cc5g/model/CreateBatchOperateCardsTaskRequest.h + include/alibabacloud/cc5g/model/CreateBatchOperateCardsTaskResult.h + include/alibabacloud/cc5g/model/CreateGroupAuthorizationRuleRequest.h + include/alibabacloud/cc5g/model/CreateGroupAuthorizationRuleResult.h + include/alibabacloud/cc5g/model/CreateIoTCloudConnectorBackhaulRouteRequest.h + include/alibabacloud/cc5g/model/CreateIoTCloudConnectorBackhaulRouteResult.h + include/alibabacloud/cc5g/model/CreateWirelessCloudConnectorRequest.h + include/alibabacloud/cc5g/model/CreateWirelessCloudConnectorResult.h + include/alibabacloud/cc5g/model/CreateWirelessCloudConnectorGroupRequest.h + include/alibabacloud/cc5g/model/CreateWirelessCloudConnectorGroupResult.h + include/alibabacloud/cc5g/model/DeleteAuthorizationRuleRequest.h + include/alibabacloud/cc5g/model/DeleteAuthorizationRuleResult.h + include/alibabacloud/cc5g/model/DeleteBatchOperateCardsTaskRequest.h + include/alibabacloud/cc5g/model/DeleteBatchOperateCardsTaskResult.h + include/alibabacloud/cc5g/model/DeleteGroupAuthorizationRuleRequest.h + include/alibabacloud/cc5g/model/DeleteGroupAuthorizationRuleResult.h + include/alibabacloud/cc5g/model/DeleteIoTCloudConnectorBackhaulRouteRequest.h + include/alibabacloud/cc5g/model/DeleteIoTCloudConnectorBackhaulRouteResult.h + include/alibabacloud/cc5g/model/DeleteWirelessCloudConnectorRequest.h + include/alibabacloud/cc5g/model/DeleteWirelessCloudConnectorResult.h + include/alibabacloud/cc5g/model/DeleteWirelessCloudConnectorGroupRequest.h + include/alibabacloud/cc5g/model/DeleteWirelessCloudConnectorGroupResult.h + include/alibabacloud/cc5g/model/DetachVpcFromNetLinkRequest.h + include/alibabacloud/cc5g/model/DetachVpcFromNetLinkResult.h + include/alibabacloud/cc5g/model/FailCardsRequest.h + include/alibabacloud/cc5g/model/FailCardsResult.h + include/alibabacloud/cc5g/model/GetCardRequest.h + include/alibabacloud/cc5g/model/GetCardResult.h + include/alibabacloud/cc5g/model/GetCardLockReasonRequest.h + include/alibabacloud/cc5g/model/GetCardLockReasonResult.h + include/alibabacloud/cc5g/model/GetCreateCustomerInformationRequest.h + include/alibabacloud/cc5g/model/GetCreateCustomerInformationResult.h + include/alibabacloud/cc5g/model/GetDiagnoseResultForSingleCardRequest.h + include/alibabacloud/cc5g/model/GetDiagnoseResultForSingleCardResult.h + include/alibabacloud/cc5g/model/GetWirelessCloudConnectorRequest.h + include/alibabacloud/cc5g/model/GetWirelessCloudConnectorResult.h + include/alibabacloud/cc5g/model/GrantNetLinkRequest.h + include/alibabacloud/cc5g/model/GrantNetLinkResult.h + include/alibabacloud/cc5g/model/ListAPNsRequest.h + include/alibabacloud/cc5g/model/ListAPNsResult.h + include/alibabacloud/cc5g/model/ListAuthorizationRulesRequest.h + include/alibabacloud/cc5g/model/ListAuthorizationRulesResult.h + include/alibabacloud/cc5g/model/ListBatchOperateCardsTasksRequest.h + include/alibabacloud/cc5g/model/ListBatchOperateCardsTasksResult.h + include/alibabacloud/cc5g/model/ListCardsRequest.h + include/alibabacloud/cc5g/model/ListCardsResult.h + include/alibabacloud/cc5g/model/ListDataPackagesRequest.h + include/alibabacloud/cc5g/model/ListDataPackagesResult.h + include/alibabacloud/cc5g/model/ListDiagnoseInfoForSingleCardRequest.h + include/alibabacloud/cc5g/model/ListDiagnoseInfoForSingleCardResult.h + include/alibabacloud/cc5g/model/ListGroupAuthorizationRulesRequest.h + include/alibabacloud/cc5g/model/ListGroupAuthorizationRulesResult.h + include/alibabacloud/cc5g/model/ListIoTCloudConnectorBackhaulRouteRequest.h + include/alibabacloud/cc5g/model/ListIoTCloudConnectorBackhaulRouteResult.h + include/alibabacloud/cc5g/model/ListOrdersRequest.h + include/alibabacloud/cc5g/model/ListOrdersResult.h + include/alibabacloud/cc5g/model/ListRegionsRequest.h + include/alibabacloud/cc5g/model/ListRegionsResult.h + include/alibabacloud/cc5g/model/ListWirelessCloudConnectorGroupsRequest.h + include/alibabacloud/cc5g/model/ListWirelessCloudConnectorGroupsResult.h + include/alibabacloud/cc5g/model/ListWirelessCloudConnectorsRequest.h + include/alibabacloud/cc5g/model/ListWirelessCloudConnectorsResult.h + include/alibabacloud/cc5g/model/ListZonesRequest.h + include/alibabacloud/cc5g/model/ListZonesResult.h + include/alibabacloud/cc5g/model/LockCardsRequest.h + include/alibabacloud/cc5g/model/LockCardsResult.h + include/alibabacloud/cc5g/model/ModifyWirelessCloudConnectorFeatureRequest.h + include/alibabacloud/cc5g/model/ModifyWirelessCloudConnectorFeatureResult.h + include/alibabacloud/cc5g/model/OpenCc5gServiceRequest.h + include/alibabacloud/cc5g/model/OpenCc5gServiceResult.h + include/alibabacloud/cc5g/model/RemoveWirelessCloudConnectorFromGroupRequest.h + include/alibabacloud/cc5g/model/RemoveWirelessCloudConnectorFromGroupResult.h + include/alibabacloud/cc5g/model/ResumeCardsRequest.h + include/alibabacloud/cc5g/model/ResumeCardsResult.h + include/alibabacloud/cc5g/model/RevokeNetLinkRequest.h + include/alibabacloud/cc5g/model/RevokeNetLinkResult.h + include/alibabacloud/cc5g/model/StopCardsRequest.h + include/alibabacloud/cc5g/model/StopCardsResult.h + include/alibabacloud/cc5g/model/SubmitDiagnoseTaskForSingleCardRequest.h + include/alibabacloud/cc5g/model/SubmitDiagnoseTaskForSingleCardResult.h + include/alibabacloud/cc5g/model/SwitchWirelessCloudConnectorToBusinessRequest.h + include/alibabacloud/cc5g/model/SwitchWirelessCloudConnectorToBusinessResult.h + include/alibabacloud/cc5g/model/UnlockCardsRequest.h + include/alibabacloud/cc5g/model/UnlockCardsResult.h + include/alibabacloud/cc5g/model/UpdateAuthorizationRuleRequest.h + include/alibabacloud/cc5g/model/UpdateAuthorizationRuleResult.h + include/alibabacloud/cc5g/model/UpdateBatchOperateCardsTaskRequest.h + include/alibabacloud/cc5g/model/UpdateBatchOperateCardsTaskResult.h + include/alibabacloud/cc5g/model/UpdateCardRequest.h + include/alibabacloud/cc5g/model/UpdateCardResult.h + include/alibabacloud/cc5g/model/UpdateDNSAuthorizationRuleRequest.h + include/alibabacloud/cc5g/model/UpdateDNSAuthorizationRuleResult.h + include/alibabacloud/cc5g/model/UpdateGroupAuthorizationRuleRequest.h + include/alibabacloud/cc5g/model/UpdateGroupAuthorizationRuleResult.h + include/alibabacloud/cc5g/model/UpdateGroupDnsAuthorizationRuleRequest.h + include/alibabacloud/cc5g/model/UpdateGroupDnsAuthorizationRuleResult.h + include/alibabacloud/cc5g/model/UpdateWirelessCloudConnectorRequest.h + include/alibabacloud/cc5g/model/UpdateWirelessCloudConnectorResult.h + include/alibabacloud/cc5g/model/UpdateWirelessCloudConnectorGroupRequest.h + include/alibabacloud/cc5g/model/UpdateWirelessCloudConnectorGroupResult.h ) + +set(cc5g_src + src/CC5GClient.cc + src/model/AddDNSAuthorizationRuleRequest.cc + src/model/AddDNSAuthorizationRuleResult.cc + src/model/AddGroupDnsAuthorizationRuleRequest.cc + src/model/AddGroupDnsAuthorizationRuleResult.cc + src/model/AddWirelessCloudConnectorToGroupRequest.cc + src/model/AddWirelessCloudConnectorToGroupResult.cc + src/model/AttachVpcToNetLinkRequest.cc + src/model/AttachVpcToNetLinkResult.cc + src/model/CreateAuthorizationRuleRequest.cc + src/model/CreateAuthorizationRuleResult.cc + src/model/CreateBatchOperateCardsTaskRequest.cc + src/model/CreateBatchOperateCardsTaskResult.cc + src/model/CreateGroupAuthorizationRuleRequest.cc + src/model/CreateGroupAuthorizationRuleResult.cc + src/model/CreateIoTCloudConnectorBackhaulRouteRequest.cc + src/model/CreateIoTCloudConnectorBackhaulRouteResult.cc + src/model/CreateWirelessCloudConnectorRequest.cc + src/model/CreateWirelessCloudConnectorResult.cc + src/model/CreateWirelessCloudConnectorGroupRequest.cc + src/model/CreateWirelessCloudConnectorGroupResult.cc + src/model/DeleteAuthorizationRuleRequest.cc + src/model/DeleteAuthorizationRuleResult.cc + src/model/DeleteBatchOperateCardsTaskRequest.cc + src/model/DeleteBatchOperateCardsTaskResult.cc + src/model/DeleteGroupAuthorizationRuleRequest.cc + src/model/DeleteGroupAuthorizationRuleResult.cc + src/model/DeleteIoTCloudConnectorBackhaulRouteRequest.cc + src/model/DeleteIoTCloudConnectorBackhaulRouteResult.cc + src/model/DeleteWirelessCloudConnectorRequest.cc + src/model/DeleteWirelessCloudConnectorResult.cc + src/model/DeleteWirelessCloudConnectorGroupRequest.cc + src/model/DeleteWirelessCloudConnectorGroupResult.cc + src/model/DetachVpcFromNetLinkRequest.cc + src/model/DetachVpcFromNetLinkResult.cc + src/model/FailCardsRequest.cc + src/model/FailCardsResult.cc + src/model/GetCardRequest.cc + src/model/GetCardResult.cc + src/model/GetCardLockReasonRequest.cc + src/model/GetCardLockReasonResult.cc + src/model/GetCreateCustomerInformationRequest.cc + src/model/GetCreateCustomerInformationResult.cc + src/model/GetDiagnoseResultForSingleCardRequest.cc + src/model/GetDiagnoseResultForSingleCardResult.cc + src/model/GetWirelessCloudConnectorRequest.cc + src/model/GetWirelessCloudConnectorResult.cc + src/model/GrantNetLinkRequest.cc + src/model/GrantNetLinkResult.cc + src/model/ListAPNsRequest.cc + src/model/ListAPNsResult.cc + src/model/ListAuthorizationRulesRequest.cc + src/model/ListAuthorizationRulesResult.cc + src/model/ListBatchOperateCardsTasksRequest.cc + src/model/ListBatchOperateCardsTasksResult.cc + src/model/ListCardsRequest.cc + src/model/ListCardsResult.cc + src/model/ListDataPackagesRequest.cc + src/model/ListDataPackagesResult.cc + src/model/ListDiagnoseInfoForSingleCardRequest.cc + src/model/ListDiagnoseInfoForSingleCardResult.cc + src/model/ListGroupAuthorizationRulesRequest.cc + src/model/ListGroupAuthorizationRulesResult.cc + src/model/ListIoTCloudConnectorBackhaulRouteRequest.cc + src/model/ListIoTCloudConnectorBackhaulRouteResult.cc + src/model/ListOrdersRequest.cc + src/model/ListOrdersResult.cc + src/model/ListRegionsRequest.cc + src/model/ListRegionsResult.cc + src/model/ListWirelessCloudConnectorGroupsRequest.cc + src/model/ListWirelessCloudConnectorGroupsResult.cc + src/model/ListWirelessCloudConnectorsRequest.cc + src/model/ListWirelessCloudConnectorsResult.cc + src/model/ListZonesRequest.cc + src/model/ListZonesResult.cc + src/model/LockCardsRequest.cc + src/model/LockCardsResult.cc + src/model/ModifyWirelessCloudConnectorFeatureRequest.cc + src/model/ModifyWirelessCloudConnectorFeatureResult.cc + src/model/OpenCc5gServiceRequest.cc + src/model/OpenCc5gServiceResult.cc + src/model/RemoveWirelessCloudConnectorFromGroupRequest.cc + src/model/RemoveWirelessCloudConnectorFromGroupResult.cc + src/model/ResumeCardsRequest.cc + src/model/ResumeCardsResult.cc + src/model/RevokeNetLinkRequest.cc + src/model/RevokeNetLinkResult.cc + src/model/StopCardsRequest.cc + src/model/StopCardsResult.cc + src/model/SubmitDiagnoseTaskForSingleCardRequest.cc + src/model/SubmitDiagnoseTaskForSingleCardResult.cc + src/model/SwitchWirelessCloudConnectorToBusinessRequest.cc + src/model/SwitchWirelessCloudConnectorToBusinessResult.cc + src/model/UnlockCardsRequest.cc + src/model/UnlockCardsResult.cc + src/model/UpdateAuthorizationRuleRequest.cc + src/model/UpdateAuthorizationRuleResult.cc + src/model/UpdateBatchOperateCardsTaskRequest.cc + src/model/UpdateBatchOperateCardsTaskResult.cc + src/model/UpdateCardRequest.cc + src/model/UpdateCardResult.cc + src/model/UpdateDNSAuthorizationRuleRequest.cc + src/model/UpdateDNSAuthorizationRuleResult.cc + src/model/UpdateGroupAuthorizationRuleRequest.cc + src/model/UpdateGroupAuthorizationRuleResult.cc + src/model/UpdateGroupDnsAuthorizationRuleRequest.cc + src/model/UpdateGroupDnsAuthorizationRuleResult.cc + src/model/UpdateWirelessCloudConnectorRequest.cc + src/model/UpdateWirelessCloudConnectorResult.cc + src/model/UpdateWirelessCloudConnectorGroupRequest.cc + src/model/UpdateWirelessCloudConnectorGroupResult.cc ) + +add_library(cc5g ${LIB_TYPE} + ${cc5g_public_header} + ${cc5g_public_header_model} + ${cc5g_src}) + +set_target_properties(cc5g + 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}cc5g + ) + +if(${LIB_TYPE} STREQUAL "SHARED") + set_target_properties(cc5g + PROPERTIES + DEFINE_SYMBOL ALIBABACLOUD_CC5G_LIBRARY) +endif() + +target_include_directories(cc5g + PRIVATE include + ${CMAKE_SOURCE_DIR}/core/include + ) +target_link_libraries(cc5g + core) + +if(CMAKE_HOST_WIN32) + ExternalProject_Get_Property(jsoncpp INSTALL_DIR) + set(jsoncpp_install_dir ${INSTALL_DIR}) + add_dependencies(cc5g + jsoncpp) + target_include_directories(cc5g + PRIVATE ${jsoncpp_install_dir}/include) + target_link_libraries(cc5g + ${jsoncpp_install_dir}/lib/jsoncpp.lib) + set_target_properties(cc5g + PROPERTIES + COMPILE_OPTIONS "/bigobj") +else() + target_include_directories(cc5g + PRIVATE /usr/include/jsoncpp) + target_link_libraries(cc5g + jsoncpp) +endif() + +install(FILES ${cc5g_public_header} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/cc5g) +install(FILES ${cc5g_public_header_model} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/cc5g/model) +install(TARGETS cc5g + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + ) \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/CC5GClient.h b/cc5g/include/alibabacloud/cc5g/CC5GClient.h new file mode 100644 index 000000000..943234239 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/CC5GClient.h @@ -0,0 +1,486 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_CC5GCLIENT_H_ +#define ALIBABACLOUD_CC5G_CC5GCLIENT_H_ + +#include +#include +#include +#include +#include "CC5GExport.h" +#include "model/AddDNSAuthorizationRuleRequest.h" +#include "model/AddDNSAuthorizationRuleResult.h" +#include "model/AddGroupDnsAuthorizationRuleRequest.h" +#include "model/AddGroupDnsAuthorizationRuleResult.h" +#include "model/AddWirelessCloudConnectorToGroupRequest.h" +#include "model/AddWirelessCloudConnectorToGroupResult.h" +#include "model/AttachVpcToNetLinkRequest.h" +#include "model/AttachVpcToNetLinkResult.h" +#include "model/CreateAuthorizationRuleRequest.h" +#include "model/CreateAuthorizationRuleResult.h" +#include "model/CreateBatchOperateCardsTaskRequest.h" +#include "model/CreateBatchOperateCardsTaskResult.h" +#include "model/CreateGroupAuthorizationRuleRequest.h" +#include "model/CreateGroupAuthorizationRuleResult.h" +#include "model/CreateIoTCloudConnectorBackhaulRouteRequest.h" +#include "model/CreateIoTCloudConnectorBackhaulRouteResult.h" +#include "model/CreateWirelessCloudConnectorRequest.h" +#include "model/CreateWirelessCloudConnectorResult.h" +#include "model/CreateWirelessCloudConnectorGroupRequest.h" +#include "model/CreateWirelessCloudConnectorGroupResult.h" +#include "model/DeleteAuthorizationRuleRequest.h" +#include "model/DeleteAuthorizationRuleResult.h" +#include "model/DeleteBatchOperateCardsTaskRequest.h" +#include "model/DeleteBatchOperateCardsTaskResult.h" +#include "model/DeleteGroupAuthorizationRuleRequest.h" +#include "model/DeleteGroupAuthorizationRuleResult.h" +#include "model/DeleteIoTCloudConnectorBackhaulRouteRequest.h" +#include "model/DeleteIoTCloudConnectorBackhaulRouteResult.h" +#include "model/DeleteWirelessCloudConnectorRequest.h" +#include "model/DeleteWirelessCloudConnectorResult.h" +#include "model/DeleteWirelessCloudConnectorGroupRequest.h" +#include "model/DeleteWirelessCloudConnectorGroupResult.h" +#include "model/DetachVpcFromNetLinkRequest.h" +#include "model/DetachVpcFromNetLinkResult.h" +#include "model/FailCardsRequest.h" +#include "model/FailCardsResult.h" +#include "model/GetCardRequest.h" +#include "model/GetCardResult.h" +#include "model/GetCardLockReasonRequest.h" +#include "model/GetCardLockReasonResult.h" +#include "model/GetCreateCustomerInformationRequest.h" +#include "model/GetCreateCustomerInformationResult.h" +#include "model/GetDiagnoseResultForSingleCardRequest.h" +#include "model/GetDiagnoseResultForSingleCardResult.h" +#include "model/GetWirelessCloudConnectorRequest.h" +#include "model/GetWirelessCloudConnectorResult.h" +#include "model/GrantNetLinkRequest.h" +#include "model/GrantNetLinkResult.h" +#include "model/ListAPNsRequest.h" +#include "model/ListAPNsResult.h" +#include "model/ListAuthorizationRulesRequest.h" +#include "model/ListAuthorizationRulesResult.h" +#include "model/ListBatchOperateCardsTasksRequest.h" +#include "model/ListBatchOperateCardsTasksResult.h" +#include "model/ListCardsRequest.h" +#include "model/ListCardsResult.h" +#include "model/ListDataPackagesRequest.h" +#include "model/ListDataPackagesResult.h" +#include "model/ListDiagnoseInfoForSingleCardRequest.h" +#include "model/ListDiagnoseInfoForSingleCardResult.h" +#include "model/ListGroupAuthorizationRulesRequest.h" +#include "model/ListGroupAuthorizationRulesResult.h" +#include "model/ListIoTCloudConnectorBackhaulRouteRequest.h" +#include "model/ListIoTCloudConnectorBackhaulRouteResult.h" +#include "model/ListOrdersRequest.h" +#include "model/ListOrdersResult.h" +#include "model/ListRegionsRequest.h" +#include "model/ListRegionsResult.h" +#include "model/ListWirelessCloudConnectorGroupsRequest.h" +#include "model/ListWirelessCloudConnectorGroupsResult.h" +#include "model/ListWirelessCloudConnectorsRequest.h" +#include "model/ListWirelessCloudConnectorsResult.h" +#include "model/ListZonesRequest.h" +#include "model/ListZonesResult.h" +#include "model/LockCardsRequest.h" +#include "model/LockCardsResult.h" +#include "model/ModifyWirelessCloudConnectorFeatureRequest.h" +#include "model/ModifyWirelessCloudConnectorFeatureResult.h" +#include "model/OpenCc5gServiceRequest.h" +#include "model/OpenCc5gServiceResult.h" +#include "model/RemoveWirelessCloudConnectorFromGroupRequest.h" +#include "model/RemoveWirelessCloudConnectorFromGroupResult.h" +#include "model/ResumeCardsRequest.h" +#include "model/ResumeCardsResult.h" +#include "model/RevokeNetLinkRequest.h" +#include "model/RevokeNetLinkResult.h" +#include "model/StopCardsRequest.h" +#include "model/StopCardsResult.h" +#include "model/SubmitDiagnoseTaskForSingleCardRequest.h" +#include "model/SubmitDiagnoseTaskForSingleCardResult.h" +#include "model/SwitchWirelessCloudConnectorToBusinessRequest.h" +#include "model/SwitchWirelessCloudConnectorToBusinessResult.h" +#include "model/UnlockCardsRequest.h" +#include "model/UnlockCardsResult.h" +#include "model/UpdateAuthorizationRuleRequest.h" +#include "model/UpdateAuthorizationRuleResult.h" +#include "model/UpdateBatchOperateCardsTaskRequest.h" +#include "model/UpdateBatchOperateCardsTaskResult.h" +#include "model/UpdateCardRequest.h" +#include "model/UpdateCardResult.h" +#include "model/UpdateDNSAuthorizationRuleRequest.h" +#include "model/UpdateDNSAuthorizationRuleResult.h" +#include "model/UpdateGroupAuthorizationRuleRequest.h" +#include "model/UpdateGroupAuthorizationRuleResult.h" +#include "model/UpdateGroupDnsAuthorizationRuleRequest.h" +#include "model/UpdateGroupDnsAuthorizationRuleResult.h" +#include "model/UpdateWirelessCloudConnectorRequest.h" +#include "model/UpdateWirelessCloudConnectorResult.h" +#include "model/UpdateWirelessCloudConnectorGroupRequest.h" +#include "model/UpdateWirelessCloudConnectorGroupResult.h" + + +namespace AlibabaCloud +{ + namespace CC5G + { + class ALIBABACLOUD_CC5G_EXPORT CC5GClient : public RpcServiceClient + { + public: + typedef Outcome AddDNSAuthorizationRuleOutcome; + typedef std::future AddDNSAuthorizationRuleOutcomeCallable; + typedef std::function&)> AddDNSAuthorizationRuleAsyncHandler; + typedef Outcome AddGroupDnsAuthorizationRuleOutcome; + typedef std::future AddGroupDnsAuthorizationRuleOutcomeCallable; + typedef std::function&)> AddGroupDnsAuthorizationRuleAsyncHandler; + typedef Outcome AddWirelessCloudConnectorToGroupOutcome; + typedef std::future AddWirelessCloudConnectorToGroupOutcomeCallable; + typedef std::function&)> AddWirelessCloudConnectorToGroupAsyncHandler; + typedef Outcome AttachVpcToNetLinkOutcome; + typedef std::future AttachVpcToNetLinkOutcomeCallable; + typedef std::function&)> AttachVpcToNetLinkAsyncHandler; + typedef Outcome CreateAuthorizationRuleOutcome; + typedef std::future CreateAuthorizationRuleOutcomeCallable; + typedef std::function&)> CreateAuthorizationRuleAsyncHandler; + typedef Outcome CreateBatchOperateCardsTaskOutcome; + typedef std::future CreateBatchOperateCardsTaskOutcomeCallable; + typedef std::function&)> CreateBatchOperateCardsTaskAsyncHandler; + typedef Outcome CreateGroupAuthorizationRuleOutcome; + typedef std::future CreateGroupAuthorizationRuleOutcomeCallable; + typedef std::function&)> CreateGroupAuthorizationRuleAsyncHandler; + typedef Outcome CreateIoTCloudConnectorBackhaulRouteOutcome; + typedef std::future CreateIoTCloudConnectorBackhaulRouteOutcomeCallable; + typedef std::function&)> CreateIoTCloudConnectorBackhaulRouteAsyncHandler; + typedef Outcome CreateWirelessCloudConnectorOutcome; + typedef std::future CreateWirelessCloudConnectorOutcomeCallable; + typedef std::function&)> CreateWirelessCloudConnectorAsyncHandler; + typedef Outcome CreateWirelessCloudConnectorGroupOutcome; + typedef std::future CreateWirelessCloudConnectorGroupOutcomeCallable; + typedef std::function&)> CreateWirelessCloudConnectorGroupAsyncHandler; + typedef Outcome DeleteAuthorizationRuleOutcome; + typedef std::future DeleteAuthorizationRuleOutcomeCallable; + typedef std::function&)> DeleteAuthorizationRuleAsyncHandler; + typedef Outcome DeleteBatchOperateCardsTaskOutcome; + typedef std::future DeleteBatchOperateCardsTaskOutcomeCallable; + typedef std::function&)> DeleteBatchOperateCardsTaskAsyncHandler; + typedef Outcome DeleteGroupAuthorizationRuleOutcome; + typedef std::future DeleteGroupAuthorizationRuleOutcomeCallable; + typedef std::function&)> DeleteGroupAuthorizationRuleAsyncHandler; + typedef Outcome DeleteIoTCloudConnectorBackhaulRouteOutcome; + typedef std::future DeleteIoTCloudConnectorBackhaulRouteOutcomeCallable; + typedef std::function&)> DeleteIoTCloudConnectorBackhaulRouteAsyncHandler; + typedef Outcome DeleteWirelessCloudConnectorOutcome; + typedef std::future DeleteWirelessCloudConnectorOutcomeCallable; + typedef std::function&)> DeleteWirelessCloudConnectorAsyncHandler; + typedef Outcome DeleteWirelessCloudConnectorGroupOutcome; + typedef std::future DeleteWirelessCloudConnectorGroupOutcomeCallable; + typedef std::function&)> DeleteWirelessCloudConnectorGroupAsyncHandler; + typedef Outcome DetachVpcFromNetLinkOutcome; + typedef std::future DetachVpcFromNetLinkOutcomeCallable; + typedef std::function&)> DetachVpcFromNetLinkAsyncHandler; + typedef Outcome FailCardsOutcome; + typedef std::future FailCardsOutcomeCallable; + typedef std::function&)> FailCardsAsyncHandler; + typedef Outcome GetCardOutcome; + typedef std::future GetCardOutcomeCallable; + typedef std::function&)> GetCardAsyncHandler; + typedef Outcome GetCardLockReasonOutcome; + typedef std::future GetCardLockReasonOutcomeCallable; + typedef std::function&)> GetCardLockReasonAsyncHandler; + typedef Outcome GetCreateCustomerInformationOutcome; + typedef std::future GetCreateCustomerInformationOutcomeCallable; + typedef std::function&)> GetCreateCustomerInformationAsyncHandler; + typedef Outcome GetDiagnoseResultForSingleCardOutcome; + typedef std::future GetDiagnoseResultForSingleCardOutcomeCallable; + typedef std::function&)> GetDiagnoseResultForSingleCardAsyncHandler; + typedef Outcome GetWirelessCloudConnectorOutcome; + typedef std::future GetWirelessCloudConnectorOutcomeCallable; + typedef std::function&)> GetWirelessCloudConnectorAsyncHandler; + typedef Outcome GrantNetLinkOutcome; + typedef std::future GrantNetLinkOutcomeCallable; + typedef std::function&)> GrantNetLinkAsyncHandler; + typedef Outcome ListAPNsOutcome; + typedef std::future ListAPNsOutcomeCallable; + typedef std::function&)> ListAPNsAsyncHandler; + typedef Outcome ListAuthorizationRulesOutcome; + typedef std::future ListAuthorizationRulesOutcomeCallable; + typedef std::function&)> ListAuthorizationRulesAsyncHandler; + typedef Outcome ListBatchOperateCardsTasksOutcome; + typedef std::future ListBatchOperateCardsTasksOutcomeCallable; + typedef std::function&)> ListBatchOperateCardsTasksAsyncHandler; + typedef Outcome ListCardsOutcome; + typedef std::future ListCardsOutcomeCallable; + typedef std::function&)> ListCardsAsyncHandler; + typedef Outcome ListDataPackagesOutcome; + typedef std::future ListDataPackagesOutcomeCallable; + typedef std::function&)> ListDataPackagesAsyncHandler; + typedef Outcome ListDiagnoseInfoForSingleCardOutcome; + typedef std::future ListDiagnoseInfoForSingleCardOutcomeCallable; + typedef std::function&)> ListDiagnoseInfoForSingleCardAsyncHandler; + typedef Outcome ListGroupAuthorizationRulesOutcome; + typedef std::future ListGroupAuthorizationRulesOutcomeCallable; + typedef std::function&)> ListGroupAuthorizationRulesAsyncHandler; + typedef Outcome ListIoTCloudConnectorBackhaulRouteOutcome; + typedef std::future ListIoTCloudConnectorBackhaulRouteOutcomeCallable; + typedef std::function&)> ListIoTCloudConnectorBackhaulRouteAsyncHandler; + typedef Outcome ListOrdersOutcome; + typedef std::future ListOrdersOutcomeCallable; + typedef std::function&)> ListOrdersAsyncHandler; + typedef Outcome ListRegionsOutcome; + typedef std::future ListRegionsOutcomeCallable; + typedef std::function&)> ListRegionsAsyncHandler; + typedef Outcome ListWirelessCloudConnectorGroupsOutcome; + typedef std::future ListWirelessCloudConnectorGroupsOutcomeCallable; + typedef std::function&)> ListWirelessCloudConnectorGroupsAsyncHandler; + typedef Outcome ListWirelessCloudConnectorsOutcome; + typedef std::future ListWirelessCloudConnectorsOutcomeCallable; + typedef std::function&)> ListWirelessCloudConnectorsAsyncHandler; + typedef Outcome ListZonesOutcome; + typedef std::future ListZonesOutcomeCallable; + typedef std::function&)> ListZonesAsyncHandler; + typedef Outcome LockCardsOutcome; + typedef std::future LockCardsOutcomeCallable; + typedef std::function&)> LockCardsAsyncHandler; + typedef Outcome ModifyWirelessCloudConnectorFeatureOutcome; + typedef std::future ModifyWirelessCloudConnectorFeatureOutcomeCallable; + typedef std::function&)> ModifyWirelessCloudConnectorFeatureAsyncHandler; + typedef Outcome OpenCc5gServiceOutcome; + typedef std::future OpenCc5gServiceOutcomeCallable; + typedef std::function&)> OpenCc5gServiceAsyncHandler; + typedef Outcome RemoveWirelessCloudConnectorFromGroupOutcome; + typedef std::future RemoveWirelessCloudConnectorFromGroupOutcomeCallable; + typedef std::function&)> RemoveWirelessCloudConnectorFromGroupAsyncHandler; + typedef Outcome ResumeCardsOutcome; + typedef std::future ResumeCardsOutcomeCallable; + typedef std::function&)> ResumeCardsAsyncHandler; + typedef Outcome RevokeNetLinkOutcome; + typedef std::future RevokeNetLinkOutcomeCallable; + typedef std::function&)> RevokeNetLinkAsyncHandler; + typedef Outcome StopCardsOutcome; + typedef std::future StopCardsOutcomeCallable; + typedef std::function&)> StopCardsAsyncHandler; + typedef Outcome SubmitDiagnoseTaskForSingleCardOutcome; + typedef std::future SubmitDiagnoseTaskForSingleCardOutcomeCallable; + typedef std::function&)> SubmitDiagnoseTaskForSingleCardAsyncHandler; + typedef Outcome SwitchWirelessCloudConnectorToBusinessOutcome; + typedef std::future SwitchWirelessCloudConnectorToBusinessOutcomeCallable; + typedef std::function&)> SwitchWirelessCloudConnectorToBusinessAsyncHandler; + typedef Outcome UnlockCardsOutcome; + typedef std::future UnlockCardsOutcomeCallable; + typedef std::function&)> UnlockCardsAsyncHandler; + typedef Outcome UpdateAuthorizationRuleOutcome; + typedef std::future UpdateAuthorizationRuleOutcomeCallable; + typedef std::function&)> UpdateAuthorizationRuleAsyncHandler; + typedef Outcome UpdateBatchOperateCardsTaskOutcome; + typedef std::future UpdateBatchOperateCardsTaskOutcomeCallable; + typedef std::function&)> UpdateBatchOperateCardsTaskAsyncHandler; + typedef Outcome UpdateCardOutcome; + typedef std::future UpdateCardOutcomeCallable; + typedef std::function&)> UpdateCardAsyncHandler; + typedef Outcome UpdateDNSAuthorizationRuleOutcome; + typedef std::future UpdateDNSAuthorizationRuleOutcomeCallable; + typedef std::function&)> UpdateDNSAuthorizationRuleAsyncHandler; + typedef Outcome UpdateGroupAuthorizationRuleOutcome; + typedef std::future UpdateGroupAuthorizationRuleOutcomeCallable; + typedef std::function&)> UpdateGroupAuthorizationRuleAsyncHandler; + typedef Outcome UpdateGroupDnsAuthorizationRuleOutcome; + typedef std::future UpdateGroupDnsAuthorizationRuleOutcomeCallable; + typedef std::function&)> UpdateGroupDnsAuthorizationRuleAsyncHandler; + typedef Outcome UpdateWirelessCloudConnectorOutcome; + typedef std::future UpdateWirelessCloudConnectorOutcomeCallable; + typedef std::function&)> UpdateWirelessCloudConnectorAsyncHandler; + typedef Outcome UpdateWirelessCloudConnectorGroupOutcome; + typedef std::future UpdateWirelessCloudConnectorGroupOutcomeCallable; + typedef std::function&)> UpdateWirelessCloudConnectorGroupAsyncHandler; + + CC5GClient(const Credentials &credentials, const ClientConfiguration &configuration); + CC5GClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); + CC5GClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); + ~CC5GClient(); + AddDNSAuthorizationRuleOutcome addDNSAuthorizationRule(const Model::AddDNSAuthorizationRuleRequest &request)const; + void addDNSAuthorizationRuleAsync(const Model::AddDNSAuthorizationRuleRequest& request, const AddDNSAuthorizationRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddDNSAuthorizationRuleOutcomeCallable addDNSAuthorizationRuleCallable(const Model::AddDNSAuthorizationRuleRequest& request) const; + AddGroupDnsAuthorizationRuleOutcome addGroupDnsAuthorizationRule(const Model::AddGroupDnsAuthorizationRuleRequest &request)const; + void addGroupDnsAuthorizationRuleAsync(const Model::AddGroupDnsAuthorizationRuleRequest& request, const AddGroupDnsAuthorizationRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddGroupDnsAuthorizationRuleOutcomeCallable addGroupDnsAuthorizationRuleCallable(const Model::AddGroupDnsAuthorizationRuleRequest& request) const; + AddWirelessCloudConnectorToGroupOutcome addWirelessCloudConnectorToGroup(const Model::AddWirelessCloudConnectorToGroupRequest &request)const; + void addWirelessCloudConnectorToGroupAsync(const Model::AddWirelessCloudConnectorToGroupRequest& request, const AddWirelessCloudConnectorToGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddWirelessCloudConnectorToGroupOutcomeCallable addWirelessCloudConnectorToGroupCallable(const Model::AddWirelessCloudConnectorToGroupRequest& request) const; + AttachVpcToNetLinkOutcome attachVpcToNetLink(const Model::AttachVpcToNetLinkRequest &request)const; + void attachVpcToNetLinkAsync(const Model::AttachVpcToNetLinkRequest& request, const AttachVpcToNetLinkAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AttachVpcToNetLinkOutcomeCallable attachVpcToNetLinkCallable(const Model::AttachVpcToNetLinkRequest& request) const; + CreateAuthorizationRuleOutcome createAuthorizationRule(const Model::CreateAuthorizationRuleRequest &request)const; + void createAuthorizationRuleAsync(const Model::CreateAuthorizationRuleRequest& request, const CreateAuthorizationRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateAuthorizationRuleOutcomeCallable createAuthorizationRuleCallable(const Model::CreateAuthorizationRuleRequest& request) const; + CreateBatchOperateCardsTaskOutcome createBatchOperateCardsTask(const Model::CreateBatchOperateCardsTaskRequest &request)const; + void createBatchOperateCardsTaskAsync(const Model::CreateBatchOperateCardsTaskRequest& request, const CreateBatchOperateCardsTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateBatchOperateCardsTaskOutcomeCallable createBatchOperateCardsTaskCallable(const Model::CreateBatchOperateCardsTaskRequest& request) const; + CreateGroupAuthorizationRuleOutcome createGroupAuthorizationRule(const Model::CreateGroupAuthorizationRuleRequest &request)const; + void createGroupAuthorizationRuleAsync(const Model::CreateGroupAuthorizationRuleRequest& request, const CreateGroupAuthorizationRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateGroupAuthorizationRuleOutcomeCallable createGroupAuthorizationRuleCallable(const Model::CreateGroupAuthorizationRuleRequest& request) const; + CreateIoTCloudConnectorBackhaulRouteOutcome createIoTCloudConnectorBackhaulRoute(const Model::CreateIoTCloudConnectorBackhaulRouteRequest &request)const; + void createIoTCloudConnectorBackhaulRouteAsync(const Model::CreateIoTCloudConnectorBackhaulRouteRequest& request, const CreateIoTCloudConnectorBackhaulRouteAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateIoTCloudConnectorBackhaulRouteOutcomeCallable createIoTCloudConnectorBackhaulRouteCallable(const Model::CreateIoTCloudConnectorBackhaulRouteRequest& request) const; + CreateWirelessCloudConnectorOutcome createWirelessCloudConnector(const Model::CreateWirelessCloudConnectorRequest &request)const; + void createWirelessCloudConnectorAsync(const Model::CreateWirelessCloudConnectorRequest& request, const CreateWirelessCloudConnectorAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateWirelessCloudConnectorOutcomeCallable createWirelessCloudConnectorCallable(const Model::CreateWirelessCloudConnectorRequest& request) const; + CreateWirelessCloudConnectorGroupOutcome createWirelessCloudConnectorGroup(const Model::CreateWirelessCloudConnectorGroupRequest &request)const; + void createWirelessCloudConnectorGroupAsync(const Model::CreateWirelessCloudConnectorGroupRequest& request, const CreateWirelessCloudConnectorGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateWirelessCloudConnectorGroupOutcomeCallable createWirelessCloudConnectorGroupCallable(const Model::CreateWirelessCloudConnectorGroupRequest& request) const; + DeleteAuthorizationRuleOutcome deleteAuthorizationRule(const Model::DeleteAuthorizationRuleRequest &request)const; + void deleteAuthorizationRuleAsync(const Model::DeleteAuthorizationRuleRequest& request, const DeleteAuthorizationRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteAuthorizationRuleOutcomeCallable deleteAuthorizationRuleCallable(const Model::DeleteAuthorizationRuleRequest& request) const; + DeleteBatchOperateCardsTaskOutcome deleteBatchOperateCardsTask(const Model::DeleteBatchOperateCardsTaskRequest &request)const; + void deleteBatchOperateCardsTaskAsync(const Model::DeleteBatchOperateCardsTaskRequest& request, const DeleteBatchOperateCardsTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteBatchOperateCardsTaskOutcomeCallable deleteBatchOperateCardsTaskCallable(const Model::DeleteBatchOperateCardsTaskRequest& request) const; + DeleteGroupAuthorizationRuleOutcome deleteGroupAuthorizationRule(const Model::DeleteGroupAuthorizationRuleRequest &request)const; + void deleteGroupAuthorizationRuleAsync(const Model::DeleteGroupAuthorizationRuleRequest& request, const DeleteGroupAuthorizationRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteGroupAuthorizationRuleOutcomeCallable deleteGroupAuthorizationRuleCallable(const Model::DeleteGroupAuthorizationRuleRequest& request) const; + DeleteIoTCloudConnectorBackhaulRouteOutcome deleteIoTCloudConnectorBackhaulRoute(const Model::DeleteIoTCloudConnectorBackhaulRouteRequest &request)const; + void deleteIoTCloudConnectorBackhaulRouteAsync(const Model::DeleteIoTCloudConnectorBackhaulRouteRequest& request, const DeleteIoTCloudConnectorBackhaulRouteAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteIoTCloudConnectorBackhaulRouteOutcomeCallable deleteIoTCloudConnectorBackhaulRouteCallable(const Model::DeleteIoTCloudConnectorBackhaulRouteRequest& request) const; + DeleteWirelessCloudConnectorOutcome deleteWirelessCloudConnector(const Model::DeleteWirelessCloudConnectorRequest &request)const; + void deleteWirelessCloudConnectorAsync(const Model::DeleteWirelessCloudConnectorRequest& request, const DeleteWirelessCloudConnectorAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteWirelessCloudConnectorOutcomeCallable deleteWirelessCloudConnectorCallable(const Model::DeleteWirelessCloudConnectorRequest& request) const; + DeleteWirelessCloudConnectorGroupOutcome deleteWirelessCloudConnectorGroup(const Model::DeleteWirelessCloudConnectorGroupRequest &request)const; + void deleteWirelessCloudConnectorGroupAsync(const Model::DeleteWirelessCloudConnectorGroupRequest& request, const DeleteWirelessCloudConnectorGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteWirelessCloudConnectorGroupOutcomeCallable deleteWirelessCloudConnectorGroupCallable(const Model::DeleteWirelessCloudConnectorGroupRequest& request) const; + DetachVpcFromNetLinkOutcome detachVpcFromNetLink(const Model::DetachVpcFromNetLinkRequest &request)const; + void detachVpcFromNetLinkAsync(const Model::DetachVpcFromNetLinkRequest& request, const DetachVpcFromNetLinkAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DetachVpcFromNetLinkOutcomeCallable detachVpcFromNetLinkCallable(const Model::DetachVpcFromNetLinkRequest& request) const; + FailCardsOutcome failCards(const Model::FailCardsRequest &request)const; + void failCardsAsync(const Model::FailCardsRequest& request, const FailCardsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + FailCardsOutcomeCallable failCardsCallable(const Model::FailCardsRequest& request) const; + GetCardOutcome getCard(const Model::GetCardRequest &request)const; + void getCardAsync(const Model::GetCardRequest& request, const GetCardAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetCardOutcomeCallable getCardCallable(const Model::GetCardRequest& request) const; + GetCardLockReasonOutcome getCardLockReason(const Model::GetCardLockReasonRequest &request)const; + void getCardLockReasonAsync(const Model::GetCardLockReasonRequest& request, const GetCardLockReasonAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetCardLockReasonOutcomeCallable getCardLockReasonCallable(const Model::GetCardLockReasonRequest& request) const; + GetCreateCustomerInformationOutcome getCreateCustomerInformation(const Model::GetCreateCustomerInformationRequest &request)const; + void getCreateCustomerInformationAsync(const Model::GetCreateCustomerInformationRequest& request, const GetCreateCustomerInformationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetCreateCustomerInformationOutcomeCallable getCreateCustomerInformationCallable(const Model::GetCreateCustomerInformationRequest& request) const; + GetDiagnoseResultForSingleCardOutcome getDiagnoseResultForSingleCard(const Model::GetDiagnoseResultForSingleCardRequest &request)const; + void getDiagnoseResultForSingleCardAsync(const Model::GetDiagnoseResultForSingleCardRequest& request, const GetDiagnoseResultForSingleCardAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetDiagnoseResultForSingleCardOutcomeCallable getDiagnoseResultForSingleCardCallable(const Model::GetDiagnoseResultForSingleCardRequest& request) const; + GetWirelessCloudConnectorOutcome getWirelessCloudConnector(const Model::GetWirelessCloudConnectorRequest &request)const; + void getWirelessCloudConnectorAsync(const Model::GetWirelessCloudConnectorRequest& request, const GetWirelessCloudConnectorAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetWirelessCloudConnectorOutcomeCallable getWirelessCloudConnectorCallable(const Model::GetWirelessCloudConnectorRequest& request) const; + GrantNetLinkOutcome grantNetLink(const Model::GrantNetLinkRequest &request)const; + void grantNetLinkAsync(const Model::GrantNetLinkRequest& request, const GrantNetLinkAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GrantNetLinkOutcomeCallable grantNetLinkCallable(const Model::GrantNetLinkRequest& request) const; + ListAPNsOutcome listAPNs(const Model::ListAPNsRequest &request)const; + void listAPNsAsync(const Model::ListAPNsRequest& request, const ListAPNsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListAPNsOutcomeCallable listAPNsCallable(const Model::ListAPNsRequest& request) const; + ListAuthorizationRulesOutcome listAuthorizationRules(const Model::ListAuthorizationRulesRequest &request)const; + void listAuthorizationRulesAsync(const Model::ListAuthorizationRulesRequest& request, const ListAuthorizationRulesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListAuthorizationRulesOutcomeCallable listAuthorizationRulesCallable(const Model::ListAuthorizationRulesRequest& request) const; + ListBatchOperateCardsTasksOutcome listBatchOperateCardsTasks(const Model::ListBatchOperateCardsTasksRequest &request)const; + void listBatchOperateCardsTasksAsync(const Model::ListBatchOperateCardsTasksRequest& request, const ListBatchOperateCardsTasksAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListBatchOperateCardsTasksOutcomeCallable listBatchOperateCardsTasksCallable(const Model::ListBatchOperateCardsTasksRequest& request) const; + ListCardsOutcome listCards(const Model::ListCardsRequest &request)const; + void listCardsAsync(const Model::ListCardsRequest& request, const ListCardsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListCardsOutcomeCallable listCardsCallable(const Model::ListCardsRequest& request) const; + ListDataPackagesOutcome listDataPackages(const Model::ListDataPackagesRequest &request)const; + void listDataPackagesAsync(const Model::ListDataPackagesRequest& request, const ListDataPackagesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDataPackagesOutcomeCallable listDataPackagesCallable(const Model::ListDataPackagesRequest& request) const; + ListDiagnoseInfoForSingleCardOutcome listDiagnoseInfoForSingleCard(const Model::ListDiagnoseInfoForSingleCardRequest &request)const; + void listDiagnoseInfoForSingleCardAsync(const Model::ListDiagnoseInfoForSingleCardRequest& request, const ListDiagnoseInfoForSingleCardAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDiagnoseInfoForSingleCardOutcomeCallable listDiagnoseInfoForSingleCardCallable(const Model::ListDiagnoseInfoForSingleCardRequest& request) const; + ListGroupAuthorizationRulesOutcome listGroupAuthorizationRules(const Model::ListGroupAuthorizationRulesRequest &request)const; + void listGroupAuthorizationRulesAsync(const Model::ListGroupAuthorizationRulesRequest& request, const ListGroupAuthorizationRulesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListGroupAuthorizationRulesOutcomeCallable listGroupAuthorizationRulesCallable(const Model::ListGroupAuthorizationRulesRequest& request) const; + ListIoTCloudConnectorBackhaulRouteOutcome listIoTCloudConnectorBackhaulRoute(const Model::ListIoTCloudConnectorBackhaulRouteRequest &request)const; + void listIoTCloudConnectorBackhaulRouteAsync(const Model::ListIoTCloudConnectorBackhaulRouteRequest& request, const ListIoTCloudConnectorBackhaulRouteAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListIoTCloudConnectorBackhaulRouteOutcomeCallable listIoTCloudConnectorBackhaulRouteCallable(const Model::ListIoTCloudConnectorBackhaulRouteRequest& request) const; + ListOrdersOutcome listOrders(const Model::ListOrdersRequest &request)const; + void listOrdersAsync(const Model::ListOrdersRequest& request, const ListOrdersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListOrdersOutcomeCallable listOrdersCallable(const Model::ListOrdersRequest& request) const; + ListRegionsOutcome listRegions(const Model::ListRegionsRequest &request)const; + void listRegionsAsync(const Model::ListRegionsRequest& request, const ListRegionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListRegionsOutcomeCallable listRegionsCallable(const Model::ListRegionsRequest& request) const; + ListWirelessCloudConnectorGroupsOutcome listWirelessCloudConnectorGroups(const Model::ListWirelessCloudConnectorGroupsRequest &request)const; + void listWirelessCloudConnectorGroupsAsync(const Model::ListWirelessCloudConnectorGroupsRequest& request, const ListWirelessCloudConnectorGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListWirelessCloudConnectorGroupsOutcomeCallable listWirelessCloudConnectorGroupsCallable(const Model::ListWirelessCloudConnectorGroupsRequest& request) const; + ListWirelessCloudConnectorsOutcome listWirelessCloudConnectors(const Model::ListWirelessCloudConnectorsRequest &request)const; + void listWirelessCloudConnectorsAsync(const Model::ListWirelessCloudConnectorsRequest& request, const ListWirelessCloudConnectorsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListWirelessCloudConnectorsOutcomeCallable listWirelessCloudConnectorsCallable(const Model::ListWirelessCloudConnectorsRequest& request) const; + ListZonesOutcome listZones(const Model::ListZonesRequest &request)const; + void listZonesAsync(const Model::ListZonesRequest& request, const ListZonesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListZonesOutcomeCallable listZonesCallable(const Model::ListZonesRequest& request) const; + LockCardsOutcome lockCards(const Model::LockCardsRequest &request)const; + void lockCardsAsync(const Model::LockCardsRequest& request, const LockCardsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + LockCardsOutcomeCallable lockCardsCallable(const Model::LockCardsRequest& request) const; + ModifyWirelessCloudConnectorFeatureOutcome modifyWirelessCloudConnectorFeature(const Model::ModifyWirelessCloudConnectorFeatureRequest &request)const; + void modifyWirelessCloudConnectorFeatureAsync(const Model::ModifyWirelessCloudConnectorFeatureRequest& request, const ModifyWirelessCloudConnectorFeatureAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyWirelessCloudConnectorFeatureOutcomeCallable modifyWirelessCloudConnectorFeatureCallable(const Model::ModifyWirelessCloudConnectorFeatureRequest& request) const; + OpenCc5gServiceOutcome openCc5gService(const Model::OpenCc5gServiceRequest &request)const; + void openCc5gServiceAsync(const Model::OpenCc5gServiceRequest& request, const OpenCc5gServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + OpenCc5gServiceOutcomeCallable openCc5gServiceCallable(const Model::OpenCc5gServiceRequest& request) const; + RemoveWirelessCloudConnectorFromGroupOutcome removeWirelessCloudConnectorFromGroup(const Model::RemoveWirelessCloudConnectorFromGroupRequest &request)const; + void removeWirelessCloudConnectorFromGroupAsync(const Model::RemoveWirelessCloudConnectorFromGroupRequest& request, const RemoveWirelessCloudConnectorFromGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RemoveWirelessCloudConnectorFromGroupOutcomeCallable removeWirelessCloudConnectorFromGroupCallable(const Model::RemoveWirelessCloudConnectorFromGroupRequest& request) const; + ResumeCardsOutcome resumeCards(const Model::ResumeCardsRequest &request)const; + void resumeCardsAsync(const Model::ResumeCardsRequest& request, const ResumeCardsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ResumeCardsOutcomeCallable resumeCardsCallable(const Model::ResumeCardsRequest& request) const; + RevokeNetLinkOutcome revokeNetLink(const Model::RevokeNetLinkRequest &request)const; + void revokeNetLinkAsync(const Model::RevokeNetLinkRequest& request, const RevokeNetLinkAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RevokeNetLinkOutcomeCallable revokeNetLinkCallable(const Model::RevokeNetLinkRequest& request) const; + StopCardsOutcome stopCards(const Model::StopCardsRequest &request)const; + void stopCardsAsync(const Model::StopCardsRequest& request, const StopCardsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StopCardsOutcomeCallable stopCardsCallable(const Model::StopCardsRequest& request) const; + SubmitDiagnoseTaskForSingleCardOutcome submitDiagnoseTaskForSingleCard(const Model::SubmitDiagnoseTaskForSingleCardRequest &request)const; + void submitDiagnoseTaskForSingleCardAsync(const Model::SubmitDiagnoseTaskForSingleCardRequest& request, const SubmitDiagnoseTaskForSingleCardAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SubmitDiagnoseTaskForSingleCardOutcomeCallable submitDiagnoseTaskForSingleCardCallable(const Model::SubmitDiagnoseTaskForSingleCardRequest& request) const; + SwitchWirelessCloudConnectorToBusinessOutcome switchWirelessCloudConnectorToBusiness(const Model::SwitchWirelessCloudConnectorToBusinessRequest &request)const; + void switchWirelessCloudConnectorToBusinessAsync(const Model::SwitchWirelessCloudConnectorToBusinessRequest& request, const SwitchWirelessCloudConnectorToBusinessAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SwitchWirelessCloudConnectorToBusinessOutcomeCallable switchWirelessCloudConnectorToBusinessCallable(const Model::SwitchWirelessCloudConnectorToBusinessRequest& request) const; + UnlockCardsOutcome unlockCards(const Model::UnlockCardsRequest &request)const; + void unlockCardsAsync(const Model::UnlockCardsRequest& request, const UnlockCardsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UnlockCardsOutcomeCallable unlockCardsCallable(const Model::UnlockCardsRequest& request) const; + UpdateAuthorizationRuleOutcome updateAuthorizationRule(const Model::UpdateAuthorizationRuleRequest &request)const; + void updateAuthorizationRuleAsync(const Model::UpdateAuthorizationRuleRequest& request, const UpdateAuthorizationRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateAuthorizationRuleOutcomeCallable updateAuthorizationRuleCallable(const Model::UpdateAuthorizationRuleRequest& request) const; + UpdateBatchOperateCardsTaskOutcome updateBatchOperateCardsTask(const Model::UpdateBatchOperateCardsTaskRequest &request)const; + void updateBatchOperateCardsTaskAsync(const Model::UpdateBatchOperateCardsTaskRequest& request, const UpdateBatchOperateCardsTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateBatchOperateCardsTaskOutcomeCallable updateBatchOperateCardsTaskCallable(const Model::UpdateBatchOperateCardsTaskRequest& request) const; + UpdateCardOutcome updateCard(const Model::UpdateCardRequest &request)const; + void updateCardAsync(const Model::UpdateCardRequest& request, const UpdateCardAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateCardOutcomeCallable updateCardCallable(const Model::UpdateCardRequest& request) const; + UpdateDNSAuthorizationRuleOutcome updateDNSAuthorizationRule(const Model::UpdateDNSAuthorizationRuleRequest &request)const; + void updateDNSAuthorizationRuleAsync(const Model::UpdateDNSAuthorizationRuleRequest& request, const UpdateDNSAuthorizationRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateDNSAuthorizationRuleOutcomeCallable updateDNSAuthorizationRuleCallable(const Model::UpdateDNSAuthorizationRuleRequest& request) const; + UpdateGroupAuthorizationRuleOutcome updateGroupAuthorizationRule(const Model::UpdateGroupAuthorizationRuleRequest &request)const; + void updateGroupAuthorizationRuleAsync(const Model::UpdateGroupAuthorizationRuleRequest& request, const UpdateGroupAuthorizationRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateGroupAuthorizationRuleOutcomeCallable updateGroupAuthorizationRuleCallable(const Model::UpdateGroupAuthorizationRuleRequest& request) const; + UpdateGroupDnsAuthorizationRuleOutcome updateGroupDnsAuthorizationRule(const Model::UpdateGroupDnsAuthorizationRuleRequest &request)const; + void updateGroupDnsAuthorizationRuleAsync(const Model::UpdateGroupDnsAuthorizationRuleRequest& request, const UpdateGroupDnsAuthorizationRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateGroupDnsAuthorizationRuleOutcomeCallable updateGroupDnsAuthorizationRuleCallable(const Model::UpdateGroupDnsAuthorizationRuleRequest& request) const; + UpdateWirelessCloudConnectorOutcome updateWirelessCloudConnector(const Model::UpdateWirelessCloudConnectorRequest &request)const; + void updateWirelessCloudConnectorAsync(const Model::UpdateWirelessCloudConnectorRequest& request, const UpdateWirelessCloudConnectorAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateWirelessCloudConnectorOutcomeCallable updateWirelessCloudConnectorCallable(const Model::UpdateWirelessCloudConnectorRequest& request) const; + UpdateWirelessCloudConnectorGroupOutcome updateWirelessCloudConnectorGroup(const Model::UpdateWirelessCloudConnectorGroupRequest &request)const; + void updateWirelessCloudConnectorGroupAsync(const Model::UpdateWirelessCloudConnectorGroupRequest& request, const UpdateWirelessCloudConnectorGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateWirelessCloudConnectorGroupOutcomeCallable updateWirelessCloudConnectorGroupCallable(const Model::UpdateWirelessCloudConnectorGroupRequest& request) const; + + private: + std::shared_ptr endpointProvider_; + }; + } +} + +#endif // !ALIBABACLOUD_CC5G_CC5GCLIENT_H_ diff --git a/cc5g/include/alibabacloud/cc5g/CC5GExport.h b/cc5g/include/alibabacloud/cc5g/CC5GExport.h new file mode 100644 index 000000000..78431c948 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/CC5GExport.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_CC5G_CC5GEXPORT_H_ +#define ALIBABACLOUD_CC5G_CC5GEXPORT_H_ + +#include + +#if defined(ALIBABACLOUD_SHARED) +# if defined(ALIBABACLOUD_CC5G_LIBRARY) +# define ALIBABACLOUD_CC5G_EXPORT ALIBABACLOUD_DECL_EXPORT +# else +# define ALIBABACLOUD_CC5G_EXPORT ALIBABACLOUD_DECL_IMPORT +# endif +#else +# define ALIBABACLOUD_CC5G_EXPORT +#endif + +#endif // !ALIBABACLOUD_CC5G_CC5GEXPORT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/AddDNSAuthorizationRuleRequest.h b/cc5g/include/alibabacloud/cc5g/model/AddDNSAuthorizationRuleRequest.h new file mode 100644 index 000000000..eadeee93e --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/AddDNSAuthorizationRuleRequest.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_CC5G_MODEL_ADDDNSAUTHORIZATIONRULEREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_ADDDNSAUTHORIZATIONRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT AddDNSAuthorizationRuleRequest : public RpcServiceRequest { +public: + AddDNSAuthorizationRuleRequest(); + ~AddDNSAuthorizationRuleRequest(); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getDescription() const; + void setDescription(const std::string &description); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getSourceDNSIp() const; + void setSourceDNSIp(const std::string &sourceDNSIp); + std::string getDestinationIp() const; + void setDestinationIp(const std::string &destinationIp); + std::string getWirelessCloudConnectorId() const; + void setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string clientToken_; + std::string description_; + bool dryRun_; + std::string sourceDNSIp_; + std::string destinationIp_; + std::string wirelessCloudConnectorId_; + std::string name_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_ADDDNSAUTHORIZATIONRULEREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/AddDNSAuthorizationRuleResult.h b/cc5g/include/alibabacloud/cc5g/model/AddDNSAuthorizationRuleResult.h new file mode 100644 index 000000000..e1a1dbb5b --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/AddDNSAuthorizationRuleResult.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_CC5G_MODEL_ADDDNSAUTHORIZATIONRULERESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_ADDDNSAUTHORIZATIONRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT AddDNSAuthorizationRuleResult : public ServiceResult + { + public: + + + AddDNSAuthorizationRuleResult(); + explicit AddDNSAuthorizationRuleResult(const std::string &payload); + ~AddDNSAuthorizationRuleResult(); + std::string getAuthorizationRuleId()const; + + protected: + void parse(const std::string &payload); + private: + std::string authorizationRuleId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_ADDDNSAUTHORIZATIONRULERESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/AddGroupDnsAuthorizationRuleRequest.h b/cc5g/include/alibabacloud/cc5g/model/AddGroupDnsAuthorizationRuleRequest.h new file mode 100644 index 000000000..88295d75d --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/AddGroupDnsAuthorizationRuleRequest.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_CC5G_MODEL_ADDGROUPDNSAUTHORIZATIONRULEREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_ADDGROUPDNSAUTHORIZATIONRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT AddGroupDnsAuthorizationRuleRequest : public RpcServiceRequest { +public: + AddGroupDnsAuthorizationRuleRequest(); + ~AddGroupDnsAuthorizationRuleRequest(); + std::string getWirelessCloudConnectorGroupId() const; + void setWirelessCloudConnectorGroupId(const std::string &wirelessCloudConnectorGroupId); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getDescription() const; + void setDescription(const std::string &description); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getSourceDNSIp() const; + void setSourceDNSIp(const std::string &sourceDNSIp); + std::string getDestinationIp() const; + void setDestinationIp(const std::string &destinationIp); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string wirelessCloudConnectorGroupId_; + std::string clientToken_; + std::string description_; + bool dryRun_; + std::string sourceDNSIp_; + std::string destinationIp_; + std::string name_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_ADDGROUPDNSAUTHORIZATIONRULEREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/AddGroupDnsAuthorizationRuleResult.h b/cc5g/include/alibabacloud/cc5g/model/AddGroupDnsAuthorizationRuleResult.h new file mode 100644 index 000000000..a531393e2 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/AddGroupDnsAuthorizationRuleResult.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_CC5G_MODEL_ADDGROUPDNSAUTHORIZATIONRULERESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_ADDGROUPDNSAUTHORIZATIONRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT AddGroupDnsAuthorizationRuleResult : public ServiceResult + { + public: + + + AddGroupDnsAuthorizationRuleResult(); + explicit AddGroupDnsAuthorizationRuleResult(const std::string &payload); + ~AddGroupDnsAuthorizationRuleResult(); + std::string getAuthorizationRuleId()const; + + protected: + void parse(const std::string &payload); + private: + std::string authorizationRuleId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_ADDGROUPDNSAUTHORIZATIONRULERESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/AddWirelessCloudConnectorToGroupRequest.h b/cc5g/include/alibabacloud/cc5g/model/AddWirelessCloudConnectorToGroupRequest.h new file mode 100644 index 000000000..022c2de38 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/AddWirelessCloudConnectorToGroupRequest.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_CC5G_MODEL_ADDWIRELESSCLOUDCONNECTORTOGROUPREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_ADDWIRELESSCLOUDCONNECTORTOGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT AddWirelessCloudConnectorToGroupRequest : public RpcServiceRequest { +public: + AddWirelessCloudConnectorToGroupRequest(); + ~AddWirelessCloudConnectorToGroupRequest(); + std::vector getWirelessCloudConnectorIds() const; + void setWirelessCloudConnectorIds(const std::vector &wirelessCloudConnectorIds); + std::string getWirelessCloudConnectorGroupId() const; + void setWirelessCloudConnectorGroupId(const std::string &wirelessCloudConnectorGroupId); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::vector wirelessCloudConnectorIds_; + std::string wirelessCloudConnectorGroupId_; + bool dryRun_; + std::string clientToken_; + std::string regionId_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_ADDWIRELESSCLOUDCONNECTORTOGROUPREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/AddWirelessCloudConnectorToGroupResult.h b/cc5g/include/alibabacloud/cc5g/model/AddWirelessCloudConnectorToGroupResult.h new file mode 100644 index 000000000..2072b646f --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/AddWirelessCloudConnectorToGroupResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_ADDWIRELESSCLOUDCONNECTORTOGROUPRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_ADDWIRELESSCLOUDCONNECTORTOGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT AddWirelessCloudConnectorToGroupResult : public ServiceResult + { + public: + + + AddWirelessCloudConnectorToGroupResult(); + explicit AddWirelessCloudConnectorToGroupResult(const std::string &payload); + ~AddWirelessCloudConnectorToGroupResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_ADDWIRELESSCLOUDCONNECTORTOGROUPRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/AttachVpcToNetLinkRequest.h b/cc5g/include/alibabacloud/cc5g/model/AttachVpcToNetLinkRequest.h new file mode 100644 index 000000000..d041ee0b3 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/AttachVpcToNetLinkRequest.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_CC5G_MODEL_ATTACHVPCTONETLINKREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_ATTACHVPCTONETLINKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT AttachVpcToNetLinkRequest : public RpcServiceRequest { +public: + AttachVpcToNetLinkRequest(); + ~AttachVpcToNetLinkRequest(); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getNetLinkId() const; + void setNetLinkId(const std::string &netLinkId); + std::vector getVSwitches() const; + void setVSwitches(const std::vector &vSwitches); + std::string getWirelessCloudConnectorId() const; + void setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId); + std::string getVpcId() const; + void setVpcId(const std::string &vpcId); + +private: + std::string clientToken_; + std::string regionId_; + bool dryRun_; + std::string netLinkId_; + std::vector vSwitches_; + std::string wirelessCloudConnectorId_; + std::string vpcId_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_ATTACHVPCTONETLINKREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/AttachVpcToNetLinkResult.h b/cc5g/include/alibabacloud/cc5g/model/AttachVpcToNetLinkResult.h new file mode 100644 index 000000000..84b1cb3f4 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/AttachVpcToNetLinkResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_ATTACHVPCTONETLINKRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_ATTACHVPCTONETLINKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT AttachVpcToNetLinkResult : public ServiceResult + { + public: + + + AttachVpcToNetLinkResult(); + explicit AttachVpcToNetLinkResult(const std::string &payload); + ~AttachVpcToNetLinkResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_ATTACHVPCTONETLINKRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/CreateAuthorizationRuleRequest.h b/cc5g/include/alibabacloud/cc5g/model/CreateAuthorizationRuleRequest.h new file mode 100644 index 000000000..4614e653d --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/CreateAuthorizationRuleRequest.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_CC5G_MODEL_CREATEAUTHORIZATIONRULEREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_CREATEAUTHORIZATIONRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT CreateAuthorizationRuleRequest : public RpcServiceRequest { +public: + CreateAuthorizationRuleRequest(); + ~CreateAuthorizationRuleRequest(); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getSourceCidr() const; + void setSourceCidr(const std::string &sourceCidr); + std::string getDestinationType() const; + void setDestinationType(const std::string &destinationType); + std::string getDestination() const; + void setDestination(const std::string &destination); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getProtocol() const; + void setProtocol(const std::string &protocol); + std::string getPolicy() const; + void setPolicy(const std::string &policy); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getDestinationPort() const; + void setDestinationPort(const std::string &destinationPort); + std::string getWirelessCloudConnectorId() const; + void setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string clientToken_; + std::string sourceCidr_; + std::string destinationType_; + std::string destination_; + std::string description_; + std::string protocol_; + std::string policy_; + bool dryRun_; + std::string destinationPort_; + std::string wirelessCloudConnectorId_; + std::string name_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_CREATEAUTHORIZATIONRULEREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/CreateAuthorizationRuleResult.h b/cc5g/include/alibabacloud/cc5g/model/CreateAuthorizationRuleResult.h new file mode 100644 index 000000000..26544d49f --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/CreateAuthorizationRuleResult.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_CC5G_MODEL_CREATEAUTHORIZATIONRULERESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_CREATEAUTHORIZATIONRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT CreateAuthorizationRuleResult : public ServiceResult + { + public: + + + CreateAuthorizationRuleResult(); + explicit CreateAuthorizationRuleResult(const std::string &payload); + ~CreateAuthorizationRuleResult(); + std::string getAuthorizationRuleId()const; + + protected: + void parse(const std::string &payload); + private: + std::string authorizationRuleId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_CREATEAUTHORIZATIONRULERESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/CreateBatchOperateCardsTaskRequest.h b/cc5g/include/alibabacloud/cc5g/model/CreateBatchOperateCardsTaskRequest.h new file mode 100644 index 000000000..330399651 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/CreateBatchOperateCardsTaskRequest.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_CC5G_MODEL_CREATEBATCHOPERATECARDSTASKREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_CREATEBATCHOPERATECARDSTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT CreateBatchOperateCardsTaskRequest : public RpcServiceRequest { +public: + CreateBatchOperateCardsTaskRequest(); + ~CreateBatchOperateCardsTaskRequest(); + std::vector getIccids() const; + void setIccids(const std::vector &iccids); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getDescription() const; + void setDescription(const std::string &description); + long getThreshold() const; + void setThreshold(long threshold); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getEffectType() const; + void setEffectType(const std::string &effectType); + std::vector getWirelessCloudConnectorIds() const; + void setWirelessCloudConnectorIds(const std::vector &wirelessCloudConnectorIds); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getName() const; + void setName(const std::string &name); + std::string getOperateType() const; + void setOperateType(const std::string &operateType); + std::string getIccidsOssFilePath() const; + void setIccidsOssFilePath(const std::string &iccidsOssFilePath); + +private: + std::vector iccids_; + std::string clientToken_; + std::string description_; + long threshold_; + std::string regionId_; + std::string effectType_; + std::vector wirelessCloudConnectorIds_; + bool dryRun_; + std::string name_; + std::string operateType_; + std::string iccidsOssFilePath_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_CREATEBATCHOPERATECARDSTASKREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/CreateBatchOperateCardsTaskResult.h b/cc5g/include/alibabacloud/cc5g/model/CreateBatchOperateCardsTaskResult.h new file mode 100644 index 000000000..51efe43c5 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/CreateBatchOperateCardsTaskResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_CREATEBATCHOPERATECARDSTASKRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_CREATEBATCHOPERATECARDSTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT CreateBatchOperateCardsTaskResult : public ServiceResult + { + public: + + + CreateBatchOperateCardsTaskResult(); + explicit CreateBatchOperateCardsTaskResult(const std::string &payload); + ~CreateBatchOperateCardsTaskResult(); + std::string getOperateResultOssFilePath()const; + std::string getBatchOperateCardsTaskId()const; + + protected: + void parse(const std::string &payload); + private: + std::string operateResultOssFilePath_; + std::string batchOperateCardsTaskId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_CREATEBATCHOPERATECARDSTASKRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/CreateGroupAuthorizationRuleRequest.h b/cc5g/include/alibabacloud/cc5g/model/CreateGroupAuthorizationRuleRequest.h new file mode 100644 index 000000000..b8da34fcf --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/CreateGroupAuthorizationRuleRequest.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_CC5G_MODEL_CREATEGROUPAUTHORIZATIONRULEREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_CREATEGROUPAUTHORIZATIONRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT CreateGroupAuthorizationRuleRequest : public RpcServiceRequest { +public: + CreateGroupAuthorizationRuleRequest(); + ~CreateGroupAuthorizationRuleRequest(); + std::string getWirelessCloudConnectorGroupId() const; + void setWirelessCloudConnectorGroupId(const std::string &wirelessCloudConnectorGroupId); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getSourceCidr() const; + void setSourceCidr(const std::string &sourceCidr); + std::string getDestinationType() const; + void setDestinationType(const std::string &destinationType); + std::string getDestination() const; + void setDestination(const std::string &destination); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getProtocol() const; + void setProtocol(const std::string &protocol); + std::string getPolicy() const; + void setPolicy(const std::string &policy); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getDestinationPort() const; + void setDestinationPort(const std::string &destinationPort); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string wirelessCloudConnectorGroupId_; + std::string clientToken_; + std::string sourceCidr_; + std::string destinationType_; + std::string destination_; + std::string description_; + std::string protocol_; + std::string policy_; + bool dryRun_; + std::string destinationPort_; + std::string name_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_CREATEGROUPAUTHORIZATIONRULEREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/CreateGroupAuthorizationRuleResult.h b/cc5g/include/alibabacloud/cc5g/model/CreateGroupAuthorizationRuleResult.h new file mode 100644 index 000000000..bce58f79e --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/CreateGroupAuthorizationRuleResult.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_CC5G_MODEL_CREATEGROUPAUTHORIZATIONRULERESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_CREATEGROUPAUTHORIZATIONRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT CreateGroupAuthorizationRuleResult : public ServiceResult + { + public: + + + CreateGroupAuthorizationRuleResult(); + explicit CreateGroupAuthorizationRuleResult(const std::string &payload); + ~CreateGroupAuthorizationRuleResult(); + std::string getAuthorizationRuleId()const; + + protected: + void parse(const std::string &payload); + private: + std::string authorizationRuleId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_CREATEGROUPAUTHORIZATIONRULERESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/CreateIoTCloudConnectorBackhaulRouteRequest.h b/cc5g/include/alibabacloud/cc5g/model/CreateIoTCloudConnectorBackhaulRouteRequest.h new file mode 100644 index 000000000..888247dd6 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/CreateIoTCloudConnectorBackhaulRouteRequest.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_CC5G_MODEL_CREATEIOTCLOUDCONNECTORBACKHAULROUTEREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_CREATEIOTCLOUDCONNECTORBACKHAULROUTEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT CreateIoTCloudConnectorBackhaulRouteRequest : public RpcServiceRequest { +public: + CreateIoTCloudConnectorBackhaulRouteRequest(); + ~CreateIoTCloudConnectorBackhaulRouteRequest(); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getNetLinkId() const; + void setNetLinkId(const std::string &netLinkId); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getWirelessCloudConnectorId() const; + void setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId); + +private: + bool dryRun_; + std::string netLinkId_; + std::string clientToken_; + std::string wirelessCloudConnectorId_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_CREATEIOTCLOUDCONNECTORBACKHAULROUTEREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/CreateIoTCloudConnectorBackhaulRouteResult.h b/cc5g/include/alibabacloud/cc5g/model/CreateIoTCloudConnectorBackhaulRouteResult.h new file mode 100644 index 000000000..70a57da99 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/CreateIoTCloudConnectorBackhaulRouteResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_CREATEIOTCLOUDCONNECTORBACKHAULROUTERESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_CREATEIOTCLOUDCONNECTORBACKHAULROUTERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT CreateIoTCloudConnectorBackhaulRouteResult : public ServiceResult + { + public: + + + CreateIoTCloudConnectorBackhaulRouteResult(); + explicit CreateIoTCloudConnectorBackhaulRouteResult(const std::string &payload); + ~CreateIoTCloudConnectorBackhaulRouteResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_CREATEIOTCLOUDCONNECTORBACKHAULROUTERESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/CreateWirelessCloudConnectorGroupRequest.h b/cc5g/include/alibabacloud/cc5g/model/CreateWirelessCloudConnectorGroupRequest.h new file mode 100644 index 000000000..b1c15670f --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/CreateWirelessCloudConnectorGroupRequest.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_CC5G_MODEL_CREATEWIRELESSCLOUDCONNECTORGROUPREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_CREATEWIRELESSCLOUDCONNECTORGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT CreateWirelessCloudConnectorGroupRequest : public RpcServiceRequest { +public: + CreateWirelessCloudConnectorGroupRequest(); + ~CreateWirelessCloudConnectorGroupRequest(); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getName() const; + void setName(const std::string &name); + +private: + bool dryRun_; + std::string clientToken_; + std::string description_; + std::string regionId_; + std::string name_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_CREATEWIRELESSCLOUDCONNECTORGROUPREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/CreateWirelessCloudConnectorGroupResult.h b/cc5g/include/alibabacloud/cc5g/model/CreateWirelessCloudConnectorGroupResult.h new file mode 100644 index 000000000..0ce4f6be3 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/CreateWirelessCloudConnectorGroupResult.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_CC5G_MODEL_CREATEWIRELESSCLOUDCONNECTORGROUPRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_CREATEWIRELESSCLOUDCONNECTORGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT CreateWirelessCloudConnectorGroupResult : public ServiceResult + { + public: + + + CreateWirelessCloudConnectorGroupResult(); + explicit CreateWirelessCloudConnectorGroupResult(const std::string &payload); + ~CreateWirelessCloudConnectorGroupResult(); + std::string getWirelessCloudConnectorGroupId()const; + + protected: + void parse(const std::string &payload); + private: + std::string wirelessCloudConnectorGroupId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_CREATEWIRELESSCLOUDCONNECTORGROUPRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/CreateWirelessCloudConnectorRequest.h b/cc5g/include/alibabacloud/cc5g/model/CreateWirelessCloudConnectorRequest.h new file mode 100644 index 000000000..1c7534246 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/CreateWirelessCloudConnectorRequest.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_CC5G_MODEL_CREATEWIRELESSCLOUDCONNECTORREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_CREATEWIRELESSCLOUDCONNECTORREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT CreateWirelessCloudConnectorRequest : public RpcServiceRequest { +public: + struct NetLinks { + std::string regionId; + std::string vpcId; + std::string string; + std::vector vSwitchs; + std::string aPN; + }; + CreateWirelessCloudConnectorRequest(); + ~CreateWirelessCloudConnectorRequest(); + std::string getUseCase() const; + void setUseCase(const std::string &useCase); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getISP() const; + void setISP(const std::string &iSP); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getBusinessType() const; + void setBusinessType(const std::string &businessType); + std::vector getNetLinks() const; + void setNetLinks(const std::vector &netLinks); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string useCase_; + std::string clientToken_; + std::string iSP_; + std::string description_; + std::string businessType_; + std::vector netLinks_; + std::string regionId_; + bool dryRun_; + std::string name_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_CREATEWIRELESSCLOUDCONNECTORREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/CreateWirelessCloudConnectorResult.h b/cc5g/include/alibabacloud/cc5g/model/CreateWirelessCloudConnectorResult.h new file mode 100644 index 000000000..0b14590a1 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/CreateWirelessCloudConnectorResult.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_CC5G_MODEL_CREATEWIRELESSCLOUDCONNECTORRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_CREATEWIRELESSCLOUDCONNECTORRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT CreateWirelessCloudConnectorResult : public ServiceResult + { + public: + + + CreateWirelessCloudConnectorResult(); + explicit CreateWirelessCloudConnectorResult(const std::string &payload); + ~CreateWirelessCloudConnectorResult(); + std::string getWirelessCloudConnectorId()const; + + protected: + void parse(const std::string &payload); + private: + std::string wirelessCloudConnectorId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_CREATEWIRELESSCLOUDCONNECTORRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/DeleteAuthorizationRuleRequest.h b/cc5g/include/alibabacloud/cc5g/model/DeleteAuthorizationRuleRequest.h new file mode 100644 index 000000000..daba7e73e --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/DeleteAuthorizationRuleRequest.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_CC5G_MODEL_DELETEAUTHORIZATIONRULEREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_DELETEAUTHORIZATIONRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT DeleteAuthorizationRuleRequest : public RpcServiceRequest { +public: + DeleteAuthorizationRuleRequest(); + ~DeleteAuthorizationRuleRequest(); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getAuthorizationRuleId() const; + void setAuthorizationRuleId(const std::string &authorizationRuleId); + std::string getWirelessCloudConnectorId() const; + void setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId); + +private: + bool dryRun_; + std::string clientToken_; + std::string authorizationRuleId_; + std::string wirelessCloudConnectorId_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_DELETEAUTHORIZATIONRULEREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/DeleteAuthorizationRuleResult.h b/cc5g/include/alibabacloud/cc5g/model/DeleteAuthorizationRuleResult.h new file mode 100644 index 000000000..38ea4742a --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/DeleteAuthorizationRuleResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_DELETEAUTHORIZATIONRULERESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_DELETEAUTHORIZATIONRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT DeleteAuthorizationRuleResult : public ServiceResult + { + public: + + + DeleteAuthorizationRuleResult(); + explicit DeleteAuthorizationRuleResult(const std::string &payload); + ~DeleteAuthorizationRuleResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_DELETEAUTHORIZATIONRULERESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/DeleteBatchOperateCardsTaskRequest.h b/cc5g/include/alibabacloud/cc5g/model/DeleteBatchOperateCardsTaskRequest.h new file mode 100644 index 000000000..0062399fc --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/DeleteBatchOperateCardsTaskRequest.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_CC5G_MODEL_DELETEBATCHOPERATECARDSTASKREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_DELETEBATCHOPERATECARDSTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT DeleteBatchOperateCardsTaskRequest : public RpcServiceRequest { +public: + DeleteBatchOperateCardsTaskRequest(); + ~DeleteBatchOperateCardsTaskRequest(); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getBatchOperateCardsTaskId() const; + void setBatchOperateCardsTaskId(const std::string &batchOperateCardsTaskId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + bool dryRun_; + std::string clientToken_; + std::string batchOperateCardsTaskId_; + std::string regionId_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_DELETEBATCHOPERATECARDSTASKREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/DeleteBatchOperateCardsTaskResult.h b/cc5g/include/alibabacloud/cc5g/model/DeleteBatchOperateCardsTaskResult.h new file mode 100644 index 000000000..cf45fa838 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/DeleteBatchOperateCardsTaskResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_DELETEBATCHOPERATECARDSTASKRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_DELETEBATCHOPERATECARDSTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT DeleteBatchOperateCardsTaskResult : public ServiceResult + { + public: + + + DeleteBatchOperateCardsTaskResult(); + explicit DeleteBatchOperateCardsTaskResult(const std::string &payload); + ~DeleteBatchOperateCardsTaskResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_DELETEBATCHOPERATECARDSTASKRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/DeleteGroupAuthorizationRuleRequest.h b/cc5g/include/alibabacloud/cc5g/model/DeleteGroupAuthorizationRuleRequest.h new file mode 100644 index 000000000..b81fbaa05 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/DeleteGroupAuthorizationRuleRequest.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_CC5G_MODEL_DELETEGROUPAUTHORIZATIONRULEREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_DELETEGROUPAUTHORIZATIONRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT DeleteGroupAuthorizationRuleRequest : public RpcServiceRequest { +public: + DeleteGroupAuthorizationRuleRequest(); + ~DeleteGroupAuthorizationRuleRequest(); + std::string getWirelessCloudConnectorGroupId() const; + void setWirelessCloudConnectorGroupId(const std::string &wirelessCloudConnectorGroupId); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getAuthorizationRuleId() const; + void setAuthorizationRuleId(const std::string &authorizationRuleId); + +private: + std::string wirelessCloudConnectorGroupId_; + bool dryRun_; + std::string clientToken_; + std::string authorizationRuleId_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_DELETEGROUPAUTHORIZATIONRULEREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/DeleteGroupAuthorizationRuleResult.h b/cc5g/include/alibabacloud/cc5g/model/DeleteGroupAuthorizationRuleResult.h new file mode 100644 index 000000000..809a8d1db --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/DeleteGroupAuthorizationRuleResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_DELETEGROUPAUTHORIZATIONRULERESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_DELETEGROUPAUTHORIZATIONRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT DeleteGroupAuthorizationRuleResult : public ServiceResult + { + public: + + + DeleteGroupAuthorizationRuleResult(); + explicit DeleteGroupAuthorizationRuleResult(const std::string &payload); + ~DeleteGroupAuthorizationRuleResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_DELETEGROUPAUTHORIZATIONRULERESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/DeleteIoTCloudConnectorBackhaulRouteRequest.h b/cc5g/include/alibabacloud/cc5g/model/DeleteIoTCloudConnectorBackhaulRouteRequest.h new file mode 100644 index 000000000..2f4408be0 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/DeleteIoTCloudConnectorBackhaulRouteRequest.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_CC5G_MODEL_DELETEIOTCLOUDCONNECTORBACKHAULROUTEREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_DELETEIOTCLOUDCONNECTORBACKHAULROUTEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT DeleteIoTCloudConnectorBackhaulRouteRequest : public RpcServiceRequest { +public: + DeleteIoTCloudConnectorBackhaulRouteRequest(); + ~DeleteIoTCloudConnectorBackhaulRouteRequest(); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getNetLinkId() const; + void setNetLinkId(const std::string &netLinkId); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getWirelessCloudConnectorId() const; + void setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId); + +private: + bool dryRun_; + std::string netLinkId_; + std::string clientToken_; + std::string wirelessCloudConnectorId_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_DELETEIOTCLOUDCONNECTORBACKHAULROUTEREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/DeleteIoTCloudConnectorBackhaulRouteResult.h b/cc5g/include/alibabacloud/cc5g/model/DeleteIoTCloudConnectorBackhaulRouteResult.h new file mode 100644 index 000000000..8185176ac --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/DeleteIoTCloudConnectorBackhaulRouteResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_DELETEIOTCLOUDCONNECTORBACKHAULROUTERESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_DELETEIOTCLOUDCONNECTORBACKHAULROUTERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT DeleteIoTCloudConnectorBackhaulRouteResult : public ServiceResult + { + public: + + + DeleteIoTCloudConnectorBackhaulRouteResult(); + explicit DeleteIoTCloudConnectorBackhaulRouteResult(const std::string &payload); + ~DeleteIoTCloudConnectorBackhaulRouteResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_DELETEIOTCLOUDCONNECTORBACKHAULROUTERESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/DeleteWirelessCloudConnectorGroupRequest.h b/cc5g/include/alibabacloud/cc5g/model/DeleteWirelessCloudConnectorGroupRequest.h new file mode 100644 index 000000000..d610eba9f --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/DeleteWirelessCloudConnectorGroupRequest.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_CC5G_MODEL_DELETEWIRELESSCLOUDCONNECTORGROUPREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_DELETEWIRELESSCLOUDCONNECTORGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT DeleteWirelessCloudConnectorGroupRequest : public RpcServiceRequest { +public: + DeleteWirelessCloudConnectorGroupRequest(); + ~DeleteWirelessCloudConnectorGroupRequest(); + std::string getWirelessCloudConnectorGroupId() const; + void setWirelessCloudConnectorGroupId(const std::string &wirelessCloudConnectorGroupId); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + +private: + std::string wirelessCloudConnectorGroupId_; + bool dryRun_; + std::string clientToken_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_DELETEWIRELESSCLOUDCONNECTORGROUPREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/DeleteWirelessCloudConnectorGroupResult.h b/cc5g/include/alibabacloud/cc5g/model/DeleteWirelessCloudConnectorGroupResult.h new file mode 100644 index 000000000..79c59bc6c --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/DeleteWirelessCloudConnectorGroupResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_DELETEWIRELESSCLOUDCONNECTORGROUPRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_DELETEWIRELESSCLOUDCONNECTORGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT DeleteWirelessCloudConnectorGroupResult : public ServiceResult + { + public: + + + DeleteWirelessCloudConnectorGroupResult(); + explicit DeleteWirelessCloudConnectorGroupResult(const std::string &payload); + ~DeleteWirelessCloudConnectorGroupResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_DELETEWIRELESSCLOUDCONNECTORGROUPRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/DeleteWirelessCloudConnectorRequest.h b/cc5g/include/alibabacloud/cc5g/model/DeleteWirelessCloudConnectorRequest.h new file mode 100644 index 000000000..e086e5357 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/DeleteWirelessCloudConnectorRequest.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_CC5G_MODEL_DELETEWIRELESSCLOUDCONNECTORREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_DELETEWIRELESSCLOUDCONNECTORREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT DeleteWirelessCloudConnectorRequest : public RpcServiceRequest { +public: + DeleteWirelessCloudConnectorRequest(); + ~DeleteWirelessCloudConnectorRequest(); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getWirelessCloudConnectorId() const; + void setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId); + +private: + bool dryRun_; + std::string clientToken_; + std::string wirelessCloudConnectorId_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_DELETEWIRELESSCLOUDCONNECTORREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/DeleteWirelessCloudConnectorResult.h b/cc5g/include/alibabacloud/cc5g/model/DeleteWirelessCloudConnectorResult.h new file mode 100644 index 000000000..06e875b43 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/DeleteWirelessCloudConnectorResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_DELETEWIRELESSCLOUDCONNECTORRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_DELETEWIRELESSCLOUDCONNECTORRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT DeleteWirelessCloudConnectorResult : public ServiceResult + { + public: + + + DeleteWirelessCloudConnectorResult(); + explicit DeleteWirelessCloudConnectorResult(const std::string &payload); + ~DeleteWirelessCloudConnectorResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_DELETEWIRELESSCLOUDCONNECTORRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/DetachVpcFromNetLinkRequest.h b/cc5g/include/alibabacloud/cc5g/model/DetachVpcFromNetLinkRequest.h new file mode 100644 index 000000000..75a57e913 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/DetachVpcFromNetLinkRequest.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_CC5G_MODEL_DETACHVPCFROMNETLINKREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_DETACHVPCFROMNETLINKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT DetachVpcFromNetLinkRequest : public RpcServiceRequest { +public: + DetachVpcFromNetLinkRequest(); + ~DetachVpcFromNetLinkRequest(); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getNetLinkId() const; + void setNetLinkId(const std::string &netLinkId); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getWirelessCloudConnectorId() const; + void setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId); + +private: + bool dryRun_; + std::string netLinkId_; + std::string clientToken_; + std::string wirelessCloudConnectorId_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_DETACHVPCFROMNETLINKREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/DetachVpcFromNetLinkResult.h b/cc5g/include/alibabacloud/cc5g/model/DetachVpcFromNetLinkResult.h new file mode 100644 index 000000000..0d21b21e4 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/DetachVpcFromNetLinkResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_DETACHVPCFROMNETLINKRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_DETACHVPCFROMNETLINKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT DetachVpcFromNetLinkResult : public ServiceResult + { + public: + + + DetachVpcFromNetLinkResult(); + explicit DetachVpcFromNetLinkResult(const std::string &payload); + ~DetachVpcFromNetLinkResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_DETACHVPCFROMNETLINKRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/FailCardsRequest.h b/cc5g/include/alibabacloud/cc5g/model/FailCardsRequest.h new file mode 100644 index 000000000..add4a9768 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/FailCardsRequest.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_CC5G_MODEL_FAILCARDSREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_FAILCARDSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT FailCardsRequest : public RpcServiceRequest { +public: + FailCardsRequest(); + ~FailCardsRequest(); + std::vector getIccids() const; + void setIccids(const std::vector &iccids); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::vector iccids_; + bool dryRun_; + std::string clientToken_; + std::string regionId_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_FAILCARDSREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/FailCardsResult.h b/cc5g/include/alibabacloud/cc5g/model/FailCardsResult.h new file mode 100644 index 000000000..fefa42714 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/FailCardsResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_FAILCARDSRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_FAILCARDSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT FailCardsResult : public ServiceResult + { + public: + + + FailCardsResult(); + explicit FailCardsResult(const std::string &payload); + ~FailCardsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_FAILCARDSRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/GetCardLockReasonRequest.h b/cc5g/include/alibabacloud/cc5g/model/GetCardLockReasonRequest.h new file mode 100644 index 000000000..bdfbbb221 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/GetCardLockReasonRequest.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_CC5G_MODEL_GETCARDLOCKREASONREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_GETCARDLOCKREASONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT GetCardLockReasonRequest : public RpcServiceRequest { +public: + GetCardLockReasonRequest(); + ~GetCardLockReasonRequest(); + std::string getIccid() const; + void setIccid(const std::string &iccid); + +private: + std::string iccid_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_GETCARDLOCKREASONREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/GetCardLockReasonResult.h b/cc5g/include/alibabacloud/cc5g/model/GetCardLockReasonResult.h new file mode 100644 index 000000000..da72170be --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/GetCardLockReasonResult.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_CC5G_MODEL_GETCARDLOCKREASONRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_GETCARDLOCKREASONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT GetCardLockReasonResult : public ServiceResult + { + public: + + + GetCardLockReasonResult(); + explicit GetCardLockReasonResult(const std::string &payload); + ~GetCardLockReasonResult(); + std::string getLockReason()const; + + protected: + void parse(const std::string &payload); + private: + std::string lockReason_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_GETCARDLOCKREASONRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/GetCardRequest.h b/cc5g/include/alibabacloud/cc5g/model/GetCardRequest.h new file mode 100644 index 000000000..401494756 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/GetCardRequest.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_CC5G_MODEL_GETCARDREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_GETCARDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT GetCardRequest : public RpcServiceRequest { +public: + GetCardRequest(); + ~GetCardRequest(); + std::string getIccid() const; + void setIccid(const std::string &iccid); + +private: + std::string iccid_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_GETCARDREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/GetCardResult.h b/cc5g/include/alibabacloud/cc5g/model/GetCardResult.h new file mode 100644 index 000000000..9e9a12ef5 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/GetCardResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_GETCARDRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_GETCARDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT GetCardResult : public ServiceResult + { + public: + + + GetCardResult(); + explicit GetCardResult(const std::string &payload); + ~GetCardResult(); + std::string getStatus()const; + long getUsageDataTotal()const; + std::string getDescription()const; + int getUsageDataMonth()const; + std::string getISP()const; + std::string getImei()const; + std::string getSimStatus()const; + std::string getOrderId()const; + long getAlarmThreshold()const; + std::string getLock()const; + std::string getName()const; + long getStopThreshold()const; + std::string getMsisdn()const; + long getLimitThreshold()const; + std::string getWirelessCloudConnectorId()const; + std::string getActivatedTime()const; + std::string getCloudConnectorId()const; + std::string getIccid()const; + std::string getImsi()const; + std::string getIpAddress()const; + std::string getSpec()const; + std::string getNetType()const; + std::string getAPN()const; + + protected: + void parse(const std::string &payload); + private: + std::string status_; + long usageDataTotal_; + std::string description_; + int usageDataMonth_; + std::string iSP_; + std::string imei_; + std::string simStatus_; + std::string orderId_; + long alarmThreshold_; + std::string lock_; + std::string name_; + long stopThreshold_; + std::string msisdn_; + long limitThreshold_; + std::string wirelessCloudConnectorId_; + std::string activatedTime_; + std::string cloudConnectorId_; + std::string iccid_; + std::string imsi_; + std::string ipAddress_; + std::string spec_; + std::string netType_; + std::string aPN_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_GETCARDRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/GetCreateCustomerInformationRequest.h b/cc5g/include/alibabacloud/cc5g/model/GetCreateCustomerInformationRequest.h new file mode 100644 index 000000000..96c13e576 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/GetCreateCustomerInformationRequest.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_CC5G_MODEL_GETCREATECUSTOMERINFORMATIONREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_GETCREATECUSTOMERINFORMATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT GetCreateCustomerInformationRequest : public RpcServiceRequest { +public: + GetCreateCustomerInformationRequest(); + ~GetCreateCustomerInformationRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getWirelessCloudConnectorId() const; + void setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId); + +private: + std::string regionId_; + std::string wirelessCloudConnectorId_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_GETCREATECUSTOMERINFORMATIONREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/GetCreateCustomerInformationResult.h b/cc5g/include/alibabacloud/cc5g/model/GetCreateCustomerInformationResult.h new file mode 100644 index 000000000..4b13073ba --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/GetCreateCustomerInformationResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_GETCREATECUSTOMERINFORMATIONRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_GETCREATECUSTOMERINFORMATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT GetCreateCustomerInformationResult : public ServiceResult + { + public: + + + GetCreateCustomerInformationResult(); + explicit GetCreateCustomerInformationResult(const std::string &payload); + ~GetCreateCustomerInformationResult(); + std::string getCanBuyCard()const; + std::string getURL()const; + + protected: + void parse(const std::string &payload); + private: + std::string canBuyCard_; + std::string uRL_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_GETCREATECUSTOMERINFORMATIONRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/GetDiagnoseResultForSingleCardRequest.h b/cc5g/include/alibabacloud/cc5g/model/GetDiagnoseResultForSingleCardRequest.h new file mode 100644 index 000000000..f97d6203d --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/GetDiagnoseResultForSingleCardRequest.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_CC5G_MODEL_GETDIAGNOSERESULTFORSINGLECARDREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_GETDIAGNOSERESULTFORSINGLECARDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT GetDiagnoseResultForSingleCardRequest : public RpcServiceRequest { +public: + GetDiagnoseResultForSingleCardRequest(); + ~GetDiagnoseResultForSingleCardRequest(); + std::string getRegionNo() const; + void setRegionNo(const std::string ®ionNo); + std::string getDiagnoseTaskId() const; + void setDiagnoseTaskId(const std::string &diagnoseTaskId); + +private: + std::string regionNo_; + std::string diagnoseTaskId_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_GETDIAGNOSERESULTFORSINGLECARDREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/GetDiagnoseResultForSingleCardResult.h b/cc5g/include/alibabacloud/cc5g/model/GetDiagnoseResultForSingleCardResult.h new file mode 100644 index 000000000..52ff27f58 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/GetDiagnoseResultForSingleCardResult.h @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_GETDIAGNOSERESULTFORSINGLECARDRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_GETDIAGNOSERESULTFORSINGLECARDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT GetDiagnoseResultForSingleCardResult : public ServiceResult + { + public: + struct DiagnoseResult + { + std::string errorDesc; + std::string errorSuggestion; + std::string errorLevel; + std::string errorPart; + }; + struct DiagnoseItemItem + { + std::string status; + std::string part; + }; + + + GetDiagnoseResultForSingleCardResult(); + explicit GetDiagnoseResultForSingleCardResult(const std::string &payload); + ~GetDiagnoseResultForSingleCardResult(); + std::string getStatus()const; + std::string getDestination()const; + std::string getWirelessCloudConnectorId()const; + long getEndTime()const; + std::string getCardIp()const; + std::string getIccId()const; + std::vector getErrorResult()const; + long getBeginTime()const; + std::string getDestinationType()const; + std::vector getDiagnoseItem()const; + + protected: + void parse(const std::string &payload); + private: + std::string status_; + std::string destination_; + std::string wirelessCloudConnectorId_; + long endTime_; + std::string cardIp_; + std::string iccId_; + std::vector errorResult_; + long beginTime_; + std::string destinationType_; + std::vector diagnoseItem_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_GETDIAGNOSERESULTFORSINGLECARDRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/GetWirelessCloudConnectorRequest.h b/cc5g/include/alibabacloud/cc5g/model/GetWirelessCloudConnectorRequest.h new file mode 100644 index 000000000..558b3bab4 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/GetWirelessCloudConnectorRequest.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_CC5G_MODEL_GETWIRELESSCLOUDCONNECTORREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_GETWIRELESSCLOUDCONNECTORREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT GetWirelessCloudConnectorRequest : public RpcServiceRequest { +public: + GetWirelessCloudConnectorRequest(); + ~GetWirelessCloudConnectorRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getWirelessCloudConnectorId() const; + void setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId); + +private: + std::string regionId_; + std::string wirelessCloudConnectorId_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_GETWIRELESSCLOUDCONNECTORREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/GetWirelessCloudConnectorResult.h b/cc5g/include/alibabacloud/cc5g/model/GetWirelessCloudConnectorResult.h new file mode 100644 index 000000000..bed90914d --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/GetWirelessCloudConnectorResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_GETWIRELESSCLOUDCONNECTORRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_GETWIRELESSCLOUDCONNECTORRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT GetWirelessCloudConnectorResult : public ServiceResult + { + public: + struct NetLink + { + std::string status; + std::vector vSwitchs; + std::string description; + std::string vpcId; + std::string iSP; + std::string createTime; + std::string regionId; + std::string netLinkId; + std::string grantAliUid; + std::string name; + std::string aPN; + }; + + + GetWirelessCloudConnectorResult(); + explicit GetWirelessCloudConnectorResult(const std::string &payload); + ~GetWirelessCloudConnectorResult(); + std::string getStatus()const; + std::string getDataPackageType()const; + std::string getDescription()const; + std::string getCreateTime()const; + std::string getBusinessType()const; + std::string getUseCase()const; + std::string getWirelessCloudConnectorGroupId()const; + std::string getName()const; + std::string getWirelessCloudConnectorId()const; + std::string getCardCount()const; + std::string getServiceType()const; + std::vector getFeatures()const; + std::string getDataPackageId()const; + std::string getRegionId()const; + std::vector getNetLinks()const; + + protected: + void parse(const std::string &payload); + private: + std::string status_; + std::string dataPackageType_; + std::string description_; + std::string createTime_; + std::string businessType_; + std::string useCase_; + std::string wirelessCloudConnectorGroupId_; + std::string name_; + std::string wirelessCloudConnectorId_; + std::string cardCount_; + std::string serviceType_; + std::vector features_; + std::string dataPackageId_; + std::string regionId_; + std::vector netLinks_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_GETWIRELESSCLOUDCONNECTORRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/GrantNetLinkRequest.h b/cc5g/include/alibabacloud/cc5g/model/GrantNetLinkRequest.h new file mode 100644 index 000000000..0f069820b --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/GrantNetLinkRequest.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_CC5G_MODEL_GRANTNETLINKREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_GRANTNETLINKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT GrantNetLinkRequest : public RpcServiceRequest { +public: + GrantNetLinkRequest(); + ~GrantNetLinkRequest(); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getNetLinkId() const; + void setNetLinkId(const std::string &netLinkId); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + long getGrantAliUid() const; + void setGrantAliUid(long grantAliUid); + std::string getWirelessCloudConnectorId() const; + void setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId); + +private: + bool dryRun_; + std::string netLinkId_; + std::string clientToken_; + long grantAliUid_; + std::string wirelessCloudConnectorId_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_GRANTNETLINKREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/GrantNetLinkResult.h b/cc5g/include/alibabacloud/cc5g/model/GrantNetLinkResult.h new file mode 100644 index 000000000..0eb0ba0f9 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/GrantNetLinkResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_GRANTNETLINKRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_GRANTNETLINKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT GrantNetLinkResult : public ServiceResult + { + public: + + + GrantNetLinkResult(); + explicit GrantNetLinkResult(const std::string &payload); + ~GrantNetLinkResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_GRANTNETLINKRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/ListAPNsRequest.h b/cc5g/include/alibabacloud/cc5g/model/ListAPNsRequest.h new file mode 100644 index 000000000..e35b421d3 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ListAPNsRequest.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_CC5G_MODEL_LISTAPNSREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_LISTAPNSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT ListAPNsRequest : public RpcServiceRequest { +public: + ListAPNsRequest(); + ~ListAPNsRequest(); + std::string getISP() const; + void setISP(const std::string &iSP); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getNextToken() const; + void setNextToken(const std::string &nextToken); + long getMaxResults() const; + void setMaxResults(long maxResults); + std::string getAPN() const; + void setAPN(const std::string &aPN); + +private: + std::string iSP_; + std::string regionId_; + std::string nextToken_; + long maxResults_; + std::string aPN_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_LISTAPNSREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/ListAPNsResult.h b/cc5g/include/alibabacloud/cc5g/model/ListAPNsResult.h new file mode 100644 index 000000000..a57dd989c --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ListAPNsResult.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_CC5G_MODEL_LISTAPNSRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_LISTAPNSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT ListAPNsResult : public ServiceResult + { + public: + struct Region + { + std::string description; + std::string iSP; + std::string aPN; + std::string name; + std::vector zones; + }; + + + ListAPNsResult(); + explicit ListAPNsResult(const std::string &payload); + ~ListAPNsResult(); + std::string getTotalCount()const; + std::string getNextToken()const; + std::string getMaxResults()const; + std::vector getAPNs()const; + + protected: + void parse(const std::string &payload); + private: + std::string totalCount_; + std::string nextToken_; + std::string maxResults_; + std::vector aPNs_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_LISTAPNSRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/ListAuthorizationRulesRequest.h b/cc5g/include/alibabacloud/cc5g/model/ListAuthorizationRulesRequest.h new file mode 100644 index 000000000..ded6b2c17 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ListAuthorizationRulesRequest.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_CC5G_MODEL_LISTAUTHORIZATIONRULESREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_LISTAUTHORIZATIONRULESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT ListAuthorizationRulesRequest : public RpcServiceRequest { +public: + ListAuthorizationRulesRequest(); + ~ListAuthorizationRulesRequest(); + std::string getDestinationType() const; + void setDestinationType(const std::string &destinationType); + std::string getDestination() const; + void setDestination(const std::string &destination); + std::string getType() const; + void setType(const std::string &type); + std::string getProtocol() const; + void setProtocol(const std::string &protocol); + std::vector getAuthorizationRuleIds() const; + void setAuthorizationRuleIds(const std::vector &authorizationRuleIds); + std::string getNextToken() const; + void setNextToken(const std::string &nextToken); + std::string getPolicy() const; + void setPolicy(const std::string &policy); + bool getDns() const; + void setDns(bool dns); + std::string getDestinationPort() const; + void setDestinationPort(const std::string &destinationPort); + std::vector getNames() const; + void setNames(const std::vector &names); + std::string getWirelessCloudConnectorId() const; + void setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId); + long getMaxResults() const; + void setMaxResults(long maxResults); + std::vector getStatuses() const; + void setStatuses(const std::vector &statuses); + +private: + std::string destinationType_; + std::string destination_; + std::string type_; + std::string protocol_; + std::vector authorizationRuleIds_; + std::string nextToken_; + std::string policy_; + bool dns_; + std::string destinationPort_; + std::vector names_; + std::string wirelessCloudConnectorId_; + long maxResults_; + std::vector statuses_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_LISTAUTHORIZATIONRULESREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/ListAuthorizationRulesResult.h b/cc5g/include/alibabacloud/cc5g/model/ListAuthorizationRulesResult.h new file mode 100644 index 000000000..d38c389bb --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ListAuthorizationRulesResult.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_CC5G_MODEL_LISTAUTHORIZATIONRULESRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_LISTAUTHORIZATIONRULESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT ListAuthorizationRulesResult : public ServiceResult + { + public: + struct AuthorizationRule + { + std::string status; + std::string policy; + std::string destination; + std::string description; + std::string sourceCidr; + std::string createTime; + std::string authorizationRuleId; + bool dns; + std::string destinationType; + std::string destinationPort; + std::string name; + std::string type; + std::string protocol; + }; + + + ListAuthorizationRulesResult(); + explicit ListAuthorizationRulesResult(const std::string &payload); + ~ListAuthorizationRulesResult(); + std::string getTotalCount()const; + std::vector getAuthorizationRules()const; + std::string getNextToken()const; + std::string getMaxResults()const; + + protected: + void parse(const std::string &payload); + private: + std::string totalCount_; + std::vector authorizationRules_; + std::string nextToken_; + std::string maxResults_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_LISTAUTHORIZATIONRULESRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/ListBatchOperateCardsTasksRequest.h b/cc5g/include/alibabacloud/cc5g/model/ListBatchOperateCardsTasksRequest.h new file mode 100644 index 000000000..e6d26337b --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ListBatchOperateCardsTasksRequest.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_CC5G_MODEL_LISTBATCHOPERATECARDSTASKSREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_LISTBATCHOPERATECARDSTASKSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT ListBatchOperateCardsTasksRequest : public RpcServiceRequest { +public: + ListBatchOperateCardsTasksRequest(); + ~ListBatchOperateCardsTasksRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getNextToken() const; + void setNextToken(const std::string &nextToken); + std::vector getBatchOperateCardsTaskIds() const; + void setBatchOperateCardsTaskIds(const std::vector &batchOperateCardsTaskIds); + std::vector getNames() const; + void setNames(const std::vector &names); + long getMaxResults() const; + void setMaxResults(long maxResults); + std::vector getStatuses() const; + void setStatuses(const std::vector &statuses); + +private: + std::string regionId_; + std::string nextToken_; + std::vector batchOperateCardsTaskIds_; + std::vector names_; + long maxResults_; + std::vector statuses_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_LISTBATCHOPERATECARDSTASKSREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/ListBatchOperateCardsTasksResult.h b/cc5g/include/alibabacloud/cc5g/model/ListBatchOperateCardsTasksResult.h new file mode 100644 index 000000000..3f0372827 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ListBatchOperateCardsTasksResult.h @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_LISTBATCHOPERATECARDSTASKSRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_LISTBATCHOPERATECARDSTASKSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT ListBatchOperateCardsTasksResult : public ServiceResult + { + public: + struct BatchOperateCardsTask + { + struct WirelessCloudConnector + { + std::string status; + std::string wirelessCloudConnectorId; + }; + std::string status; + std::string description; + std::string operateResultOssFilePath; + std::vector wirelessCloudConnectors; + std::string iccidsOssFilePath; + std::string createTime; + std::string effectType; + std::string operateType; + std::string batchOperateCardsTaskId; + std::string threshold; + std::string name; + }; + + + ListBatchOperateCardsTasksResult(); + explicit ListBatchOperateCardsTasksResult(const std::string &payload); + ~ListBatchOperateCardsTasksResult(); + std::string getTotalCount()const; + std::string getNextToken()const; + std::vector getBatchOperateCardsTasks()const; + std::string getMaxResults()const; + + protected: + void parse(const std::string &payload); + private: + std::string totalCount_; + std::string nextToken_; + std::vector batchOperateCardsTasks_; + std::string maxResults_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_LISTBATCHOPERATECARDSTASKSRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/ListCardsRequest.h b/cc5g/include/alibabacloud/cc5g/model/ListCardsRequest.h new file mode 100644 index 000000000..fd57ef8a7 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ListCardsRequest.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_LISTCARDSREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_LISTCARDSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT ListCardsRequest : public RpcServiceRequest { +public: + ListCardsRequest(); + ~ListCardsRequest(); + std::string getIpAddress() const; + void setIpAddress(const std::string &ipAddress); + std::vector getIccids() const; + void setIccids(const std::vector &iccids); + std::string getIccid() const; + void setIccid(const std::string &iccid); + std::string getNextToken() const; + void setNextToken(const std::string &nextToken); + bool getLock() const; + void setLock(bool lock); + std::string getMsisdn() const; + void setMsisdn(const std::string &msisdn); + std::string getApn() const; + void setApn(const std::string &apn); + std::string getNetLinkId() const; + void setNetLinkId(const std::string &netLinkId); + std::string getWirelessCloudConnectorId() const; + void setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId); + bool getOnline() const; + void setOnline(bool online); + long getMaxResults() const; + void setMaxResults(long maxResults); + std::vector getStatuses() const; + void setStatuses(const std::vector &statuses); + +private: + std::string ipAddress_; + std::vector iccids_; + std::string iccid_; + std::string nextToken_; + bool lock_; + std::string msisdn_; + std::string apn_; + std::string netLinkId_; + std::string wirelessCloudConnectorId_; + bool online_; + long maxResults_; + std::vector statuses_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_LISTCARDSREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/ListCardsResult.h b/cc5g/include/alibabacloud/cc5g/model/ListCardsResult.h new file mode 100644 index 000000000..452ea30f8 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ListCardsResult.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_CC5G_MODEL_LISTCARDSRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_LISTCARDSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT ListCardsResult : public ServiceResult + { + public: + struct Card + { + std::string status; + std::string usageDataTotal; + std::string description; + long usageDataMonth; + std::string iSP; + std::string imei; + std::string orderId; + std::string businessStatus; + bool lock; + std::string name; + std::string msisdn; + std::string activatedTime; + std::string iccid; + std::string imsi; + std::string ipAddress; + std::string spec; + std::string netType; + std::string aPN; + }; + + + ListCardsResult(); + explicit ListCardsResult(const std::string &payload); + ~ListCardsResult(); + std::string getTotalCount()const; + std::string getNextToken()const; + std::string getMaxResults()const; + std::vector getCards()const; + + protected: + void parse(const std::string &payload); + private: + std::string totalCount_; + std::string nextToken_; + std::string maxResults_; + std::vector cards_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_LISTCARDSRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/ListDataPackagesRequest.h b/cc5g/include/alibabacloud/cc5g/model/ListDataPackagesRequest.h new file mode 100644 index 000000000..38754265b --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ListDataPackagesRequest.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_CC5G_MODEL_LISTDATAPACKAGESREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_LISTDATAPACKAGESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT ListDataPackagesRequest : public RpcServiceRequest { +public: + ListDataPackagesRequest(); + ~ListDataPackagesRequest(); + std::string getNextToken() const; + void setNextToken(const std::string &nextToken); + std::vector getDataPackageIds() const; + void setDataPackageIds(const std::vector &dataPackageIds); + std::vector getNames() const; + void setNames(const std::vector &names); + std::string getWirelessCloudConnectorId() const; + void setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId); + long getMaxResults() const; + void setMaxResults(long maxResults); + std::vector getStatuses() const; + void setStatuses(const std::vector &statuses); + +private: + std::string nextToken_; + std::vector dataPackageIds_; + std::vector names_; + std::string wirelessCloudConnectorId_; + long maxResults_; + std::vector statuses_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_LISTDATAPACKAGESREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/ListDataPackagesResult.h b/cc5g/include/alibabacloud/cc5g/model/ListDataPackagesResult.h new file mode 100644 index 000000000..15f2656c3 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ListDataPackagesResult.h @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_LISTDATAPACKAGESRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_LISTDATAPACKAGESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT ListDataPackagesResult : public ServiceResult + { + public: + struct DataPackage + { + std::string status; + std::string cardCount; + std::string size; + std::string iSP; + std::string createTime; + std::string expiredTime; + std::string dataPackageId; + std::string name; + }; + + + ListDataPackagesResult(); + explicit ListDataPackagesResult(const std::string &payload); + ~ListDataPackagesResult(); + std::string getTotalCount()const; + std::string getNextToken()const; + std::string getMaxResults()const; + std::vector getDataPackages()const; + + protected: + void parse(const std::string &payload); + private: + std::string totalCount_; + std::string nextToken_; + std::string maxResults_; + std::vector dataPackages_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_LISTDATAPACKAGESRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/ListDiagnoseInfoForSingleCardRequest.h b/cc5g/include/alibabacloud/cc5g/model/ListDiagnoseInfoForSingleCardRequest.h new file mode 100644 index 000000000..b00103553 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ListDiagnoseInfoForSingleCardRequest.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_CC5G_MODEL_LISTDIAGNOSEINFOFORSINGLECARDREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_LISTDIAGNOSEINFOFORSINGLECARDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT ListDiagnoseInfoForSingleCardRequest : public RpcServiceRequest { +public: + ListDiagnoseInfoForSingleCardRequest(); + ~ListDiagnoseInfoForSingleCardRequest(); + std::string getSource() const; + void setSource(const std::string &source); + std::string getNextToken() const; + void setNextToken(const std::string &nextToken); + std::string getSourceType() const; + void setSourceType(const std::string &sourceType); + std::string getRegionNo() const; + void setRegionNo(const std::string ®ionNo); + std::string getWirelessCloudConnectorId() const; + void setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId); + int getMaxResults() const; + void setMaxResults(int maxResults); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + std::string source_; + std::string nextToken_; + std::string sourceType_; + std::string regionNo_; + std::string wirelessCloudConnectorId_; + int maxResults_; + std::string status_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_LISTDIAGNOSEINFOFORSINGLECARDREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/ListDiagnoseInfoForSingleCardResult.h b/cc5g/include/alibabacloud/cc5g/model/ListDiagnoseInfoForSingleCardResult.h new file mode 100644 index 000000000..edb7852b7 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ListDiagnoseInfoForSingleCardResult.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_CC5G_MODEL_LISTDIAGNOSEINFOFORSINGLECARDRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_LISTDIAGNOSEINFOFORSINGLECARDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT ListDiagnoseInfoForSingleCardResult : public ServiceResult + { + public: + struct DiagnoseInfoItem + { + std::string status; + std::string destination; + std::string wirelessCloudConnectorId; + long endTime; + std::string cardIp; + std::string iccId; + std::string sourceType; + long diagnoseTime; + long beginTime; + std::string diagnoseTaskId; + std::string destinationType; + std::string source; + }; + + + ListDiagnoseInfoForSingleCardResult(); + explicit ListDiagnoseInfoForSingleCardResult(const std::string &payload); + ~ListDiagnoseInfoForSingleCardResult(); + std::vector getDiagnoseInfo()const; + long getTotalCount()const; + std::string getNextToken()const; + long getMaxResults()const; + + protected: + void parse(const std::string &payload); + private: + std::vector diagnoseInfo_; + long totalCount_; + std::string nextToken_; + long maxResults_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_LISTDIAGNOSEINFOFORSINGLECARDRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/ListGroupAuthorizationRulesRequest.h b/cc5g/include/alibabacloud/cc5g/model/ListGroupAuthorizationRulesRequest.h new file mode 100644 index 000000000..9832daab6 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ListGroupAuthorizationRulesRequest.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_CC5G_MODEL_LISTGROUPAUTHORIZATIONRULESREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_LISTGROUPAUTHORIZATIONRULESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT ListGroupAuthorizationRulesRequest : public RpcServiceRequest { +public: + ListGroupAuthorizationRulesRequest(); + ~ListGroupAuthorizationRulesRequest(); + std::string getWirelessCloudConnectorGroupId() const; + void setWirelessCloudConnectorGroupId(const std::string &wirelessCloudConnectorGroupId); + std::string getDestinationType() const; + void setDestinationType(const std::string &destinationType); + std::string getDestination() const; + void setDestination(const std::string &destination); + std::string getType() const; + void setType(const std::string &type); + std::string getProtocol() const; + void setProtocol(const std::string &protocol); + std::vector getAuthorizationRuleIds() const; + void setAuthorizationRuleIds(const std::vector &authorizationRuleIds); + std::string getNextToken() const; + void setNextToken(const std::string &nextToken); + std::string getPolicy() const; + void setPolicy(const std::string &policy); + bool getDns() const; + void setDns(bool dns); + std::string getDestinationPort() const; + void setDestinationPort(const std::string &destinationPort); + std::vector getNames() const; + void setNames(const std::vector &names); + long getMaxResults() const; + void setMaxResults(long maxResults); + std::vector getStatuses() const; + void setStatuses(const std::vector &statuses); + +private: + std::string wirelessCloudConnectorGroupId_; + std::string destinationType_; + std::string destination_; + std::string type_; + std::string protocol_; + std::vector authorizationRuleIds_; + std::string nextToken_; + std::string policy_; + bool dns_; + std::string destinationPort_; + std::vector names_; + long maxResults_; + std::vector statuses_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_LISTGROUPAUTHORIZATIONRULESREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/ListGroupAuthorizationRulesResult.h b/cc5g/include/alibabacloud/cc5g/model/ListGroupAuthorizationRulesResult.h new file mode 100644 index 000000000..970c4c8e1 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ListGroupAuthorizationRulesResult.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_CC5G_MODEL_LISTGROUPAUTHORIZATIONRULESRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_LISTGROUPAUTHORIZATIONRULESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT ListGroupAuthorizationRulesResult : public ServiceResult + { + public: + struct GroupAuthorizationRule + { + std::string status; + std::string policy; + std::string destination; + std::string description; + std::string sourceCidr; + std::string createTime; + std::string authorizationRuleId; + bool dns; + std::string destinationType; + std::string destinationPort; + std::string name; + std::string type; + std::string protocol; + }; + + + ListGroupAuthorizationRulesResult(); + explicit ListGroupAuthorizationRulesResult(const std::string &payload); + ~ListGroupAuthorizationRulesResult(); + std::vector getGroupAuthorizationRules()const; + std::string getTotalCount()const; + std::string getNextToken()const; + std::string getMaxResults()const; + + protected: + void parse(const std::string &payload); + private: + std::vector groupAuthorizationRules_; + std::string totalCount_; + std::string nextToken_; + std::string maxResults_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_LISTGROUPAUTHORIZATIONRULESRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/ListIoTCloudConnectorBackhaulRouteRequest.h b/cc5g/include/alibabacloud/cc5g/model/ListIoTCloudConnectorBackhaulRouteRequest.h new file mode 100644 index 000000000..ad07c05de --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ListIoTCloudConnectorBackhaulRouteRequest.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_CC5G_MODEL_LISTIOTCLOUDCONNECTORBACKHAULROUTEREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_LISTIOTCLOUDCONNECTORBACKHAULROUTEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT ListIoTCloudConnectorBackhaulRouteRequest : public RpcServiceRequest { +public: + ListIoTCloudConnectorBackhaulRouteRequest(); + ~ListIoTCloudConnectorBackhaulRouteRequest(); + std::string getNetLinkId() const; + void setNetLinkId(const std::string &netLinkId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getWirelessCloudConnectorId() const; + void setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId); + +private: + std::string netLinkId_; + std::string regionId_; + std::string wirelessCloudConnectorId_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_LISTIOTCLOUDCONNECTORBACKHAULROUTEREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/ListIoTCloudConnectorBackhaulRouteResult.h b/cc5g/include/alibabacloud/cc5g/model/ListIoTCloudConnectorBackhaulRouteResult.h new file mode 100644 index 000000000..a9213756d --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ListIoTCloudConnectorBackhaulRouteResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_LISTIOTCLOUDCONNECTORBACKHAULROUTERESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_LISTIOTCLOUDCONNECTORBACKHAULROUTERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT ListIoTCloudConnectorBackhaulRouteResult : public ServiceResult + { + public: + struct RouteEntry + { + std::string status; + std::string nextHopType; + std::string description; + std::string nextHopId; + std::string destinationCidrBlock; + }; + + + ListIoTCloudConnectorBackhaulRouteResult(); + explicit ListIoTCloudConnectorBackhaulRouteResult(const std::string &payload); + ~ListIoTCloudConnectorBackhaulRouteResult(); + std::vector getRoutes()const; + std::string getNetLinkId()const; + + protected: + void parse(const std::string &payload); + private: + std::vector routes_; + std::string netLinkId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_LISTIOTCLOUDCONNECTORBACKHAULROUTERESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/ListOrdersRequest.h b/cc5g/include/alibabacloud/cc5g/model/ListOrdersRequest.h new file mode 100644 index 000000000..bda9cd6e3 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ListOrdersRequest.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_CC5G_MODEL_LISTORDERSREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_LISTORDERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT ListOrdersRequest : public RpcServiceRequest { +public: + ListOrdersRequest(); + ~ListOrdersRequest(); + std::string getNextToken() const; + void setNextToken(const std::string &nextToken); + std::string getOrderAction() const; + void setOrderAction(const std::string &orderAction); + std::string getWirelessCloudConnectorId() const; + void setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId); + std::vector getOrderIds() const; + void setOrderIds(const std::vector &orderIds); + long getMaxResults() const; + void setMaxResults(long maxResults); + std::vector getStatuses() const; + void setStatuses(const std::vector &statuses); + +private: + std::string nextToken_; + std::string orderAction_; + std::string wirelessCloudConnectorId_; + std::vector orderIds_; + long maxResults_; + std::vector statuses_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_LISTORDERSREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/ListOrdersResult.h b/cc5g/include/alibabacloud/cc5g/model/ListOrdersResult.h new file mode 100644 index 000000000..4680a6454 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ListOrdersResult.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_CC5G_MODEL_LISTORDERSRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_LISTORDERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT ListOrdersResult : public ServiceResult + { + public: + struct Order + { + std::string status; + std::string cardNetType; + std::string action; + std::string description; + std::string logisticsUpdateTime; + std::string createTime; + std::string orderId; + std::string logisticsStatus; + std::string contactPhone; + std::string postAddress; + std::string cardCount; + std::string cardType; + std::string logisticsId; + std::string regionId; + std::string payTime; + std::string logisticsType; + std::string contactName; + }; + + + ListOrdersResult(); + explicit ListOrdersResult(const std::string &payload); + ~ListOrdersResult(); + std::vector getOrders()const; + std::string getTotalCount()const; + std::string getNextToken()const; + std::string getMaxResults()const; + + protected: + void parse(const std::string &payload); + private: + std::vector orders_; + std::string totalCount_; + std::string nextToken_; + std::string maxResults_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_LISTORDERSRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/ListRegionsRequest.h b/cc5g/include/alibabacloud/cc5g/model/ListRegionsRequest.h new file mode 100644 index 000000000..82fef0146 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ListRegionsRequest.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_CC5G_MODEL_LISTREGIONSREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_LISTREGIONSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT ListRegionsRequest : public RpcServiceRequest { +public: + ListRegionsRequest(); + ~ListRegionsRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getAcceptLanguage() const; + void setAcceptLanguage(const std::string &acceptLanguage); + +private: + std::string regionId_; + std::string acceptLanguage_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_LISTREGIONSREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/ListRegionsResult.h b/cc5g/include/alibabacloud/cc5g/model/ListRegionsResult.h new file mode 100644 index 000000000..521d7039b --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ListRegionsResult.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_CC5G_MODEL_LISTREGIONSRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_LISTREGIONSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT ListRegionsResult : public ServiceResult + { + public: + struct Region + { + std::string regionId; + std::string regionEndpoint; + std::string localName; + }; + + + ListRegionsResult(); + explicit ListRegionsResult(const std::string &payload); + ~ListRegionsResult(); + std::vector getRegions()const; + + protected: + void parse(const std::string &payload); + private: + std::vector regions_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_LISTREGIONSRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/ListWirelessCloudConnectorGroupsRequest.h b/cc5g/include/alibabacloud/cc5g/model/ListWirelessCloudConnectorGroupsRequest.h new file mode 100644 index 000000000..a92dc8f24 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ListWirelessCloudConnectorGroupsRequest.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_CC5G_MODEL_LISTWIRELESSCLOUDCONNECTORGROUPSREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_LISTWIRELESSCLOUDCONNECTORGROUPSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT ListWirelessCloudConnectorGroupsRequest : public RpcServiceRequest { +public: + ListWirelessCloudConnectorGroupsRequest(); + ~ListWirelessCloudConnectorGroupsRequest(); + std::vector getWirelessCloudConnectorGroupStatus() const; + void setWirelessCloudConnectorGroupStatus(const std::vector &wirelessCloudConnectorGroupStatus); + std::vector getWirelessCloudConnectorGroupIds() const; + void setWirelessCloudConnectorGroupIds(const std::vector &wirelessCloudConnectorGroupIds); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getNextToken() const; + void setNextToken(const std::string &nextToken); + std::vector getWirelessCloudConnectorGroupNames() const; + void setWirelessCloudConnectorGroupNames(const std::vector &wirelessCloudConnectorGroupNames); + long getMaxResults() const; + void setMaxResults(long maxResults); + +private: + std::vector wirelessCloudConnectorGroupStatus_; + std::vector wirelessCloudConnectorGroupIds_; + std::string regionId_; + std::string nextToken_; + std::vector wirelessCloudConnectorGroupNames_; + long maxResults_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_LISTWIRELESSCLOUDCONNECTORGROUPSREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/ListWirelessCloudConnectorGroupsResult.h b/cc5g/include/alibabacloud/cc5g/model/ListWirelessCloudConnectorGroupsResult.h new file mode 100644 index 000000000..d5d100bfd --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ListWirelessCloudConnectorGroupsResult.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_CC5G_MODEL_LISTWIRELESSCLOUDCONNECTORGROUPSRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_LISTWIRELESSCLOUDCONNECTORGROUPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT ListWirelessCloudConnectorGroupsResult : public ServiceResult + { + public: + struct WirelessCloudConnectorGroup + { + struct WirelessCloudConnector + { + std::string status; + std::string dataPackageType; + std::string wirelessCloudConnectorId; + std::string description; + std::string cardCount; + std::string serviceType; + std::string createTime; + std::string businessType; + std::string useCase; + std::string dataPackageId; + std::string regionId; + std::string name; + }; + std::string status; + std::string description; + std::vector wirelessCloudConnectors; + std::string createTime; + std::string regionId; + std::string wirelessCloudConnectorGroupId; + std::string name; + }; + + + ListWirelessCloudConnectorGroupsResult(); + explicit ListWirelessCloudConnectorGroupsResult(const std::string &payload); + ~ListWirelessCloudConnectorGroupsResult(); + std::string getTotalCount()const; + std::string getNextToken()const; + std::string getMaxResults()const; + std::vector getWirelessCloudConnectorGroups()const; + + protected: + void parse(const std::string &payload); + private: + std::string totalCount_; + std::string nextToken_; + std::string maxResults_; + std::vector wirelessCloudConnectorGroups_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_LISTWIRELESSCLOUDCONNECTORGROUPSRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/ListWirelessCloudConnectorsRequest.h b/cc5g/include/alibabacloud/cc5g/model/ListWirelessCloudConnectorsRequest.h new file mode 100644 index 000000000..14969e86d --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ListWirelessCloudConnectorsRequest.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_CC5G_MODEL_LISTWIRELESSCLOUDCONNECTORSREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_LISTWIRELESSCLOUDCONNECTORSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT ListWirelessCloudConnectorsRequest : public RpcServiceRequest { +public: + ListWirelessCloudConnectorsRequest(); + ~ListWirelessCloudConnectorsRequest(); + std::string getWirelessCloudConnectorGroupId() const; + void setWirelessCloudConnectorGroupId(const std::string &wirelessCloudConnectorGroupId); + std::string getBusinessType() const; + void setBusinessType(const std::string &businessType); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getNextToken() const; + void setNextToken(const std::string &nextToken); + std::vector getWirelessCloudConnectorIds() const; + void setWirelessCloudConnectorIds(const std::vector &wirelessCloudConnectorIds); + std::string getIsInGroup() const; + void setIsInGroup(const std::string &isInGroup); + std::vector getNames() const; + void setNames(const std::vector &names); + long getMaxResults() const; + void setMaxResults(long maxResults); + std::vector getStatuses() const; + void setStatuses(const std::vector &statuses); + +private: + std::string wirelessCloudConnectorGroupId_; + std::string businessType_; + std::string regionId_; + std::string nextToken_; + std::vector wirelessCloudConnectorIds_; + std::string isInGroup_; + std::vector names_; + long maxResults_; + std::vector statuses_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_LISTWIRELESSCLOUDCONNECTORSREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/ListWirelessCloudConnectorsResult.h b/cc5g/include/alibabacloud/cc5g/model/ListWirelessCloudConnectorsResult.h new file mode 100644 index 000000000..092ad3b32 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ListWirelessCloudConnectorsResult.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_CC5G_MODEL_LISTWIRELESSCLOUDCONNECTORSRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_LISTWIRELESSCLOUDCONNECTORSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT ListWirelessCloudConnectorsResult : public ServiceResult + { + public: + struct WirelessCloudConnector + { + std::string status; + std::string dataPackageType; + std::string description; + std::string createTime; + std::string businessType; + std::string useCase; + std::string wirelessCloudConnectorGroupId; + std::string name; + std::string wirelessCloudConnectorId; + std::string cardCount; + std::string serviceType; + std::string dataPackageId; + std::string regionId; + }; + + + ListWirelessCloudConnectorsResult(); + explicit ListWirelessCloudConnectorsResult(const std::string &payload); + ~ListWirelessCloudConnectorsResult(); + std::string getTotalCount()const; + std::string getNextToken()const; + std::vector getWirelessCloudConnectors()const; + std::string getMaxResults()const; + + protected: + void parse(const std::string &payload); + private: + std::string totalCount_; + std::string nextToken_; + std::vector wirelessCloudConnectors_; + std::string maxResults_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_LISTWIRELESSCLOUDCONNECTORSRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/ListZonesRequest.h b/cc5g/include/alibabacloud/cc5g/model/ListZonesRequest.h new file mode 100644 index 000000000..cbbf303a8 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ListZonesRequest.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_CC5G_MODEL_LISTZONESREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_LISTZONESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT ListZonesRequest : public RpcServiceRequest { +public: + ListZonesRequest(); + ~ListZonesRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string regionId_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_LISTZONESREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/ListZonesResult.h b/cc5g/include/alibabacloud/cc5g/model/ListZonesResult.h new file mode 100644 index 000000000..23a31b0b7 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ListZonesResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_LISTZONESRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_LISTZONESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT ListZonesResult : public ServiceResult + { + public: + struct Zone + { + std::string zoneId; + std::string localName; + }; + + + ListZonesResult(); + explicit ListZonesResult(const std::string &payload); + ~ListZonesResult(); + std::vector getZones()const; + + protected: + void parse(const std::string &payload); + private: + std::vector zones_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_LISTZONESRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/LockCardsRequest.h b/cc5g/include/alibabacloud/cc5g/model/LockCardsRequest.h new file mode 100644 index 000000000..3c36c2c73 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/LockCardsRequest.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_CC5G_MODEL_LOCKCARDSREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_LOCKCARDSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT LockCardsRequest : public RpcServiceRequest { +public: + LockCardsRequest(); + ~LockCardsRequest(); + std::vector getIccids() const; + void setIccids(const std::vector &iccids); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::vector iccids_; + bool dryRun_; + std::string clientToken_; + std::string regionId_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_LOCKCARDSREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/LockCardsResult.h b/cc5g/include/alibabacloud/cc5g/model/LockCardsResult.h new file mode 100644 index 000000000..b593954bd --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/LockCardsResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_LOCKCARDSRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_LOCKCARDSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT LockCardsResult : public ServiceResult + { + public: + + + LockCardsResult(); + explicit LockCardsResult(const std::string &payload); + ~LockCardsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_LOCKCARDSRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/ModifyWirelessCloudConnectorFeatureRequest.h b/cc5g/include/alibabacloud/cc5g/model/ModifyWirelessCloudConnectorFeatureRequest.h new file mode 100644 index 000000000..80d0a7dc9 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ModifyWirelessCloudConnectorFeatureRequest.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_CC5G_MODEL_MODIFYWIRELESSCLOUDCONNECTORFEATUREREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_MODIFYWIRELESSCLOUDCONNECTORFEATUREREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT ModifyWirelessCloudConnectorFeatureRequest : public RpcServiceRequest { +public: + ModifyWirelessCloudConnectorFeatureRequest(); + ~ModifyWirelessCloudConnectorFeatureRequest(); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getFeatureName() const; + void setFeatureName(const std::string &featureName); + std::string getFeatureValue() const; + void setFeatureValue(const std::string &featureValue); + std::string getWirelessCloudConnectorId() const; + void setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId); + +private: + bool dryRun_; + std::string clientToken_; + std::string featureName_; + std::string featureValue_; + std::string wirelessCloudConnectorId_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_MODIFYWIRELESSCLOUDCONNECTORFEATUREREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/ModifyWirelessCloudConnectorFeatureResult.h b/cc5g/include/alibabacloud/cc5g/model/ModifyWirelessCloudConnectorFeatureResult.h new file mode 100644 index 000000000..7226ea0b0 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ModifyWirelessCloudConnectorFeatureResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_MODIFYWIRELESSCLOUDCONNECTORFEATURERESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_MODIFYWIRELESSCLOUDCONNECTORFEATURERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT ModifyWirelessCloudConnectorFeatureResult : public ServiceResult + { + public: + + + ModifyWirelessCloudConnectorFeatureResult(); + explicit ModifyWirelessCloudConnectorFeatureResult(const std::string &payload); + ~ModifyWirelessCloudConnectorFeatureResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_MODIFYWIRELESSCLOUDCONNECTORFEATURERESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/OpenCc5gServiceRequest.h b/cc5g/include/alibabacloud/cc5g/model/OpenCc5gServiceRequest.h new file mode 100644 index 000000000..2894a464b --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/OpenCc5gServiceRequest.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_CC5G_MODEL_OPENCC5GSERVICEREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_OPENCC5GSERVICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT OpenCc5gServiceRequest : public RpcServiceRequest { +public: + OpenCc5gServiceRequest(); + ~OpenCc5gServiceRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string regionId_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_OPENCC5GSERVICEREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/OpenCc5gServiceResult.h b/cc5g/include/alibabacloud/cc5g/model/OpenCc5gServiceResult.h new file mode 100644 index 000000000..4bae8cbf6 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/OpenCc5gServiceResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_OPENCC5GSERVICERESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_OPENCC5GSERVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT OpenCc5gServiceResult : public ServiceResult + { + public: + + + OpenCc5gServiceResult(); + explicit OpenCc5gServiceResult(const std::string &payload); + ~OpenCc5gServiceResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_OPENCC5GSERVICERESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/RemoveWirelessCloudConnectorFromGroupRequest.h b/cc5g/include/alibabacloud/cc5g/model/RemoveWirelessCloudConnectorFromGroupRequest.h new file mode 100644 index 000000000..7045bbc05 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/RemoveWirelessCloudConnectorFromGroupRequest.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_CC5G_MODEL_REMOVEWIRELESSCLOUDCONNECTORFROMGROUPREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_REMOVEWIRELESSCLOUDCONNECTORFROMGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT RemoveWirelessCloudConnectorFromGroupRequest : public RpcServiceRequest { +public: + RemoveWirelessCloudConnectorFromGroupRequest(); + ~RemoveWirelessCloudConnectorFromGroupRequest(); + std::vector getWirelessCloudConnectorIds() const; + void setWirelessCloudConnectorIds(const std::vector &wirelessCloudConnectorIds); + std::string getWirelessCloudConnectorGroupId() const; + void setWirelessCloudConnectorGroupId(const std::string &wirelessCloudConnectorGroupId); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::vector wirelessCloudConnectorIds_; + std::string wirelessCloudConnectorGroupId_; + bool dryRun_; + std::string clientToken_; + std::string regionId_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_REMOVEWIRELESSCLOUDCONNECTORFROMGROUPREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/RemoveWirelessCloudConnectorFromGroupResult.h b/cc5g/include/alibabacloud/cc5g/model/RemoveWirelessCloudConnectorFromGroupResult.h new file mode 100644 index 000000000..8ad3afa65 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/RemoveWirelessCloudConnectorFromGroupResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_REMOVEWIRELESSCLOUDCONNECTORFROMGROUPRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_REMOVEWIRELESSCLOUDCONNECTORFROMGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT RemoveWirelessCloudConnectorFromGroupResult : public ServiceResult + { + public: + + + RemoveWirelessCloudConnectorFromGroupResult(); + explicit RemoveWirelessCloudConnectorFromGroupResult(const std::string &payload); + ~RemoveWirelessCloudConnectorFromGroupResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_REMOVEWIRELESSCLOUDCONNECTORFROMGROUPRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/ResumeCardsRequest.h b/cc5g/include/alibabacloud/cc5g/model/ResumeCardsRequest.h new file mode 100644 index 000000000..f35dd65f9 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ResumeCardsRequest.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_CC5G_MODEL_RESUMECARDSREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_RESUMECARDSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT ResumeCardsRequest : public RpcServiceRequest { +public: + ResumeCardsRequest(); + ~ResumeCardsRequest(); + std::vector getIccids() const; + void setIccids(const std::vector &iccids); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::vector iccids_; + bool dryRun_; + std::string clientToken_; + std::string regionId_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_RESUMECARDSREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/ResumeCardsResult.h b/cc5g/include/alibabacloud/cc5g/model/ResumeCardsResult.h new file mode 100644 index 000000000..7f899983a --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/ResumeCardsResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_RESUMECARDSRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_RESUMECARDSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT ResumeCardsResult : public ServiceResult + { + public: + + + ResumeCardsResult(); + explicit ResumeCardsResult(const std::string &payload); + ~ResumeCardsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_RESUMECARDSRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/RevokeNetLinkRequest.h b/cc5g/include/alibabacloud/cc5g/model/RevokeNetLinkRequest.h new file mode 100644 index 000000000..fbf63da6a --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/RevokeNetLinkRequest.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_CC5G_MODEL_REVOKENETLINKREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_REVOKENETLINKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT RevokeNetLinkRequest : public RpcServiceRequest { +public: + RevokeNetLinkRequest(); + ~RevokeNetLinkRequest(); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getNetLinkId() const; + void setNetLinkId(const std::string &netLinkId); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getWirelessCloudConnectorId() const; + void setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId); + +private: + bool dryRun_; + std::string netLinkId_; + std::string clientToken_; + std::string wirelessCloudConnectorId_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_REVOKENETLINKREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/RevokeNetLinkResult.h b/cc5g/include/alibabacloud/cc5g/model/RevokeNetLinkResult.h new file mode 100644 index 000000000..f20a34508 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/RevokeNetLinkResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_REVOKENETLINKRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_REVOKENETLINKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT RevokeNetLinkResult : public ServiceResult + { + public: + + + RevokeNetLinkResult(); + explicit RevokeNetLinkResult(const std::string &payload); + ~RevokeNetLinkResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_REVOKENETLINKRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/StopCardsRequest.h b/cc5g/include/alibabacloud/cc5g/model/StopCardsRequest.h new file mode 100644 index 000000000..0d07988df --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/StopCardsRequest.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_CC5G_MODEL_STOPCARDSREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_STOPCARDSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT StopCardsRequest : public RpcServiceRequest { +public: + StopCardsRequest(); + ~StopCardsRequest(); + std::vector getIccids() const; + void setIccids(const std::vector &iccids); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::vector iccids_; + bool dryRun_; + std::string clientToken_; + std::string regionId_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_STOPCARDSREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/StopCardsResult.h b/cc5g/include/alibabacloud/cc5g/model/StopCardsResult.h new file mode 100644 index 000000000..3504dac5c --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/StopCardsResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_STOPCARDSRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_STOPCARDSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT StopCardsResult : public ServiceResult + { + public: + + + StopCardsResult(); + explicit StopCardsResult(const std::string &payload); + ~StopCardsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_STOPCARDSRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/SubmitDiagnoseTaskForSingleCardRequest.h b/cc5g/include/alibabacloud/cc5g/model/SubmitDiagnoseTaskForSingleCardRequest.h new file mode 100644 index 000000000..8510f6e9a --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/SubmitDiagnoseTaskForSingleCardRequest.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_CC5G_MODEL_SUBMITDIAGNOSETASKFORSINGLECARDREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_SUBMITDIAGNOSETASKFORSINGLECARDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT SubmitDiagnoseTaskForSingleCardRequest : public RpcServiceRequest { +public: + SubmitDiagnoseTaskForSingleCardRequest(); + ~SubmitDiagnoseTaskForSingleCardRequest(); + std::string getDestination() const; + void setDestination(const std::string &destination); + std::string getSource() const; + void setSource(const std::string &source); + long getResourceUid() const; + void setResourceUid(long resourceUid); + long getEndTime() const; + void setEndTime(long endTime); + long getBeginTime() const; + void setBeginTime(long beginTime); + std::string getRegionNo() const; + void setRegionNo(const std::string ®ionNo); + std::string getWirelessCloudConnectorId() const; + void setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId); + +private: + std::string destination_; + std::string source_; + long resourceUid_; + long endTime_; + long beginTime_; + std::string regionNo_; + std::string wirelessCloudConnectorId_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_SUBMITDIAGNOSETASKFORSINGLECARDREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/SubmitDiagnoseTaskForSingleCardResult.h b/cc5g/include/alibabacloud/cc5g/model/SubmitDiagnoseTaskForSingleCardResult.h new file mode 100644 index 000000000..4e894fafe --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/SubmitDiagnoseTaskForSingleCardResult.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_CC5G_MODEL_SUBMITDIAGNOSETASKFORSINGLECARDRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_SUBMITDIAGNOSETASKFORSINGLECARDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT SubmitDiagnoseTaskForSingleCardResult : public ServiceResult + { + public: + + + SubmitDiagnoseTaskForSingleCardResult(); + explicit SubmitDiagnoseTaskForSingleCardResult(const std::string &payload); + ~SubmitDiagnoseTaskForSingleCardResult(); + std::string getDiagnoseTaskId()const; + + protected: + void parse(const std::string &payload); + private: + std::string diagnoseTaskId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_SUBMITDIAGNOSETASKFORSINGLECARDRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/SwitchWirelessCloudConnectorToBusinessRequest.h b/cc5g/include/alibabacloud/cc5g/model/SwitchWirelessCloudConnectorToBusinessRequest.h new file mode 100644 index 000000000..d8089d650 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/SwitchWirelessCloudConnectorToBusinessRequest.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_CC5G_MODEL_SWITCHWIRELESSCLOUDCONNECTORTOBUSINESSREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_SWITCHWIRELESSCLOUDCONNECTORTOBUSINESSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT SwitchWirelessCloudConnectorToBusinessRequest : public RpcServiceRequest { +public: + SwitchWirelessCloudConnectorToBusinessRequest(); + ~SwitchWirelessCloudConnectorToBusinessRequest(); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getWirelessCloudConnectorId() const; + void setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId); + +private: + bool dryRun_; + std::string clientToken_; + std::string wirelessCloudConnectorId_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_SWITCHWIRELESSCLOUDCONNECTORTOBUSINESSREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/SwitchWirelessCloudConnectorToBusinessResult.h b/cc5g/include/alibabacloud/cc5g/model/SwitchWirelessCloudConnectorToBusinessResult.h new file mode 100644 index 000000000..efeaf8302 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/SwitchWirelessCloudConnectorToBusinessResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_SWITCHWIRELESSCLOUDCONNECTORTOBUSINESSRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_SWITCHWIRELESSCLOUDCONNECTORTOBUSINESSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT SwitchWirelessCloudConnectorToBusinessResult : public ServiceResult + { + public: + + + SwitchWirelessCloudConnectorToBusinessResult(); + explicit SwitchWirelessCloudConnectorToBusinessResult(const std::string &payload); + ~SwitchWirelessCloudConnectorToBusinessResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_SWITCHWIRELESSCLOUDCONNECTORTOBUSINESSRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/UnlockCardsRequest.h b/cc5g/include/alibabacloud/cc5g/model/UnlockCardsRequest.h new file mode 100644 index 000000000..c9629a8b5 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/UnlockCardsRequest.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_CC5G_MODEL_UNLOCKCARDSREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_UNLOCKCARDSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT UnlockCardsRequest : public RpcServiceRequest { +public: + UnlockCardsRequest(); + ~UnlockCardsRequest(); + std::vector getIccids() const; + void setIccids(const std::vector &iccids); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::vector iccids_; + bool dryRun_; + std::string clientToken_; + std::string regionId_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_UNLOCKCARDSREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/UnlockCardsResult.h b/cc5g/include/alibabacloud/cc5g/model/UnlockCardsResult.h new file mode 100644 index 000000000..73c8e7893 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/UnlockCardsResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_UNLOCKCARDSRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_UNLOCKCARDSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT UnlockCardsResult : public ServiceResult + { + public: + + + UnlockCardsResult(); + explicit UnlockCardsResult(const std::string &payload); + ~UnlockCardsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_UNLOCKCARDSRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/UpdateAuthorizationRuleRequest.h b/cc5g/include/alibabacloud/cc5g/model/UpdateAuthorizationRuleRequest.h new file mode 100644 index 000000000..5e17f963b --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/UpdateAuthorizationRuleRequest.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_CC5G_MODEL_UPDATEAUTHORIZATIONRULEREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_UPDATEAUTHORIZATIONRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT UpdateAuthorizationRuleRequest : public RpcServiceRequest { +public: + UpdateAuthorizationRuleRequest(); + ~UpdateAuthorizationRuleRequest(); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getSourceCidr() const; + void setSourceCidr(const std::string &sourceCidr); + std::string getDestination() const; + void setDestination(const std::string &destination); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getProtocol() const; + void setProtocol(const std::string &protocol); + std::string getPolicy() const; + void setPolicy(const std::string &policy); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getAuthorizationRuleId() const; + void setAuthorizationRuleId(const std::string &authorizationRuleId); + std::string getDestinationPort() const; + void setDestinationPort(const std::string &destinationPort); + std::string getWirelessCloudConnectorId() const; + void setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string clientToken_; + std::string sourceCidr_; + std::string destination_; + std::string description_; + std::string protocol_; + std::string policy_; + bool dryRun_; + std::string authorizationRuleId_; + std::string destinationPort_; + std::string wirelessCloudConnectorId_; + std::string name_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_UPDATEAUTHORIZATIONRULEREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/UpdateAuthorizationRuleResult.h b/cc5g/include/alibabacloud/cc5g/model/UpdateAuthorizationRuleResult.h new file mode 100644 index 000000000..5c3bc8bdb --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/UpdateAuthorizationRuleResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_UPDATEAUTHORIZATIONRULERESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_UPDATEAUTHORIZATIONRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT UpdateAuthorizationRuleResult : public ServiceResult + { + public: + + + UpdateAuthorizationRuleResult(); + explicit UpdateAuthorizationRuleResult(const std::string &payload); + ~UpdateAuthorizationRuleResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_UPDATEAUTHORIZATIONRULERESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/UpdateBatchOperateCardsTaskRequest.h b/cc5g/include/alibabacloud/cc5g/model/UpdateBatchOperateCardsTaskRequest.h new file mode 100644 index 000000000..f508fb9d0 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/UpdateBatchOperateCardsTaskRequest.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_UPDATEBATCHOPERATECARDSTASKREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_UPDATEBATCHOPERATECARDSTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT UpdateBatchOperateCardsTaskRequest : public RpcServiceRequest { +public: + UpdateBatchOperateCardsTaskRequest(); + ~UpdateBatchOperateCardsTaskRequest(); + std::vector getIccids() const; + void setIccids(const std::vector &iccids); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getDescription() const; + void setDescription(const std::string &description); + long getThreshold() const; + void setThreshold(long threshold); + std::string getBatchOperateCardsTaskId() const; + void setBatchOperateCardsTaskId(const std::string &batchOperateCardsTaskId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getEffectType() const; + void setEffectType(const std::string &effectType); + std::vector getWirelessCloudConnectorIds() const; + void setWirelessCloudConnectorIds(const std::vector &wirelessCloudConnectorIds); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getName() const; + void setName(const std::string &name); + std::string getOperateType() const; + void setOperateType(const std::string &operateType); + std::string getIccidsOssFilePath() const; + void setIccidsOssFilePath(const std::string &iccidsOssFilePath); + +private: + std::vector iccids_; + std::string clientToken_; + std::string description_; + long threshold_; + std::string batchOperateCardsTaskId_; + std::string regionId_; + std::string effectType_; + std::vector wirelessCloudConnectorIds_; + bool dryRun_; + std::string name_; + std::string operateType_; + std::string iccidsOssFilePath_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_UPDATEBATCHOPERATECARDSTASKREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/UpdateBatchOperateCardsTaskResult.h b/cc5g/include/alibabacloud/cc5g/model/UpdateBatchOperateCardsTaskResult.h new file mode 100644 index 000000000..c82b54998 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/UpdateBatchOperateCardsTaskResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_UPDATEBATCHOPERATECARDSTASKRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_UPDATEBATCHOPERATECARDSTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT UpdateBatchOperateCardsTaskResult : public ServiceResult + { + public: + + + UpdateBatchOperateCardsTaskResult(); + explicit UpdateBatchOperateCardsTaskResult(const std::string &payload); + ~UpdateBatchOperateCardsTaskResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_UPDATEBATCHOPERATECARDSTASKRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/UpdateCardRequest.h b/cc5g/include/alibabacloud/cc5g/model/UpdateCardRequest.h new file mode 100644 index 000000000..f2f7ff53d --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/UpdateCardRequest.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_CC5G_MODEL_UPDATECARDREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_UPDATECARDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT UpdateCardRequest : public RpcServiceRequest { +public: + UpdateCardRequest(); + ~UpdateCardRequest(); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getIccid() const; + void setIccid(const std::string &iccid); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getWirelessCloudConnectorId() const; + void setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string clientToken_; + std::string description_; + std::string iccid_; + bool dryRun_; + std::string wirelessCloudConnectorId_; + std::string name_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_UPDATECARDREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/UpdateCardResult.h b/cc5g/include/alibabacloud/cc5g/model/UpdateCardResult.h new file mode 100644 index 000000000..b73a4bdab --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/UpdateCardResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_UPDATECARDRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_UPDATECARDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT UpdateCardResult : public ServiceResult + { + public: + + + UpdateCardResult(); + explicit UpdateCardResult(const std::string &payload); + ~UpdateCardResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_UPDATECARDRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/UpdateDNSAuthorizationRuleRequest.h b/cc5g/include/alibabacloud/cc5g/model/UpdateDNSAuthorizationRuleRequest.h new file mode 100644 index 000000000..16431bcc7 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/UpdateDNSAuthorizationRuleRequest.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_CC5G_MODEL_UPDATEDNSAUTHORIZATIONRULEREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_UPDATEDNSAUTHORIZATIONRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT UpdateDNSAuthorizationRuleRequest : public RpcServiceRequest { +public: + UpdateDNSAuthorizationRuleRequest(); + ~UpdateDNSAuthorizationRuleRequest(); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getDescription() const; + void setDescription(const std::string &description); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getSourceDNSIp() const; + void setSourceDNSIp(const std::string &sourceDNSIp); + std::string getAuthorizationRuleId() const; + void setAuthorizationRuleId(const std::string &authorizationRuleId); + std::string getDestinationIp() const; + void setDestinationIp(const std::string &destinationIp); + std::string getWirelessCloudConnectorId() const; + void setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string clientToken_; + std::string description_; + bool dryRun_; + std::string sourceDNSIp_; + std::string authorizationRuleId_; + std::string destinationIp_; + std::string wirelessCloudConnectorId_; + std::string name_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_UPDATEDNSAUTHORIZATIONRULEREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/UpdateDNSAuthorizationRuleResult.h b/cc5g/include/alibabacloud/cc5g/model/UpdateDNSAuthorizationRuleResult.h new file mode 100644 index 000000000..33373ca13 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/UpdateDNSAuthorizationRuleResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_UPDATEDNSAUTHORIZATIONRULERESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_UPDATEDNSAUTHORIZATIONRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT UpdateDNSAuthorizationRuleResult : public ServiceResult + { + public: + + + UpdateDNSAuthorizationRuleResult(); + explicit UpdateDNSAuthorizationRuleResult(const std::string &payload); + ~UpdateDNSAuthorizationRuleResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_UPDATEDNSAUTHORIZATIONRULERESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/UpdateGroupAuthorizationRuleRequest.h b/cc5g/include/alibabacloud/cc5g/model/UpdateGroupAuthorizationRuleRequest.h new file mode 100644 index 000000000..9aa3ccb79 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/UpdateGroupAuthorizationRuleRequest.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_CC5G_MODEL_UPDATEGROUPAUTHORIZATIONRULEREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_UPDATEGROUPAUTHORIZATIONRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT UpdateGroupAuthorizationRuleRequest : public RpcServiceRequest { +public: + UpdateGroupAuthorizationRuleRequest(); + ~UpdateGroupAuthorizationRuleRequest(); + std::string getWirelessCloudConnectorGroupId() const; + void setWirelessCloudConnectorGroupId(const std::string &wirelessCloudConnectorGroupId); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getSourceCidr() const; + void setSourceCidr(const std::string &sourceCidr); + std::string getDestination() const; + void setDestination(const std::string &destination); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getProtocol() const; + void setProtocol(const std::string &protocol); + std::string getPolicy() const; + void setPolicy(const std::string &policy); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getAuthorizationRuleId() const; + void setAuthorizationRuleId(const std::string &authorizationRuleId); + std::string getDestinationPort() const; + void setDestinationPort(const std::string &destinationPort); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string wirelessCloudConnectorGroupId_; + std::string clientToken_; + std::string sourceCidr_; + std::string destination_; + std::string description_; + std::string protocol_; + std::string policy_; + bool dryRun_; + std::string authorizationRuleId_; + std::string destinationPort_; + std::string name_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_UPDATEGROUPAUTHORIZATIONRULEREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/UpdateGroupAuthorizationRuleResult.h b/cc5g/include/alibabacloud/cc5g/model/UpdateGroupAuthorizationRuleResult.h new file mode 100644 index 000000000..88e4a20b6 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/UpdateGroupAuthorizationRuleResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_UPDATEGROUPAUTHORIZATIONRULERESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_UPDATEGROUPAUTHORIZATIONRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT UpdateGroupAuthorizationRuleResult : public ServiceResult + { + public: + + + UpdateGroupAuthorizationRuleResult(); + explicit UpdateGroupAuthorizationRuleResult(const std::string &payload); + ~UpdateGroupAuthorizationRuleResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_UPDATEGROUPAUTHORIZATIONRULERESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/UpdateGroupDnsAuthorizationRuleRequest.h b/cc5g/include/alibabacloud/cc5g/model/UpdateGroupDnsAuthorizationRuleRequest.h new file mode 100644 index 000000000..fad7e6c69 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/UpdateGroupDnsAuthorizationRuleRequest.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_CC5G_MODEL_UPDATEGROUPDNSAUTHORIZATIONRULEREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_UPDATEGROUPDNSAUTHORIZATIONRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT UpdateGroupDnsAuthorizationRuleRequest : public RpcServiceRequest { +public: + UpdateGroupDnsAuthorizationRuleRequest(); + ~UpdateGroupDnsAuthorizationRuleRequest(); + std::string getWirelessCloudConnectorGroupId() const; + void setWirelessCloudConnectorGroupId(const std::string &wirelessCloudConnectorGroupId); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getDescription() const; + void setDescription(const std::string &description); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getSourceDNSIp() const; + void setSourceDNSIp(const std::string &sourceDNSIp); + std::string getAuthorizationRuleId() const; + void setAuthorizationRuleId(const std::string &authorizationRuleId); + std::string getDestinationIp() const; + void setDestinationIp(const std::string &destinationIp); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string wirelessCloudConnectorGroupId_; + std::string clientToken_; + std::string description_; + bool dryRun_; + std::string sourceDNSIp_; + std::string authorizationRuleId_; + std::string destinationIp_; + std::string name_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_UPDATEGROUPDNSAUTHORIZATIONRULEREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/UpdateGroupDnsAuthorizationRuleResult.h b/cc5g/include/alibabacloud/cc5g/model/UpdateGroupDnsAuthorizationRuleResult.h new file mode 100644 index 000000000..6cfd6c3d9 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/UpdateGroupDnsAuthorizationRuleResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_UPDATEGROUPDNSAUTHORIZATIONRULERESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_UPDATEGROUPDNSAUTHORIZATIONRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT UpdateGroupDnsAuthorizationRuleResult : public ServiceResult + { + public: + + + UpdateGroupDnsAuthorizationRuleResult(); + explicit UpdateGroupDnsAuthorizationRuleResult(const std::string &payload); + ~UpdateGroupDnsAuthorizationRuleResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_UPDATEGROUPDNSAUTHORIZATIONRULERESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/UpdateWirelessCloudConnectorGroupRequest.h b/cc5g/include/alibabacloud/cc5g/model/UpdateWirelessCloudConnectorGroupRequest.h new file mode 100644 index 000000000..e43e5bcff --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/UpdateWirelessCloudConnectorGroupRequest.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_CC5G_MODEL_UPDATEWIRELESSCLOUDCONNECTORGROUPREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_UPDATEWIRELESSCLOUDCONNECTORGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT UpdateWirelessCloudConnectorGroupRequest : public RpcServiceRequest { +public: + UpdateWirelessCloudConnectorGroupRequest(); + ~UpdateWirelessCloudConnectorGroupRequest(); + std::string getWirelessCloudConnectorGroupId() const; + void setWirelessCloudConnectorGroupId(const std::string &wirelessCloudConnectorGroupId); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string wirelessCloudConnectorGroupId_; + bool dryRun_; + std::string clientToken_; + std::string description_; + std::string name_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_UPDATEWIRELESSCLOUDCONNECTORGROUPREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/UpdateWirelessCloudConnectorGroupResult.h b/cc5g/include/alibabacloud/cc5g/model/UpdateWirelessCloudConnectorGroupResult.h new file mode 100644 index 000000000..13ffa0c39 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/UpdateWirelessCloudConnectorGroupResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_UPDATEWIRELESSCLOUDCONNECTORGROUPRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_UPDATEWIRELESSCLOUDCONNECTORGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT UpdateWirelessCloudConnectorGroupResult : public ServiceResult + { + public: + + + UpdateWirelessCloudConnectorGroupResult(); + explicit UpdateWirelessCloudConnectorGroupResult(const std::string &payload); + ~UpdateWirelessCloudConnectorGroupResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_UPDATEWIRELESSCLOUDCONNECTORGROUPRESULT_H_ \ No newline at end of file diff --git a/cc5g/include/alibabacloud/cc5g/model/UpdateWirelessCloudConnectorRequest.h b/cc5g/include/alibabacloud/cc5g/model/UpdateWirelessCloudConnectorRequest.h new file mode 100644 index 000000000..f1ec69414 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/UpdateWirelessCloudConnectorRequest.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_CC5G_MODEL_UPDATEWIRELESSCLOUDCONNECTORREQUEST_H_ +#define ALIBABACLOUD_CC5G_MODEL_UPDATEWIRELESSCLOUDCONNECTORREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CC5G { +namespace Model { +class ALIBABACLOUD_CC5G_EXPORT UpdateWirelessCloudConnectorRequest : public RpcServiceRequest { +public: + UpdateWirelessCloudConnectorRequest(); + ~UpdateWirelessCloudConnectorRequest(); + bool getDryRun() const; + void setDryRun(bool dryRun); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getWirelessCloudConnectorId() const; + void setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId); + std::string getName() const; + void setName(const std::string &name); + +private: + bool dryRun_; + std::string clientToken_; + std::string description_; + std::string wirelessCloudConnectorId_; + std::string name_; +}; +} // namespace Model +} // namespace CC5G +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CC5G_MODEL_UPDATEWIRELESSCLOUDCONNECTORREQUEST_H_ diff --git a/cc5g/include/alibabacloud/cc5g/model/UpdateWirelessCloudConnectorResult.h b/cc5g/include/alibabacloud/cc5g/model/UpdateWirelessCloudConnectorResult.h new file mode 100644 index 000000000..00eb66f90 --- /dev/null +++ b/cc5g/include/alibabacloud/cc5g/model/UpdateWirelessCloudConnectorResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CC5G_MODEL_UPDATEWIRELESSCLOUDCONNECTORRESULT_H_ +#define ALIBABACLOUD_CC5G_MODEL_UPDATEWIRELESSCLOUDCONNECTORRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CC5G + { + namespace Model + { + class ALIBABACLOUD_CC5G_EXPORT UpdateWirelessCloudConnectorResult : public ServiceResult + { + public: + + + UpdateWirelessCloudConnectorResult(); + explicit UpdateWirelessCloudConnectorResult(const std::string &payload); + ~UpdateWirelessCloudConnectorResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CC5G_MODEL_UPDATEWIRELESSCLOUDCONNECTORRESULT_H_ \ No newline at end of file diff --git a/cc5g/src/CC5GClient.cc b/cc5g/src/CC5GClient.cc new file mode 100644 index 000000000..cf26085f0 --- /dev/null +++ b/cc5g/src/CC5GClient.cc @@ -0,0 +1,2033 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +namespace +{ + const std::string SERVICE_NAME = "CC5G"; +} + +CC5GClient::CC5GClient(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, "fivegcc"); +} + +CC5GClient::CC5GClient(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, "fivegcc"); +} + +CC5GClient::CC5GClient(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, "fivegcc"); +} + +CC5GClient::~CC5GClient() +{} + +CC5GClient::AddDNSAuthorizationRuleOutcome CC5GClient::addDNSAuthorizationRule(const AddDNSAuthorizationRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddDNSAuthorizationRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddDNSAuthorizationRuleOutcome(AddDNSAuthorizationRuleResult(outcome.result())); + else + return AddDNSAuthorizationRuleOutcome(outcome.error()); +} + +void CC5GClient::addDNSAuthorizationRuleAsync(const AddDNSAuthorizationRuleRequest& request, const AddDNSAuthorizationRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addDNSAuthorizationRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::AddDNSAuthorizationRuleOutcomeCallable CC5GClient::addDNSAuthorizationRuleCallable(const AddDNSAuthorizationRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addDNSAuthorizationRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::AddGroupDnsAuthorizationRuleOutcome CC5GClient::addGroupDnsAuthorizationRule(const AddGroupDnsAuthorizationRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddGroupDnsAuthorizationRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddGroupDnsAuthorizationRuleOutcome(AddGroupDnsAuthorizationRuleResult(outcome.result())); + else + return AddGroupDnsAuthorizationRuleOutcome(outcome.error()); +} + +void CC5GClient::addGroupDnsAuthorizationRuleAsync(const AddGroupDnsAuthorizationRuleRequest& request, const AddGroupDnsAuthorizationRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addGroupDnsAuthorizationRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::AddGroupDnsAuthorizationRuleOutcomeCallable CC5GClient::addGroupDnsAuthorizationRuleCallable(const AddGroupDnsAuthorizationRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addGroupDnsAuthorizationRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::AddWirelessCloudConnectorToGroupOutcome CC5GClient::addWirelessCloudConnectorToGroup(const AddWirelessCloudConnectorToGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddWirelessCloudConnectorToGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddWirelessCloudConnectorToGroupOutcome(AddWirelessCloudConnectorToGroupResult(outcome.result())); + else + return AddWirelessCloudConnectorToGroupOutcome(outcome.error()); +} + +void CC5GClient::addWirelessCloudConnectorToGroupAsync(const AddWirelessCloudConnectorToGroupRequest& request, const AddWirelessCloudConnectorToGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addWirelessCloudConnectorToGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::AddWirelessCloudConnectorToGroupOutcomeCallable CC5GClient::addWirelessCloudConnectorToGroupCallable(const AddWirelessCloudConnectorToGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addWirelessCloudConnectorToGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::AttachVpcToNetLinkOutcome CC5GClient::attachVpcToNetLink(const AttachVpcToNetLinkRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AttachVpcToNetLinkOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AttachVpcToNetLinkOutcome(AttachVpcToNetLinkResult(outcome.result())); + else + return AttachVpcToNetLinkOutcome(outcome.error()); +} + +void CC5GClient::attachVpcToNetLinkAsync(const AttachVpcToNetLinkRequest& request, const AttachVpcToNetLinkAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, attachVpcToNetLink(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::AttachVpcToNetLinkOutcomeCallable CC5GClient::attachVpcToNetLinkCallable(const AttachVpcToNetLinkRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->attachVpcToNetLink(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::CreateAuthorizationRuleOutcome CC5GClient::createAuthorizationRule(const CreateAuthorizationRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateAuthorizationRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateAuthorizationRuleOutcome(CreateAuthorizationRuleResult(outcome.result())); + else + return CreateAuthorizationRuleOutcome(outcome.error()); +} + +void CC5GClient::createAuthorizationRuleAsync(const CreateAuthorizationRuleRequest& request, const CreateAuthorizationRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createAuthorizationRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::CreateAuthorizationRuleOutcomeCallable CC5GClient::createAuthorizationRuleCallable(const CreateAuthorizationRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createAuthorizationRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::CreateBatchOperateCardsTaskOutcome CC5GClient::createBatchOperateCardsTask(const CreateBatchOperateCardsTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateBatchOperateCardsTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateBatchOperateCardsTaskOutcome(CreateBatchOperateCardsTaskResult(outcome.result())); + else + return CreateBatchOperateCardsTaskOutcome(outcome.error()); +} + +void CC5GClient::createBatchOperateCardsTaskAsync(const CreateBatchOperateCardsTaskRequest& request, const CreateBatchOperateCardsTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createBatchOperateCardsTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::CreateBatchOperateCardsTaskOutcomeCallable CC5GClient::createBatchOperateCardsTaskCallable(const CreateBatchOperateCardsTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createBatchOperateCardsTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::CreateGroupAuthorizationRuleOutcome CC5GClient::createGroupAuthorizationRule(const CreateGroupAuthorizationRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateGroupAuthorizationRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateGroupAuthorizationRuleOutcome(CreateGroupAuthorizationRuleResult(outcome.result())); + else + return CreateGroupAuthorizationRuleOutcome(outcome.error()); +} + +void CC5GClient::createGroupAuthorizationRuleAsync(const CreateGroupAuthorizationRuleRequest& request, const CreateGroupAuthorizationRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createGroupAuthorizationRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::CreateGroupAuthorizationRuleOutcomeCallable CC5GClient::createGroupAuthorizationRuleCallable(const CreateGroupAuthorizationRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createGroupAuthorizationRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::CreateIoTCloudConnectorBackhaulRouteOutcome CC5GClient::createIoTCloudConnectorBackhaulRoute(const CreateIoTCloudConnectorBackhaulRouteRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateIoTCloudConnectorBackhaulRouteOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateIoTCloudConnectorBackhaulRouteOutcome(CreateIoTCloudConnectorBackhaulRouteResult(outcome.result())); + else + return CreateIoTCloudConnectorBackhaulRouteOutcome(outcome.error()); +} + +void CC5GClient::createIoTCloudConnectorBackhaulRouteAsync(const CreateIoTCloudConnectorBackhaulRouteRequest& request, const CreateIoTCloudConnectorBackhaulRouteAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createIoTCloudConnectorBackhaulRoute(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::CreateIoTCloudConnectorBackhaulRouteOutcomeCallable CC5GClient::createIoTCloudConnectorBackhaulRouteCallable(const CreateIoTCloudConnectorBackhaulRouteRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createIoTCloudConnectorBackhaulRoute(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::CreateWirelessCloudConnectorOutcome CC5GClient::createWirelessCloudConnector(const CreateWirelessCloudConnectorRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateWirelessCloudConnectorOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateWirelessCloudConnectorOutcome(CreateWirelessCloudConnectorResult(outcome.result())); + else + return CreateWirelessCloudConnectorOutcome(outcome.error()); +} + +void CC5GClient::createWirelessCloudConnectorAsync(const CreateWirelessCloudConnectorRequest& request, const CreateWirelessCloudConnectorAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createWirelessCloudConnector(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::CreateWirelessCloudConnectorOutcomeCallable CC5GClient::createWirelessCloudConnectorCallable(const CreateWirelessCloudConnectorRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createWirelessCloudConnector(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::CreateWirelessCloudConnectorGroupOutcome CC5GClient::createWirelessCloudConnectorGroup(const CreateWirelessCloudConnectorGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateWirelessCloudConnectorGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateWirelessCloudConnectorGroupOutcome(CreateWirelessCloudConnectorGroupResult(outcome.result())); + else + return CreateWirelessCloudConnectorGroupOutcome(outcome.error()); +} + +void CC5GClient::createWirelessCloudConnectorGroupAsync(const CreateWirelessCloudConnectorGroupRequest& request, const CreateWirelessCloudConnectorGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createWirelessCloudConnectorGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::CreateWirelessCloudConnectorGroupOutcomeCallable CC5GClient::createWirelessCloudConnectorGroupCallable(const CreateWirelessCloudConnectorGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createWirelessCloudConnectorGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::DeleteAuthorizationRuleOutcome CC5GClient::deleteAuthorizationRule(const DeleteAuthorizationRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteAuthorizationRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteAuthorizationRuleOutcome(DeleteAuthorizationRuleResult(outcome.result())); + else + return DeleteAuthorizationRuleOutcome(outcome.error()); +} + +void CC5GClient::deleteAuthorizationRuleAsync(const DeleteAuthorizationRuleRequest& request, const DeleteAuthorizationRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteAuthorizationRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::DeleteAuthorizationRuleOutcomeCallable CC5GClient::deleteAuthorizationRuleCallable(const DeleteAuthorizationRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteAuthorizationRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::DeleteBatchOperateCardsTaskOutcome CC5GClient::deleteBatchOperateCardsTask(const DeleteBatchOperateCardsTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteBatchOperateCardsTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteBatchOperateCardsTaskOutcome(DeleteBatchOperateCardsTaskResult(outcome.result())); + else + return DeleteBatchOperateCardsTaskOutcome(outcome.error()); +} + +void CC5GClient::deleteBatchOperateCardsTaskAsync(const DeleteBatchOperateCardsTaskRequest& request, const DeleteBatchOperateCardsTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteBatchOperateCardsTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::DeleteBatchOperateCardsTaskOutcomeCallable CC5GClient::deleteBatchOperateCardsTaskCallable(const DeleteBatchOperateCardsTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteBatchOperateCardsTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::DeleteGroupAuthorizationRuleOutcome CC5GClient::deleteGroupAuthorizationRule(const DeleteGroupAuthorizationRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteGroupAuthorizationRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteGroupAuthorizationRuleOutcome(DeleteGroupAuthorizationRuleResult(outcome.result())); + else + return DeleteGroupAuthorizationRuleOutcome(outcome.error()); +} + +void CC5GClient::deleteGroupAuthorizationRuleAsync(const DeleteGroupAuthorizationRuleRequest& request, const DeleteGroupAuthorizationRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteGroupAuthorizationRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::DeleteGroupAuthorizationRuleOutcomeCallable CC5GClient::deleteGroupAuthorizationRuleCallable(const DeleteGroupAuthorizationRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteGroupAuthorizationRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::DeleteIoTCloudConnectorBackhaulRouteOutcome CC5GClient::deleteIoTCloudConnectorBackhaulRoute(const DeleteIoTCloudConnectorBackhaulRouteRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteIoTCloudConnectorBackhaulRouteOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteIoTCloudConnectorBackhaulRouteOutcome(DeleteIoTCloudConnectorBackhaulRouteResult(outcome.result())); + else + return DeleteIoTCloudConnectorBackhaulRouteOutcome(outcome.error()); +} + +void CC5GClient::deleteIoTCloudConnectorBackhaulRouteAsync(const DeleteIoTCloudConnectorBackhaulRouteRequest& request, const DeleteIoTCloudConnectorBackhaulRouteAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteIoTCloudConnectorBackhaulRoute(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::DeleteIoTCloudConnectorBackhaulRouteOutcomeCallable CC5GClient::deleteIoTCloudConnectorBackhaulRouteCallable(const DeleteIoTCloudConnectorBackhaulRouteRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteIoTCloudConnectorBackhaulRoute(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::DeleteWirelessCloudConnectorOutcome CC5GClient::deleteWirelessCloudConnector(const DeleteWirelessCloudConnectorRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteWirelessCloudConnectorOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteWirelessCloudConnectorOutcome(DeleteWirelessCloudConnectorResult(outcome.result())); + else + return DeleteWirelessCloudConnectorOutcome(outcome.error()); +} + +void CC5GClient::deleteWirelessCloudConnectorAsync(const DeleteWirelessCloudConnectorRequest& request, const DeleteWirelessCloudConnectorAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteWirelessCloudConnector(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::DeleteWirelessCloudConnectorOutcomeCallable CC5GClient::deleteWirelessCloudConnectorCallable(const DeleteWirelessCloudConnectorRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteWirelessCloudConnector(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::DeleteWirelessCloudConnectorGroupOutcome CC5GClient::deleteWirelessCloudConnectorGroup(const DeleteWirelessCloudConnectorGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteWirelessCloudConnectorGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteWirelessCloudConnectorGroupOutcome(DeleteWirelessCloudConnectorGroupResult(outcome.result())); + else + return DeleteWirelessCloudConnectorGroupOutcome(outcome.error()); +} + +void CC5GClient::deleteWirelessCloudConnectorGroupAsync(const DeleteWirelessCloudConnectorGroupRequest& request, const DeleteWirelessCloudConnectorGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteWirelessCloudConnectorGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::DeleteWirelessCloudConnectorGroupOutcomeCallable CC5GClient::deleteWirelessCloudConnectorGroupCallable(const DeleteWirelessCloudConnectorGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteWirelessCloudConnectorGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::DetachVpcFromNetLinkOutcome CC5GClient::detachVpcFromNetLink(const DetachVpcFromNetLinkRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DetachVpcFromNetLinkOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DetachVpcFromNetLinkOutcome(DetachVpcFromNetLinkResult(outcome.result())); + else + return DetachVpcFromNetLinkOutcome(outcome.error()); +} + +void CC5GClient::detachVpcFromNetLinkAsync(const DetachVpcFromNetLinkRequest& request, const DetachVpcFromNetLinkAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, detachVpcFromNetLink(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::DetachVpcFromNetLinkOutcomeCallable CC5GClient::detachVpcFromNetLinkCallable(const DetachVpcFromNetLinkRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->detachVpcFromNetLink(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::FailCardsOutcome CC5GClient::failCards(const FailCardsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return FailCardsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return FailCardsOutcome(FailCardsResult(outcome.result())); + else + return FailCardsOutcome(outcome.error()); +} + +void CC5GClient::failCardsAsync(const FailCardsRequest& request, const FailCardsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, failCards(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::FailCardsOutcomeCallable CC5GClient::failCardsCallable(const FailCardsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->failCards(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::GetCardOutcome CC5GClient::getCard(const GetCardRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetCardOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetCardOutcome(GetCardResult(outcome.result())); + else + return GetCardOutcome(outcome.error()); +} + +void CC5GClient::getCardAsync(const GetCardRequest& request, const GetCardAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getCard(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::GetCardOutcomeCallable CC5GClient::getCardCallable(const GetCardRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getCard(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::GetCardLockReasonOutcome CC5GClient::getCardLockReason(const GetCardLockReasonRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetCardLockReasonOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetCardLockReasonOutcome(GetCardLockReasonResult(outcome.result())); + else + return GetCardLockReasonOutcome(outcome.error()); +} + +void CC5GClient::getCardLockReasonAsync(const GetCardLockReasonRequest& request, const GetCardLockReasonAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getCardLockReason(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::GetCardLockReasonOutcomeCallable CC5GClient::getCardLockReasonCallable(const GetCardLockReasonRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getCardLockReason(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::GetCreateCustomerInformationOutcome CC5GClient::getCreateCustomerInformation(const GetCreateCustomerInformationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetCreateCustomerInformationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetCreateCustomerInformationOutcome(GetCreateCustomerInformationResult(outcome.result())); + else + return GetCreateCustomerInformationOutcome(outcome.error()); +} + +void CC5GClient::getCreateCustomerInformationAsync(const GetCreateCustomerInformationRequest& request, const GetCreateCustomerInformationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getCreateCustomerInformation(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::GetCreateCustomerInformationOutcomeCallable CC5GClient::getCreateCustomerInformationCallable(const GetCreateCustomerInformationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getCreateCustomerInformation(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::GetDiagnoseResultForSingleCardOutcome CC5GClient::getDiagnoseResultForSingleCard(const GetDiagnoseResultForSingleCardRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetDiagnoseResultForSingleCardOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetDiagnoseResultForSingleCardOutcome(GetDiagnoseResultForSingleCardResult(outcome.result())); + else + return GetDiagnoseResultForSingleCardOutcome(outcome.error()); +} + +void CC5GClient::getDiagnoseResultForSingleCardAsync(const GetDiagnoseResultForSingleCardRequest& request, const GetDiagnoseResultForSingleCardAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getDiagnoseResultForSingleCard(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::GetDiagnoseResultForSingleCardOutcomeCallable CC5GClient::getDiagnoseResultForSingleCardCallable(const GetDiagnoseResultForSingleCardRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getDiagnoseResultForSingleCard(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::GetWirelessCloudConnectorOutcome CC5GClient::getWirelessCloudConnector(const GetWirelessCloudConnectorRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetWirelessCloudConnectorOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetWirelessCloudConnectorOutcome(GetWirelessCloudConnectorResult(outcome.result())); + else + return GetWirelessCloudConnectorOutcome(outcome.error()); +} + +void CC5GClient::getWirelessCloudConnectorAsync(const GetWirelessCloudConnectorRequest& request, const GetWirelessCloudConnectorAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getWirelessCloudConnector(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::GetWirelessCloudConnectorOutcomeCallable CC5GClient::getWirelessCloudConnectorCallable(const GetWirelessCloudConnectorRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getWirelessCloudConnector(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::GrantNetLinkOutcome CC5GClient::grantNetLink(const GrantNetLinkRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GrantNetLinkOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GrantNetLinkOutcome(GrantNetLinkResult(outcome.result())); + else + return GrantNetLinkOutcome(outcome.error()); +} + +void CC5GClient::grantNetLinkAsync(const GrantNetLinkRequest& request, const GrantNetLinkAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, grantNetLink(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::GrantNetLinkOutcomeCallable CC5GClient::grantNetLinkCallable(const GrantNetLinkRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->grantNetLink(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::ListAPNsOutcome CC5GClient::listAPNs(const ListAPNsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListAPNsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListAPNsOutcome(ListAPNsResult(outcome.result())); + else + return ListAPNsOutcome(outcome.error()); +} + +void CC5GClient::listAPNsAsync(const ListAPNsRequest& request, const ListAPNsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listAPNs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::ListAPNsOutcomeCallable CC5GClient::listAPNsCallable(const ListAPNsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listAPNs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::ListAuthorizationRulesOutcome CC5GClient::listAuthorizationRules(const ListAuthorizationRulesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListAuthorizationRulesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListAuthorizationRulesOutcome(ListAuthorizationRulesResult(outcome.result())); + else + return ListAuthorizationRulesOutcome(outcome.error()); +} + +void CC5GClient::listAuthorizationRulesAsync(const ListAuthorizationRulesRequest& request, const ListAuthorizationRulesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listAuthorizationRules(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::ListAuthorizationRulesOutcomeCallable CC5GClient::listAuthorizationRulesCallable(const ListAuthorizationRulesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listAuthorizationRules(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::ListBatchOperateCardsTasksOutcome CC5GClient::listBatchOperateCardsTasks(const ListBatchOperateCardsTasksRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListBatchOperateCardsTasksOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListBatchOperateCardsTasksOutcome(ListBatchOperateCardsTasksResult(outcome.result())); + else + return ListBatchOperateCardsTasksOutcome(outcome.error()); +} + +void CC5GClient::listBatchOperateCardsTasksAsync(const ListBatchOperateCardsTasksRequest& request, const ListBatchOperateCardsTasksAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listBatchOperateCardsTasks(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::ListBatchOperateCardsTasksOutcomeCallable CC5GClient::listBatchOperateCardsTasksCallable(const ListBatchOperateCardsTasksRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listBatchOperateCardsTasks(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::ListCardsOutcome CC5GClient::listCards(const ListCardsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListCardsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListCardsOutcome(ListCardsResult(outcome.result())); + else + return ListCardsOutcome(outcome.error()); +} + +void CC5GClient::listCardsAsync(const ListCardsRequest& request, const ListCardsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listCards(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::ListCardsOutcomeCallable CC5GClient::listCardsCallable(const ListCardsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listCards(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::ListDataPackagesOutcome CC5GClient::listDataPackages(const ListDataPackagesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDataPackagesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDataPackagesOutcome(ListDataPackagesResult(outcome.result())); + else + return ListDataPackagesOutcome(outcome.error()); +} + +void CC5GClient::listDataPackagesAsync(const ListDataPackagesRequest& request, const ListDataPackagesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDataPackages(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::ListDataPackagesOutcomeCallable CC5GClient::listDataPackagesCallable(const ListDataPackagesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDataPackages(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::ListDiagnoseInfoForSingleCardOutcome CC5GClient::listDiagnoseInfoForSingleCard(const ListDiagnoseInfoForSingleCardRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDiagnoseInfoForSingleCardOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDiagnoseInfoForSingleCardOutcome(ListDiagnoseInfoForSingleCardResult(outcome.result())); + else + return ListDiagnoseInfoForSingleCardOutcome(outcome.error()); +} + +void CC5GClient::listDiagnoseInfoForSingleCardAsync(const ListDiagnoseInfoForSingleCardRequest& request, const ListDiagnoseInfoForSingleCardAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDiagnoseInfoForSingleCard(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::ListDiagnoseInfoForSingleCardOutcomeCallable CC5GClient::listDiagnoseInfoForSingleCardCallable(const ListDiagnoseInfoForSingleCardRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDiagnoseInfoForSingleCard(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::ListGroupAuthorizationRulesOutcome CC5GClient::listGroupAuthorizationRules(const ListGroupAuthorizationRulesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListGroupAuthorizationRulesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListGroupAuthorizationRulesOutcome(ListGroupAuthorizationRulesResult(outcome.result())); + else + return ListGroupAuthorizationRulesOutcome(outcome.error()); +} + +void CC5GClient::listGroupAuthorizationRulesAsync(const ListGroupAuthorizationRulesRequest& request, const ListGroupAuthorizationRulesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listGroupAuthorizationRules(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::ListGroupAuthorizationRulesOutcomeCallable CC5GClient::listGroupAuthorizationRulesCallable(const ListGroupAuthorizationRulesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listGroupAuthorizationRules(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::ListIoTCloudConnectorBackhaulRouteOutcome CC5GClient::listIoTCloudConnectorBackhaulRoute(const ListIoTCloudConnectorBackhaulRouteRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListIoTCloudConnectorBackhaulRouteOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListIoTCloudConnectorBackhaulRouteOutcome(ListIoTCloudConnectorBackhaulRouteResult(outcome.result())); + else + return ListIoTCloudConnectorBackhaulRouteOutcome(outcome.error()); +} + +void CC5GClient::listIoTCloudConnectorBackhaulRouteAsync(const ListIoTCloudConnectorBackhaulRouteRequest& request, const ListIoTCloudConnectorBackhaulRouteAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listIoTCloudConnectorBackhaulRoute(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::ListIoTCloudConnectorBackhaulRouteOutcomeCallable CC5GClient::listIoTCloudConnectorBackhaulRouteCallable(const ListIoTCloudConnectorBackhaulRouteRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listIoTCloudConnectorBackhaulRoute(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::ListOrdersOutcome CC5GClient::listOrders(const ListOrdersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListOrdersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListOrdersOutcome(ListOrdersResult(outcome.result())); + else + return ListOrdersOutcome(outcome.error()); +} + +void CC5GClient::listOrdersAsync(const ListOrdersRequest& request, const ListOrdersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listOrders(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::ListOrdersOutcomeCallable CC5GClient::listOrdersCallable(const ListOrdersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listOrders(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::ListRegionsOutcome CC5GClient::listRegions(const ListRegionsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListRegionsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListRegionsOutcome(ListRegionsResult(outcome.result())); + else + return ListRegionsOutcome(outcome.error()); +} + +void CC5GClient::listRegionsAsync(const ListRegionsRequest& request, const ListRegionsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listRegions(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::ListRegionsOutcomeCallable CC5GClient::listRegionsCallable(const ListRegionsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listRegions(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::ListWirelessCloudConnectorGroupsOutcome CC5GClient::listWirelessCloudConnectorGroups(const ListWirelessCloudConnectorGroupsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListWirelessCloudConnectorGroupsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListWirelessCloudConnectorGroupsOutcome(ListWirelessCloudConnectorGroupsResult(outcome.result())); + else + return ListWirelessCloudConnectorGroupsOutcome(outcome.error()); +} + +void CC5GClient::listWirelessCloudConnectorGroupsAsync(const ListWirelessCloudConnectorGroupsRequest& request, const ListWirelessCloudConnectorGroupsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listWirelessCloudConnectorGroups(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::ListWirelessCloudConnectorGroupsOutcomeCallable CC5GClient::listWirelessCloudConnectorGroupsCallable(const ListWirelessCloudConnectorGroupsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listWirelessCloudConnectorGroups(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::ListWirelessCloudConnectorsOutcome CC5GClient::listWirelessCloudConnectors(const ListWirelessCloudConnectorsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListWirelessCloudConnectorsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListWirelessCloudConnectorsOutcome(ListWirelessCloudConnectorsResult(outcome.result())); + else + return ListWirelessCloudConnectorsOutcome(outcome.error()); +} + +void CC5GClient::listWirelessCloudConnectorsAsync(const ListWirelessCloudConnectorsRequest& request, const ListWirelessCloudConnectorsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listWirelessCloudConnectors(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::ListWirelessCloudConnectorsOutcomeCallable CC5GClient::listWirelessCloudConnectorsCallable(const ListWirelessCloudConnectorsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listWirelessCloudConnectors(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::ListZonesOutcome CC5GClient::listZones(const ListZonesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListZonesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListZonesOutcome(ListZonesResult(outcome.result())); + else + return ListZonesOutcome(outcome.error()); +} + +void CC5GClient::listZonesAsync(const ListZonesRequest& request, const ListZonesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listZones(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::ListZonesOutcomeCallable CC5GClient::listZonesCallable(const ListZonesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listZones(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::LockCardsOutcome CC5GClient::lockCards(const LockCardsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return LockCardsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return LockCardsOutcome(LockCardsResult(outcome.result())); + else + return LockCardsOutcome(outcome.error()); +} + +void CC5GClient::lockCardsAsync(const LockCardsRequest& request, const LockCardsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, lockCards(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::LockCardsOutcomeCallable CC5GClient::lockCardsCallable(const LockCardsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->lockCards(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::ModifyWirelessCloudConnectorFeatureOutcome CC5GClient::modifyWirelessCloudConnectorFeature(const ModifyWirelessCloudConnectorFeatureRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyWirelessCloudConnectorFeatureOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyWirelessCloudConnectorFeatureOutcome(ModifyWirelessCloudConnectorFeatureResult(outcome.result())); + else + return ModifyWirelessCloudConnectorFeatureOutcome(outcome.error()); +} + +void CC5GClient::modifyWirelessCloudConnectorFeatureAsync(const ModifyWirelessCloudConnectorFeatureRequest& request, const ModifyWirelessCloudConnectorFeatureAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyWirelessCloudConnectorFeature(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::ModifyWirelessCloudConnectorFeatureOutcomeCallable CC5GClient::modifyWirelessCloudConnectorFeatureCallable(const ModifyWirelessCloudConnectorFeatureRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyWirelessCloudConnectorFeature(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::OpenCc5gServiceOutcome CC5GClient::openCc5gService(const OpenCc5gServiceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return OpenCc5gServiceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return OpenCc5gServiceOutcome(OpenCc5gServiceResult(outcome.result())); + else + return OpenCc5gServiceOutcome(outcome.error()); +} + +void CC5GClient::openCc5gServiceAsync(const OpenCc5gServiceRequest& request, const OpenCc5gServiceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, openCc5gService(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::OpenCc5gServiceOutcomeCallable CC5GClient::openCc5gServiceCallable(const OpenCc5gServiceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->openCc5gService(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::RemoveWirelessCloudConnectorFromGroupOutcome CC5GClient::removeWirelessCloudConnectorFromGroup(const RemoveWirelessCloudConnectorFromGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RemoveWirelessCloudConnectorFromGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RemoveWirelessCloudConnectorFromGroupOutcome(RemoveWirelessCloudConnectorFromGroupResult(outcome.result())); + else + return RemoveWirelessCloudConnectorFromGroupOutcome(outcome.error()); +} + +void CC5GClient::removeWirelessCloudConnectorFromGroupAsync(const RemoveWirelessCloudConnectorFromGroupRequest& request, const RemoveWirelessCloudConnectorFromGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, removeWirelessCloudConnectorFromGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::RemoveWirelessCloudConnectorFromGroupOutcomeCallable CC5GClient::removeWirelessCloudConnectorFromGroupCallable(const RemoveWirelessCloudConnectorFromGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->removeWirelessCloudConnectorFromGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::ResumeCardsOutcome CC5GClient::resumeCards(const ResumeCardsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ResumeCardsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ResumeCardsOutcome(ResumeCardsResult(outcome.result())); + else + return ResumeCardsOutcome(outcome.error()); +} + +void CC5GClient::resumeCardsAsync(const ResumeCardsRequest& request, const ResumeCardsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, resumeCards(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::ResumeCardsOutcomeCallable CC5GClient::resumeCardsCallable(const ResumeCardsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->resumeCards(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::RevokeNetLinkOutcome CC5GClient::revokeNetLink(const RevokeNetLinkRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RevokeNetLinkOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RevokeNetLinkOutcome(RevokeNetLinkResult(outcome.result())); + else + return RevokeNetLinkOutcome(outcome.error()); +} + +void CC5GClient::revokeNetLinkAsync(const RevokeNetLinkRequest& request, const RevokeNetLinkAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, revokeNetLink(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::RevokeNetLinkOutcomeCallable CC5GClient::revokeNetLinkCallable(const RevokeNetLinkRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->revokeNetLink(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::StopCardsOutcome CC5GClient::stopCards(const StopCardsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StopCardsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StopCardsOutcome(StopCardsResult(outcome.result())); + else + return StopCardsOutcome(outcome.error()); +} + +void CC5GClient::stopCardsAsync(const StopCardsRequest& request, const StopCardsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, stopCards(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::StopCardsOutcomeCallable CC5GClient::stopCardsCallable(const StopCardsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->stopCards(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::SubmitDiagnoseTaskForSingleCardOutcome CC5GClient::submitDiagnoseTaskForSingleCard(const SubmitDiagnoseTaskForSingleCardRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SubmitDiagnoseTaskForSingleCardOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SubmitDiagnoseTaskForSingleCardOutcome(SubmitDiagnoseTaskForSingleCardResult(outcome.result())); + else + return SubmitDiagnoseTaskForSingleCardOutcome(outcome.error()); +} + +void CC5GClient::submitDiagnoseTaskForSingleCardAsync(const SubmitDiagnoseTaskForSingleCardRequest& request, const SubmitDiagnoseTaskForSingleCardAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, submitDiagnoseTaskForSingleCard(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::SubmitDiagnoseTaskForSingleCardOutcomeCallable CC5GClient::submitDiagnoseTaskForSingleCardCallable(const SubmitDiagnoseTaskForSingleCardRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->submitDiagnoseTaskForSingleCard(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::SwitchWirelessCloudConnectorToBusinessOutcome CC5GClient::switchWirelessCloudConnectorToBusiness(const SwitchWirelessCloudConnectorToBusinessRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SwitchWirelessCloudConnectorToBusinessOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SwitchWirelessCloudConnectorToBusinessOutcome(SwitchWirelessCloudConnectorToBusinessResult(outcome.result())); + else + return SwitchWirelessCloudConnectorToBusinessOutcome(outcome.error()); +} + +void CC5GClient::switchWirelessCloudConnectorToBusinessAsync(const SwitchWirelessCloudConnectorToBusinessRequest& request, const SwitchWirelessCloudConnectorToBusinessAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, switchWirelessCloudConnectorToBusiness(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::SwitchWirelessCloudConnectorToBusinessOutcomeCallable CC5GClient::switchWirelessCloudConnectorToBusinessCallable(const SwitchWirelessCloudConnectorToBusinessRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->switchWirelessCloudConnectorToBusiness(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::UnlockCardsOutcome CC5GClient::unlockCards(const UnlockCardsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UnlockCardsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UnlockCardsOutcome(UnlockCardsResult(outcome.result())); + else + return UnlockCardsOutcome(outcome.error()); +} + +void CC5GClient::unlockCardsAsync(const UnlockCardsRequest& request, const UnlockCardsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, unlockCards(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::UnlockCardsOutcomeCallable CC5GClient::unlockCardsCallable(const UnlockCardsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->unlockCards(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::UpdateAuthorizationRuleOutcome CC5GClient::updateAuthorizationRule(const UpdateAuthorizationRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateAuthorizationRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateAuthorizationRuleOutcome(UpdateAuthorizationRuleResult(outcome.result())); + else + return UpdateAuthorizationRuleOutcome(outcome.error()); +} + +void CC5GClient::updateAuthorizationRuleAsync(const UpdateAuthorizationRuleRequest& request, const UpdateAuthorizationRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateAuthorizationRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::UpdateAuthorizationRuleOutcomeCallable CC5GClient::updateAuthorizationRuleCallable(const UpdateAuthorizationRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateAuthorizationRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::UpdateBatchOperateCardsTaskOutcome CC5GClient::updateBatchOperateCardsTask(const UpdateBatchOperateCardsTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateBatchOperateCardsTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateBatchOperateCardsTaskOutcome(UpdateBatchOperateCardsTaskResult(outcome.result())); + else + return UpdateBatchOperateCardsTaskOutcome(outcome.error()); +} + +void CC5GClient::updateBatchOperateCardsTaskAsync(const UpdateBatchOperateCardsTaskRequest& request, const UpdateBatchOperateCardsTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateBatchOperateCardsTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::UpdateBatchOperateCardsTaskOutcomeCallable CC5GClient::updateBatchOperateCardsTaskCallable(const UpdateBatchOperateCardsTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateBatchOperateCardsTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::UpdateCardOutcome CC5GClient::updateCard(const UpdateCardRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateCardOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateCardOutcome(UpdateCardResult(outcome.result())); + else + return UpdateCardOutcome(outcome.error()); +} + +void CC5GClient::updateCardAsync(const UpdateCardRequest& request, const UpdateCardAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateCard(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::UpdateCardOutcomeCallable CC5GClient::updateCardCallable(const UpdateCardRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateCard(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::UpdateDNSAuthorizationRuleOutcome CC5GClient::updateDNSAuthorizationRule(const UpdateDNSAuthorizationRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateDNSAuthorizationRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateDNSAuthorizationRuleOutcome(UpdateDNSAuthorizationRuleResult(outcome.result())); + else + return UpdateDNSAuthorizationRuleOutcome(outcome.error()); +} + +void CC5GClient::updateDNSAuthorizationRuleAsync(const UpdateDNSAuthorizationRuleRequest& request, const UpdateDNSAuthorizationRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateDNSAuthorizationRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::UpdateDNSAuthorizationRuleOutcomeCallable CC5GClient::updateDNSAuthorizationRuleCallable(const UpdateDNSAuthorizationRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateDNSAuthorizationRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::UpdateGroupAuthorizationRuleOutcome CC5GClient::updateGroupAuthorizationRule(const UpdateGroupAuthorizationRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateGroupAuthorizationRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateGroupAuthorizationRuleOutcome(UpdateGroupAuthorizationRuleResult(outcome.result())); + else + return UpdateGroupAuthorizationRuleOutcome(outcome.error()); +} + +void CC5GClient::updateGroupAuthorizationRuleAsync(const UpdateGroupAuthorizationRuleRequest& request, const UpdateGroupAuthorizationRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateGroupAuthorizationRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::UpdateGroupAuthorizationRuleOutcomeCallable CC5GClient::updateGroupAuthorizationRuleCallable(const UpdateGroupAuthorizationRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateGroupAuthorizationRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::UpdateGroupDnsAuthorizationRuleOutcome CC5GClient::updateGroupDnsAuthorizationRule(const UpdateGroupDnsAuthorizationRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateGroupDnsAuthorizationRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateGroupDnsAuthorizationRuleOutcome(UpdateGroupDnsAuthorizationRuleResult(outcome.result())); + else + return UpdateGroupDnsAuthorizationRuleOutcome(outcome.error()); +} + +void CC5GClient::updateGroupDnsAuthorizationRuleAsync(const UpdateGroupDnsAuthorizationRuleRequest& request, const UpdateGroupDnsAuthorizationRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateGroupDnsAuthorizationRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::UpdateGroupDnsAuthorizationRuleOutcomeCallable CC5GClient::updateGroupDnsAuthorizationRuleCallable(const UpdateGroupDnsAuthorizationRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateGroupDnsAuthorizationRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::UpdateWirelessCloudConnectorOutcome CC5GClient::updateWirelessCloudConnector(const UpdateWirelessCloudConnectorRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateWirelessCloudConnectorOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateWirelessCloudConnectorOutcome(UpdateWirelessCloudConnectorResult(outcome.result())); + else + return UpdateWirelessCloudConnectorOutcome(outcome.error()); +} + +void CC5GClient::updateWirelessCloudConnectorAsync(const UpdateWirelessCloudConnectorRequest& request, const UpdateWirelessCloudConnectorAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateWirelessCloudConnector(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::UpdateWirelessCloudConnectorOutcomeCallable CC5GClient::updateWirelessCloudConnectorCallable(const UpdateWirelessCloudConnectorRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateWirelessCloudConnector(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CC5GClient::UpdateWirelessCloudConnectorGroupOutcome CC5GClient::updateWirelessCloudConnectorGroup(const UpdateWirelessCloudConnectorGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateWirelessCloudConnectorGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateWirelessCloudConnectorGroupOutcome(UpdateWirelessCloudConnectorGroupResult(outcome.result())); + else + return UpdateWirelessCloudConnectorGroupOutcome(outcome.error()); +} + +void CC5GClient::updateWirelessCloudConnectorGroupAsync(const UpdateWirelessCloudConnectorGroupRequest& request, const UpdateWirelessCloudConnectorGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateWirelessCloudConnectorGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CC5GClient::UpdateWirelessCloudConnectorGroupOutcomeCallable CC5GClient::updateWirelessCloudConnectorGroupCallable(const UpdateWirelessCloudConnectorGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateWirelessCloudConnectorGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + diff --git a/cc5g/src/model/AddDNSAuthorizationRuleRequest.cc b/cc5g/src/model/AddDNSAuthorizationRuleRequest.cc new file mode 100644 index 000000000..2ed6a43a4 --- /dev/null +++ b/cc5g/src/model/AddDNSAuthorizationRuleRequest.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::CC5G::Model::AddDNSAuthorizationRuleRequest; + +AddDNSAuthorizationRuleRequest::AddDNSAuthorizationRuleRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "AddDNSAuthorizationRule") { + setMethod(HttpRequest::Method::Post); +} + +AddDNSAuthorizationRuleRequest::~AddDNSAuthorizationRuleRequest() {} + +std::string AddDNSAuthorizationRuleRequest::getClientToken() const { + return clientToken_; +} + +void AddDNSAuthorizationRuleRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string AddDNSAuthorizationRuleRequest::getDescription() const { + return description_; +} + +void AddDNSAuthorizationRuleRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); +} + +bool AddDNSAuthorizationRuleRequest::getDryRun() const { + return dryRun_; +} + +void AddDNSAuthorizationRuleRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string AddDNSAuthorizationRuleRequest::getSourceDNSIp() const { + return sourceDNSIp_; +} + +void AddDNSAuthorizationRuleRequest::setSourceDNSIp(const std::string &sourceDNSIp) { + sourceDNSIp_ = sourceDNSIp; + setParameter(std::string("SourceDNSIp"), sourceDNSIp); +} + +std::string AddDNSAuthorizationRuleRequest::getDestinationIp() const { + return destinationIp_; +} + +void AddDNSAuthorizationRuleRequest::setDestinationIp(const std::string &destinationIp) { + destinationIp_ = destinationIp; + setParameter(std::string("DestinationIp"), destinationIp); +} + +std::string AddDNSAuthorizationRuleRequest::getWirelessCloudConnectorId() const { + return wirelessCloudConnectorId_; +} + +void AddDNSAuthorizationRuleRequest::setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId) { + wirelessCloudConnectorId_ = wirelessCloudConnectorId; + setParameter(std::string("WirelessCloudConnectorId"), wirelessCloudConnectorId); +} + +std::string AddDNSAuthorizationRuleRequest::getName() const { + return name_; +} + +void AddDNSAuthorizationRuleRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + diff --git a/cc5g/src/model/AddDNSAuthorizationRuleResult.cc b/cc5g/src/model/AddDNSAuthorizationRuleResult.cc new file mode 100644 index 000000000..981cf7564 --- /dev/null +++ b/cc5g/src/model/AddDNSAuthorizationRuleResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +AddDNSAuthorizationRuleResult::AddDNSAuthorizationRuleResult() : + ServiceResult() +{} + +AddDNSAuthorizationRuleResult::AddDNSAuthorizationRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddDNSAuthorizationRuleResult::~AddDNSAuthorizationRuleResult() +{} + +void AddDNSAuthorizationRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["AuthorizationRuleId"].isNull()) + authorizationRuleId_ = value["AuthorizationRuleId"].asString(); + +} + +std::string AddDNSAuthorizationRuleResult::getAuthorizationRuleId()const +{ + return authorizationRuleId_; +} + diff --git a/cc5g/src/model/AddGroupDnsAuthorizationRuleRequest.cc b/cc5g/src/model/AddGroupDnsAuthorizationRuleRequest.cc new file mode 100644 index 000000000..bbb7723dc --- /dev/null +++ b/cc5g/src/model/AddGroupDnsAuthorizationRuleRequest.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::CC5G::Model::AddGroupDnsAuthorizationRuleRequest; + +AddGroupDnsAuthorizationRuleRequest::AddGroupDnsAuthorizationRuleRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "AddGroupDnsAuthorizationRule") { + setMethod(HttpRequest::Method::Post); +} + +AddGroupDnsAuthorizationRuleRequest::~AddGroupDnsAuthorizationRuleRequest() {} + +std::string AddGroupDnsAuthorizationRuleRequest::getWirelessCloudConnectorGroupId() const { + return wirelessCloudConnectorGroupId_; +} + +void AddGroupDnsAuthorizationRuleRequest::setWirelessCloudConnectorGroupId(const std::string &wirelessCloudConnectorGroupId) { + wirelessCloudConnectorGroupId_ = wirelessCloudConnectorGroupId; + setParameter(std::string("WirelessCloudConnectorGroupId"), wirelessCloudConnectorGroupId); +} + +std::string AddGroupDnsAuthorizationRuleRequest::getClientToken() const { + return clientToken_; +} + +void AddGroupDnsAuthorizationRuleRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string AddGroupDnsAuthorizationRuleRequest::getDescription() const { + return description_; +} + +void AddGroupDnsAuthorizationRuleRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); +} + +bool AddGroupDnsAuthorizationRuleRequest::getDryRun() const { + return dryRun_; +} + +void AddGroupDnsAuthorizationRuleRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string AddGroupDnsAuthorizationRuleRequest::getSourceDNSIp() const { + return sourceDNSIp_; +} + +void AddGroupDnsAuthorizationRuleRequest::setSourceDNSIp(const std::string &sourceDNSIp) { + sourceDNSIp_ = sourceDNSIp; + setParameter(std::string("SourceDNSIp"), sourceDNSIp); +} + +std::string AddGroupDnsAuthorizationRuleRequest::getDestinationIp() const { + return destinationIp_; +} + +void AddGroupDnsAuthorizationRuleRequest::setDestinationIp(const std::string &destinationIp) { + destinationIp_ = destinationIp; + setParameter(std::string("DestinationIp"), destinationIp); +} + +std::string AddGroupDnsAuthorizationRuleRequest::getName() const { + return name_; +} + +void AddGroupDnsAuthorizationRuleRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + diff --git a/cc5g/src/model/AddGroupDnsAuthorizationRuleResult.cc b/cc5g/src/model/AddGroupDnsAuthorizationRuleResult.cc new file mode 100644 index 000000000..83a0aea10 --- /dev/null +++ b/cc5g/src/model/AddGroupDnsAuthorizationRuleResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +AddGroupDnsAuthorizationRuleResult::AddGroupDnsAuthorizationRuleResult() : + ServiceResult() +{} + +AddGroupDnsAuthorizationRuleResult::AddGroupDnsAuthorizationRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddGroupDnsAuthorizationRuleResult::~AddGroupDnsAuthorizationRuleResult() +{} + +void AddGroupDnsAuthorizationRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["AuthorizationRuleId"].isNull()) + authorizationRuleId_ = value["AuthorizationRuleId"].asString(); + +} + +std::string AddGroupDnsAuthorizationRuleResult::getAuthorizationRuleId()const +{ + return authorizationRuleId_; +} + diff --git a/cc5g/src/model/AddWirelessCloudConnectorToGroupRequest.cc b/cc5g/src/model/AddWirelessCloudConnectorToGroupRequest.cc new file mode 100644 index 000000000..b4da98119 --- /dev/null +++ b/cc5g/src/model/AddWirelessCloudConnectorToGroupRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::CC5G::Model::AddWirelessCloudConnectorToGroupRequest; + +AddWirelessCloudConnectorToGroupRequest::AddWirelessCloudConnectorToGroupRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "AddWirelessCloudConnectorToGroup") { + setMethod(HttpRequest::Method::Post); +} + +AddWirelessCloudConnectorToGroupRequest::~AddWirelessCloudConnectorToGroupRequest() {} + +std::vector AddWirelessCloudConnectorToGroupRequest::getWirelessCloudConnectorIds() const { + return wirelessCloudConnectorIds_; +} + +void AddWirelessCloudConnectorToGroupRequest::setWirelessCloudConnectorIds(const std::vector &wirelessCloudConnectorIds) { + wirelessCloudConnectorIds_ = wirelessCloudConnectorIds; +} + +std::string AddWirelessCloudConnectorToGroupRequest::getWirelessCloudConnectorGroupId() const { + return wirelessCloudConnectorGroupId_; +} + +void AddWirelessCloudConnectorToGroupRequest::setWirelessCloudConnectorGroupId(const std::string &wirelessCloudConnectorGroupId) { + wirelessCloudConnectorGroupId_ = wirelessCloudConnectorGroupId; + setParameter(std::string("WirelessCloudConnectorGroupId"), wirelessCloudConnectorGroupId); +} + +bool AddWirelessCloudConnectorToGroupRequest::getDryRun() const { + return dryRun_; +} + +void AddWirelessCloudConnectorToGroupRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string AddWirelessCloudConnectorToGroupRequest::getClientToken() const { + return clientToken_; +} + +void AddWirelessCloudConnectorToGroupRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string AddWirelessCloudConnectorToGroupRequest::getRegionId() const { + return regionId_; +} + +void AddWirelessCloudConnectorToGroupRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/cc5g/src/model/AddWirelessCloudConnectorToGroupResult.cc b/cc5g/src/model/AddWirelessCloudConnectorToGroupResult.cc new file mode 100644 index 000000000..ca196b54e --- /dev/null +++ b/cc5g/src/model/AddWirelessCloudConnectorToGroupResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +AddWirelessCloudConnectorToGroupResult::AddWirelessCloudConnectorToGroupResult() : + ServiceResult() +{} + +AddWirelessCloudConnectorToGroupResult::AddWirelessCloudConnectorToGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddWirelessCloudConnectorToGroupResult::~AddWirelessCloudConnectorToGroupResult() +{} + +void AddWirelessCloudConnectorToGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/AttachVpcToNetLinkRequest.cc b/cc5g/src/model/AttachVpcToNetLinkRequest.cc new file mode 100644 index 000000000..62c1fee90 --- /dev/null +++ b/cc5g/src/model/AttachVpcToNetLinkRequest.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 + +using AlibabaCloud::CC5G::Model::AttachVpcToNetLinkRequest; + +AttachVpcToNetLinkRequest::AttachVpcToNetLinkRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "AttachVpcToNetLink") { + setMethod(HttpRequest::Method::Post); +} + +AttachVpcToNetLinkRequest::~AttachVpcToNetLinkRequest() {} + +std::string AttachVpcToNetLinkRequest::getClientToken() const { + return clientToken_; +} + +void AttachVpcToNetLinkRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string AttachVpcToNetLinkRequest::getRegionId() const { + return regionId_; +} + +void AttachVpcToNetLinkRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +bool AttachVpcToNetLinkRequest::getDryRun() const { + return dryRun_; +} + +void AttachVpcToNetLinkRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string AttachVpcToNetLinkRequest::getNetLinkId() const { + return netLinkId_; +} + +void AttachVpcToNetLinkRequest::setNetLinkId(const std::string &netLinkId) { + netLinkId_ = netLinkId; + setParameter(std::string("NetLinkId"), netLinkId); +} + +std::vector AttachVpcToNetLinkRequest::getVSwitches() const { + return vSwitches_; +} + +void AttachVpcToNetLinkRequest::setVSwitches(const std::vector &vSwitches) { + vSwitches_ = vSwitches; + for(int dep1 = 0; dep1 != vSwitches.size(); dep1++) { + setParameter(std::string("VSwitches") + "." + std::to_string(dep1 + 1), vSwitches[dep1]); + } +} + +std::string AttachVpcToNetLinkRequest::getWirelessCloudConnectorId() const { + return wirelessCloudConnectorId_; +} + +void AttachVpcToNetLinkRequest::setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId) { + wirelessCloudConnectorId_ = wirelessCloudConnectorId; + setParameter(std::string("WirelessCloudConnectorId"), wirelessCloudConnectorId); +} + +std::string AttachVpcToNetLinkRequest::getVpcId() const { + return vpcId_; +} + +void AttachVpcToNetLinkRequest::setVpcId(const std::string &vpcId) { + vpcId_ = vpcId; + setParameter(std::string("VpcId"), vpcId); +} + diff --git a/cc5g/src/model/AttachVpcToNetLinkResult.cc b/cc5g/src/model/AttachVpcToNetLinkResult.cc new file mode 100644 index 000000000..ee5561f6d --- /dev/null +++ b/cc5g/src/model/AttachVpcToNetLinkResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +AttachVpcToNetLinkResult::AttachVpcToNetLinkResult() : + ServiceResult() +{} + +AttachVpcToNetLinkResult::AttachVpcToNetLinkResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AttachVpcToNetLinkResult::~AttachVpcToNetLinkResult() +{} + +void AttachVpcToNetLinkResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/CreateAuthorizationRuleRequest.cc b/cc5g/src/model/CreateAuthorizationRuleRequest.cc new file mode 100644 index 000000000..b4dc3b95b --- /dev/null +++ b/cc5g/src/model/CreateAuthorizationRuleRequest.cc @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CC5G::Model::CreateAuthorizationRuleRequest; + +CreateAuthorizationRuleRequest::CreateAuthorizationRuleRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "CreateAuthorizationRule") { + setMethod(HttpRequest::Method::Post); +} + +CreateAuthorizationRuleRequest::~CreateAuthorizationRuleRequest() {} + +std::string CreateAuthorizationRuleRequest::getClientToken() const { + return clientToken_; +} + +void CreateAuthorizationRuleRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string CreateAuthorizationRuleRequest::getSourceCidr() const { + return sourceCidr_; +} + +void CreateAuthorizationRuleRequest::setSourceCidr(const std::string &sourceCidr) { + sourceCidr_ = sourceCidr; + setParameter(std::string("SourceCidr"), sourceCidr); +} + +std::string CreateAuthorizationRuleRequest::getDestinationType() const { + return destinationType_; +} + +void CreateAuthorizationRuleRequest::setDestinationType(const std::string &destinationType) { + destinationType_ = destinationType; + setParameter(std::string("DestinationType"), destinationType); +} + +std::string CreateAuthorizationRuleRequest::getDestination() const { + return destination_; +} + +void CreateAuthorizationRuleRequest::setDestination(const std::string &destination) { + destination_ = destination; + setParameter(std::string("Destination"), destination); +} + +std::string CreateAuthorizationRuleRequest::getDescription() const { + return description_; +} + +void CreateAuthorizationRuleRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); +} + +std::string CreateAuthorizationRuleRequest::getProtocol() const { + return protocol_; +} + +void CreateAuthorizationRuleRequest::setProtocol(const std::string &protocol) { + protocol_ = protocol; + setParameter(std::string("Protocol"), protocol); +} + +std::string CreateAuthorizationRuleRequest::getPolicy() const { + return policy_; +} + +void CreateAuthorizationRuleRequest::setPolicy(const std::string &policy) { + policy_ = policy; + setParameter(std::string("Policy"), policy); +} + +bool CreateAuthorizationRuleRequest::getDryRun() const { + return dryRun_; +} + +void CreateAuthorizationRuleRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string CreateAuthorizationRuleRequest::getDestinationPort() const { + return destinationPort_; +} + +void CreateAuthorizationRuleRequest::setDestinationPort(const std::string &destinationPort) { + destinationPort_ = destinationPort; + setParameter(std::string("DestinationPort"), destinationPort); +} + +std::string CreateAuthorizationRuleRequest::getWirelessCloudConnectorId() const { + return wirelessCloudConnectorId_; +} + +void CreateAuthorizationRuleRequest::setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId) { + wirelessCloudConnectorId_ = wirelessCloudConnectorId; + setParameter(std::string("WirelessCloudConnectorId"), wirelessCloudConnectorId); +} + +std::string CreateAuthorizationRuleRequest::getName() const { + return name_; +} + +void CreateAuthorizationRuleRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + diff --git a/cc5g/src/model/CreateAuthorizationRuleResult.cc b/cc5g/src/model/CreateAuthorizationRuleResult.cc new file mode 100644 index 000000000..c4a92f342 --- /dev/null +++ b/cc5g/src/model/CreateAuthorizationRuleResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +CreateAuthorizationRuleResult::CreateAuthorizationRuleResult() : + ServiceResult() +{} + +CreateAuthorizationRuleResult::CreateAuthorizationRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateAuthorizationRuleResult::~CreateAuthorizationRuleResult() +{} + +void CreateAuthorizationRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["AuthorizationRuleId"].isNull()) + authorizationRuleId_ = value["AuthorizationRuleId"].asString(); + +} + +std::string CreateAuthorizationRuleResult::getAuthorizationRuleId()const +{ + return authorizationRuleId_; +} + diff --git a/cc5g/src/model/CreateBatchOperateCardsTaskRequest.cc b/cc5g/src/model/CreateBatchOperateCardsTaskRequest.cc new file mode 100644 index 000000000..142fe5984 --- /dev/null +++ b/cc5g/src/model/CreateBatchOperateCardsTaskRequest.cc @@ -0,0 +1,130 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G::Model::CreateBatchOperateCardsTaskRequest; + +CreateBatchOperateCardsTaskRequest::CreateBatchOperateCardsTaskRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "CreateBatchOperateCardsTask") { + setMethod(HttpRequest::Method::Post); +} + +CreateBatchOperateCardsTaskRequest::~CreateBatchOperateCardsTaskRequest() {} + +std::vector CreateBatchOperateCardsTaskRequest::getIccids() const { + return iccids_; +} + +void CreateBatchOperateCardsTaskRequest::setIccids(const std::vector &iccids) { + iccids_ = iccids; + for(int dep1 = 0; dep1 != iccids.size(); dep1++) { + setParameter(std::string("Iccids") + "." + std::to_string(dep1 + 1), iccids[dep1]); + } +} + +std::string CreateBatchOperateCardsTaskRequest::getClientToken() const { + return clientToken_; +} + +void CreateBatchOperateCardsTaskRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string CreateBatchOperateCardsTaskRequest::getDescription() const { + return description_; +} + +void CreateBatchOperateCardsTaskRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); +} + +long CreateBatchOperateCardsTaskRequest::getThreshold() const { + return threshold_; +} + +void CreateBatchOperateCardsTaskRequest::setThreshold(long threshold) { + threshold_ = threshold; + setParameter(std::string("Threshold"), std::to_string(threshold)); +} + +std::string CreateBatchOperateCardsTaskRequest::getRegionId() const { + return regionId_; +} + +void CreateBatchOperateCardsTaskRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string CreateBatchOperateCardsTaskRequest::getEffectType() const { + return effectType_; +} + +void CreateBatchOperateCardsTaskRequest::setEffectType(const std::string &effectType) { + effectType_ = effectType; + setParameter(std::string("EffectType"), effectType); +} + +std::vector CreateBatchOperateCardsTaskRequest::getWirelessCloudConnectorIds() const { + return wirelessCloudConnectorIds_; +} + +void CreateBatchOperateCardsTaskRequest::setWirelessCloudConnectorIds(const std::vector &wirelessCloudConnectorIds) { + wirelessCloudConnectorIds_ = wirelessCloudConnectorIds; + for(int dep1 = 0; dep1 != wirelessCloudConnectorIds.size(); dep1++) { + setParameter(std::string("WirelessCloudConnectorIds") + "." + std::to_string(dep1 + 1), wirelessCloudConnectorIds[dep1]); + } +} + +bool CreateBatchOperateCardsTaskRequest::getDryRun() const { + return dryRun_; +} + +void CreateBatchOperateCardsTaskRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string CreateBatchOperateCardsTaskRequest::getName() const { + return name_; +} + +void CreateBatchOperateCardsTaskRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +std::string CreateBatchOperateCardsTaskRequest::getOperateType() const { + return operateType_; +} + +void CreateBatchOperateCardsTaskRequest::setOperateType(const std::string &operateType) { + operateType_ = operateType; + setParameter(std::string("OperateType"), operateType); +} + +std::string CreateBatchOperateCardsTaskRequest::getIccidsOssFilePath() const { + return iccidsOssFilePath_; +} + +void CreateBatchOperateCardsTaskRequest::setIccidsOssFilePath(const std::string &iccidsOssFilePath) { + iccidsOssFilePath_ = iccidsOssFilePath; + setParameter(std::string("IccidsOssFilePath"), iccidsOssFilePath); +} + diff --git a/cc5g/src/model/CreateBatchOperateCardsTaskResult.cc b/cc5g/src/model/CreateBatchOperateCardsTaskResult.cc new file mode 100644 index 000000000..939d588a3 --- /dev/null +++ b/cc5g/src/model/CreateBatchOperateCardsTaskResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +CreateBatchOperateCardsTaskResult::CreateBatchOperateCardsTaskResult() : + ServiceResult() +{} + +CreateBatchOperateCardsTaskResult::CreateBatchOperateCardsTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateBatchOperateCardsTaskResult::~CreateBatchOperateCardsTaskResult() +{} + +void CreateBatchOperateCardsTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["BatchOperateCardsTaskId"].isNull()) + batchOperateCardsTaskId_ = value["BatchOperateCardsTaskId"].asString(); + if(!value["OperateResultOssFilePath"].isNull()) + operateResultOssFilePath_ = value["OperateResultOssFilePath"].asString(); + +} + +std::string CreateBatchOperateCardsTaskResult::getOperateResultOssFilePath()const +{ + return operateResultOssFilePath_; +} + +std::string CreateBatchOperateCardsTaskResult::getBatchOperateCardsTaskId()const +{ + return batchOperateCardsTaskId_; +} + diff --git a/cc5g/src/model/CreateGroupAuthorizationRuleRequest.cc b/cc5g/src/model/CreateGroupAuthorizationRuleRequest.cc new file mode 100644 index 000000000..a7cc5fc49 --- /dev/null +++ b/cc5g/src/model/CreateGroupAuthorizationRuleRequest.cc @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CC5G::Model::CreateGroupAuthorizationRuleRequest; + +CreateGroupAuthorizationRuleRequest::CreateGroupAuthorizationRuleRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "CreateGroupAuthorizationRule") { + setMethod(HttpRequest::Method::Post); +} + +CreateGroupAuthorizationRuleRequest::~CreateGroupAuthorizationRuleRequest() {} + +std::string CreateGroupAuthorizationRuleRequest::getWirelessCloudConnectorGroupId() const { + return wirelessCloudConnectorGroupId_; +} + +void CreateGroupAuthorizationRuleRequest::setWirelessCloudConnectorGroupId(const std::string &wirelessCloudConnectorGroupId) { + wirelessCloudConnectorGroupId_ = wirelessCloudConnectorGroupId; + setParameter(std::string("WirelessCloudConnectorGroupId"), wirelessCloudConnectorGroupId); +} + +std::string CreateGroupAuthorizationRuleRequest::getClientToken() const { + return clientToken_; +} + +void CreateGroupAuthorizationRuleRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string CreateGroupAuthorizationRuleRequest::getSourceCidr() const { + return sourceCidr_; +} + +void CreateGroupAuthorizationRuleRequest::setSourceCidr(const std::string &sourceCidr) { + sourceCidr_ = sourceCidr; + setParameter(std::string("SourceCidr"), sourceCidr); +} + +std::string CreateGroupAuthorizationRuleRequest::getDestinationType() const { + return destinationType_; +} + +void CreateGroupAuthorizationRuleRequest::setDestinationType(const std::string &destinationType) { + destinationType_ = destinationType; + setParameter(std::string("DestinationType"), destinationType); +} + +std::string CreateGroupAuthorizationRuleRequest::getDestination() const { + return destination_; +} + +void CreateGroupAuthorizationRuleRequest::setDestination(const std::string &destination) { + destination_ = destination; + setParameter(std::string("Destination"), destination); +} + +std::string CreateGroupAuthorizationRuleRequest::getDescription() const { + return description_; +} + +void CreateGroupAuthorizationRuleRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); +} + +std::string CreateGroupAuthorizationRuleRequest::getProtocol() const { + return protocol_; +} + +void CreateGroupAuthorizationRuleRequest::setProtocol(const std::string &protocol) { + protocol_ = protocol; + setParameter(std::string("Protocol"), protocol); +} + +std::string CreateGroupAuthorizationRuleRequest::getPolicy() const { + return policy_; +} + +void CreateGroupAuthorizationRuleRequest::setPolicy(const std::string &policy) { + policy_ = policy; + setParameter(std::string("Policy"), policy); +} + +bool CreateGroupAuthorizationRuleRequest::getDryRun() const { + return dryRun_; +} + +void CreateGroupAuthorizationRuleRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string CreateGroupAuthorizationRuleRequest::getDestinationPort() const { + return destinationPort_; +} + +void CreateGroupAuthorizationRuleRequest::setDestinationPort(const std::string &destinationPort) { + destinationPort_ = destinationPort; + setParameter(std::string("DestinationPort"), destinationPort); +} + +std::string CreateGroupAuthorizationRuleRequest::getName() const { + return name_; +} + +void CreateGroupAuthorizationRuleRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + diff --git a/cc5g/src/model/CreateGroupAuthorizationRuleResult.cc b/cc5g/src/model/CreateGroupAuthorizationRuleResult.cc new file mode 100644 index 000000000..3f22f9ab3 --- /dev/null +++ b/cc5g/src/model/CreateGroupAuthorizationRuleResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +CreateGroupAuthorizationRuleResult::CreateGroupAuthorizationRuleResult() : + ServiceResult() +{} + +CreateGroupAuthorizationRuleResult::CreateGroupAuthorizationRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateGroupAuthorizationRuleResult::~CreateGroupAuthorizationRuleResult() +{} + +void CreateGroupAuthorizationRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["AuthorizationRuleId"].isNull()) + authorizationRuleId_ = value["AuthorizationRuleId"].asString(); + +} + +std::string CreateGroupAuthorizationRuleResult::getAuthorizationRuleId()const +{ + return authorizationRuleId_; +} + diff --git a/cc5g/src/model/CreateIoTCloudConnectorBackhaulRouteRequest.cc b/cc5g/src/model/CreateIoTCloudConnectorBackhaulRouteRequest.cc new file mode 100644 index 000000000..f4d2b3553 --- /dev/null +++ b/cc5g/src/model/CreateIoTCloudConnectorBackhaulRouteRequest.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::CC5G::Model::CreateIoTCloudConnectorBackhaulRouteRequest; + +CreateIoTCloudConnectorBackhaulRouteRequest::CreateIoTCloudConnectorBackhaulRouteRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "CreateIoTCloudConnectorBackhaulRoute") { + setMethod(HttpRequest::Method::Post); +} + +CreateIoTCloudConnectorBackhaulRouteRequest::~CreateIoTCloudConnectorBackhaulRouteRequest() {} + +bool CreateIoTCloudConnectorBackhaulRouteRequest::getDryRun() const { + return dryRun_; +} + +void CreateIoTCloudConnectorBackhaulRouteRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string CreateIoTCloudConnectorBackhaulRouteRequest::getNetLinkId() const { + return netLinkId_; +} + +void CreateIoTCloudConnectorBackhaulRouteRequest::setNetLinkId(const std::string &netLinkId) { + netLinkId_ = netLinkId; + setParameter(std::string("NetLinkId"), netLinkId); +} + +std::string CreateIoTCloudConnectorBackhaulRouteRequest::getClientToken() const { + return clientToken_; +} + +void CreateIoTCloudConnectorBackhaulRouteRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string CreateIoTCloudConnectorBackhaulRouteRequest::getWirelessCloudConnectorId() const { + return wirelessCloudConnectorId_; +} + +void CreateIoTCloudConnectorBackhaulRouteRequest::setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId) { + wirelessCloudConnectorId_ = wirelessCloudConnectorId; + setParameter(std::string("WirelessCloudConnectorId"), wirelessCloudConnectorId); +} + diff --git a/cc5g/src/model/CreateIoTCloudConnectorBackhaulRouteResult.cc b/cc5g/src/model/CreateIoTCloudConnectorBackhaulRouteResult.cc new file mode 100644 index 000000000..ccacc809f --- /dev/null +++ b/cc5g/src/model/CreateIoTCloudConnectorBackhaulRouteResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +CreateIoTCloudConnectorBackhaulRouteResult::CreateIoTCloudConnectorBackhaulRouteResult() : + ServiceResult() +{} + +CreateIoTCloudConnectorBackhaulRouteResult::CreateIoTCloudConnectorBackhaulRouteResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateIoTCloudConnectorBackhaulRouteResult::~CreateIoTCloudConnectorBackhaulRouteResult() +{} + +void CreateIoTCloudConnectorBackhaulRouteResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/CreateWirelessCloudConnectorGroupRequest.cc b/cc5g/src/model/CreateWirelessCloudConnectorGroupRequest.cc new file mode 100644 index 000000000..e346f1cbe --- /dev/null +++ b/cc5g/src/model/CreateWirelessCloudConnectorGroupRequest.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::CC5G::Model::CreateWirelessCloudConnectorGroupRequest; + +CreateWirelessCloudConnectorGroupRequest::CreateWirelessCloudConnectorGroupRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "CreateWirelessCloudConnectorGroup") { + setMethod(HttpRequest::Method::Post); +} + +CreateWirelessCloudConnectorGroupRequest::~CreateWirelessCloudConnectorGroupRequest() {} + +bool CreateWirelessCloudConnectorGroupRequest::getDryRun() const { + return dryRun_; +} + +void CreateWirelessCloudConnectorGroupRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string CreateWirelessCloudConnectorGroupRequest::getClientToken() const { + return clientToken_; +} + +void CreateWirelessCloudConnectorGroupRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string CreateWirelessCloudConnectorGroupRequest::getDescription() const { + return description_; +} + +void CreateWirelessCloudConnectorGroupRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); +} + +std::string CreateWirelessCloudConnectorGroupRequest::getRegionId() const { + return regionId_; +} + +void CreateWirelessCloudConnectorGroupRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string CreateWirelessCloudConnectorGroupRequest::getName() const { + return name_; +} + +void CreateWirelessCloudConnectorGroupRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + diff --git a/cc5g/src/model/CreateWirelessCloudConnectorGroupResult.cc b/cc5g/src/model/CreateWirelessCloudConnectorGroupResult.cc new file mode 100644 index 000000000..e4d94d246 --- /dev/null +++ b/cc5g/src/model/CreateWirelessCloudConnectorGroupResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +CreateWirelessCloudConnectorGroupResult::CreateWirelessCloudConnectorGroupResult() : + ServiceResult() +{} + +CreateWirelessCloudConnectorGroupResult::CreateWirelessCloudConnectorGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateWirelessCloudConnectorGroupResult::~CreateWirelessCloudConnectorGroupResult() +{} + +void CreateWirelessCloudConnectorGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["WirelessCloudConnectorGroupId"].isNull()) + wirelessCloudConnectorGroupId_ = value["WirelessCloudConnectorGroupId"].asString(); + +} + +std::string CreateWirelessCloudConnectorGroupResult::getWirelessCloudConnectorGroupId()const +{ + return wirelessCloudConnectorGroupId_; +} + diff --git a/cc5g/src/model/CreateWirelessCloudConnectorRequest.cc b/cc5g/src/model/CreateWirelessCloudConnectorRequest.cc new file mode 100644 index 000000000..65d1bfd4d --- /dev/null +++ b/cc5g/src/model/CreateWirelessCloudConnectorRequest.cc @@ -0,0 +1,115 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G::Model::CreateWirelessCloudConnectorRequest; + +CreateWirelessCloudConnectorRequest::CreateWirelessCloudConnectorRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "CreateWirelessCloudConnector") { + setMethod(HttpRequest::Method::Post); +} + +CreateWirelessCloudConnectorRequest::~CreateWirelessCloudConnectorRequest() {} + +std::string CreateWirelessCloudConnectorRequest::getUseCase() const { + return useCase_; +} + +void CreateWirelessCloudConnectorRequest::setUseCase(const std::string &useCase) { + useCase_ = useCase; + setParameter(std::string("UseCase"), useCase); +} + +std::string CreateWirelessCloudConnectorRequest::getClientToken() const { + return clientToken_; +} + +void CreateWirelessCloudConnectorRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string CreateWirelessCloudConnectorRequest::getISP() const { + return iSP_; +} + +void CreateWirelessCloudConnectorRequest::setISP(const std::string &iSP) { + iSP_ = iSP; + setParameter(std::string("ISP"), iSP); +} + +std::string CreateWirelessCloudConnectorRequest::getDescription() const { + return description_; +} + +void CreateWirelessCloudConnectorRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); +} + +std::string CreateWirelessCloudConnectorRequest::getBusinessType() const { + return businessType_; +} + +void CreateWirelessCloudConnectorRequest::setBusinessType(const std::string &businessType) { + businessType_ = businessType; + setParameter(std::string("BusinessType"), businessType); +} + +std::vector CreateWirelessCloudConnectorRequest::getNetLinks() const { + return netLinks_; +} + +void CreateWirelessCloudConnectorRequest::setNetLinks(const std::vector &netLinks) { + netLinks_ = netLinks; + for(int dep1 = 0; dep1 != netLinks.size(); dep1++) { + setParameter(std::string("NetLinks") + "." + std::to_string(dep1 + 1) + ".RegionId", netLinks[dep1].regionId); + setParameter(std::string("NetLinks") + "." + std::to_string(dep1 + 1) + ".VpcId", netLinks[dep1].vpcId); + for(int dep2 = 0; dep2 != netLinks[dep1].vSwitchs.size(); dep2++) { + setParameter(std::string("NetLinks") + "." + std::to_string(dep1 + 1) + ".VSwitchs." + std::to_string(dep2 + 1), netLinks[dep1].vSwitchs[dep2]); + } + setParameter(std::string("NetLinks") + "." + std::to_string(dep1 + 1) + ".APN", netLinks[dep1].aPN); + } +} + +std::string CreateWirelessCloudConnectorRequest::getRegionId() const { + return regionId_; +} + +void CreateWirelessCloudConnectorRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +bool CreateWirelessCloudConnectorRequest::getDryRun() const { + return dryRun_; +} + +void CreateWirelessCloudConnectorRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string CreateWirelessCloudConnectorRequest::getName() const { + return name_; +} + +void CreateWirelessCloudConnectorRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + diff --git a/cc5g/src/model/CreateWirelessCloudConnectorResult.cc b/cc5g/src/model/CreateWirelessCloudConnectorResult.cc new file mode 100644 index 000000000..3e5d8a8dd --- /dev/null +++ b/cc5g/src/model/CreateWirelessCloudConnectorResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +CreateWirelessCloudConnectorResult::CreateWirelessCloudConnectorResult() : + ServiceResult() +{} + +CreateWirelessCloudConnectorResult::CreateWirelessCloudConnectorResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateWirelessCloudConnectorResult::~CreateWirelessCloudConnectorResult() +{} + +void CreateWirelessCloudConnectorResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["WirelessCloudConnectorId"].isNull()) + wirelessCloudConnectorId_ = value["WirelessCloudConnectorId"].asString(); + +} + +std::string CreateWirelessCloudConnectorResult::getWirelessCloudConnectorId()const +{ + return wirelessCloudConnectorId_; +} + diff --git a/cc5g/src/model/DeleteAuthorizationRuleRequest.cc b/cc5g/src/model/DeleteAuthorizationRuleRequest.cc new file mode 100644 index 000000000..13306d8ea --- /dev/null +++ b/cc5g/src/model/DeleteAuthorizationRuleRequest.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::CC5G::Model::DeleteAuthorizationRuleRequest; + +DeleteAuthorizationRuleRequest::DeleteAuthorizationRuleRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "DeleteAuthorizationRule") { + setMethod(HttpRequest::Method::Post); +} + +DeleteAuthorizationRuleRequest::~DeleteAuthorizationRuleRequest() {} + +bool DeleteAuthorizationRuleRequest::getDryRun() const { + return dryRun_; +} + +void DeleteAuthorizationRuleRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string DeleteAuthorizationRuleRequest::getClientToken() const { + return clientToken_; +} + +void DeleteAuthorizationRuleRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string DeleteAuthorizationRuleRequest::getAuthorizationRuleId() const { + return authorizationRuleId_; +} + +void DeleteAuthorizationRuleRequest::setAuthorizationRuleId(const std::string &authorizationRuleId) { + authorizationRuleId_ = authorizationRuleId; + setParameter(std::string("AuthorizationRuleId"), authorizationRuleId); +} + +std::string DeleteAuthorizationRuleRequest::getWirelessCloudConnectorId() const { + return wirelessCloudConnectorId_; +} + +void DeleteAuthorizationRuleRequest::setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId) { + wirelessCloudConnectorId_ = wirelessCloudConnectorId; + setParameter(std::string("WirelessCloudConnectorId"), wirelessCloudConnectorId); +} + diff --git a/cc5g/src/model/DeleteAuthorizationRuleResult.cc b/cc5g/src/model/DeleteAuthorizationRuleResult.cc new file mode 100644 index 000000000..5c776772c --- /dev/null +++ b/cc5g/src/model/DeleteAuthorizationRuleResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +DeleteAuthorizationRuleResult::DeleteAuthorizationRuleResult() : + ServiceResult() +{} + +DeleteAuthorizationRuleResult::DeleteAuthorizationRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteAuthorizationRuleResult::~DeleteAuthorizationRuleResult() +{} + +void DeleteAuthorizationRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/DeleteBatchOperateCardsTaskRequest.cc b/cc5g/src/model/DeleteBatchOperateCardsTaskRequest.cc new file mode 100644 index 000000000..6f1b0ee34 --- /dev/null +++ b/cc5g/src/model/DeleteBatchOperateCardsTaskRequest.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::CC5G::Model::DeleteBatchOperateCardsTaskRequest; + +DeleteBatchOperateCardsTaskRequest::DeleteBatchOperateCardsTaskRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "DeleteBatchOperateCardsTask") { + setMethod(HttpRequest::Method::Post); +} + +DeleteBatchOperateCardsTaskRequest::~DeleteBatchOperateCardsTaskRequest() {} + +bool DeleteBatchOperateCardsTaskRequest::getDryRun() const { + return dryRun_; +} + +void DeleteBatchOperateCardsTaskRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string DeleteBatchOperateCardsTaskRequest::getClientToken() const { + return clientToken_; +} + +void DeleteBatchOperateCardsTaskRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string DeleteBatchOperateCardsTaskRequest::getBatchOperateCardsTaskId() const { + return batchOperateCardsTaskId_; +} + +void DeleteBatchOperateCardsTaskRequest::setBatchOperateCardsTaskId(const std::string &batchOperateCardsTaskId) { + batchOperateCardsTaskId_ = batchOperateCardsTaskId; + setParameter(std::string("BatchOperateCardsTaskId"), batchOperateCardsTaskId); +} + +std::string DeleteBatchOperateCardsTaskRequest::getRegionId() const { + return regionId_; +} + +void DeleteBatchOperateCardsTaskRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/cc5g/src/model/DeleteBatchOperateCardsTaskResult.cc b/cc5g/src/model/DeleteBatchOperateCardsTaskResult.cc new file mode 100644 index 000000000..9834abbf8 --- /dev/null +++ b/cc5g/src/model/DeleteBatchOperateCardsTaskResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +DeleteBatchOperateCardsTaskResult::DeleteBatchOperateCardsTaskResult() : + ServiceResult() +{} + +DeleteBatchOperateCardsTaskResult::DeleteBatchOperateCardsTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteBatchOperateCardsTaskResult::~DeleteBatchOperateCardsTaskResult() +{} + +void DeleteBatchOperateCardsTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/DeleteGroupAuthorizationRuleRequest.cc b/cc5g/src/model/DeleteGroupAuthorizationRuleRequest.cc new file mode 100644 index 000000000..0b9cfcc46 --- /dev/null +++ b/cc5g/src/model/DeleteGroupAuthorizationRuleRequest.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::CC5G::Model::DeleteGroupAuthorizationRuleRequest; + +DeleteGroupAuthorizationRuleRequest::DeleteGroupAuthorizationRuleRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "DeleteGroupAuthorizationRule") { + setMethod(HttpRequest::Method::Post); +} + +DeleteGroupAuthorizationRuleRequest::~DeleteGroupAuthorizationRuleRequest() {} + +std::string DeleteGroupAuthorizationRuleRequest::getWirelessCloudConnectorGroupId() const { + return wirelessCloudConnectorGroupId_; +} + +void DeleteGroupAuthorizationRuleRequest::setWirelessCloudConnectorGroupId(const std::string &wirelessCloudConnectorGroupId) { + wirelessCloudConnectorGroupId_ = wirelessCloudConnectorGroupId; + setParameter(std::string("WirelessCloudConnectorGroupId"), wirelessCloudConnectorGroupId); +} + +bool DeleteGroupAuthorizationRuleRequest::getDryRun() const { + return dryRun_; +} + +void DeleteGroupAuthorizationRuleRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string DeleteGroupAuthorizationRuleRequest::getClientToken() const { + return clientToken_; +} + +void DeleteGroupAuthorizationRuleRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string DeleteGroupAuthorizationRuleRequest::getAuthorizationRuleId() const { + return authorizationRuleId_; +} + +void DeleteGroupAuthorizationRuleRequest::setAuthorizationRuleId(const std::string &authorizationRuleId) { + authorizationRuleId_ = authorizationRuleId; + setParameter(std::string("AuthorizationRuleId"), authorizationRuleId); +} + diff --git a/cc5g/src/model/DeleteGroupAuthorizationRuleResult.cc b/cc5g/src/model/DeleteGroupAuthorizationRuleResult.cc new file mode 100644 index 000000000..6e6042900 --- /dev/null +++ b/cc5g/src/model/DeleteGroupAuthorizationRuleResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +DeleteGroupAuthorizationRuleResult::DeleteGroupAuthorizationRuleResult() : + ServiceResult() +{} + +DeleteGroupAuthorizationRuleResult::DeleteGroupAuthorizationRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteGroupAuthorizationRuleResult::~DeleteGroupAuthorizationRuleResult() +{} + +void DeleteGroupAuthorizationRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/DeleteIoTCloudConnectorBackhaulRouteRequest.cc b/cc5g/src/model/DeleteIoTCloudConnectorBackhaulRouteRequest.cc new file mode 100644 index 000000000..d7aba9d80 --- /dev/null +++ b/cc5g/src/model/DeleteIoTCloudConnectorBackhaulRouteRequest.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::CC5G::Model::DeleteIoTCloudConnectorBackhaulRouteRequest; + +DeleteIoTCloudConnectorBackhaulRouteRequest::DeleteIoTCloudConnectorBackhaulRouteRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "DeleteIoTCloudConnectorBackhaulRoute") { + setMethod(HttpRequest::Method::Post); +} + +DeleteIoTCloudConnectorBackhaulRouteRequest::~DeleteIoTCloudConnectorBackhaulRouteRequest() {} + +bool DeleteIoTCloudConnectorBackhaulRouteRequest::getDryRun() const { + return dryRun_; +} + +void DeleteIoTCloudConnectorBackhaulRouteRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string DeleteIoTCloudConnectorBackhaulRouteRequest::getNetLinkId() const { + return netLinkId_; +} + +void DeleteIoTCloudConnectorBackhaulRouteRequest::setNetLinkId(const std::string &netLinkId) { + netLinkId_ = netLinkId; + setParameter(std::string("NetLinkId"), netLinkId); +} + +std::string DeleteIoTCloudConnectorBackhaulRouteRequest::getClientToken() const { + return clientToken_; +} + +void DeleteIoTCloudConnectorBackhaulRouteRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string DeleteIoTCloudConnectorBackhaulRouteRequest::getWirelessCloudConnectorId() const { + return wirelessCloudConnectorId_; +} + +void DeleteIoTCloudConnectorBackhaulRouteRequest::setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId) { + wirelessCloudConnectorId_ = wirelessCloudConnectorId; + setParameter(std::string("WirelessCloudConnectorId"), wirelessCloudConnectorId); +} + diff --git a/cc5g/src/model/DeleteIoTCloudConnectorBackhaulRouteResult.cc b/cc5g/src/model/DeleteIoTCloudConnectorBackhaulRouteResult.cc new file mode 100644 index 000000000..7e60bedf1 --- /dev/null +++ b/cc5g/src/model/DeleteIoTCloudConnectorBackhaulRouteResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +DeleteIoTCloudConnectorBackhaulRouteResult::DeleteIoTCloudConnectorBackhaulRouteResult() : + ServiceResult() +{} + +DeleteIoTCloudConnectorBackhaulRouteResult::DeleteIoTCloudConnectorBackhaulRouteResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteIoTCloudConnectorBackhaulRouteResult::~DeleteIoTCloudConnectorBackhaulRouteResult() +{} + +void DeleteIoTCloudConnectorBackhaulRouteResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/DeleteWirelessCloudConnectorGroupRequest.cc b/cc5g/src/model/DeleteWirelessCloudConnectorGroupRequest.cc new file mode 100644 index 000000000..d722330ab --- /dev/null +++ b/cc5g/src/model/DeleteWirelessCloudConnectorGroupRequest.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::CC5G::Model::DeleteWirelessCloudConnectorGroupRequest; + +DeleteWirelessCloudConnectorGroupRequest::DeleteWirelessCloudConnectorGroupRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "DeleteWirelessCloudConnectorGroup") { + setMethod(HttpRequest::Method::Post); +} + +DeleteWirelessCloudConnectorGroupRequest::~DeleteWirelessCloudConnectorGroupRequest() {} + +std::string DeleteWirelessCloudConnectorGroupRequest::getWirelessCloudConnectorGroupId() const { + return wirelessCloudConnectorGroupId_; +} + +void DeleteWirelessCloudConnectorGroupRequest::setWirelessCloudConnectorGroupId(const std::string &wirelessCloudConnectorGroupId) { + wirelessCloudConnectorGroupId_ = wirelessCloudConnectorGroupId; + setParameter(std::string("WirelessCloudConnectorGroupId"), wirelessCloudConnectorGroupId); +} + +bool DeleteWirelessCloudConnectorGroupRequest::getDryRun() const { + return dryRun_; +} + +void DeleteWirelessCloudConnectorGroupRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string DeleteWirelessCloudConnectorGroupRequest::getClientToken() const { + return clientToken_; +} + +void DeleteWirelessCloudConnectorGroupRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + diff --git a/cc5g/src/model/DeleteWirelessCloudConnectorGroupResult.cc b/cc5g/src/model/DeleteWirelessCloudConnectorGroupResult.cc new file mode 100644 index 000000000..5c32205bb --- /dev/null +++ b/cc5g/src/model/DeleteWirelessCloudConnectorGroupResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +DeleteWirelessCloudConnectorGroupResult::DeleteWirelessCloudConnectorGroupResult() : + ServiceResult() +{} + +DeleteWirelessCloudConnectorGroupResult::DeleteWirelessCloudConnectorGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteWirelessCloudConnectorGroupResult::~DeleteWirelessCloudConnectorGroupResult() +{} + +void DeleteWirelessCloudConnectorGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/DeleteWirelessCloudConnectorRequest.cc b/cc5g/src/model/DeleteWirelessCloudConnectorRequest.cc new file mode 100644 index 000000000..b1d460ccd --- /dev/null +++ b/cc5g/src/model/DeleteWirelessCloudConnectorRequest.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::CC5G::Model::DeleteWirelessCloudConnectorRequest; + +DeleteWirelessCloudConnectorRequest::DeleteWirelessCloudConnectorRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "DeleteWirelessCloudConnector") { + setMethod(HttpRequest::Method::Post); +} + +DeleteWirelessCloudConnectorRequest::~DeleteWirelessCloudConnectorRequest() {} + +bool DeleteWirelessCloudConnectorRequest::getDryRun() const { + return dryRun_; +} + +void DeleteWirelessCloudConnectorRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string DeleteWirelessCloudConnectorRequest::getClientToken() const { + return clientToken_; +} + +void DeleteWirelessCloudConnectorRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string DeleteWirelessCloudConnectorRequest::getWirelessCloudConnectorId() const { + return wirelessCloudConnectorId_; +} + +void DeleteWirelessCloudConnectorRequest::setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId) { + wirelessCloudConnectorId_ = wirelessCloudConnectorId; + setParameter(std::string("WirelessCloudConnectorId"), wirelessCloudConnectorId); +} + diff --git a/cc5g/src/model/DeleteWirelessCloudConnectorResult.cc b/cc5g/src/model/DeleteWirelessCloudConnectorResult.cc new file mode 100644 index 000000000..6e4114c8d --- /dev/null +++ b/cc5g/src/model/DeleteWirelessCloudConnectorResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +DeleteWirelessCloudConnectorResult::DeleteWirelessCloudConnectorResult() : + ServiceResult() +{} + +DeleteWirelessCloudConnectorResult::DeleteWirelessCloudConnectorResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteWirelessCloudConnectorResult::~DeleteWirelessCloudConnectorResult() +{} + +void DeleteWirelessCloudConnectorResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/DetachVpcFromNetLinkRequest.cc b/cc5g/src/model/DetachVpcFromNetLinkRequest.cc new file mode 100644 index 000000000..efad90f8a --- /dev/null +++ b/cc5g/src/model/DetachVpcFromNetLinkRequest.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::CC5G::Model::DetachVpcFromNetLinkRequest; + +DetachVpcFromNetLinkRequest::DetachVpcFromNetLinkRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "DetachVpcFromNetLink") { + setMethod(HttpRequest::Method::Post); +} + +DetachVpcFromNetLinkRequest::~DetachVpcFromNetLinkRequest() {} + +bool DetachVpcFromNetLinkRequest::getDryRun() const { + return dryRun_; +} + +void DetachVpcFromNetLinkRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string DetachVpcFromNetLinkRequest::getNetLinkId() const { + return netLinkId_; +} + +void DetachVpcFromNetLinkRequest::setNetLinkId(const std::string &netLinkId) { + netLinkId_ = netLinkId; + setParameter(std::string("NetLinkId"), netLinkId); +} + +std::string DetachVpcFromNetLinkRequest::getClientToken() const { + return clientToken_; +} + +void DetachVpcFromNetLinkRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string DetachVpcFromNetLinkRequest::getWirelessCloudConnectorId() const { + return wirelessCloudConnectorId_; +} + +void DetachVpcFromNetLinkRequest::setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId) { + wirelessCloudConnectorId_ = wirelessCloudConnectorId; + setParameter(std::string("WirelessCloudConnectorId"), wirelessCloudConnectorId); +} + diff --git a/cc5g/src/model/DetachVpcFromNetLinkResult.cc b/cc5g/src/model/DetachVpcFromNetLinkResult.cc new file mode 100644 index 000000000..09d2df960 --- /dev/null +++ b/cc5g/src/model/DetachVpcFromNetLinkResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +DetachVpcFromNetLinkResult::DetachVpcFromNetLinkResult() : + ServiceResult() +{} + +DetachVpcFromNetLinkResult::DetachVpcFromNetLinkResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DetachVpcFromNetLinkResult::~DetachVpcFromNetLinkResult() +{} + +void DetachVpcFromNetLinkResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/FailCardsRequest.cc b/cc5g/src/model/FailCardsRequest.cc new file mode 100644 index 000000000..1a31207e8 --- /dev/null +++ b/cc5g/src/model/FailCardsRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CC5G::Model::FailCardsRequest; + +FailCardsRequest::FailCardsRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "FailCards") { + setMethod(HttpRequest::Method::Post); +} + +FailCardsRequest::~FailCardsRequest() {} + +std::vector FailCardsRequest::getIccids() const { + return iccids_; +} + +void FailCardsRequest::setIccids(const std::vector &iccids) { + iccids_ = iccids; +} + +bool FailCardsRequest::getDryRun() const { + return dryRun_; +} + +void FailCardsRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string FailCardsRequest::getClientToken() const { + return clientToken_; +} + +void FailCardsRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string FailCardsRequest::getRegionId() const { + return regionId_; +} + +void FailCardsRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/cc5g/src/model/FailCardsResult.cc b/cc5g/src/model/FailCardsResult.cc new file mode 100644 index 000000000..a61ac3e6d --- /dev/null +++ b/cc5g/src/model/FailCardsResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +FailCardsResult::FailCardsResult() : + ServiceResult() +{} + +FailCardsResult::FailCardsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +FailCardsResult::~FailCardsResult() +{} + +void FailCardsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/GetCardLockReasonRequest.cc b/cc5g/src/model/GetCardLockReasonRequest.cc new file mode 100644 index 000000000..b6caa2fde --- /dev/null +++ b/cc5g/src/model/GetCardLockReasonRequest.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::CC5G::Model::GetCardLockReasonRequest; + +GetCardLockReasonRequest::GetCardLockReasonRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "GetCardLockReason") { + setMethod(HttpRequest::Method::Get); +} + +GetCardLockReasonRequest::~GetCardLockReasonRequest() {} + +std::string GetCardLockReasonRequest::getIccid() const { + return iccid_; +} + +void GetCardLockReasonRequest::setIccid(const std::string &iccid) { + iccid_ = iccid; + setParameter(std::string("Iccid"), iccid); +} + diff --git a/cc5g/src/model/GetCardLockReasonResult.cc b/cc5g/src/model/GetCardLockReasonResult.cc new file mode 100644 index 000000000..59207b399 --- /dev/null +++ b/cc5g/src/model/GetCardLockReasonResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +GetCardLockReasonResult::GetCardLockReasonResult() : + ServiceResult() +{} + +GetCardLockReasonResult::GetCardLockReasonResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetCardLockReasonResult::~GetCardLockReasonResult() +{} + +void GetCardLockReasonResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["LockReason"].isNull()) + lockReason_ = value["LockReason"].asString(); + +} + +std::string GetCardLockReasonResult::getLockReason()const +{ + return lockReason_; +} + diff --git a/cc5g/src/model/GetCardRequest.cc b/cc5g/src/model/GetCardRequest.cc new file mode 100644 index 000000000..49857879b --- /dev/null +++ b/cc5g/src/model/GetCardRequest.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::CC5G::Model::GetCardRequest; + +GetCardRequest::GetCardRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "GetCard") { + setMethod(HttpRequest::Method::Get); +} + +GetCardRequest::~GetCardRequest() {} + +std::string GetCardRequest::getIccid() const { + return iccid_; +} + +void GetCardRequest::setIccid(const std::string &iccid) { + iccid_ = iccid; + setParameter(std::string("Iccid"), iccid); +} + diff --git a/cc5g/src/model/GetCardResult.cc b/cc5g/src/model/GetCardResult.cc new file mode 100644 index 000000000..36b55f802 --- /dev/null +++ b/cc5g/src/model/GetCardResult.cc @@ -0,0 +1,205 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +GetCardResult::GetCardResult() : + ServiceResult() +{} + +GetCardResult::GetCardResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetCardResult::~GetCardResult() +{} + +void GetCardResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Iccid"].isNull()) + iccid_ = value["Iccid"].asString(); + if(!value["NetType"].isNull()) + netType_ = value["NetType"].asString(); + if(!value["APN"].isNull()) + aPN_ = value["APN"].asString(); + if(!value["ISP"].isNull()) + iSP_ = value["ISP"].asString(); + if(!value["IpAddress"].isNull()) + ipAddress_ = value["IpAddress"].asString(); + if(!value["Imsi"].isNull()) + imsi_ = value["Imsi"].asString(); + if(!value["Imei"].isNull()) + imei_ = value["Imei"].asString(); + if(!value["Lock"].isNull()) + lock_ = value["Lock"].asString(); + if(!value["Spec"].isNull()) + spec_ = value["Spec"].asString(); + if(!value["SimStatus"].isNull()) + simStatus_ = value["SimStatus"].asString(); + if(!value["Status"].isNull()) + status_ = value["Status"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + if(!value["WirelessCloudConnectorId"].isNull()) + wirelessCloudConnectorId_ = value["WirelessCloudConnectorId"].asString(); + if(!value["CloudConnectorId"].isNull()) + cloudConnectorId_ = value["CloudConnectorId"].asString(); + if(!value["UsageDataMonth"].isNull()) + usageDataMonth_ = std::stoi(value["UsageDataMonth"].asString()); + if(!value["OrderId"].isNull()) + orderId_ = value["OrderId"].asString(); + if(!value["ActivatedTime"].isNull()) + activatedTime_ = value["ActivatedTime"].asString(); + if(!value["Msisdn"].isNull()) + msisdn_ = value["Msisdn"].asString(); + if(!value["UsageDataTotal"].isNull()) + usageDataTotal_ = std::stol(value["UsageDataTotal"].asString()); + if(!value["LimitThreshold"].isNull()) + limitThreshold_ = std::stol(value["LimitThreshold"].asString()); + if(!value["StopThreshold"].isNull()) + stopThreshold_ = std::stol(value["StopThreshold"].asString()); + if(!value["AlarmThreshold"].isNull()) + alarmThreshold_ = std::stol(value["AlarmThreshold"].asString()); + +} + +std::string GetCardResult::getStatus()const +{ + return status_; +} + +long GetCardResult::getUsageDataTotal()const +{ + return usageDataTotal_; +} + +std::string GetCardResult::getDescription()const +{ + return description_; +} + +int GetCardResult::getUsageDataMonth()const +{ + return usageDataMonth_; +} + +std::string GetCardResult::getISP()const +{ + return iSP_; +} + +std::string GetCardResult::getImei()const +{ + return imei_; +} + +std::string GetCardResult::getSimStatus()const +{ + return simStatus_; +} + +std::string GetCardResult::getOrderId()const +{ + return orderId_; +} + +long GetCardResult::getAlarmThreshold()const +{ + return alarmThreshold_; +} + +std::string GetCardResult::getLock()const +{ + return lock_; +} + +std::string GetCardResult::getName()const +{ + return name_; +} + +long GetCardResult::getStopThreshold()const +{ + return stopThreshold_; +} + +std::string GetCardResult::getMsisdn()const +{ + return msisdn_; +} + +long GetCardResult::getLimitThreshold()const +{ + return limitThreshold_; +} + +std::string GetCardResult::getWirelessCloudConnectorId()const +{ + return wirelessCloudConnectorId_; +} + +std::string GetCardResult::getActivatedTime()const +{ + return activatedTime_; +} + +std::string GetCardResult::getCloudConnectorId()const +{ + return cloudConnectorId_; +} + +std::string GetCardResult::getIccid()const +{ + return iccid_; +} + +std::string GetCardResult::getImsi()const +{ + return imsi_; +} + +std::string GetCardResult::getIpAddress()const +{ + return ipAddress_; +} + +std::string GetCardResult::getSpec()const +{ + return spec_; +} + +std::string GetCardResult::getNetType()const +{ + return netType_; +} + +std::string GetCardResult::getAPN()const +{ + return aPN_; +} + diff --git a/cc5g/src/model/GetCreateCustomerInformationRequest.cc b/cc5g/src/model/GetCreateCustomerInformationRequest.cc new file mode 100644 index 000000000..38d4f42ed --- /dev/null +++ b/cc5g/src/model/GetCreateCustomerInformationRequest.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::CC5G::Model::GetCreateCustomerInformationRequest; + +GetCreateCustomerInformationRequest::GetCreateCustomerInformationRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "GetCreateCustomerInformation") { + setMethod(HttpRequest::Method::Get); +} + +GetCreateCustomerInformationRequest::~GetCreateCustomerInformationRequest() {} + +std::string GetCreateCustomerInformationRequest::getRegionId() const { + return regionId_; +} + +void GetCreateCustomerInformationRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string GetCreateCustomerInformationRequest::getWirelessCloudConnectorId() const { + return wirelessCloudConnectorId_; +} + +void GetCreateCustomerInformationRequest::setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId) { + wirelessCloudConnectorId_ = wirelessCloudConnectorId; + setParameter(std::string("WirelessCloudConnectorId"), wirelessCloudConnectorId); +} + diff --git a/cc5g/src/model/GetCreateCustomerInformationResult.cc b/cc5g/src/model/GetCreateCustomerInformationResult.cc new file mode 100644 index 000000000..98a97306a --- /dev/null +++ b/cc5g/src/model/GetCreateCustomerInformationResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +GetCreateCustomerInformationResult::GetCreateCustomerInformationResult() : + ServiceResult() +{} + +GetCreateCustomerInformationResult::GetCreateCustomerInformationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetCreateCustomerInformationResult::~GetCreateCustomerInformationResult() +{} + +void GetCreateCustomerInformationResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["URL"].isNull()) + uRL_ = value["URL"].asString(); + if(!value["CanBuyCard"].isNull()) + canBuyCard_ = value["CanBuyCard"].asString(); + +} + +std::string GetCreateCustomerInformationResult::getCanBuyCard()const +{ + return canBuyCard_; +} + +std::string GetCreateCustomerInformationResult::getURL()const +{ + return uRL_; +} + diff --git a/cc5g/src/model/GetDiagnoseResultForSingleCardRequest.cc b/cc5g/src/model/GetDiagnoseResultForSingleCardRequest.cc new file mode 100644 index 000000000..5ad95947e --- /dev/null +++ b/cc5g/src/model/GetDiagnoseResultForSingleCardRequest.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::CC5G::Model::GetDiagnoseResultForSingleCardRequest; + +GetDiagnoseResultForSingleCardRequest::GetDiagnoseResultForSingleCardRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "GetDiagnoseResultForSingleCard") { + setMethod(HttpRequest::Method::Post); +} + +GetDiagnoseResultForSingleCardRequest::~GetDiagnoseResultForSingleCardRequest() {} + +std::string GetDiagnoseResultForSingleCardRequest::getRegionNo() const { + return regionNo_; +} + +void GetDiagnoseResultForSingleCardRequest::setRegionNo(const std::string ®ionNo) { + regionNo_ = regionNo; + setParameter(std::string("RegionNo"), regionNo); +} + +std::string GetDiagnoseResultForSingleCardRequest::getDiagnoseTaskId() const { + return diagnoseTaskId_; +} + +void GetDiagnoseResultForSingleCardRequest::setDiagnoseTaskId(const std::string &diagnoseTaskId) { + diagnoseTaskId_ = diagnoseTaskId; + setParameter(std::string("DiagnoseTaskId"), diagnoseTaskId); +} + diff --git a/cc5g/src/model/GetDiagnoseResultForSingleCardResult.cc b/cc5g/src/model/GetDiagnoseResultForSingleCardResult.cc new file mode 100644 index 000000000..1f206b415 --- /dev/null +++ b/cc5g/src/model/GetDiagnoseResultForSingleCardResult.cc @@ -0,0 +1,134 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +GetDiagnoseResultForSingleCardResult::GetDiagnoseResultForSingleCardResult() : + ServiceResult() +{} + +GetDiagnoseResultForSingleCardResult::GetDiagnoseResultForSingleCardResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetDiagnoseResultForSingleCardResult::~GetDiagnoseResultForSingleCardResult() +{} + +void GetDiagnoseResultForSingleCardResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allErrorResultNode = value["ErrorResult"]["diagnoseResult"]; + for (auto valueErrorResultdiagnoseResult : allErrorResultNode) + { + DiagnoseResult errorResultObject; + if(!valueErrorResultdiagnoseResult["ErrorLevel"].isNull()) + errorResultObject.errorLevel = valueErrorResultdiagnoseResult["ErrorLevel"].asString(); + if(!valueErrorResultdiagnoseResult["ErrorPart"].isNull()) + errorResultObject.errorPart = valueErrorResultdiagnoseResult["ErrorPart"].asString(); + if(!valueErrorResultdiagnoseResult["ErrorDesc"].isNull()) + errorResultObject.errorDesc = valueErrorResultdiagnoseResult["ErrorDesc"].asString(); + if(!valueErrorResultdiagnoseResult["ErrorSuggestion"].isNull()) + errorResultObject.errorSuggestion = valueErrorResultdiagnoseResult["ErrorSuggestion"].asString(); + errorResult_.push_back(errorResultObject); + } + auto allDiagnoseItemNode = value["DiagnoseItem"]["diagnoseItemItem"]; + for (auto valueDiagnoseItemdiagnoseItemItem : allDiagnoseItemNode) + { + DiagnoseItemItem diagnoseItemObject; + if(!valueDiagnoseItemdiagnoseItemItem["Part"].isNull()) + diagnoseItemObject.part = valueDiagnoseItemdiagnoseItemItem["Part"].asString(); + if(!valueDiagnoseItemdiagnoseItemItem["Status"].isNull()) + diagnoseItemObject.status = valueDiagnoseItemdiagnoseItemItem["Status"].asString(); + diagnoseItem_.push_back(diagnoseItemObject); + } + if(!value["WirelessCloudConnectorId"].isNull()) + wirelessCloudConnectorId_ = value["WirelessCloudConnectorId"].asString(); + if(!value["CardIp"].isNull()) + cardIp_ = value["CardIp"].asString(); + if(!value["IccId"].isNull()) + iccId_ = value["IccId"].asString(); + if(!value["Destination"].isNull()) + destination_ = value["Destination"].asString(); + if(!value["DestinationType"].isNull()) + destinationType_ = value["DestinationType"].asString(); + if(!value["BeginTime"].isNull()) + beginTime_ = std::stol(value["BeginTime"].asString()); + if(!value["EndTime"].isNull()) + endTime_ = std::stol(value["EndTime"].asString()); + if(!value["Status"].isNull()) + status_ = value["Status"].asString(); + +} + +std::string GetDiagnoseResultForSingleCardResult::getStatus()const +{ + return status_; +} + +std::string GetDiagnoseResultForSingleCardResult::getDestination()const +{ + return destination_; +} + +std::string GetDiagnoseResultForSingleCardResult::getWirelessCloudConnectorId()const +{ + return wirelessCloudConnectorId_; +} + +long GetDiagnoseResultForSingleCardResult::getEndTime()const +{ + return endTime_; +} + +std::string GetDiagnoseResultForSingleCardResult::getCardIp()const +{ + return cardIp_; +} + +std::string GetDiagnoseResultForSingleCardResult::getIccId()const +{ + return iccId_; +} + +std::vector GetDiagnoseResultForSingleCardResult::getErrorResult()const +{ + return errorResult_; +} + +long GetDiagnoseResultForSingleCardResult::getBeginTime()const +{ + return beginTime_; +} + +std::string GetDiagnoseResultForSingleCardResult::getDestinationType()const +{ + return destinationType_; +} + +std::vector GetDiagnoseResultForSingleCardResult::getDiagnoseItem()const +{ + return diagnoseItem_; +} + diff --git a/cc5g/src/model/GetWirelessCloudConnectorRequest.cc b/cc5g/src/model/GetWirelessCloudConnectorRequest.cc new file mode 100644 index 000000000..73cf40b7c --- /dev/null +++ b/cc5g/src/model/GetWirelessCloudConnectorRequest.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::CC5G::Model::GetWirelessCloudConnectorRequest; + +GetWirelessCloudConnectorRequest::GetWirelessCloudConnectorRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "GetWirelessCloudConnector") { + setMethod(HttpRequest::Method::Get); +} + +GetWirelessCloudConnectorRequest::~GetWirelessCloudConnectorRequest() {} + +std::string GetWirelessCloudConnectorRequest::getRegionId() const { + return regionId_; +} + +void GetWirelessCloudConnectorRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string GetWirelessCloudConnectorRequest::getWirelessCloudConnectorId() const { + return wirelessCloudConnectorId_; +} + +void GetWirelessCloudConnectorRequest::setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId) { + wirelessCloudConnectorId_ = wirelessCloudConnectorId; + setParameter(std::string("WirelessCloudConnectorId"), wirelessCloudConnectorId); +} + diff --git a/cc5g/src/model/GetWirelessCloudConnectorResult.cc b/cc5g/src/model/GetWirelessCloudConnectorResult.cc new file mode 100644 index 000000000..b0c37077f --- /dev/null +++ b/cc5g/src/model/GetWirelessCloudConnectorResult.cc @@ -0,0 +1,177 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +GetWirelessCloudConnectorResult::GetWirelessCloudConnectorResult() : + ServiceResult() +{} + +GetWirelessCloudConnectorResult::GetWirelessCloudConnectorResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetWirelessCloudConnectorResult::~GetWirelessCloudConnectorResult() +{} + +void GetWirelessCloudConnectorResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allNetLinksNode = value["NetLinks"]["NetLink"]; + for (auto valueNetLinksNetLink : allNetLinksNode) + { + NetLink netLinksObject; + if(!valueNetLinksNetLink["RegionId"].isNull()) + netLinksObject.regionId = valueNetLinksNetLink["RegionId"].asString(); + if(!valueNetLinksNetLink["NetLinkId"].isNull()) + netLinksObject.netLinkId = valueNetLinksNetLink["NetLinkId"].asString(); + if(!valueNetLinksNetLink["Name"].isNull()) + netLinksObject.name = valueNetLinksNetLink["Name"].asString(); + if(!valueNetLinksNetLink["Description"].isNull()) + netLinksObject.description = valueNetLinksNetLink["Description"].asString(); + if(!valueNetLinksNetLink["Status"].isNull()) + netLinksObject.status = valueNetLinksNetLink["Status"].asString(); + if(!valueNetLinksNetLink["APN"].isNull()) + netLinksObject.aPN = valueNetLinksNetLink["APN"].asString(); + if(!valueNetLinksNetLink["ISP"].isNull()) + netLinksObject.iSP = valueNetLinksNetLink["ISP"].asString(); + if(!valueNetLinksNetLink["VpcId"].isNull()) + netLinksObject.vpcId = valueNetLinksNetLink["VpcId"].asString(); + if(!valueNetLinksNetLink["CreateTime"].isNull()) + netLinksObject.createTime = valueNetLinksNetLink["CreateTime"].asString(); + if(!valueNetLinksNetLink["GrantAliUid"].isNull()) + netLinksObject.grantAliUid = valueNetLinksNetLink["GrantAliUid"].asString(); + auto allVSwitchs = value["VSwitchs"]["VSwitch"]; + for (auto value : allVSwitchs) + netLinksObject.vSwitchs.push_back(value.asString()); + netLinks_.push_back(netLinksObject); + } + auto allFeatures = value["Features"]["Feature"]; + for (const auto &item : allFeatures) + features_.push_back(item.asString()); + if(!value["WirelessCloudConnectorId"].isNull()) + wirelessCloudConnectorId_ = value["WirelessCloudConnectorId"].asString(); + if(!value["Status"].isNull()) + status_ = value["Status"].asString(); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + if(!value["RegionId"].isNull()) + regionId_ = value["RegionId"].asString(); + if(!value["UseCase"].isNull()) + useCase_ = value["UseCase"].asString(); + if(!value["DataPackageId"].isNull()) + dataPackageId_ = value["DataPackageId"].asString(); + if(!value["DataPackageType"].isNull()) + dataPackageType_ = value["DataPackageType"].asString(); + if(!value["CardCount"].isNull()) + cardCount_ = value["CardCount"].asString(); + if(!value["CreateTime"].isNull()) + createTime_ = value["CreateTime"].asString(); + if(!value["BusinessType"].isNull()) + businessType_ = value["BusinessType"].asString(); + if(!value["WirelessCloudConnectorGroupId"].isNull()) + wirelessCloudConnectorGroupId_ = value["WirelessCloudConnectorGroupId"].asString(); + if(!value["ServiceType"].isNull()) + serviceType_ = value["ServiceType"].asString(); + +} + +std::string GetWirelessCloudConnectorResult::getStatus()const +{ + return status_; +} + +std::string GetWirelessCloudConnectorResult::getDataPackageType()const +{ + return dataPackageType_; +} + +std::string GetWirelessCloudConnectorResult::getDescription()const +{ + return description_; +} + +std::string GetWirelessCloudConnectorResult::getCreateTime()const +{ + return createTime_; +} + +std::string GetWirelessCloudConnectorResult::getBusinessType()const +{ + return businessType_; +} + +std::string GetWirelessCloudConnectorResult::getUseCase()const +{ + return useCase_; +} + +std::string GetWirelessCloudConnectorResult::getWirelessCloudConnectorGroupId()const +{ + return wirelessCloudConnectorGroupId_; +} + +std::string GetWirelessCloudConnectorResult::getName()const +{ + return name_; +} + +std::string GetWirelessCloudConnectorResult::getWirelessCloudConnectorId()const +{ + return wirelessCloudConnectorId_; +} + +std::string GetWirelessCloudConnectorResult::getCardCount()const +{ + return cardCount_; +} + +std::string GetWirelessCloudConnectorResult::getServiceType()const +{ + return serviceType_; +} + +std::vector GetWirelessCloudConnectorResult::getFeatures()const +{ + return features_; +} + +std::string GetWirelessCloudConnectorResult::getDataPackageId()const +{ + return dataPackageId_; +} + +std::string GetWirelessCloudConnectorResult::getRegionId()const +{ + return regionId_; +} + +std::vector GetWirelessCloudConnectorResult::getNetLinks()const +{ + return netLinks_; +} + diff --git a/cc5g/src/model/GrantNetLinkRequest.cc b/cc5g/src/model/GrantNetLinkRequest.cc new file mode 100644 index 000000000..ccee8019f --- /dev/null +++ b/cc5g/src/model/GrantNetLinkRequest.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::CC5G::Model::GrantNetLinkRequest; + +GrantNetLinkRequest::GrantNetLinkRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "GrantNetLink") { + setMethod(HttpRequest::Method::Post); +} + +GrantNetLinkRequest::~GrantNetLinkRequest() {} + +bool GrantNetLinkRequest::getDryRun() const { + return dryRun_; +} + +void GrantNetLinkRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string GrantNetLinkRequest::getNetLinkId() const { + return netLinkId_; +} + +void GrantNetLinkRequest::setNetLinkId(const std::string &netLinkId) { + netLinkId_ = netLinkId; + setParameter(std::string("NetLinkId"), netLinkId); +} + +std::string GrantNetLinkRequest::getClientToken() const { + return clientToken_; +} + +void GrantNetLinkRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +long GrantNetLinkRequest::getGrantAliUid() const { + return grantAliUid_; +} + +void GrantNetLinkRequest::setGrantAliUid(long grantAliUid) { + grantAliUid_ = grantAliUid; + setParameter(std::string("GrantAliUid"), std::to_string(grantAliUid)); +} + +std::string GrantNetLinkRequest::getWirelessCloudConnectorId() const { + return wirelessCloudConnectorId_; +} + +void GrantNetLinkRequest::setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId) { + wirelessCloudConnectorId_ = wirelessCloudConnectorId; + setParameter(std::string("WirelessCloudConnectorId"), wirelessCloudConnectorId); +} + diff --git a/cc5g/src/model/GrantNetLinkResult.cc b/cc5g/src/model/GrantNetLinkResult.cc new file mode 100644 index 000000000..c4b865211 --- /dev/null +++ b/cc5g/src/model/GrantNetLinkResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +GrantNetLinkResult::GrantNetLinkResult() : + ServiceResult() +{} + +GrantNetLinkResult::GrantNetLinkResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GrantNetLinkResult::~GrantNetLinkResult() +{} + +void GrantNetLinkResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/ListAPNsRequest.cc b/cc5g/src/model/ListAPNsRequest.cc new file mode 100644 index 000000000..362cc8c43 --- /dev/null +++ b/cc5g/src/model/ListAPNsRequest.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::CC5G::Model::ListAPNsRequest; + +ListAPNsRequest::ListAPNsRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "ListAPNs") { + setMethod(HttpRequest::Method::Get); +} + +ListAPNsRequest::~ListAPNsRequest() {} + +std::string ListAPNsRequest::getISP() const { + return iSP_; +} + +void ListAPNsRequest::setISP(const std::string &iSP) { + iSP_ = iSP; + setParameter(std::string("ISP"), iSP); +} + +std::string ListAPNsRequest::getRegionId() const { + return regionId_; +} + +void ListAPNsRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string ListAPNsRequest::getNextToken() const { + return nextToken_; +} + +void ListAPNsRequest::setNextToken(const std::string &nextToken) { + nextToken_ = nextToken; + setParameter(std::string("NextToken"), nextToken); +} + +long ListAPNsRequest::getMaxResults() const { + return maxResults_; +} + +void ListAPNsRequest::setMaxResults(long maxResults) { + maxResults_ = maxResults; + setParameter(std::string("MaxResults"), std::to_string(maxResults)); +} + +std::string ListAPNsRequest::getAPN() const { + return aPN_; +} + +void ListAPNsRequest::setAPN(const std::string &aPN) { + aPN_ = aPN; + setParameter(std::string("APN"), aPN); +} + diff --git a/cc5g/src/model/ListAPNsResult.cc b/cc5g/src/model/ListAPNsResult.cc new file mode 100644 index 000000000..752a04850 --- /dev/null +++ b/cc5g/src/model/ListAPNsResult.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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +ListAPNsResult::ListAPNsResult() : + ServiceResult() +{} + +ListAPNsResult::ListAPNsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListAPNsResult::~ListAPNsResult() +{} + +void ListAPNsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allAPNsNode = value["APNs"]["Region"]; + for (auto valueAPNsRegion : allAPNsNode) + { + Region aPNsObject; + if(!valueAPNsRegion["ISP"].isNull()) + aPNsObject.iSP = valueAPNsRegion["ISP"].asString(); + if(!valueAPNsRegion["APN"].isNull()) + aPNsObject.aPN = valueAPNsRegion["APN"].asString(); + if(!valueAPNsRegion["Name"].isNull()) + aPNsObject.name = valueAPNsRegion["Name"].asString(); + if(!valueAPNsRegion["Description"].isNull()) + aPNsObject.description = valueAPNsRegion["Description"].asString(); + auto allZones = value["Zones"]["Zone"]; + for (auto value : allZones) + aPNsObject.zones.push_back(value.asString()); + aPNs_.push_back(aPNsObject); + } + if(!value["NextToken"].isNull()) + nextToken_ = value["NextToken"].asString(); + if(!value["MaxResults"].isNull()) + maxResults_ = value["MaxResults"].asString(); + if(!value["TotalCount"].isNull()) + totalCount_ = value["TotalCount"].asString(); + +} + +std::string ListAPNsResult::getTotalCount()const +{ + return totalCount_; +} + +std::string ListAPNsResult::getNextToken()const +{ + return nextToken_; +} + +std::string ListAPNsResult::getMaxResults()const +{ + return maxResults_; +} + +std::vector ListAPNsResult::getAPNs()const +{ + return aPNs_; +} + diff --git a/cc5g/src/model/ListAuthorizationRulesRequest.cc b/cc5g/src/model/ListAuthorizationRulesRequest.cc new file mode 100644 index 000000000..1ae9d155c --- /dev/null +++ b/cc5g/src/model/ListAuthorizationRulesRequest.cc @@ -0,0 +1,150 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G::Model::ListAuthorizationRulesRequest; + +ListAuthorizationRulesRequest::ListAuthorizationRulesRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "ListAuthorizationRules") { + setMethod(HttpRequest::Method::Get); +} + +ListAuthorizationRulesRequest::~ListAuthorizationRulesRequest() {} + +std::string ListAuthorizationRulesRequest::getDestinationType() const { + return destinationType_; +} + +void ListAuthorizationRulesRequest::setDestinationType(const std::string &destinationType) { + destinationType_ = destinationType; + setParameter(std::string("DestinationType"), destinationType); +} + +std::string ListAuthorizationRulesRequest::getDestination() const { + return destination_; +} + +void ListAuthorizationRulesRequest::setDestination(const std::string &destination) { + destination_ = destination; + setParameter(std::string("Destination"), destination); +} + +std::string ListAuthorizationRulesRequest::getType() const { + return type_; +} + +void ListAuthorizationRulesRequest::setType(const std::string &type) { + type_ = type; + setParameter(std::string("Type"), type); +} + +std::string ListAuthorizationRulesRequest::getProtocol() const { + return protocol_; +} + +void ListAuthorizationRulesRequest::setProtocol(const std::string &protocol) { + protocol_ = protocol; + setParameter(std::string("Protocol"), protocol); +} + +std::vector ListAuthorizationRulesRequest::getAuthorizationRuleIds() const { + return authorizationRuleIds_; +} + +void ListAuthorizationRulesRequest::setAuthorizationRuleIds(const std::vector &authorizationRuleIds) { + authorizationRuleIds_ = authorizationRuleIds; + for(int dep1 = 0; dep1 != authorizationRuleIds.size(); dep1++) { + setParameter(std::string("AuthorizationRuleIds") + "." + std::to_string(dep1 + 1), authorizationRuleIds[dep1]); + } +} + +std::string ListAuthorizationRulesRequest::getNextToken() const { + return nextToken_; +} + +void ListAuthorizationRulesRequest::setNextToken(const std::string &nextToken) { + nextToken_ = nextToken; + setParameter(std::string("NextToken"), nextToken); +} + +std::string ListAuthorizationRulesRequest::getPolicy() const { + return policy_; +} + +void ListAuthorizationRulesRequest::setPolicy(const std::string &policy) { + policy_ = policy; + setParameter(std::string("Policy"), policy); +} + +bool ListAuthorizationRulesRequest::getDns() const { + return dns_; +} + +void ListAuthorizationRulesRequest::setDns(bool dns) { + dns_ = dns; + setParameter(std::string("Dns"), dns ? "true" : "false"); +} + +std::string ListAuthorizationRulesRequest::getDestinationPort() const { + return destinationPort_; +} + +void ListAuthorizationRulesRequest::setDestinationPort(const std::string &destinationPort) { + destinationPort_ = destinationPort; + setParameter(std::string("DestinationPort"), destinationPort); +} + +std::vector ListAuthorizationRulesRequest::getNames() const { + return names_; +} + +void ListAuthorizationRulesRequest::setNames(const std::vector &names) { + names_ = names; + for(int dep1 = 0; dep1 != names.size(); dep1++) { + setParameter(std::string("Names") + "." + std::to_string(dep1 + 1), names[dep1]); + } +} + +std::string ListAuthorizationRulesRequest::getWirelessCloudConnectorId() const { + return wirelessCloudConnectorId_; +} + +void ListAuthorizationRulesRequest::setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId) { + wirelessCloudConnectorId_ = wirelessCloudConnectorId; + setParameter(std::string("WirelessCloudConnectorId"), wirelessCloudConnectorId); +} + +long ListAuthorizationRulesRequest::getMaxResults() const { + return maxResults_; +} + +void ListAuthorizationRulesRequest::setMaxResults(long maxResults) { + maxResults_ = maxResults; + setParameter(std::string("MaxResults"), std::to_string(maxResults)); +} + +std::vector ListAuthorizationRulesRequest::getStatuses() const { + return statuses_; +} + +void ListAuthorizationRulesRequest::setStatuses(const std::vector &statuses) { + statuses_ = statuses; + for(int dep1 = 0; dep1 != statuses.size(); dep1++) { + setParameter(std::string("Statuses") + "." + std::to_string(dep1 + 1), statuses[dep1]); + } +} + diff --git a/cc5g/src/model/ListAuthorizationRulesResult.cc b/cc5g/src/model/ListAuthorizationRulesResult.cc new file mode 100644 index 000000000..c81f974b7 --- /dev/null +++ b/cc5g/src/model/ListAuthorizationRulesResult.cc @@ -0,0 +1,102 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +ListAuthorizationRulesResult::ListAuthorizationRulesResult() : + ServiceResult() +{} + +ListAuthorizationRulesResult::ListAuthorizationRulesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListAuthorizationRulesResult::~ListAuthorizationRulesResult() +{} + +void ListAuthorizationRulesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allAuthorizationRulesNode = value["AuthorizationRules"]["AuthorizationRule"]; + for (auto valueAuthorizationRulesAuthorizationRule : allAuthorizationRulesNode) + { + AuthorizationRule authorizationRulesObject; + if(!valueAuthorizationRulesAuthorizationRule["AuthorizationRuleId"].isNull()) + authorizationRulesObject.authorizationRuleId = valueAuthorizationRulesAuthorizationRule["AuthorizationRuleId"].asString(); + if(!valueAuthorizationRulesAuthorizationRule["Status"].isNull()) + authorizationRulesObject.status = valueAuthorizationRulesAuthorizationRule["Status"].asString(); + if(!valueAuthorizationRulesAuthorizationRule["Name"].isNull()) + authorizationRulesObject.name = valueAuthorizationRulesAuthorizationRule["Name"].asString(); + if(!valueAuthorizationRulesAuthorizationRule["Description"].isNull()) + authorizationRulesObject.description = valueAuthorizationRulesAuthorizationRule["Description"].asString(); + if(!valueAuthorizationRulesAuthorizationRule["Type"].isNull()) + authorizationRulesObject.type = valueAuthorizationRulesAuthorizationRule["Type"].asString(); + if(!valueAuthorizationRulesAuthorizationRule["SourceCidr"].isNull()) + authorizationRulesObject.sourceCidr = valueAuthorizationRulesAuthorizationRule["SourceCidr"].asString(); + if(!valueAuthorizationRulesAuthorizationRule["DestinationType"].isNull()) + authorizationRulesObject.destinationType = valueAuthorizationRulesAuthorizationRule["DestinationType"].asString(); + if(!valueAuthorizationRulesAuthorizationRule["Protocol"].isNull()) + authorizationRulesObject.protocol = valueAuthorizationRulesAuthorizationRule["Protocol"].asString(); + if(!valueAuthorizationRulesAuthorizationRule["DestinationPort"].isNull()) + authorizationRulesObject.destinationPort = valueAuthorizationRulesAuthorizationRule["DestinationPort"].asString(); + if(!valueAuthorizationRulesAuthorizationRule["Destination"].isNull()) + authorizationRulesObject.destination = valueAuthorizationRulesAuthorizationRule["Destination"].asString(); + if(!valueAuthorizationRulesAuthorizationRule["Policy"].isNull()) + authorizationRulesObject.policy = valueAuthorizationRulesAuthorizationRule["Policy"].asString(); + if(!valueAuthorizationRulesAuthorizationRule["Dns"].isNull()) + authorizationRulesObject.dns = valueAuthorizationRulesAuthorizationRule["Dns"].asString() == "true"; + if(!valueAuthorizationRulesAuthorizationRule["CreateTime"].isNull()) + authorizationRulesObject.createTime = valueAuthorizationRulesAuthorizationRule["CreateTime"].asString(); + authorizationRules_.push_back(authorizationRulesObject); + } + if(!value["NextToken"].isNull()) + nextToken_ = value["NextToken"].asString(); + if(!value["MaxResults"].isNull()) + maxResults_ = value["MaxResults"].asString(); + if(!value["TotalCount"].isNull()) + totalCount_ = value["TotalCount"].asString(); + +} + +std::string ListAuthorizationRulesResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector ListAuthorizationRulesResult::getAuthorizationRules()const +{ + return authorizationRules_; +} + +std::string ListAuthorizationRulesResult::getNextToken()const +{ + return nextToken_; +} + +std::string ListAuthorizationRulesResult::getMaxResults()const +{ + return maxResults_; +} + diff --git a/cc5g/src/model/ListBatchOperateCardsTasksRequest.cc b/cc5g/src/model/ListBatchOperateCardsTasksRequest.cc new file mode 100644 index 000000000..a4a5c8110 --- /dev/null +++ b/cc5g/src/model/ListBatchOperateCardsTasksRequest.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 + +using AlibabaCloud::CC5G::Model::ListBatchOperateCardsTasksRequest; + +ListBatchOperateCardsTasksRequest::ListBatchOperateCardsTasksRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "ListBatchOperateCardsTasks") { + setMethod(HttpRequest::Method::Get); +} + +ListBatchOperateCardsTasksRequest::~ListBatchOperateCardsTasksRequest() {} + +std::string ListBatchOperateCardsTasksRequest::getRegionId() const { + return regionId_; +} + +void ListBatchOperateCardsTasksRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string ListBatchOperateCardsTasksRequest::getNextToken() const { + return nextToken_; +} + +void ListBatchOperateCardsTasksRequest::setNextToken(const std::string &nextToken) { + nextToken_ = nextToken; + setParameter(std::string("NextToken"), nextToken); +} + +std::vector ListBatchOperateCardsTasksRequest::getBatchOperateCardsTaskIds() const { + return batchOperateCardsTaskIds_; +} + +void ListBatchOperateCardsTasksRequest::setBatchOperateCardsTaskIds(const std::vector &batchOperateCardsTaskIds) { + batchOperateCardsTaskIds_ = batchOperateCardsTaskIds; + for(int dep1 = 0; dep1 != batchOperateCardsTaskIds.size(); dep1++) { + setParameter(std::string("BatchOperateCardsTaskIds") + "." + std::to_string(dep1 + 1), batchOperateCardsTaskIds[dep1]); + } +} + +std::vector ListBatchOperateCardsTasksRequest::getNames() const { + return names_; +} + +void ListBatchOperateCardsTasksRequest::setNames(const std::vector &names) { + names_ = names; + for(int dep1 = 0; dep1 != names.size(); dep1++) { + setParameter(std::string("Names") + "." + std::to_string(dep1 + 1), names[dep1]); + } +} + +long ListBatchOperateCardsTasksRequest::getMaxResults() const { + return maxResults_; +} + +void ListBatchOperateCardsTasksRequest::setMaxResults(long maxResults) { + maxResults_ = maxResults; + setParameter(std::string("MaxResults"), std::to_string(maxResults)); +} + +std::vector ListBatchOperateCardsTasksRequest::getStatuses() const { + return statuses_; +} + +void ListBatchOperateCardsTasksRequest::setStatuses(const std::vector &statuses) { + statuses_ = statuses; + for(int dep1 = 0; dep1 != statuses.size(); dep1++) { + setParameter(std::string("Statuses") + "." + std::to_string(dep1 + 1), statuses[dep1]); + } +} + diff --git a/cc5g/src/model/ListBatchOperateCardsTasksResult.cc b/cc5g/src/model/ListBatchOperateCardsTasksResult.cc new file mode 100644 index 000000000..282e441a0 --- /dev/null +++ b/cc5g/src/model/ListBatchOperateCardsTasksResult.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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +ListBatchOperateCardsTasksResult::ListBatchOperateCardsTasksResult() : + ServiceResult() +{} + +ListBatchOperateCardsTasksResult::ListBatchOperateCardsTasksResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListBatchOperateCardsTasksResult::~ListBatchOperateCardsTasksResult() +{} + +void ListBatchOperateCardsTasksResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allBatchOperateCardsTasksNode = value["BatchOperateCardsTasks"]["BatchOperateCardsTask"]; + for (auto valueBatchOperateCardsTasksBatchOperateCardsTask : allBatchOperateCardsTasksNode) + { + BatchOperateCardsTask batchOperateCardsTasksObject; + if(!valueBatchOperateCardsTasksBatchOperateCardsTask["BatchOperateCardsTaskId"].isNull()) + batchOperateCardsTasksObject.batchOperateCardsTaskId = valueBatchOperateCardsTasksBatchOperateCardsTask["BatchOperateCardsTaskId"].asString(); + if(!valueBatchOperateCardsTasksBatchOperateCardsTask["Status"].isNull()) + batchOperateCardsTasksObject.status = valueBatchOperateCardsTasksBatchOperateCardsTask["Status"].asString(); + if(!valueBatchOperateCardsTasksBatchOperateCardsTask["OperateType"].isNull()) + batchOperateCardsTasksObject.operateType = valueBatchOperateCardsTasksBatchOperateCardsTask["OperateType"].asString(); + if(!valueBatchOperateCardsTasksBatchOperateCardsTask["Threshold"].isNull()) + batchOperateCardsTasksObject.threshold = valueBatchOperateCardsTasksBatchOperateCardsTask["Threshold"].asString(); + if(!valueBatchOperateCardsTasksBatchOperateCardsTask["EffectType"].isNull()) + batchOperateCardsTasksObject.effectType = valueBatchOperateCardsTasksBatchOperateCardsTask["EffectType"].asString(); + if(!valueBatchOperateCardsTasksBatchOperateCardsTask["IccidsOssFilePath"].isNull()) + batchOperateCardsTasksObject.iccidsOssFilePath = valueBatchOperateCardsTasksBatchOperateCardsTask["IccidsOssFilePath"].asString(); + if(!valueBatchOperateCardsTasksBatchOperateCardsTask["OperateResultOssFilePath"].isNull()) + batchOperateCardsTasksObject.operateResultOssFilePath = valueBatchOperateCardsTasksBatchOperateCardsTask["OperateResultOssFilePath"].asString(); + if(!valueBatchOperateCardsTasksBatchOperateCardsTask["Description"].isNull()) + batchOperateCardsTasksObject.description = valueBatchOperateCardsTasksBatchOperateCardsTask["Description"].asString(); + if(!valueBatchOperateCardsTasksBatchOperateCardsTask["Name"].isNull()) + batchOperateCardsTasksObject.name = valueBatchOperateCardsTasksBatchOperateCardsTask["Name"].asString(); + if(!valueBatchOperateCardsTasksBatchOperateCardsTask["CreateTime"].isNull()) + batchOperateCardsTasksObject.createTime = valueBatchOperateCardsTasksBatchOperateCardsTask["CreateTime"].asString(); + auto allWirelessCloudConnectorsNode = valueBatchOperateCardsTasksBatchOperateCardsTask["WirelessCloudConnectors"]["WirelessCloudConnector"]; + for (auto valueBatchOperateCardsTasksBatchOperateCardsTaskWirelessCloudConnectorsWirelessCloudConnector : allWirelessCloudConnectorsNode) + { + BatchOperateCardsTask::WirelessCloudConnector wirelessCloudConnectorsObject; + if(!valueBatchOperateCardsTasksBatchOperateCardsTaskWirelessCloudConnectorsWirelessCloudConnector["WirelessCloudConnectorId"].isNull()) + wirelessCloudConnectorsObject.wirelessCloudConnectorId = valueBatchOperateCardsTasksBatchOperateCardsTaskWirelessCloudConnectorsWirelessCloudConnector["WirelessCloudConnectorId"].asString(); + if(!valueBatchOperateCardsTasksBatchOperateCardsTaskWirelessCloudConnectorsWirelessCloudConnector["Status"].isNull()) + wirelessCloudConnectorsObject.status = valueBatchOperateCardsTasksBatchOperateCardsTaskWirelessCloudConnectorsWirelessCloudConnector["Status"].asString(); + batchOperateCardsTasksObject.wirelessCloudConnectors.push_back(wirelessCloudConnectorsObject); + } + batchOperateCardsTasks_.push_back(batchOperateCardsTasksObject); + } + if(!value["NextToken"].isNull()) + nextToken_ = value["NextToken"].asString(); + if(!value["MaxResults"].isNull()) + maxResults_ = value["MaxResults"].asString(); + if(!value["TotalCount"].isNull()) + totalCount_ = value["TotalCount"].asString(); + +} + +std::string ListBatchOperateCardsTasksResult::getTotalCount()const +{ + return totalCount_; +} + +std::string ListBatchOperateCardsTasksResult::getNextToken()const +{ + return nextToken_; +} + +std::vector ListBatchOperateCardsTasksResult::getBatchOperateCardsTasks()const +{ + return batchOperateCardsTasks_; +} + +std::string ListBatchOperateCardsTasksResult::getMaxResults()const +{ + return maxResults_; +} + diff --git a/cc5g/src/model/ListCardsRequest.cc b/cc5g/src/model/ListCardsRequest.cc new file mode 100644 index 000000000..59409f92b --- /dev/null +++ b/cc5g/src/model/ListCardsRequest.cc @@ -0,0 +1,139 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G::Model::ListCardsRequest; + +ListCardsRequest::ListCardsRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "ListCards") { + setMethod(HttpRequest::Method::Get); +} + +ListCardsRequest::~ListCardsRequest() {} + +std::string ListCardsRequest::getIpAddress() const { + return ipAddress_; +} + +void ListCardsRequest::setIpAddress(const std::string &ipAddress) { + ipAddress_ = ipAddress; + setParameter(std::string("IpAddress"), ipAddress); +} + +std::vector ListCardsRequest::getIccids() const { + return iccids_; +} + +void ListCardsRequest::setIccids(const std::vector &iccids) { + iccids_ = iccids; + for(int dep1 = 0; dep1 != iccids.size(); dep1++) { + setParameter(std::string("Iccids") + "." + std::to_string(dep1 + 1), iccids[dep1]); + } +} + +std::string ListCardsRequest::getIccid() const { + return iccid_; +} + +void ListCardsRequest::setIccid(const std::string &iccid) { + iccid_ = iccid; + setParameter(std::string("Iccid"), iccid); +} + +std::string ListCardsRequest::getNextToken() const { + return nextToken_; +} + +void ListCardsRequest::setNextToken(const std::string &nextToken) { + nextToken_ = nextToken; + setParameter(std::string("NextToken"), nextToken); +} + +bool ListCardsRequest::getLock() const { + return lock_; +} + +void ListCardsRequest::setLock(bool lock) { + lock_ = lock; + setParameter(std::string("Lock"), lock ? "true" : "false"); +} + +std::string ListCardsRequest::getMsisdn() const { + return msisdn_; +} + +void ListCardsRequest::setMsisdn(const std::string &msisdn) { + msisdn_ = msisdn; + setParameter(std::string("Msisdn"), msisdn); +} + +std::string ListCardsRequest::getApn() const { + return apn_; +} + +void ListCardsRequest::setApn(const std::string &apn) { + apn_ = apn; + setParameter(std::string("Apn"), apn); +} + +std::string ListCardsRequest::getNetLinkId() const { + return netLinkId_; +} + +void ListCardsRequest::setNetLinkId(const std::string &netLinkId) { + netLinkId_ = netLinkId; + setParameter(std::string("NetLinkId"), netLinkId); +} + +std::string ListCardsRequest::getWirelessCloudConnectorId() const { + return wirelessCloudConnectorId_; +} + +void ListCardsRequest::setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId) { + wirelessCloudConnectorId_ = wirelessCloudConnectorId; + setParameter(std::string("WirelessCloudConnectorId"), wirelessCloudConnectorId); +} + +bool ListCardsRequest::getOnline() const { + return online_; +} + +void ListCardsRequest::setOnline(bool online) { + online_ = online; + setParameter(std::string("Online"), online ? "true" : "false"); +} + +long ListCardsRequest::getMaxResults() const { + return maxResults_; +} + +void ListCardsRequest::setMaxResults(long maxResults) { + maxResults_ = maxResults; + setParameter(std::string("MaxResults"), std::to_string(maxResults)); +} + +std::vector ListCardsRequest::getStatuses() const { + return statuses_; +} + +void ListCardsRequest::setStatuses(const std::vector &statuses) { + statuses_ = statuses; + for(int dep1 = 0; dep1 != statuses.size(); dep1++) { + setParameter(std::string("Statuses") + "." + std::to_string(dep1 + 1), statuses[dep1]); + } +} + diff --git a/cc5g/src/model/ListCardsResult.cc b/cc5g/src/model/ListCardsResult.cc new file mode 100644 index 000000000..0f7e475b3 --- /dev/null +++ b/cc5g/src/model/ListCardsResult.cc @@ -0,0 +1,112 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +ListCardsResult::ListCardsResult() : + ServiceResult() +{} + +ListCardsResult::ListCardsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListCardsResult::~ListCardsResult() +{} + +void ListCardsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allCardsNode = value["Cards"]["Card"]; + for (auto valueCardsCard : allCardsNode) + { + Card cardsObject; + if(!valueCardsCard["Iccid"].isNull()) + cardsObject.iccid = valueCardsCard["Iccid"].asString(); + if(!valueCardsCard["NetType"].isNull()) + cardsObject.netType = valueCardsCard["NetType"].asString(); + if(!valueCardsCard["APN"].isNull()) + cardsObject.aPN = valueCardsCard["APN"].asString(); + if(!valueCardsCard["ISP"].isNull()) + cardsObject.iSP = valueCardsCard["ISP"].asString(); + if(!valueCardsCard["IpAddress"].isNull()) + cardsObject.ipAddress = valueCardsCard["IpAddress"].asString(); + if(!valueCardsCard["Imsi"].isNull()) + cardsObject.imsi = valueCardsCard["Imsi"].asString(); + if(!valueCardsCard["Imei"].isNull()) + cardsObject.imei = valueCardsCard["Imei"].asString(); + if(!valueCardsCard["Lock"].isNull()) + cardsObject.lock = valueCardsCard["Lock"].asString() == "true"; + if(!valueCardsCard["Spec"].isNull()) + cardsObject.spec = valueCardsCard["Spec"].asString(); + if(!valueCardsCard["Status"].isNull()) + cardsObject.status = valueCardsCard["Status"].asString(); + if(!valueCardsCard["Description"].isNull()) + cardsObject.description = valueCardsCard["Description"].asString(); + if(!valueCardsCard["Name"].isNull()) + cardsObject.name = valueCardsCard["Name"].asString(); + if(!valueCardsCard["UsageDataMonth"].isNull()) + cardsObject.usageDataMonth = std::stol(valueCardsCard["UsageDataMonth"].asString()); + if(!valueCardsCard["OrderId"].isNull()) + cardsObject.orderId = valueCardsCard["OrderId"].asString(); + if(!valueCardsCard["ActivatedTime"].isNull()) + cardsObject.activatedTime = valueCardsCard["ActivatedTime"].asString(); + if(!valueCardsCard["BusinessStatus"].isNull()) + cardsObject.businessStatus = valueCardsCard["BusinessStatus"].asString(); + if(!valueCardsCard["Msisdn"].isNull()) + cardsObject.msisdn = valueCardsCard["Msisdn"].asString(); + if(!valueCardsCard["UsageDataTotal"].isNull()) + cardsObject.usageDataTotal = valueCardsCard["UsageDataTotal"].asString(); + cards_.push_back(cardsObject); + } + if(!value["NextToken"].isNull()) + nextToken_ = value["NextToken"].asString(); + if(!value["MaxResults"].isNull()) + maxResults_ = value["MaxResults"].asString(); + if(!value["TotalCount"].isNull()) + totalCount_ = value["TotalCount"].asString(); + +} + +std::string ListCardsResult::getTotalCount()const +{ + return totalCount_; +} + +std::string ListCardsResult::getNextToken()const +{ + return nextToken_; +} + +std::string ListCardsResult::getMaxResults()const +{ + return maxResults_; +} + +std::vector ListCardsResult::getCards()const +{ + return cards_; +} + diff --git a/cc5g/src/model/ListDataPackagesRequest.cc b/cc5g/src/model/ListDataPackagesRequest.cc new file mode 100644 index 000000000..4a6fd9552 --- /dev/null +++ b/cc5g/src/model/ListDataPackagesRequest.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 + +using AlibabaCloud::CC5G::Model::ListDataPackagesRequest; + +ListDataPackagesRequest::ListDataPackagesRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "ListDataPackages") { + setMethod(HttpRequest::Method::Get); +} + +ListDataPackagesRequest::~ListDataPackagesRequest() {} + +std::string ListDataPackagesRequest::getNextToken() const { + return nextToken_; +} + +void ListDataPackagesRequest::setNextToken(const std::string &nextToken) { + nextToken_ = nextToken; + setParameter(std::string("NextToken"), nextToken); +} + +std::vector ListDataPackagesRequest::getDataPackageIds() const { + return dataPackageIds_; +} + +void ListDataPackagesRequest::setDataPackageIds(const std::vector &dataPackageIds) { + dataPackageIds_ = dataPackageIds; + for(int dep1 = 0; dep1 != dataPackageIds.size(); dep1++) { + setParameter(std::string("DataPackageIds") + "." + std::to_string(dep1 + 1), dataPackageIds[dep1]); + } +} + +std::vector ListDataPackagesRequest::getNames() const { + return names_; +} + +void ListDataPackagesRequest::setNames(const std::vector &names) { + names_ = names; + for(int dep1 = 0; dep1 != names.size(); dep1++) { + setParameter(std::string("Names") + "." + std::to_string(dep1 + 1), names[dep1]); + } +} + +std::string ListDataPackagesRequest::getWirelessCloudConnectorId() const { + return wirelessCloudConnectorId_; +} + +void ListDataPackagesRequest::setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId) { + wirelessCloudConnectorId_ = wirelessCloudConnectorId; + setParameter(std::string("WirelessCloudConnectorId"), wirelessCloudConnectorId); +} + +long ListDataPackagesRequest::getMaxResults() const { + return maxResults_; +} + +void ListDataPackagesRequest::setMaxResults(long maxResults) { + maxResults_ = maxResults; + setParameter(std::string("MaxResults"), std::to_string(maxResults)); +} + +std::vector ListDataPackagesRequest::getStatuses() const { + return statuses_; +} + +void ListDataPackagesRequest::setStatuses(const std::vector &statuses) { + statuses_ = statuses; + for(int dep1 = 0; dep1 != statuses.size(); dep1++) { + setParameter(std::string("Statuses") + "." + std::to_string(dep1 + 1), statuses[dep1]); + } +} + diff --git a/cc5g/src/model/ListDataPackagesResult.cc b/cc5g/src/model/ListDataPackagesResult.cc new file mode 100644 index 000000000..4a569cb61 --- /dev/null +++ b/cc5g/src/model/ListDataPackagesResult.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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +ListDataPackagesResult::ListDataPackagesResult() : + ServiceResult() +{} + +ListDataPackagesResult::ListDataPackagesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDataPackagesResult::~ListDataPackagesResult() +{} + +void ListDataPackagesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataPackagesNode = value["DataPackages"]["DataPackage"]; + for (auto valueDataPackagesDataPackage : allDataPackagesNode) + { + DataPackage dataPackagesObject; + if(!valueDataPackagesDataPackage["DataPackageId"].isNull()) + dataPackagesObject.dataPackageId = valueDataPackagesDataPackage["DataPackageId"].asString(); + if(!valueDataPackagesDataPackage["Status"].isNull()) + dataPackagesObject.status = valueDataPackagesDataPackage["Status"].asString(); + if(!valueDataPackagesDataPackage["Name"].isNull()) + dataPackagesObject.name = valueDataPackagesDataPackage["Name"].asString(); + if(!valueDataPackagesDataPackage["ISP"].isNull()) + dataPackagesObject.iSP = valueDataPackagesDataPackage["ISP"].asString(); + if(!valueDataPackagesDataPackage["Size"].isNull()) + dataPackagesObject.size = valueDataPackagesDataPackage["Size"].asString(); + if(!valueDataPackagesDataPackage["CardCount"].isNull()) + dataPackagesObject.cardCount = valueDataPackagesDataPackage["CardCount"].asString(); + if(!valueDataPackagesDataPackage["CreateTime"].isNull()) + dataPackagesObject.createTime = valueDataPackagesDataPackage["CreateTime"].asString(); + if(!valueDataPackagesDataPackage["ExpiredTime"].isNull()) + dataPackagesObject.expiredTime = valueDataPackagesDataPackage["ExpiredTime"].asString(); + dataPackages_.push_back(dataPackagesObject); + } + if(!value["NextToken"].isNull()) + nextToken_ = value["NextToken"].asString(); + if(!value["MaxResults"].isNull()) + maxResults_ = value["MaxResults"].asString(); + if(!value["TotalCount"].isNull()) + totalCount_ = value["TotalCount"].asString(); + +} + +std::string ListDataPackagesResult::getTotalCount()const +{ + return totalCount_; +} + +std::string ListDataPackagesResult::getNextToken()const +{ + return nextToken_; +} + +std::string ListDataPackagesResult::getMaxResults()const +{ + return maxResults_; +} + +std::vector ListDataPackagesResult::getDataPackages()const +{ + return dataPackages_; +} + diff --git a/cc5g/src/model/ListDiagnoseInfoForSingleCardRequest.cc b/cc5g/src/model/ListDiagnoseInfoForSingleCardRequest.cc new file mode 100644 index 000000000..7742ebdf3 --- /dev/null +++ b/cc5g/src/model/ListDiagnoseInfoForSingleCardRequest.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::CC5G::Model::ListDiagnoseInfoForSingleCardRequest; + +ListDiagnoseInfoForSingleCardRequest::ListDiagnoseInfoForSingleCardRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "ListDiagnoseInfoForSingleCard") { + setMethod(HttpRequest::Method::Post); +} + +ListDiagnoseInfoForSingleCardRequest::~ListDiagnoseInfoForSingleCardRequest() {} + +std::string ListDiagnoseInfoForSingleCardRequest::getSource() const { + return source_; +} + +void ListDiagnoseInfoForSingleCardRequest::setSource(const std::string &source) { + source_ = source; + setParameter(std::string("Source"), source); +} + +std::string ListDiagnoseInfoForSingleCardRequest::getNextToken() const { + return nextToken_; +} + +void ListDiagnoseInfoForSingleCardRequest::setNextToken(const std::string &nextToken) { + nextToken_ = nextToken; + setParameter(std::string("NextToken"), nextToken); +} + +std::string ListDiagnoseInfoForSingleCardRequest::getSourceType() const { + return sourceType_; +} + +void ListDiagnoseInfoForSingleCardRequest::setSourceType(const std::string &sourceType) { + sourceType_ = sourceType; + setParameter(std::string("SourceType"), sourceType); +} + +std::string ListDiagnoseInfoForSingleCardRequest::getRegionNo() const { + return regionNo_; +} + +void ListDiagnoseInfoForSingleCardRequest::setRegionNo(const std::string ®ionNo) { + regionNo_ = regionNo; + setParameter(std::string("RegionNo"), regionNo); +} + +std::string ListDiagnoseInfoForSingleCardRequest::getWirelessCloudConnectorId() const { + return wirelessCloudConnectorId_; +} + +void ListDiagnoseInfoForSingleCardRequest::setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId) { + wirelessCloudConnectorId_ = wirelessCloudConnectorId; + setParameter(std::string("WirelessCloudConnectorId"), wirelessCloudConnectorId); +} + +int ListDiagnoseInfoForSingleCardRequest::getMaxResults() const { + return maxResults_; +} + +void ListDiagnoseInfoForSingleCardRequest::setMaxResults(int maxResults) { + maxResults_ = maxResults; + setParameter(std::string("MaxResults"), std::to_string(maxResults)); +} + +std::string ListDiagnoseInfoForSingleCardRequest::getStatus() const { + return status_; +} + +void ListDiagnoseInfoForSingleCardRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); +} + diff --git a/cc5g/src/model/ListDiagnoseInfoForSingleCardResult.cc b/cc5g/src/model/ListDiagnoseInfoForSingleCardResult.cc new file mode 100644 index 000000000..21ba33414 --- /dev/null +++ b/cc5g/src/model/ListDiagnoseInfoForSingleCardResult.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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +ListDiagnoseInfoForSingleCardResult::ListDiagnoseInfoForSingleCardResult() : + ServiceResult() +{} + +ListDiagnoseInfoForSingleCardResult::ListDiagnoseInfoForSingleCardResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDiagnoseInfoForSingleCardResult::~ListDiagnoseInfoForSingleCardResult() +{} + +void ListDiagnoseInfoForSingleCardResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDiagnoseInfoNode = value["DiagnoseInfo"]["diagnoseInfoItem"]; + for (auto valueDiagnoseInfodiagnoseInfoItem : allDiagnoseInfoNode) + { + DiagnoseInfoItem diagnoseInfoObject; + if(!valueDiagnoseInfodiagnoseInfoItem["WirelessCloudConnectorId"].isNull()) + diagnoseInfoObject.wirelessCloudConnectorId = valueDiagnoseInfodiagnoseInfoItem["WirelessCloudConnectorId"].asString(); + if(!valueDiagnoseInfodiagnoseInfoItem["CardIp"].isNull()) + diagnoseInfoObject.cardIp = valueDiagnoseInfodiagnoseInfoItem["CardIp"].asString(); + if(!valueDiagnoseInfodiagnoseInfoItem["IccId"].isNull()) + diagnoseInfoObject.iccId = valueDiagnoseInfodiagnoseInfoItem["IccId"].asString(); + if(!valueDiagnoseInfodiagnoseInfoItem["SourceType"].isNull()) + diagnoseInfoObject.sourceType = valueDiagnoseInfodiagnoseInfoItem["SourceType"].asString(); + if(!valueDiagnoseInfodiagnoseInfoItem["Source"].isNull()) + diagnoseInfoObject.source = valueDiagnoseInfodiagnoseInfoItem["Source"].asString(); + if(!valueDiagnoseInfodiagnoseInfoItem["DestinationType"].isNull()) + diagnoseInfoObject.destinationType = valueDiagnoseInfodiagnoseInfoItem["DestinationType"].asString(); + if(!valueDiagnoseInfodiagnoseInfoItem["Destination"].isNull()) + diagnoseInfoObject.destination = valueDiagnoseInfodiagnoseInfoItem["Destination"].asString(); + if(!valueDiagnoseInfodiagnoseInfoItem["BeginTime"].isNull()) + diagnoseInfoObject.beginTime = std::stol(valueDiagnoseInfodiagnoseInfoItem["BeginTime"].asString()); + if(!valueDiagnoseInfodiagnoseInfoItem["EndTime"].isNull()) + diagnoseInfoObject.endTime = std::stol(valueDiagnoseInfodiagnoseInfoItem["EndTime"].asString()); + if(!valueDiagnoseInfodiagnoseInfoItem["Status"].isNull()) + diagnoseInfoObject.status = valueDiagnoseInfodiagnoseInfoItem["Status"].asString(); + if(!valueDiagnoseInfodiagnoseInfoItem["DiagnoseTime"].isNull()) + diagnoseInfoObject.diagnoseTime = std::stol(valueDiagnoseInfodiagnoseInfoItem["DiagnoseTime"].asString()); + if(!valueDiagnoseInfodiagnoseInfoItem["DiagnoseTaskId"].isNull()) + diagnoseInfoObject.diagnoseTaskId = valueDiagnoseInfodiagnoseInfoItem["DiagnoseTaskId"].asString(); + diagnoseInfo_.push_back(diagnoseInfoObject); + } + if(!value["NextToken"].isNull()) + nextToken_ = value["NextToken"].asString(); + if(!value["MaxResults"].isNull()) + maxResults_ = std::stol(value["MaxResults"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +std::vector ListDiagnoseInfoForSingleCardResult::getDiagnoseInfo()const +{ + return diagnoseInfo_; +} + +long ListDiagnoseInfoForSingleCardResult::getTotalCount()const +{ + return totalCount_; +} + +std::string ListDiagnoseInfoForSingleCardResult::getNextToken()const +{ + return nextToken_; +} + +long ListDiagnoseInfoForSingleCardResult::getMaxResults()const +{ + return maxResults_; +} + diff --git a/cc5g/src/model/ListGroupAuthorizationRulesRequest.cc b/cc5g/src/model/ListGroupAuthorizationRulesRequest.cc new file mode 100644 index 000000000..96738c88c --- /dev/null +++ b/cc5g/src/model/ListGroupAuthorizationRulesRequest.cc @@ -0,0 +1,150 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G::Model::ListGroupAuthorizationRulesRequest; + +ListGroupAuthorizationRulesRequest::ListGroupAuthorizationRulesRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "ListGroupAuthorizationRules") { + setMethod(HttpRequest::Method::Get); +} + +ListGroupAuthorizationRulesRequest::~ListGroupAuthorizationRulesRequest() {} + +std::string ListGroupAuthorizationRulesRequest::getWirelessCloudConnectorGroupId() const { + return wirelessCloudConnectorGroupId_; +} + +void ListGroupAuthorizationRulesRequest::setWirelessCloudConnectorGroupId(const std::string &wirelessCloudConnectorGroupId) { + wirelessCloudConnectorGroupId_ = wirelessCloudConnectorGroupId; + setParameter(std::string("WirelessCloudConnectorGroupId"), wirelessCloudConnectorGroupId); +} + +std::string ListGroupAuthorizationRulesRequest::getDestinationType() const { + return destinationType_; +} + +void ListGroupAuthorizationRulesRequest::setDestinationType(const std::string &destinationType) { + destinationType_ = destinationType; + setParameter(std::string("DestinationType"), destinationType); +} + +std::string ListGroupAuthorizationRulesRequest::getDestination() const { + return destination_; +} + +void ListGroupAuthorizationRulesRequest::setDestination(const std::string &destination) { + destination_ = destination; + setParameter(std::string("Destination"), destination); +} + +std::string ListGroupAuthorizationRulesRequest::getType() const { + return type_; +} + +void ListGroupAuthorizationRulesRequest::setType(const std::string &type) { + type_ = type; + setParameter(std::string("Type"), type); +} + +std::string ListGroupAuthorizationRulesRequest::getProtocol() const { + return protocol_; +} + +void ListGroupAuthorizationRulesRequest::setProtocol(const std::string &protocol) { + protocol_ = protocol; + setParameter(std::string("Protocol"), protocol); +} + +std::vector ListGroupAuthorizationRulesRequest::getAuthorizationRuleIds() const { + return authorizationRuleIds_; +} + +void ListGroupAuthorizationRulesRequest::setAuthorizationRuleIds(const std::vector &authorizationRuleIds) { + authorizationRuleIds_ = authorizationRuleIds; + for(int dep1 = 0; dep1 != authorizationRuleIds.size(); dep1++) { + setParameter(std::string("AuthorizationRuleIds") + "." + std::to_string(dep1 + 1), authorizationRuleIds[dep1]); + } +} + +std::string ListGroupAuthorizationRulesRequest::getNextToken() const { + return nextToken_; +} + +void ListGroupAuthorizationRulesRequest::setNextToken(const std::string &nextToken) { + nextToken_ = nextToken; + setParameter(std::string("NextToken"), nextToken); +} + +std::string ListGroupAuthorizationRulesRequest::getPolicy() const { + return policy_; +} + +void ListGroupAuthorizationRulesRequest::setPolicy(const std::string &policy) { + policy_ = policy; + setParameter(std::string("Policy"), policy); +} + +bool ListGroupAuthorizationRulesRequest::getDns() const { + return dns_; +} + +void ListGroupAuthorizationRulesRequest::setDns(bool dns) { + dns_ = dns; + setParameter(std::string("Dns"), dns ? "true" : "false"); +} + +std::string ListGroupAuthorizationRulesRequest::getDestinationPort() const { + return destinationPort_; +} + +void ListGroupAuthorizationRulesRequest::setDestinationPort(const std::string &destinationPort) { + destinationPort_ = destinationPort; + setParameter(std::string("DestinationPort"), destinationPort); +} + +std::vector ListGroupAuthorizationRulesRequest::getNames() const { + return names_; +} + +void ListGroupAuthorizationRulesRequest::setNames(const std::vector &names) { + names_ = names; + for(int dep1 = 0; dep1 != names.size(); dep1++) { + setParameter(std::string("Names") + "." + std::to_string(dep1 + 1), names[dep1]); + } +} + +long ListGroupAuthorizationRulesRequest::getMaxResults() const { + return maxResults_; +} + +void ListGroupAuthorizationRulesRequest::setMaxResults(long maxResults) { + maxResults_ = maxResults; + setParameter(std::string("MaxResults"), std::to_string(maxResults)); +} + +std::vector ListGroupAuthorizationRulesRequest::getStatuses() const { + return statuses_; +} + +void ListGroupAuthorizationRulesRequest::setStatuses(const std::vector &statuses) { + statuses_ = statuses; + for(int dep1 = 0; dep1 != statuses.size(); dep1++) { + setParameter(std::string("Statuses") + "." + std::to_string(dep1 + 1), statuses[dep1]); + } +} + diff --git a/cc5g/src/model/ListGroupAuthorizationRulesResult.cc b/cc5g/src/model/ListGroupAuthorizationRulesResult.cc new file mode 100644 index 000000000..dca5764c9 --- /dev/null +++ b/cc5g/src/model/ListGroupAuthorizationRulesResult.cc @@ -0,0 +1,102 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +ListGroupAuthorizationRulesResult::ListGroupAuthorizationRulesResult() : + ServiceResult() +{} + +ListGroupAuthorizationRulesResult::ListGroupAuthorizationRulesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListGroupAuthorizationRulesResult::~ListGroupAuthorizationRulesResult() +{} + +void ListGroupAuthorizationRulesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allGroupAuthorizationRulesNode = value["GroupAuthorizationRules"]["GroupAuthorizationRule"]; + for (auto valueGroupAuthorizationRulesGroupAuthorizationRule : allGroupAuthorizationRulesNode) + { + GroupAuthorizationRule groupAuthorizationRulesObject; + if(!valueGroupAuthorizationRulesGroupAuthorizationRule["AuthorizationRuleId"].isNull()) + groupAuthorizationRulesObject.authorizationRuleId = valueGroupAuthorizationRulesGroupAuthorizationRule["AuthorizationRuleId"].asString(); + if(!valueGroupAuthorizationRulesGroupAuthorizationRule["Status"].isNull()) + groupAuthorizationRulesObject.status = valueGroupAuthorizationRulesGroupAuthorizationRule["Status"].asString(); + if(!valueGroupAuthorizationRulesGroupAuthorizationRule["Name"].isNull()) + groupAuthorizationRulesObject.name = valueGroupAuthorizationRulesGroupAuthorizationRule["Name"].asString(); + if(!valueGroupAuthorizationRulesGroupAuthorizationRule["Description"].isNull()) + groupAuthorizationRulesObject.description = valueGroupAuthorizationRulesGroupAuthorizationRule["Description"].asString(); + if(!valueGroupAuthorizationRulesGroupAuthorizationRule["Type"].isNull()) + groupAuthorizationRulesObject.type = valueGroupAuthorizationRulesGroupAuthorizationRule["Type"].asString(); + if(!valueGroupAuthorizationRulesGroupAuthorizationRule["SourceCidr"].isNull()) + groupAuthorizationRulesObject.sourceCidr = valueGroupAuthorizationRulesGroupAuthorizationRule["SourceCidr"].asString(); + if(!valueGroupAuthorizationRulesGroupAuthorizationRule["DestinationType"].isNull()) + groupAuthorizationRulesObject.destinationType = valueGroupAuthorizationRulesGroupAuthorizationRule["DestinationType"].asString(); + if(!valueGroupAuthorizationRulesGroupAuthorizationRule["Protocol"].isNull()) + groupAuthorizationRulesObject.protocol = valueGroupAuthorizationRulesGroupAuthorizationRule["Protocol"].asString(); + if(!valueGroupAuthorizationRulesGroupAuthorizationRule["DestinationPort"].isNull()) + groupAuthorizationRulesObject.destinationPort = valueGroupAuthorizationRulesGroupAuthorizationRule["DestinationPort"].asString(); + if(!valueGroupAuthorizationRulesGroupAuthorizationRule["Destination"].isNull()) + groupAuthorizationRulesObject.destination = valueGroupAuthorizationRulesGroupAuthorizationRule["Destination"].asString(); + if(!valueGroupAuthorizationRulesGroupAuthorizationRule["Policy"].isNull()) + groupAuthorizationRulesObject.policy = valueGroupAuthorizationRulesGroupAuthorizationRule["Policy"].asString(); + if(!valueGroupAuthorizationRulesGroupAuthorizationRule["Dns"].isNull()) + groupAuthorizationRulesObject.dns = valueGroupAuthorizationRulesGroupAuthorizationRule["Dns"].asString() == "true"; + if(!valueGroupAuthorizationRulesGroupAuthorizationRule["CreateTime"].isNull()) + groupAuthorizationRulesObject.createTime = valueGroupAuthorizationRulesGroupAuthorizationRule["CreateTime"].asString(); + groupAuthorizationRules_.push_back(groupAuthorizationRulesObject); + } + if(!value["NextToken"].isNull()) + nextToken_ = value["NextToken"].asString(); + if(!value["MaxResults"].isNull()) + maxResults_ = value["MaxResults"].asString(); + if(!value["TotalCount"].isNull()) + totalCount_ = value["TotalCount"].asString(); + +} + +std::vector ListGroupAuthorizationRulesResult::getGroupAuthorizationRules()const +{ + return groupAuthorizationRules_; +} + +std::string ListGroupAuthorizationRulesResult::getTotalCount()const +{ + return totalCount_; +} + +std::string ListGroupAuthorizationRulesResult::getNextToken()const +{ + return nextToken_; +} + +std::string ListGroupAuthorizationRulesResult::getMaxResults()const +{ + return maxResults_; +} + diff --git a/cc5g/src/model/ListIoTCloudConnectorBackhaulRouteRequest.cc b/cc5g/src/model/ListIoTCloudConnectorBackhaulRouteRequest.cc new file mode 100644 index 000000000..1b529bdea --- /dev/null +++ b/cc5g/src/model/ListIoTCloudConnectorBackhaulRouteRequest.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::CC5G::Model::ListIoTCloudConnectorBackhaulRouteRequest; + +ListIoTCloudConnectorBackhaulRouteRequest::ListIoTCloudConnectorBackhaulRouteRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "ListIoTCloudConnectorBackhaulRoute") { + setMethod(HttpRequest::Method::Get); +} + +ListIoTCloudConnectorBackhaulRouteRequest::~ListIoTCloudConnectorBackhaulRouteRequest() {} + +std::string ListIoTCloudConnectorBackhaulRouteRequest::getNetLinkId() const { + return netLinkId_; +} + +void ListIoTCloudConnectorBackhaulRouteRequest::setNetLinkId(const std::string &netLinkId) { + netLinkId_ = netLinkId; + setParameter(std::string("NetLinkId"), netLinkId); +} + +std::string ListIoTCloudConnectorBackhaulRouteRequest::getRegionId() const { + return regionId_; +} + +void ListIoTCloudConnectorBackhaulRouteRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string ListIoTCloudConnectorBackhaulRouteRequest::getWirelessCloudConnectorId() const { + return wirelessCloudConnectorId_; +} + +void ListIoTCloudConnectorBackhaulRouteRequest::setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId) { + wirelessCloudConnectorId_ = wirelessCloudConnectorId; + setParameter(std::string("WirelessCloudConnectorId"), wirelessCloudConnectorId); +} + diff --git a/cc5g/src/model/ListIoTCloudConnectorBackhaulRouteResult.cc b/cc5g/src/model/ListIoTCloudConnectorBackhaulRouteResult.cc new file mode 100644 index 000000000..b4f1c72cf --- /dev/null +++ b/cc5g/src/model/ListIoTCloudConnectorBackhaulRouteResult.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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +ListIoTCloudConnectorBackhaulRouteResult::ListIoTCloudConnectorBackhaulRouteResult() : + ServiceResult() +{} + +ListIoTCloudConnectorBackhaulRouteResult::ListIoTCloudConnectorBackhaulRouteResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListIoTCloudConnectorBackhaulRouteResult::~ListIoTCloudConnectorBackhaulRouteResult() +{} + +void ListIoTCloudConnectorBackhaulRouteResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allRoutesNode = value["Routes"]["RouteEntry"]; + for (auto valueRoutesRouteEntry : allRoutesNode) + { + RouteEntry routesObject; + if(!valueRoutesRouteEntry["DestinationCidrBlock"].isNull()) + routesObject.destinationCidrBlock = valueRoutesRouteEntry["DestinationCidrBlock"].asString(); + if(!valueRoutesRouteEntry["NextHopId"].isNull()) + routesObject.nextHopId = valueRoutesRouteEntry["NextHopId"].asString(); + if(!valueRoutesRouteEntry["NextHopType"].isNull()) + routesObject.nextHopType = valueRoutesRouteEntry["NextHopType"].asString(); + if(!valueRoutesRouteEntry["Description"].isNull()) + routesObject.description = valueRoutesRouteEntry["Description"].asString(); + if(!valueRoutesRouteEntry["Status"].isNull()) + routesObject.status = valueRoutesRouteEntry["Status"].asString(); + routes_.push_back(routesObject); + } + if(!value["NetLinkId"].isNull()) + netLinkId_ = value["NetLinkId"].asString(); + +} + +std::vector ListIoTCloudConnectorBackhaulRouteResult::getRoutes()const +{ + return routes_; +} + +std::string ListIoTCloudConnectorBackhaulRouteResult::getNetLinkId()const +{ + return netLinkId_; +} + diff --git a/cc5g/src/model/ListOrdersRequest.cc b/cc5g/src/model/ListOrdersRequest.cc new file mode 100644 index 000000000..277feaf4a --- /dev/null +++ b/cc5g/src/model/ListOrdersRequest.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 + +using AlibabaCloud::CC5G::Model::ListOrdersRequest; + +ListOrdersRequest::ListOrdersRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "ListOrders") { + setMethod(HttpRequest::Method::Get); +} + +ListOrdersRequest::~ListOrdersRequest() {} + +std::string ListOrdersRequest::getNextToken() const { + return nextToken_; +} + +void ListOrdersRequest::setNextToken(const std::string &nextToken) { + nextToken_ = nextToken; + setParameter(std::string("NextToken"), nextToken); +} + +std::string ListOrdersRequest::getOrderAction() const { + return orderAction_; +} + +void ListOrdersRequest::setOrderAction(const std::string &orderAction) { + orderAction_ = orderAction; + setParameter(std::string("OrderAction"), orderAction); +} + +std::string ListOrdersRequest::getWirelessCloudConnectorId() const { + return wirelessCloudConnectorId_; +} + +void ListOrdersRequest::setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId) { + wirelessCloudConnectorId_ = wirelessCloudConnectorId; + setParameter(std::string("WirelessCloudConnectorId"), wirelessCloudConnectorId); +} + +std::vector ListOrdersRequest::getOrderIds() const { + return orderIds_; +} + +void ListOrdersRequest::setOrderIds(const std::vector &orderIds) { + orderIds_ = orderIds; + for(int dep1 = 0; dep1 != orderIds.size(); dep1++) { + setParameter(std::string("OrderIds") + "." + std::to_string(dep1 + 1), orderIds[dep1]); + } +} + +long ListOrdersRequest::getMaxResults() const { + return maxResults_; +} + +void ListOrdersRequest::setMaxResults(long maxResults) { + maxResults_ = maxResults; + setParameter(std::string("MaxResults"), std::to_string(maxResults)); +} + +std::vector ListOrdersRequest::getStatuses() const { + return statuses_; +} + +void ListOrdersRequest::setStatuses(const std::vector &statuses) { + statuses_ = statuses; + for(int dep1 = 0; dep1 != statuses.size(); dep1++) { + setParameter(std::string("Statuses") + "." + std::to_string(dep1 + 1), statuses[dep1]); + } +} + diff --git a/cc5g/src/model/ListOrdersResult.cc b/cc5g/src/model/ListOrdersResult.cc new file mode 100644 index 000000000..84ab3097f --- /dev/null +++ b/cc5g/src/model/ListOrdersResult.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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +ListOrdersResult::ListOrdersResult() : + ServiceResult() +{} + +ListOrdersResult::ListOrdersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListOrdersResult::~ListOrdersResult() +{} + +void ListOrdersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allOrdersNode = value["Orders"]["Order"]; + for (auto valueOrdersOrder : allOrdersNode) + { + Order ordersObject; + if(!valueOrdersOrder["OrderId"].isNull()) + ordersObject.orderId = valueOrdersOrder["OrderId"].asString(); + if(!valueOrdersOrder["Status"].isNull()) + ordersObject.status = valueOrdersOrder["Status"].asString(); + if(!valueOrdersOrder["Action"].isNull()) + ordersObject.action = valueOrdersOrder["Action"].asString(); + if(!valueOrdersOrder["Description"].isNull()) + ordersObject.description = valueOrdersOrder["Description"].asString(); + if(!valueOrdersOrder["LogisticsId"].isNull()) + ordersObject.logisticsId = valueOrdersOrder["LogisticsId"].asString(); + if(!valueOrdersOrder["LogisticsStatus"].isNull()) + ordersObject.logisticsStatus = valueOrdersOrder["LogisticsStatus"].asString(); + if(!valueOrdersOrder["LogisticsType"].isNull()) + ordersObject.logisticsType = valueOrdersOrder["LogisticsType"].asString(); + if(!valueOrdersOrder["LogisticsUpdateTime"].isNull()) + ordersObject.logisticsUpdateTime = valueOrdersOrder["LogisticsUpdateTime"].asString(); + if(!valueOrdersOrder["CardCount"].isNull()) + ordersObject.cardCount = valueOrdersOrder["CardCount"].asString(); + if(!valueOrdersOrder["ContactName"].isNull()) + ordersObject.contactName = valueOrdersOrder["ContactName"].asString(); + if(!valueOrdersOrder["ContactPhone"].isNull()) + ordersObject.contactPhone = valueOrdersOrder["ContactPhone"].asString(); + if(!valueOrdersOrder["PostAddress"].isNull()) + ordersObject.postAddress = valueOrdersOrder["PostAddress"].asString(); + if(!valueOrdersOrder["CreateTime"].isNull()) + ordersObject.createTime = valueOrdersOrder["CreateTime"].asString(); + if(!valueOrdersOrder["PayTime"].isNull()) + ordersObject.payTime = valueOrdersOrder["PayTime"].asString(); + if(!valueOrdersOrder["RegionId"].isNull()) + ordersObject.regionId = valueOrdersOrder["RegionId"].asString(); + if(!valueOrdersOrder["CardType"].isNull()) + ordersObject.cardType = valueOrdersOrder["CardType"].asString(); + if(!valueOrdersOrder["CardNetType"].isNull()) + ordersObject.cardNetType = valueOrdersOrder["CardNetType"].asString(); + orders_.push_back(ordersObject); + } + if(!value["NextToken"].isNull()) + nextToken_ = value["NextToken"].asString(); + if(!value["MaxResults"].isNull()) + maxResults_ = value["MaxResults"].asString(); + if(!value["TotalCount"].isNull()) + totalCount_ = value["TotalCount"].asString(); + +} + +std::vector ListOrdersResult::getOrders()const +{ + return orders_; +} + +std::string ListOrdersResult::getTotalCount()const +{ + return totalCount_; +} + +std::string ListOrdersResult::getNextToken()const +{ + return nextToken_; +} + +std::string ListOrdersResult::getMaxResults()const +{ + return maxResults_; +} + diff --git a/cc5g/src/model/ListRegionsRequest.cc b/cc5g/src/model/ListRegionsRequest.cc new file mode 100644 index 000000000..dcda074d2 --- /dev/null +++ b/cc5g/src/model/ListRegionsRequest.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::CC5G::Model::ListRegionsRequest; + +ListRegionsRequest::ListRegionsRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "ListRegions") { + setMethod(HttpRequest::Method::Get); +} + +ListRegionsRequest::~ListRegionsRequest() {} + +std::string ListRegionsRequest::getRegionId() const { + return regionId_; +} + +void ListRegionsRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string ListRegionsRequest::getAcceptLanguage() const { + return acceptLanguage_; +} + +void ListRegionsRequest::setAcceptLanguage(const std::string &acceptLanguage) { + acceptLanguage_ = acceptLanguage; + setParameter(std::string("AcceptLanguage"), acceptLanguage); +} + diff --git a/cc5g/src/model/ListRegionsResult.cc b/cc5g/src/model/ListRegionsResult.cc new file mode 100644 index 000000000..521b2e623 --- /dev/null +++ b/cc5g/src/model/ListRegionsResult.cc @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +ListRegionsResult::ListRegionsResult() : + ServiceResult() +{} + +ListRegionsResult::ListRegionsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListRegionsResult::~ListRegionsResult() +{} + +void ListRegionsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allRegionsNode = value["Regions"]["Region"]; + for (auto valueRegionsRegion : allRegionsNode) + { + Region regionsObject; + if(!valueRegionsRegion["RegionId"].isNull()) + regionsObject.regionId = valueRegionsRegion["RegionId"].asString(); + if(!valueRegionsRegion["LocalName"].isNull()) + regionsObject.localName = valueRegionsRegion["LocalName"].asString(); + if(!valueRegionsRegion["RegionEndpoint"].isNull()) + regionsObject.regionEndpoint = valueRegionsRegion["RegionEndpoint"].asString(); + regions_.push_back(regionsObject); + } + +} + +std::vector ListRegionsResult::getRegions()const +{ + return regions_; +} + diff --git a/cc5g/src/model/ListWirelessCloudConnectorGroupsRequest.cc b/cc5g/src/model/ListWirelessCloudConnectorGroupsRequest.cc new file mode 100644 index 000000000..308f97c1c --- /dev/null +++ b/cc5g/src/model/ListWirelessCloudConnectorGroupsRequest.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 + +using AlibabaCloud::CC5G::Model::ListWirelessCloudConnectorGroupsRequest; + +ListWirelessCloudConnectorGroupsRequest::ListWirelessCloudConnectorGroupsRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "ListWirelessCloudConnectorGroups") { + setMethod(HttpRequest::Method::Get); +} + +ListWirelessCloudConnectorGroupsRequest::~ListWirelessCloudConnectorGroupsRequest() {} + +std::vector ListWirelessCloudConnectorGroupsRequest::getWirelessCloudConnectorGroupStatus() const { + return wirelessCloudConnectorGroupStatus_; +} + +void ListWirelessCloudConnectorGroupsRequest::setWirelessCloudConnectorGroupStatus(const std::vector &wirelessCloudConnectorGroupStatus) { + wirelessCloudConnectorGroupStatus_ = wirelessCloudConnectorGroupStatus; + for(int dep1 = 0; dep1 != wirelessCloudConnectorGroupStatus.size(); dep1++) { + setParameter(std::string("WirelessCloudConnectorGroupStatus") + "." + std::to_string(dep1 + 1), wirelessCloudConnectorGroupStatus[dep1]); + } +} + +std::vector ListWirelessCloudConnectorGroupsRequest::getWirelessCloudConnectorGroupIds() const { + return wirelessCloudConnectorGroupIds_; +} + +void ListWirelessCloudConnectorGroupsRequest::setWirelessCloudConnectorGroupIds(const std::vector &wirelessCloudConnectorGroupIds) { + wirelessCloudConnectorGroupIds_ = wirelessCloudConnectorGroupIds; + for(int dep1 = 0; dep1 != wirelessCloudConnectorGroupIds.size(); dep1++) { + setParameter(std::string("WirelessCloudConnectorGroupIds") + "." + std::to_string(dep1 + 1), wirelessCloudConnectorGroupIds[dep1]); + } +} + +std::string ListWirelessCloudConnectorGroupsRequest::getRegionId() const { + return regionId_; +} + +void ListWirelessCloudConnectorGroupsRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string ListWirelessCloudConnectorGroupsRequest::getNextToken() const { + return nextToken_; +} + +void ListWirelessCloudConnectorGroupsRequest::setNextToken(const std::string &nextToken) { + nextToken_ = nextToken; + setParameter(std::string("NextToken"), nextToken); +} + +std::vector ListWirelessCloudConnectorGroupsRequest::getWirelessCloudConnectorGroupNames() const { + return wirelessCloudConnectorGroupNames_; +} + +void ListWirelessCloudConnectorGroupsRequest::setWirelessCloudConnectorGroupNames(const std::vector &wirelessCloudConnectorGroupNames) { + wirelessCloudConnectorGroupNames_ = wirelessCloudConnectorGroupNames; + for(int dep1 = 0; dep1 != wirelessCloudConnectorGroupNames.size(); dep1++) { + setParameter(std::string("WirelessCloudConnectorGroupNames") + "." + std::to_string(dep1 + 1), wirelessCloudConnectorGroupNames[dep1]); + } +} + +long ListWirelessCloudConnectorGroupsRequest::getMaxResults() const { + return maxResults_; +} + +void ListWirelessCloudConnectorGroupsRequest::setMaxResults(long maxResults) { + maxResults_ = maxResults; + setParameter(std::string("MaxResults"), std::to_string(maxResults)); +} + diff --git a/cc5g/src/model/ListWirelessCloudConnectorGroupsResult.cc b/cc5g/src/model/ListWirelessCloudConnectorGroupsResult.cc new file mode 100644 index 000000000..fa044a930 --- /dev/null +++ b/cc5g/src/model/ListWirelessCloudConnectorGroupsResult.cc @@ -0,0 +1,118 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +ListWirelessCloudConnectorGroupsResult::ListWirelessCloudConnectorGroupsResult() : + ServiceResult() +{} + +ListWirelessCloudConnectorGroupsResult::ListWirelessCloudConnectorGroupsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListWirelessCloudConnectorGroupsResult::~ListWirelessCloudConnectorGroupsResult() +{} + +void ListWirelessCloudConnectorGroupsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allWirelessCloudConnectorGroupsNode = value["WirelessCloudConnectorGroups"]["WirelessCloudConnectorGroup"]; + for (auto valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroup : allWirelessCloudConnectorGroupsNode) + { + WirelessCloudConnectorGroup wirelessCloudConnectorGroupsObject; + if(!valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroup["WirelessCloudConnectorGroupId"].isNull()) + wirelessCloudConnectorGroupsObject.wirelessCloudConnectorGroupId = valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroup["WirelessCloudConnectorGroupId"].asString(); + if(!valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroup["Status"].isNull()) + wirelessCloudConnectorGroupsObject.status = valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroup["Status"].asString(); + if(!valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroup["Name"].isNull()) + wirelessCloudConnectorGroupsObject.name = valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroup["Name"].asString(); + if(!valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroup["Description"].isNull()) + wirelessCloudConnectorGroupsObject.description = valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroup["Description"].asString(); + if(!valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroup["RegionId"].isNull()) + wirelessCloudConnectorGroupsObject.regionId = valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroup["RegionId"].asString(); + if(!valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroup["CreateTime"].isNull()) + wirelessCloudConnectorGroupsObject.createTime = valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroup["CreateTime"].asString(); + auto allWirelessCloudConnectorsNode = valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroup["WirelessCloudConnectors"]["WirelessCloudConnector"]; + for (auto valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroupWirelessCloudConnectorsWirelessCloudConnector : allWirelessCloudConnectorsNode) + { + WirelessCloudConnectorGroup::WirelessCloudConnector wirelessCloudConnectorsObject; + if(!valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroupWirelessCloudConnectorsWirelessCloudConnector["WirelessCloudConnectorId"].isNull()) + wirelessCloudConnectorsObject.wirelessCloudConnectorId = valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroupWirelessCloudConnectorsWirelessCloudConnector["WirelessCloudConnectorId"].asString(); + if(!valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroupWirelessCloudConnectorsWirelessCloudConnector["Status"].isNull()) + wirelessCloudConnectorsObject.status = valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroupWirelessCloudConnectorsWirelessCloudConnector["Status"].asString(); + if(!valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroupWirelessCloudConnectorsWirelessCloudConnector["Name"].isNull()) + wirelessCloudConnectorsObject.name = valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroupWirelessCloudConnectorsWirelessCloudConnector["Name"].asString(); + if(!valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroupWirelessCloudConnectorsWirelessCloudConnector["Description"].isNull()) + wirelessCloudConnectorsObject.description = valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroupWirelessCloudConnectorsWirelessCloudConnector["Description"].asString(); + if(!valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroupWirelessCloudConnectorsWirelessCloudConnector["RegionId"].isNull()) + wirelessCloudConnectorsObject.regionId = valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroupWirelessCloudConnectorsWirelessCloudConnector["RegionId"].asString(); + if(!valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroupWirelessCloudConnectorsWirelessCloudConnector["UseCase"].isNull()) + wirelessCloudConnectorsObject.useCase = valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroupWirelessCloudConnectorsWirelessCloudConnector["UseCase"].asString(); + if(!valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroupWirelessCloudConnectorsWirelessCloudConnector["DataPackageId"].isNull()) + wirelessCloudConnectorsObject.dataPackageId = valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroupWirelessCloudConnectorsWirelessCloudConnector["DataPackageId"].asString(); + if(!valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroupWirelessCloudConnectorsWirelessCloudConnector["DataPackageType"].isNull()) + wirelessCloudConnectorsObject.dataPackageType = valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroupWirelessCloudConnectorsWirelessCloudConnector["DataPackageType"].asString(); + if(!valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroupWirelessCloudConnectorsWirelessCloudConnector["CardCount"].isNull()) + wirelessCloudConnectorsObject.cardCount = valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroupWirelessCloudConnectorsWirelessCloudConnector["CardCount"].asString(); + if(!valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroupWirelessCloudConnectorsWirelessCloudConnector["CreateTime"].isNull()) + wirelessCloudConnectorsObject.createTime = valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroupWirelessCloudConnectorsWirelessCloudConnector["CreateTime"].asString(); + if(!valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroupWirelessCloudConnectorsWirelessCloudConnector["BusinessType"].isNull()) + wirelessCloudConnectorsObject.businessType = valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroupWirelessCloudConnectorsWirelessCloudConnector["BusinessType"].asString(); + if(!valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroupWirelessCloudConnectorsWirelessCloudConnector["ServiceType"].isNull()) + wirelessCloudConnectorsObject.serviceType = valueWirelessCloudConnectorGroupsWirelessCloudConnectorGroupWirelessCloudConnectorsWirelessCloudConnector["ServiceType"].asString(); + wirelessCloudConnectorGroupsObject.wirelessCloudConnectors.push_back(wirelessCloudConnectorsObject); + } + wirelessCloudConnectorGroups_.push_back(wirelessCloudConnectorGroupsObject); + } + if(!value["NextToken"].isNull()) + nextToken_ = value["NextToken"].asString(); + if(!value["MaxResults"].isNull()) + maxResults_ = value["MaxResults"].asString(); + if(!value["TotalCount"].isNull()) + totalCount_ = value["TotalCount"].asString(); + +} + +std::string ListWirelessCloudConnectorGroupsResult::getTotalCount()const +{ + return totalCount_; +} + +std::string ListWirelessCloudConnectorGroupsResult::getNextToken()const +{ + return nextToken_; +} + +std::string ListWirelessCloudConnectorGroupsResult::getMaxResults()const +{ + return maxResults_; +} + +std::vector ListWirelessCloudConnectorGroupsResult::getWirelessCloudConnectorGroups()const +{ + return wirelessCloudConnectorGroups_; +} + diff --git a/cc5g/src/model/ListWirelessCloudConnectorsRequest.cc b/cc5g/src/model/ListWirelessCloudConnectorsRequest.cc new file mode 100644 index 000000000..7606f70cd --- /dev/null +++ b/cc5g/src/model/ListWirelessCloudConnectorsRequest.cc @@ -0,0 +1,114 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G::Model::ListWirelessCloudConnectorsRequest; + +ListWirelessCloudConnectorsRequest::ListWirelessCloudConnectorsRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "ListWirelessCloudConnectors") { + setMethod(HttpRequest::Method::Get); +} + +ListWirelessCloudConnectorsRequest::~ListWirelessCloudConnectorsRequest() {} + +std::string ListWirelessCloudConnectorsRequest::getWirelessCloudConnectorGroupId() const { + return wirelessCloudConnectorGroupId_; +} + +void ListWirelessCloudConnectorsRequest::setWirelessCloudConnectorGroupId(const std::string &wirelessCloudConnectorGroupId) { + wirelessCloudConnectorGroupId_ = wirelessCloudConnectorGroupId; + setParameter(std::string("WirelessCloudConnectorGroupId"), wirelessCloudConnectorGroupId); +} + +std::string ListWirelessCloudConnectorsRequest::getBusinessType() const { + return businessType_; +} + +void ListWirelessCloudConnectorsRequest::setBusinessType(const std::string &businessType) { + businessType_ = businessType; + setParameter(std::string("BusinessType"), businessType); +} + +std::string ListWirelessCloudConnectorsRequest::getRegionId() const { + return regionId_; +} + +void ListWirelessCloudConnectorsRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string ListWirelessCloudConnectorsRequest::getNextToken() const { + return nextToken_; +} + +void ListWirelessCloudConnectorsRequest::setNextToken(const std::string &nextToken) { + nextToken_ = nextToken; + setParameter(std::string("NextToken"), nextToken); +} + +std::vector ListWirelessCloudConnectorsRequest::getWirelessCloudConnectorIds() const { + return wirelessCloudConnectorIds_; +} + +void ListWirelessCloudConnectorsRequest::setWirelessCloudConnectorIds(const std::vector &wirelessCloudConnectorIds) { + wirelessCloudConnectorIds_ = wirelessCloudConnectorIds; + for(int dep1 = 0; dep1 != wirelessCloudConnectorIds.size(); dep1++) { + setParameter(std::string("WirelessCloudConnectorIds") + "." + std::to_string(dep1 + 1), wirelessCloudConnectorIds[dep1]); + } +} + +std::string ListWirelessCloudConnectorsRequest::getIsInGroup() const { + return isInGroup_; +} + +void ListWirelessCloudConnectorsRequest::setIsInGroup(const std::string &isInGroup) { + isInGroup_ = isInGroup; + setParameter(std::string("IsInGroup"), isInGroup); +} + +std::vector ListWirelessCloudConnectorsRequest::getNames() const { + return names_; +} + +void ListWirelessCloudConnectorsRequest::setNames(const std::vector &names) { + names_ = names; + for(int dep1 = 0; dep1 != names.size(); dep1++) { + setParameter(std::string("Names") + "." + std::to_string(dep1 + 1), names[dep1]); + } +} + +long ListWirelessCloudConnectorsRequest::getMaxResults() const { + return maxResults_; +} + +void ListWirelessCloudConnectorsRequest::setMaxResults(long maxResults) { + maxResults_ = maxResults; + setParameter(std::string("MaxResults"), std::to_string(maxResults)); +} + +std::vector ListWirelessCloudConnectorsRequest::getStatuses() const { + return statuses_; +} + +void ListWirelessCloudConnectorsRequest::setStatuses(const std::vector &statuses) { + statuses_ = statuses; + for(int dep1 = 0; dep1 != statuses.size(); dep1++) { + setParameter(std::string("Statuses") + "." + std::to_string(dep1 + 1), statuses[dep1]); + } +} + diff --git a/cc5g/src/model/ListWirelessCloudConnectorsResult.cc b/cc5g/src/model/ListWirelessCloudConnectorsResult.cc new file mode 100644 index 000000000..44607d6ba --- /dev/null +++ b/cc5g/src/model/ListWirelessCloudConnectorsResult.cc @@ -0,0 +1,102 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +ListWirelessCloudConnectorsResult::ListWirelessCloudConnectorsResult() : + ServiceResult() +{} + +ListWirelessCloudConnectorsResult::ListWirelessCloudConnectorsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListWirelessCloudConnectorsResult::~ListWirelessCloudConnectorsResult() +{} + +void ListWirelessCloudConnectorsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allWirelessCloudConnectorsNode = value["WirelessCloudConnectors"]["WirelessCloudConnector"]; + for (auto valueWirelessCloudConnectorsWirelessCloudConnector : allWirelessCloudConnectorsNode) + { + WirelessCloudConnector wirelessCloudConnectorsObject; + if(!valueWirelessCloudConnectorsWirelessCloudConnector["WirelessCloudConnectorId"].isNull()) + wirelessCloudConnectorsObject.wirelessCloudConnectorId = valueWirelessCloudConnectorsWirelessCloudConnector["WirelessCloudConnectorId"].asString(); + if(!valueWirelessCloudConnectorsWirelessCloudConnector["Status"].isNull()) + wirelessCloudConnectorsObject.status = valueWirelessCloudConnectorsWirelessCloudConnector["Status"].asString(); + if(!valueWirelessCloudConnectorsWirelessCloudConnector["Name"].isNull()) + wirelessCloudConnectorsObject.name = valueWirelessCloudConnectorsWirelessCloudConnector["Name"].asString(); + if(!valueWirelessCloudConnectorsWirelessCloudConnector["Description"].isNull()) + wirelessCloudConnectorsObject.description = valueWirelessCloudConnectorsWirelessCloudConnector["Description"].asString(); + if(!valueWirelessCloudConnectorsWirelessCloudConnector["RegionId"].isNull()) + wirelessCloudConnectorsObject.regionId = valueWirelessCloudConnectorsWirelessCloudConnector["RegionId"].asString(); + if(!valueWirelessCloudConnectorsWirelessCloudConnector["UseCase"].isNull()) + wirelessCloudConnectorsObject.useCase = valueWirelessCloudConnectorsWirelessCloudConnector["UseCase"].asString(); + if(!valueWirelessCloudConnectorsWirelessCloudConnector["DataPackageId"].isNull()) + wirelessCloudConnectorsObject.dataPackageId = valueWirelessCloudConnectorsWirelessCloudConnector["DataPackageId"].asString(); + if(!valueWirelessCloudConnectorsWirelessCloudConnector["DataPackageType"].isNull()) + wirelessCloudConnectorsObject.dataPackageType = valueWirelessCloudConnectorsWirelessCloudConnector["DataPackageType"].asString(); + if(!valueWirelessCloudConnectorsWirelessCloudConnector["CardCount"].isNull()) + wirelessCloudConnectorsObject.cardCount = valueWirelessCloudConnectorsWirelessCloudConnector["CardCount"].asString(); + if(!valueWirelessCloudConnectorsWirelessCloudConnector["CreateTime"].isNull()) + wirelessCloudConnectorsObject.createTime = valueWirelessCloudConnectorsWirelessCloudConnector["CreateTime"].asString(); + if(!valueWirelessCloudConnectorsWirelessCloudConnector["BusinessType"].isNull()) + wirelessCloudConnectorsObject.businessType = valueWirelessCloudConnectorsWirelessCloudConnector["BusinessType"].asString(); + if(!valueWirelessCloudConnectorsWirelessCloudConnector["ServiceType"].isNull()) + wirelessCloudConnectorsObject.serviceType = valueWirelessCloudConnectorsWirelessCloudConnector["ServiceType"].asString(); + if(!valueWirelessCloudConnectorsWirelessCloudConnector["WirelessCloudConnectorGroupId"].isNull()) + wirelessCloudConnectorsObject.wirelessCloudConnectorGroupId = valueWirelessCloudConnectorsWirelessCloudConnector["WirelessCloudConnectorGroupId"].asString(); + wirelessCloudConnectors_.push_back(wirelessCloudConnectorsObject); + } + if(!value["NextToken"].isNull()) + nextToken_ = value["NextToken"].asString(); + if(!value["MaxResults"].isNull()) + maxResults_ = value["MaxResults"].asString(); + if(!value["TotalCount"].isNull()) + totalCount_ = value["TotalCount"].asString(); + +} + +std::string ListWirelessCloudConnectorsResult::getTotalCount()const +{ + return totalCount_; +} + +std::string ListWirelessCloudConnectorsResult::getNextToken()const +{ + return nextToken_; +} + +std::vector ListWirelessCloudConnectorsResult::getWirelessCloudConnectors()const +{ + return wirelessCloudConnectors_; +} + +std::string ListWirelessCloudConnectorsResult::getMaxResults()const +{ + return maxResults_; +} + diff --git a/cc5g/src/model/ListZonesRequest.cc b/cc5g/src/model/ListZonesRequest.cc new file mode 100644 index 000000000..71618750a --- /dev/null +++ b/cc5g/src/model/ListZonesRequest.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::CC5G::Model::ListZonesRequest; + +ListZonesRequest::ListZonesRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "ListZones") { + setMethod(HttpRequest::Method::Get); +} + +ListZonesRequest::~ListZonesRequest() {} + +std::string ListZonesRequest::getRegionId() const { + return regionId_; +} + +void ListZonesRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/cc5g/src/model/ListZonesResult.cc b/cc5g/src/model/ListZonesResult.cc new file mode 100644 index 000000000..5ca7afbcc --- /dev/null +++ b/cc5g/src/model/ListZonesResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +ListZonesResult::ListZonesResult() : + ServiceResult() +{} + +ListZonesResult::ListZonesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListZonesResult::~ListZonesResult() +{} + +void ListZonesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allZonesNode = value["Zones"]["Zone"]; + for (auto valueZonesZone : allZonesNode) + { + Zone zonesObject; + if(!valueZonesZone["ZoneId"].isNull()) + zonesObject.zoneId = valueZonesZone["ZoneId"].asString(); + if(!valueZonesZone["LocalName"].isNull()) + zonesObject.localName = valueZonesZone["LocalName"].asString(); + zones_.push_back(zonesObject); + } + +} + +std::vector ListZonesResult::getZones()const +{ + return zones_; +} + diff --git a/cc5g/src/model/LockCardsRequest.cc b/cc5g/src/model/LockCardsRequest.cc new file mode 100644 index 000000000..7a2c34063 --- /dev/null +++ b/cc5g/src/model/LockCardsRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CC5G::Model::LockCardsRequest; + +LockCardsRequest::LockCardsRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "LockCards") { + setMethod(HttpRequest::Method::Post); +} + +LockCardsRequest::~LockCardsRequest() {} + +std::vector LockCardsRequest::getIccids() const { + return iccids_; +} + +void LockCardsRequest::setIccids(const std::vector &iccids) { + iccids_ = iccids; +} + +bool LockCardsRequest::getDryRun() const { + return dryRun_; +} + +void LockCardsRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string LockCardsRequest::getClientToken() const { + return clientToken_; +} + +void LockCardsRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string LockCardsRequest::getRegionId() const { + return regionId_; +} + +void LockCardsRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/cc5g/src/model/LockCardsResult.cc b/cc5g/src/model/LockCardsResult.cc new file mode 100644 index 000000000..5235954bd --- /dev/null +++ b/cc5g/src/model/LockCardsResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +LockCardsResult::LockCardsResult() : + ServiceResult() +{} + +LockCardsResult::LockCardsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +LockCardsResult::~LockCardsResult() +{} + +void LockCardsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/ModifyWirelessCloudConnectorFeatureRequest.cc b/cc5g/src/model/ModifyWirelessCloudConnectorFeatureRequest.cc new file mode 100644 index 000000000..1d98350a4 --- /dev/null +++ b/cc5g/src/model/ModifyWirelessCloudConnectorFeatureRequest.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::CC5G::Model::ModifyWirelessCloudConnectorFeatureRequest; + +ModifyWirelessCloudConnectorFeatureRequest::ModifyWirelessCloudConnectorFeatureRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "ModifyWirelessCloudConnectorFeature") { + setMethod(HttpRequest::Method::Post); +} + +ModifyWirelessCloudConnectorFeatureRequest::~ModifyWirelessCloudConnectorFeatureRequest() {} + +bool ModifyWirelessCloudConnectorFeatureRequest::getDryRun() const { + return dryRun_; +} + +void ModifyWirelessCloudConnectorFeatureRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string ModifyWirelessCloudConnectorFeatureRequest::getClientToken() const { + return clientToken_; +} + +void ModifyWirelessCloudConnectorFeatureRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string ModifyWirelessCloudConnectorFeatureRequest::getFeatureName() const { + return featureName_; +} + +void ModifyWirelessCloudConnectorFeatureRequest::setFeatureName(const std::string &featureName) { + featureName_ = featureName; + setParameter(std::string("FeatureName"), featureName); +} + +std::string ModifyWirelessCloudConnectorFeatureRequest::getFeatureValue() const { + return featureValue_; +} + +void ModifyWirelessCloudConnectorFeatureRequest::setFeatureValue(const std::string &featureValue) { + featureValue_ = featureValue; + setParameter(std::string("FeatureValue"), featureValue); +} + +std::string ModifyWirelessCloudConnectorFeatureRequest::getWirelessCloudConnectorId() const { + return wirelessCloudConnectorId_; +} + +void ModifyWirelessCloudConnectorFeatureRequest::setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId) { + wirelessCloudConnectorId_ = wirelessCloudConnectorId; + setParameter(std::string("WirelessCloudConnectorId"), wirelessCloudConnectorId); +} + diff --git a/cc5g/src/model/ModifyWirelessCloudConnectorFeatureResult.cc b/cc5g/src/model/ModifyWirelessCloudConnectorFeatureResult.cc new file mode 100644 index 000000000..9a88eb513 --- /dev/null +++ b/cc5g/src/model/ModifyWirelessCloudConnectorFeatureResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +ModifyWirelessCloudConnectorFeatureResult::ModifyWirelessCloudConnectorFeatureResult() : + ServiceResult() +{} + +ModifyWirelessCloudConnectorFeatureResult::ModifyWirelessCloudConnectorFeatureResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyWirelessCloudConnectorFeatureResult::~ModifyWirelessCloudConnectorFeatureResult() +{} + +void ModifyWirelessCloudConnectorFeatureResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/OpenCc5gServiceRequest.cc b/cc5g/src/model/OpenCc5gServiceRequest.cc new file mode 100644 index 000000000..e9de0fa48 --- /dev/null +++ b/cc5g/src/model/OpenCc5gServiceRequest.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::CC5G::Model::OpenCc5gServiceRequest; + +OpenCc5gServiceRequest::OpenCc5gServiceRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "OpenCc5gService") { + setMethod(HttpRequest::Method::Post); +} + +OpenCc5gServiceRequest::~OpenCc5gServiceRequest() {} + +std::string OpenCc5gServiceRequest::getRegionId() const { + return regionId_; +} + +void OpenCc5gServiceRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/cc5g/src/model/OpenCc5gServiceResult.cc b/cc5g/src/model/OpenCc5gServiceResult.cc new file mode 100644 index 000000000..ba4f8743c --- /dev/null +++ b/cc5g/src/model/OpenCc5gServiceResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +OpenCc5gServiceResult::OpenCc5gServiceResult() : + ServiceResult() +{} + +OpenCc5gServiceResult::OpenCc5gServiceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +OpenCc5gServiceResult::~OpenCc5gServiceResult() +{} + +void OpenCc5gServiceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/RemoveWirelessCloudConnectorFromGroupRequest.cc b/cc5g/src/model/RemoveWirelessCloudConnectorFromGroupRequest.cc new file mode 100644 index 000000000..5c4c5243b --- /dev/null +++ b/cc5g/src/model/RemoveWirelessCloudConnectorFromGroupRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::CC5G::Model::RemoveWirelessCloudConnectorFromGroupRequest; + +RemoveWirelessCloudConnectorFromGroupRequest::RemoveWirelessCloudConnectorFromGroupRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "RemoveWirelessCloudConnectorFromGroup") { + setMethod(HttpRequest::Method::Post); +} + +RemoveWirelessCloudConnectorFromGroupRequest::~RemoveWirelessCloudConnectorFromGroupRequest() {} + +std::vector RemoveWirelessCloudConnectorFromGroupRequest::getWirelessCloudConnectorIds() const { + return wirelessCloudConnectorIds_; +} + +void RemoveWirelessCloudConnectorFromGroupRequest::setWirelessCloudConnectorIds(const std::vector &wirelessCloudConnectorIds) { + wirelessCloudConnectorIds_ = wirelessCloudConnectorIds; +} + +std::string RemoveWirelessCloudConnectorFromGroupRequest::getWirelessCloudConnectorGroupId() const { + return wirelessCloudConnectorGroupId_; +} + +void RemoveWirelessCloudConnectorFromGroupRequest::setWirelessCloudConnectorGroupId(const std::string &wirelessCloudConnectorGroupId) { + wirelessCloudConnectorGroupId_ = wirelessCloudConnectorGroupId; + setParameter(std::string("WirelessCloudConnectorGroupId"), wirelessCloudConnectorGroupId); +} + +bool RemoveWirelessCloudConnectorFromGroupRequest::getDryRun() const { + return dryRun_; +} + +void RemoveWirelessCloudConnectorFromGroupRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string RemoveWirelessCloudConnectorFromGroupRequest::getClientToken() const { + return clientToken_; +} + +void RemoveWirelessCloudConnectorFromGroupRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string RemoveWirelessCloudConnectorFromGroupRequest::getRegionId() const { + return regionId_; +} + +void RemoveWirelessCloudConnectorFromGroupRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/cc5g/src/model/RemoveWirelessCloudConnectorFromGroupResult.cc b/cc5g/src/model/RemoveWirelessCloudConnectorFromGroupResult.cc new file mode 100644 index 000000000..94d4fbd76 --- /dev/null +++ b/cc5g/src/model/RemoveWirelessCloudConnectorFromGroupResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +RemoveWirelessCloudConnectorFromGroupResult::RemoveWirelessCloudConnectorFromGroupResult() : + ServiceResult() +{} + +RemoveWirelessCloudConnectorFromGroupResult::RemoveWirelessCloudConnectorFromGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RemoveWirelessCloudConnectorFromGroupResult::~RemoveWirelessCloudConnectorFromGroupResult() +{} + +void RemoveWirelessCloudConnectorFromGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/ResumeCardsRequest.cc b/cc5g/src/model/ResumeCardsRequest.cc new file mode 100644 index 000000000..270675c24 --- /dev/null +++ b/cc5g/src/model/ResumeCardsRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CC5G::Model::ResumeCardsRequest; + +ResumeCardsRequest::ResumeCardsRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "ResumeCards") { + setMethod(HttpRequest::Method::Post); +} + +ResumeCardsRequest::~ResumeCardsRequest() {} + +std::vector ResumeCardsRequest::getIccids() const { + return iccids_; +} + +void ResumeCardsRequest::setIccids(const std::vector &iccids) { + iccids_ = iccids; +} + +bool ResumeCardsRequest::getDryRun() const { + return dryRun_; +} + +void ResumeCardsRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string ResumeCardsRequest::getClientToken() const { + return clientToken_; +} + +void ResumeCardsRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string ResumeCardsRequest::getRegionId() const { + return regionId_; +} + +void ResumeCardsRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/cc5g/src/model/ResumeCardsResult.cc b/cc5g/src/model/ResumeCardsResult.cc new file mode 100644 index 000000000..cbff7da64 --- /dev/null +++ b/cc5g/src/model/ResumeCardsResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +ResumeCardsResult::ResumeCardsResult() : + ServiceResult() +{} + +ResumeCardsResult::ResumeCardsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ResumeCardsResult::~ResumeCardsResult() +{} + +void ResumeCardsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/RevokeNetLinkRequest.cc b/cc5g/src/model/RevokeNetLinkRequest.cc new file mode 100644 index 000000000..e8a882cdb --- /dev/null +++ b/cc5g/src/model/RevokeNetLinkRequest.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::CC5G::Model::RevokeNetLinkRequest; + +RevokeNetLinkRequest::RevokeNetLinkRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "RevokeNetLink") { + setMethod(HttpRequest::Method::Post); +} + +RevokeNetLinkRequest::~RevokeNetLinkRequest() {} + +bool RevokeNetLinkRequest::getDryRun() const { + return dryRun_; +} + +void RevokeNetLinkRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string RevokeNetLinkRequest::getNetLinkId() const { + return netLinkId_; +} + +void RevokeNetLinkRequest::setNetLinkId(const std::string &netLinkId) { + netLinkId_ = netLinkId; + setParameter(std::string("NetLinkId"), netLinkId); +} + +std::string RevokeNetLinkRequest::getClientToken() const { + return clientToken_; +} + +void RevokeNetLinkRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string RevokeNetLinkRequest::getWirelessCloudConnectorId() const { + return wirelessCloudConnectorId_; +} + +void RevokeNetLinkRequest::setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId) { + wirelessCloudConnectorId_ = wirelessCloudConnectorId; + setParameter(std::string("WirelessCloudConnectorId"), wirelessCloudConnectorId); +} + diff --git a/cc5g/src/model/RevokeNetLinkResult.cc b/cc5g/src/model/RevokeNetLinkResult.cc new file mode 100644 index 000000000..cfd2f0cac --- /dev/null +++ b/cc5g/src/model/RevokeNetLinkResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +RevokeNetLinkResult::RevokeNetLinkResult() : + ServiceResult() +{} + +RevokeNetLinkResult::RevokeNetLinkResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RevokeNetLinkResult::~RevokeNetLinkResult() +{} + +void RevokeNetLinkResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/StopCardsRequest.cc b/cc5g/src/model/StopCardsRequest.cc new file mode 100644 index 000000000..59b354d54 --- /dev/null +++ b/cc5g/src/model/StopCardsRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CC5G::Model::StopCardsRequest; + +StopCardsRequest::StopCardsRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "StopCards") { + setMethod(HttpRequest::Method::Post); +} + +StopCardsRequest::~StopCardsRequest() {} + +std::vector StopCardsRequest::getIccids() const { + return iccids_; +} + +void StopCardsRequest::setIccids(const std::vector &iccids) { + iccids_ = iccids; +} + +bool StopCardsRequest::getDryRun() const { + return dryRun_; +} + +void StopCardsRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string StopCardsRequest::getClientToken() const { + return clientToken_; +} + +void StopCardsRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string StopCardsRequest::getRegionId() const { + return regionId_; +} + +void StopCardsRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/cc5g/src/model/StopCardsResult.cc b/cc5g/src/model/StopCardsResult.cc new file mode 100644 index 000000000..c03545fb4 --- /dev/null +++ b/cc5g/src/model/StopCardsResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +StopCardsResult::StopCardsResult() : + ServiceResult() +{} + +StopCardsResult::StopCardsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StopCardsResult::~StopCardsResult() +{} + +void StopCardsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/SubmitDiagnoseTaskForSingleCardRequest.cc b/cc5g/src/model/SubmitDiagnoseTaskForSingleCardRequest.cc new file mode 100644 index 000000000..d4538ebc1 --- /dev/null +++ b/cc5g/src/model/SubmitDiagnoseTaskForSingleCardRequest.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::CC5G::Model::SubmitDiagnoseTaskForSingleCardRequest; + +SubmitDiagnoseTaskForSingleCardRequest::SubmitDiagnoseTaskForSingleCardRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "SubmitDiagnoseTaskForSingleCard") { + setMethod(HttpRequest::Method::Post); +} + +SubmitDiagnoseTaskForSingleCardRequest::~SubmitDiagnoseTaskForSingleCardRequest() {} + +std::string SubmitDiagnoseTaskForSingleCardRequest::getDestination() const { + return destination_; +} + +void SubmitDiagnoseTaskForSingleCardRequest::setDestination(const std::string &destination) { + destination_ = destination; + setParameter(std::string("Destination"), destination); +} + +std::string SubmitDiagnoseTaskForSingleCardRequest::getSource() const { + return source_; +} + +void SubmitDiagnoseTaskForSingleCardRequest::setSource(const std::string &source) { + source_ = source; + setParameter(std::string("Source"), source); +} + +long SubmitDiagnoseTaskForSingleCardRequest::getResourceUid() const { + return resourceUid_; +} + +void SubmitDiagnoseTaskForSingleCardRequest::setResourceUid(long resourceUid) { + resourceUid_ = resourceUid; + setParameter(std::string("ResourceUid"), std::to_string(resourceUid)); +} + +long SubmitDiagnoseTaskForSingleCardRequest::getEndTime() const { + return endTime_; +} + +void SubmitDiagnoseTaskForSingleCardRequest::setEndTime(long endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), std::to_string(endTime)); +} + +long SubmitDiagnoseTaskForSingleCardRequest::getBeginTime() const { + return beginTime_; +} + +void SubmitDiagnoseTaskForSingleCardRequest::setBeginTime(long beginTime) { + beginTime_ = beginTime; + setParameter(std::string("BeginTime"), std::to_string(beginTime)); +} + +std::string SubmitDiagnoseTaskForSingleCardRequest::getRegionNo() const { + return regionNo_; +} + +void SubmitDiagnoseTaskForSingleCardRequest::setRegionNo(const std::string ®ionNo) { + regionNo_ = regionNo; + setParameter(std::string("RegionNo"), regionNo); +} + +std::string SubmitDiagnoseTaskForSingleCardRequest::getWirelessCloudConnectorId() const { + return wirelessCloudConnectorId_; +} + +void SubmitDiagnoseTaskForSingleCardRequest::setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId) { + wirelessCloudConnectorId_ = wirelessCloudConnectorId; + setParameter(std::string("WirelessCloudConnectorId"), wirelessCloudConnectorId); +} + diff --git a/cc5g/src/model/SubmitDiagnoseTaskForSingleCardResult.cc b/cc5g/src/model/SubmitDiagnoseTaskForSingleCardResult.cc new file mode 100644 index 000000000..048b42154 --- /dev/null +++ b/cc5g/src/model/SubmitDiagnoseTaskForSingleCardResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +SubmitDiagnoseTaskForSingleCardResult::SubmitDiagnoseTaskForSingleCardResult() : + ServiceResult() +{} + +SubmitDiagnoseTaskForSingleCardResult::SubmitDiagnoseTaskForSingleCardResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SubmitDiagnoseTaskForSingleCardResult::~SubmitDiagnoseTaskForSingleCardResult() +{} + +void SubmitDiagnoseTaskForSingleCardResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["DiagnoseTaskId"].isNull()) + diagnoseTaskId_ = value["DiagnoseTaskId"].asString(); + +} + +std::string SubmitDiagnoseTaskForSingleCardResult::getDiagnoseTaskId()const +{ + return diagnoseTaskId_; +} + diff --git a/cc5g/src/model/SwitchWirelessCloudConnectorToBusinessRequest.cc b/cc5g/src/model/SwitchWirelessCloudConnectorToBusinessRequest.cc new file mode 100644 index 000000000..05522e131 --- /dev/null +++ b/cc5g/src/model/SwitchWirelessCloudConnectorToBusinessRequest.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::CC5G::Model::SwitchWirelessCloudConnectorToBusinessRequest; + +SwitchWirelessCloudConnectorToBusinessRequest::SwitchWirelessCloudConnectorToBusinessRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "SwitchWirelessCloudConnectorToBusiness") { + setMethod(HttpRequest::Method::Post); +} + +SwitchWirelessCloudConnectorToBusinessRequest::~SwitchWirelessCloudConnectorToBusinessRequest() {} + +bool SwitchWirelessCloudConnectorToBusinessRequest::getDryRun() const { + return dryRun_; +} + +void SwitchWirelessCloudConnectorToBusinessRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string SwitchWirelessCloudConnectorToBusinessRequest::getClientToken() const { + return clientToken_; +} + +void SwitchWirelessCloudConnectorToBusinessRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string SwitchWirelessCloudConnectorToBusinessRequest::getWirelessCloudConnectorId() const { + return wirelessCloudConnectorId_; +} + +void SwitchWirelessCloudConnectorToBusinessRequest::setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId) { + wirelessCloudConnectorId_ = wirelessCloudConnectorId; + setParameter(std::string("WirelessCloudConnectorId"), wirelessCloudConnectorId); +} + diff --git a/cc5g/src/model/SwitchWirelessCloudConnectorToBusinessResult.cc b/cc5g/src/model/SwitchWirelessCloudConnectorToBusinessResult.cc new file mode 100644 index 000000000..cb8869388 --- /dev/null +++ b/cc5g/src/model/SwitchWirelessCloudConnectorToBusinessResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +SwitchWirelessCloudConnectorToBusinessResult::SwitchWirelessCloudConnectorToBusinessResult() : + ServiceResult() +{} + +SwitchWirelessCloudConnectorToBusinessResult::SwitchWirelessCloudConnectorToBusinessResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SwitchWirelessCloudConnectorToBusinessResult::~SwitchWirelessCloudConnectorToBusinessResult() +{} + +void SwitchWirelessCloudConnectorToBusinessResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/UnlockCardsRequest.cc b/cc5g/src/model/UnlockCardsRequest.cc new file mode 100644 index 000000000..39d16ef59 --- /dev/null +++ b/cc5g/src/model/UnlockCardsRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CC5G::Model::UnlockCardsRequest; + +UnlockCardsRequest::UnlockCardsRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "UnlockCards") { + setMethod(HttpRequest::Method::Post); +} + +UnlockCardsRequest::~UnlockCardsRequest() {} + +std::vector UnlockCardsRequest::getIccids() const { + return iccids_; +} + +void UnlockCardsRequest::setIccids(const std::vector &iccids) { + iccids_ = iccids; +} + +bool UnlockCardsRequest::getDryRun() const { + return dryRun_; +} + +void UnlockCardsRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string UnlockCardsRequest::getClientToken() const { + return clientToken_; +} + +void UnlockCardsRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string UnlockCardsRequest::getRegionId() const { + return regionId_; +} + +void UnlockCardsRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/cc5g/src/model/UnlockCardsResult.cc b/cc5g/src/model/UnlockCardsResult.cc new file mode 100644 index 000000000..256d23ae0 --- /dev/null +++ b/cc5g/src/model/UnlockCardsResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +UnlockCardsResult::UnlockCardsResult() : + ServiceResult() +{} + +UnlockCardsResult::UnlockCardsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UnlockCardsResult::~UnlockCardsResult() +{} + +void UnlockCardsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/UpdateAuthorizationRuleRequest.cc b/cc5g/src/model/UpdateAuthorizationRuleRequest.cc new file mode 100644 index 000000000..f31237b23 --- /dev/null +++ b/cc5g/src/model/UpdateAuthorizationRuleRequest.cc @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CC5G::Model::UpdateAuthorizationRuleRequest; + +UpdateAuthorizationRuleRequest::UpdateAuthorizationRuleRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "UpdateAuthorizationRule") { + setMethod(HttpRequest::Method::Post); +} + +UpdateAuthorizationRuleRequest::~UpdateAuthorizationRuleRequest() {} + +std::string UpdateAuthorizationRuleRequest::getClientToken() const { + return clientToken_; +} + +void UpdateAuthorizationRuleRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string UpdateAuthorizationRuleRequest::getSourceCidr() const { + return sourceCidr_; +} + +void UpdateAuthorizationRuleRequest::setSourceCidr(const std::string &sourceCidr) { + sourceCidr_ = sourceCidr; + setParameter(std::string("SourceCidr"), sourceCidr); +} + +std::string UpdateAuthorizationRuleRequest::getDestination() const { + return destination_; +} + +void UpdateAuthorizationRuleRequest::setDestination(const std::string &destination) { + destination_ = destination; + setParameter(std::string("Destination"), destination); +} + +std::string UpdateAuthorizationRuleRequest::getDescription() const { + return description_; +} + +void UpdateAuthorizationRuleRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); +} + +std::string UpdateAuthorizationRuleRequest::getProtocol() const { + return protocol_; +} + +void UpdateAuthorizationRuleRequest::setProtocol(const std::string &protocol) { + protocol_ = protocol; + setParameter(std::string("Protocol"), protocol); +} + +std::string UpdateAuthorizationRuleRequest::getPolicy() const { + return policy_; +} + +void UpdateAuthorizationRuleRequest::setPolicy(const std::string &policy) { + policy_ = policy; + setParameter(std::string("Policy"), policy); +} + +bool UpdateAuthorizationRuleRequest::getDryRun() const { + return dryRun_; +} + +void UpdateAuthorizationRuleRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string UpdateAuthorizationRuleRequest::getAuthorizationRuleId() const { + return authorizationRuleId_; +} + +void UpdateAuthorizationRuleRequest::setAuthorizationRuleId(const std::string &authorizationRuleId) { + authorizationRuleId_ = authorizationRuleId; + setParameter(std::string("AuthorizationRuleId"), authorizationRuleId); +} + +std::string UpdateAuthorizationRuleRequest::getDestinationPort() const { + return destinationPort_; +} + +void UpdateAuthorizationRuleRequest::setDestinationPort(const std::string &destinationPort) { + destinationPort_ = destinationPort; + setParameter(std::string("DestinationPort"), destinationPort); +} + +std::string UpdateAuthorizationRuleRequest::getWirelessCloudConnectorId() const { + return wirelessCloudConnectorId_; +} + +void UpdateAuthorizationRuleRequest::setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId) { + wirelessCloudConnectorId_ = wirelessCloudConnectorId; + setParameter(std::string("WirelessCloudConnectorId"), wirelessCloudConnectorId); +} + +std::string UpdateAuthorizationRuleRequest::getName() const { + return name_; +} + +void UpdateAuthorizationRuleRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + diff --git a/cc5g/src/model/UpdateAuthorizationRuleResult.cc b/cc5g/src/model/UpdateAuthorizationRuleResult.cc new file mode 100644 index 000000000..07890f006 --- /dev/null +++ b/cc5g/src/model/UpdateAuthorizationRuleResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +UpdateAuthorizationRuleResult::UpdateAuthorizationRuleResult() : + ServiceResult() +{} + +UpdateAuthorizationRuleResult::UpdateAuthorizationRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateAuthorizationRuleResult::~UpdateAuthorizationRuleResult() +{} + +void UpdateAuthorizationRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/UpdateBatchOperateCardsTaskRequest.cc b/cc5g/src/model/UpdateBatchOperateCardsTaskRequest.cc new file mode 100644 index 000000000..3996b6181 --- /dev/null +++ b/cc5g/src/model/UpdateBatchOperateCardsTaskRequest.cc @@ -0,0 +1,139 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G::Model::UpdateBatchOperateCardsTaskRequest; + +UpdateBatchOperateCardsTaskRequest::UpdateBatchOperateCardsTaskRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "UpdateBatchOperateCardsTask") { + setMethod(HttpRequest::Method::Post); +} + +UpdateBatchOperateCardsTaskRequest::~UpdateBatchOperateCardsTaskRequest() {} + +std::vector UpdateBatchOperateCardsTaskRequest::getIccids() const { + return iccids_; +} + +void UpdateBatchOperateCardsTaskRequest::setIccids(const std::vector &iccids) { + iccids_ = iccids; + for(int dep1 = 0; dep1 != iccids.size(); dep1++) { + setParameter(std::string("Iccids") + "." + std::to_string(dep1 + 1), iccids[dep1]); + } +} + +std::string UpdateBatchOperateCardsTaskRequest::getClientToken() const { + return clientToken_; +} + +void UpdateBatchOperateCardsTaskRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string UpdateBatchOperateCardsTaskRequest::getDescription() const { + return description_; +} + +void UpdateBatchOperateCardsTaskRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); +} + +long UpdateBatchOperateCardsTaskRequest::getThreshold() const { + return threshold_; +} + +void UpdateBatchOperateCardsTaskRequest::setThreshold(long threshold) { + threshold_ = threshold; + setParameter(std::string("Threshold"), std::to_string(threshold)); +} + +std::string UpdateBatchOperateCardsTaskRequest::getBatchOperateCardsTaskId() const { + return batchOperateCardsTaskId_; +} + +void UpdateBatchOperateCardsTaskRequest::setBatchOperateCardsTaskId(const std::string &batchOperateCardsTaskId) { + batchOperateCardsTaskId_ = batchOperateCardsTaskId; + setParameter(std::string("BatchOperateCardsTaskId"), batchOperateCardsTaskId); +} + +std::string UpdateBatchOperateCardsTaskRequest::getRegionId() const { + return regionId_; +} + +void UpdateBatchOperateCardsTaskRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string UpdateBatchOperateCardsTaskRequest::getEffectType() const { + return effectType_; +} + +void UpdateBatchOperateCardsTaskRequest::setEffectType(const std::string &effectType) { + effectType_ = effectType; + setParameter(std::string("EffectType"), effectType); +} + +std::vector UpdateBatchOperateCardsTaskRequest::getWirelessCloudConnectorIds() const { + return wirelessCloudConnectorIds_; +} + +void UpdateBatchOperateCardsTaskRequest::setWirelessCloudConnectorIds(const std::vector &wirelessCloudConnectorIds) { + wirelessCloudConnectorIds_ = wirelessCloudConnectorIds; + for(int dep1 = 0; dep1 != wirelessCloudConnectorIds.size(); dep1++) { + setParameter(std::string("WirelessCloudConnectorIds") + "." + std::to_string(dep1 + 1), wirelessCloudConnectorIds[dep1]); + } +} + +bool UpdateBatchOperateCardsTaskRequest::getDryRun() const { + return dryRun_; +} + +void UpdateBatchOperateCardsTaskRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string UpdateBatchOperateCardsTaskRequest::getName() const { + return name_; +} + +void UpdateBatchOperateCardsTaskRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +std::string UpdateBatchOperateCardsTaskRequest::getOperateType() const { + return operateType_; +} + +void UpdateBatchOperateCardsTaskRequest::setOperateType(const std::string &operateType) { + operateType_ = operateType; + setParameter(std::string("OperateType"), operateType); +} + +std::string UpdateBatchOperateCardsTaskRequest::getIccidsOssFilePath() const { + return iccidsOssFilePath_; +} + +void UpdateBatchOperateCardsTaskRequest::setIccidsOssFilePath(const std::string &iccidsOssFilePath) { + iccidsOssFilePath_ = iccidsOssFilePath; + setParameter(std::string("IccidsOssFilePath"), iccidsOssFilePath); +} + diff --git a/cc5g/src/model/UpdateBatchOperateCardsTaskResult.cc b/cc5g/src/model/UpdateBatchOperateCardsTaskResult.cc new file mode 100644 index 000000000..0d53a089c --- /dev/null +++ b/cc5g/src/model/UpdateBatchOperateCardsTaskResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +UpdateBatchOperateCardsTaskResult::UpdateBatchOperateCardsTaskResult() : + ServiceResult() +{} + +UpdateBatchOperateCardsTaskResult::UpdateBatchOperateCardsTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateBatchOperateCardsTaskResult::~UpdateBatchOperateCardsTaskResult() +{} + +void UpdateBatchOperateCardsTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/UpdateCardRequest.cc b/cc5g/src/model/UpdateCardRequest.cc new file mode 100644 index 000000000..745578059 --- /dev/null +++ b/cc5g/src/model/UpdateCardRequest.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::CC5G::Model::UpdateCardRequest; + +UpdateCardRequest::UpdateCardRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "UpdateCard") { + setMethod(HttpRequest::Method::Post); +} + +UpdateCardRequest::~UpdateCardRequest() {} + +std::string UpdateCardRequest::getClientToken() const { + return clientToken_; +} + +void UpdateCardRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string UpdateCardRequest::getDescription() const { + return description_; +} + +void UpdateCardRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); +} + +std::string UpdateCardRequest::getIccid() const { + return iccid_; +} + +void UpdateCardRequest::setIccid(const std::string &iccid) { + iccid_ = iccid; + setParameter(std::string("Iccid"), iccid); +} + +bool UpdateCardRequest::getDryRun() const { + return dryRun_; +} + +void UpdateCardRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string UpdateCardRequest::getWirelessCloudConnectorId() const { + return wirelessCloudConnectorId_; +} + +void UpdateCardRequest::setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId) { + wirelessCloudConnectorId_ = wirelessCloudConnectorId; + setParameter(std::string("WirelessCloudConnectorId"), wirelessCloudConnectorId); +} + +std::string UpdateCardRequest::getName() const { + return name_; +} + +void UpdateCardRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + diff --git a/cc5g/src/model/UpdateCardResult.cc b/cc5g/src/model/UpdateCardResult.cc new file mode 100644 index 000000000..27c5cf9e8 --- /dev/null +++ b/cc5g/src/model/UpdateCardResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +UpdateCardResult::UpdateCardResult() : + ServiceResult() +{} + +UpdateCardResult::UpdateCardResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateCardResult::~UpdateCardResult() +{} + +void UpdateCardResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/UpdateDNSAuthorizationRuleRequest.cc b/cc5g/src/model/UpdateDNSAuthorizationRuleRequest.cc new file mode 100644 index 000000000..d1943bd36 --- /dev/null +++ b/cc5g/src/model/UpdateDNSAuthorizationRuleRequest.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::CC5G::Model::UpdateDNSAuthorizationRuleRequest; + +UpdateDNSAuthorizationRuleRequest::UpdateDNSAuthorizationRuleRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "UpdateDNSAuthorizationRule") { + setMethod(HttpRequest::Method::Post); +} + +UpdateDNSAuthorizationRuleRequest::~UpdateDNSAuthorizationRuleRequest() {} + +std::string UpdateDNSAuthorizationRuleRequest::getClientToken() const { + return clientToken_; +} + +void UpdateDNSAuthorizationRuleRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string UpdateDNSAuthorizationRuleRequest::getDescription() const { + return description_; +} + +void UpdateDNSAuthorizationRuleRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); +} + +bool UpdateDNSAuthorizationRuleRequest::getDryRun() const { + return dryRun_; +} + +void UpdateDNSAuthorizationRuleRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string UpdateDNSAuthorizationRuleRequest::getSourceDNSIp() const { + return sourceDNSIp_; +} + +void UpdateDNSAuthorizationRuleRequest::setSourceDNSIp(const std::string &sourceDNSIp) { + sourceDNSIp_ = sourceDNSIp; + setParameter(std::string("SourceDNSIp"), sourceDNSIp); +} + +std::string UpdateDNSAuthorizationRuleRequest::getAuthorizationRuleId() const { + return authorizationRuleId_; +} + +void UpdateDNSAuthorizationRuleRequest::setAuthorizationRuleId(const std::string &authorizationRuleId) { + authorizationRuleId_ = authorizationRuleId; + setParameter(std::string("AuthorizationRuleId"), authorizationRuleId); +} + +std::string UpdateDNSAuthorizationRuleRequest::getDestinationIp() const { + return destinationIp_; +} + +void UpdateDNSAuthorizationRuleRequest::setDestinationIp(const std::string &destinationIp) { + destinationIp_ = destinationIp; + setParameter(std::string("DestinationIp"), destinationIp); +} + +std::string UpdateDNSAuthorizationRuleRequest::getWirelessCloudConnectorId() const { + return wirelessCloudConnectorId_; +} + +void UpdateDNSAuthorizationRuleRequest::setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId) { + wirelessCloudConnectorId_ = wirelessCloudConnectorId; + setParameter(std::string("WirelessCloudConnectorId"), wirelessCloudConnectorId); +} + +std::string UpdateDNSAuthorizationRuleRequest::getName() const { + return name_; +} + +void UpdateDNSAuthorizationRuleRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + diff --git a/cc5g/src/model/UpdateDNSAuthorizationRuleResult.cc b/cc5g/src/model/UpdateDNSAuthorizationRuleResult.cc new file mode 100644 index 000000000..3b7bd5ebd --- /dev/null +++ b/cc5g/src/model/UpdateDNSAuthorizationRuleResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +UpdateDNSAuthorizationRuleResult::UpdateDNSAuthorizationRuleResult() : + ServiceResult() +{} + +UpdateDNSAuthorizationRuleResult::UpdateDNSAuthorizationRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateDNSAuthorizationRuleResult::~UpdateDNSAuthorizationRuleResult() +{} + +void UpdateDNSAuthorizationRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/UpdateGroupAuthorizationRuleRequest.cc b/cc5g/src/model/UpdateGroupAuthorizationRuleRequest.cc new file mode 100644 index 000000000..771c9b4f7 --- /dev/null +++ b/cc5g/src/model/UpdateGroupAuthorizationRuleRequest.cc @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CC5G::Model::UpdateGroupAuthorizationRuleRequest; + +UpdateGroupAuthorizationRuleRequest::UpdateGroupAuthorizationRuleRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "UpdateGroupAuthorizationRule") { + setMethod(HttpRequest::Method::Post); +} + +UpdateGroupAuthorizationRuleRequest::~UpdateGroupAuthorizationRuleRequest() {} + +std::string UpdateGroupAuthorizationRuleRequest::getWirelessCloudConnectorGroupId() const { + return wirelessCloudConnectorGroupId_; +} + +void UpdateGroupAuthorizationRuleRequest::setWirelessCloudConnectorGroupId(const std::string &wirelessCloudConnectorGroupId) { + wirelessCloudConnectorGroupId_ = wirelessCloudConnectorGroupId; + setParameter(std::string("WirelessCloudConnectorGroupId"), wirelessCloudConnectorGroupId); +} + +std::string UpdateGroupAuthorizationRuleRequest::getClientToken() const { + return clientToken_; +} + +void UpdateGroupAuthorizationRuleRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string UpdateGroupAuthorizationRuleRequest::getSourceCidr() const { + return sourceCidr_; +} + +void UpdateGroupAuthorizationRuleRequest::setSourceCidr(const std::string &sourceCidr) { + sourceCidr_ = sourceCidr; + setParameter(std::string("SourceCidr"), sourceCidr); +} + +std::string UpdateGroupAuthorizationRuleRequest::getDestination() const { + return destination_; +} + +void UpdateGroupAuthorizationRuleRequest::setDestination(const std::string &destination) { + destination_ = destination; + setParameter(std::string("Destination"), destination); +} + +std::string UpdateGroupAuthorizationRuleRequest::getDescription() const { + return description_; +} + +void UpdateGroupAuthorizationRuleRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); +} + +std::string UpdateGroupAuthorizationRuleRequest::getProtocol() const { + return protocol_; +} + +void UpdateGroupAuthorizationRuleRequest::setProtocol(const std::string &protocol) { + protocol_ = protocol; + setParameter(std::string("Protocol"), protocol); +} + +std::string UpdateGroupAuthorizationRuleRequest::getPolicy() const { + return policy_; +} + +void UpdateGroupAuthorizationRuleRequest::setPolicy(const std::string &policy) { + policy_ = policy; + setParameter(std::string("Policy"), policy); +} + +bool UpdateGroupAuthorizationRuleRequest::getDryRun() const { + return dryRun_; +} + +void UpdateGroupAuthorizationRuleRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string UpdateGroupAuthorizationRuleRequest::getAuthorizationRuleId() const { + return authorizationRuleId_; +} + +void UpdateGroupAuthorizationRuleRequest::setAuthorizationRuleId(const std::string &authorizationRuleId) { + authorizationRuleId_ = authorizationRuleId; + setParameter(std::string("AuthorizationRuleId"), authorizationRuleId); +} + +std::string UpdateGroupAuthorizationRuleRequest::getDestinationPort() const { + return destinationPort_; +} + +void UpdateGroupAuthorizationRuleRequest::setDestinationPort(const std::string &destinationPort) { + destinationPort_ = destinationPort; + setParameter(std::string("DestinationPort"), destinationPort); +} + +std::string UpdateGroupAuthorizationRuleRequest::getName() const { + return name_; +} + +void UpdateGroupAuthorizationRuleRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + diff --git a/cc5g/src/model/UpdateGroupAuthorizationRuleResult.cc b/cc5g/src/model/UpdateGroupAuthorizationRuleResult.cc new file mode 100644 index 000000000..4418757c7 --- /dev/null +++ b/cc5g/src/model/UpdateGroupAuthorizationRuleResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +UpdateGroupAuthorizationRuleResult::UpdateGroupAuthorizationRuleResult() : + ServiceResult() +{} + +UpdateGroupAuthorizationRuleResult::UpdateGroupAuthorizationRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateGroupAuthorizationRuleResult::~UpdateGroupAuthorizationRuleResult() +{} + +void UpdateGroupAuthorizationRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/UpdateGroupDnsAuthorizationRuleRequest.cc b/cc5g/src/model/UpdateGroupDnsAuthorizationRuleRequest.cc new file mode 100644 index 000000000..5f2a6fd28 --- /dev/null +++ b/cc5g/src/model/UpdateGroupDnsAuthorizationRuleRequest.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::CC5G::Model::UpdateGroupDnsAuthorizationRuleRequest; + +UpdateGroupDnsAuthorizationRuleRequest::UpdateGroupDnsAuthorizationRuleRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "UpdateGroupDnsAuthorizationRule") { + setMethod(HttpRequest::Method::Post); +} + +UpdateGroupDnsAuthorizationRuleRequest::~UpdateGroupDnsAuthorizationRuleRequest() {} + +std::string UpdateGroupDnsAuthorizationRuleRequest::getWirelessCloudConnectorGroupId() const { + return wirelessCloudConnectorGroupId_; +} + +void UpdateGroupDnsAuthorizationRuleRequest::setWirelessCloudConnectorGroupId(const std::string &wirelessCloudConnectorGroupId) { + wirelessCloudConnectorGroupId_ = wirelessCloudConnectorGroupId; + setParameter(std::string("WirelessCloudConnectorGroupId"), wirelessCloudConnectorGroupId); +} + +std::string UpdateGroupDnsAuthorizationRuleRequest::getClientToken() const { + return clientToken_; +} + +void UpdateGroupDnsAuthorizationRuleRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string UpdateGroupDnsAuthorizationRuleRequest::getDescription() const { + return description_; +} + +void UpdateGroupDnsAuthorizationRuleRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); +} + +bool UpdateGroupDnsAuthorizationRuleRequest::getDryRun() const { + return dryRun_; +} + +void UpdateGroupDnsAuthorizationRuleRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string UpdateGroupDnsAuthorizationRuleRequest::getSourceDNSIp() const { + return sourceDNSIp_; +} + +void UpdateGroupDnsAuthorizationRuleRequest::setSourceDNSIp(const std::string &sourceDNSIp) { + sourceDNSIp_ = sourceDNSIp; + setParameter(std::string("SourceDNSIp"), sourceDNSIp); +} + +std::string UpdateGroupDnsAuthorizationRuleRequest::getAuthorizationRuleId() const { + return authorizationRuleId_; +} + +void UpdateGroupDnsAuthorizationRuleRequest::setAuthorizationRuleId(const std::string &authorizationRuleId) { + authorizationRuleId_ = authorizationRuleId; + setParameter(std::string("AuthorizationRuleId"), authorizationRuleId); +} + +std::string UpdateGroupDnsAuthorizationRuleRequest::getDestinationIp() const { + return destinationIp_; +} + +void UpdateGroupDnsAuthorizationRuleRequest::setDestinationIp(const std::string &destinationIp) { + destinationIp_ = destinationIp; + setParameter(std::string("DestinationIp"), destinationIp); +} + +std::string UpdateGroupDnsAuthorizationRuleRequest::getName() const { + return name_; +} + +void UpdateGroupDnsAuthorizationRuleRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + diff --git a/cc5g/src/model/UpdateGroupDnsAuthorizationRuleResult.cc b/cc5g/src/model/UpdateGroupDnsAuthorizationRuleResult.cc new file mode 100644 index 000000000..baab4f8c5 --- /dev/null +++ b/cc5g/src/model/UpdateGroupDnsAuthorizationRuleResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +UpdateGroupDnsAuthorizationRuleResult::UpdateGroupDnsAuthorizationRuleResult() : + ServiceResult() +{} + +UpdateGroupDnsAuthorizationRuleResult::UpdateGroupDnsAuthorizationRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateGroupDnsAuthorizationRuleResult::~UpdateGroupDnsAuthorizationRuleResult() +{} + +void UpdateGroupDnsAuthorizationRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/UpdateWirelessCloudConnectorGroupRequest.cc b/cc5g/src/model/UpdateWirelessCloudConnectorGroupRequest.cc new file mode 100644 index 000000000..fdab02b24 --- /dev/null +++ b/cc5g/src/model/UpdateWirelessCloudConnectorGroupRequest.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::CC5G::Model::UpdateWirelessCloudConnectorGroupRequest; + +UpdateWirelessCloudConnectorGroupRequest::UpdateWirelessCloudConnectorGroupRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "UpdateWirelessCloudConnectorGroup") { + setMethod(HttpRequest::Method::Post); +} + +UpdateWirelessCloudConnectorGroupRequest::~UpdateWirelessCloudConnectorGroupRequest() {} + +std::string UpdateWirelessCloudConnectorGroupRequest::getWirelessCloudConnectorGroupId() const { + return wirelessCloudConnectorGroupId_; +} + +void UpdateWirelessCloudConnectorGroupRequest::setWirelessCloudConnectorGroupId(const std::string &wirelessCloudConnectorGroupId) { + wirelessCloudConnectorGroupId_ = wirelessCloudConnectorGroupId; + setParameter(std::string("WirelessCloudConnectorGroupId"), wirelessCloudConnectorGroupId); +} + +bool UpdateWirelessCloudConnectorGroupRequest::getDryRun() const { + return dryRun_; +} + +void UpdateWirelessCloudConnectorGroupRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string UpdateWirelessCloudConnectorGroupRequest::getClientToken() const { + return clientToken_; +} + +void UpdateWirelessCloudConnectorGroupRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string UpdateWirelessCloudConnectorGroupRequest::getDescription() const { + return description_; +} + +void UpdateWirelessCloudConnectorGroupRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); +} + +std::string UpdateWirelessCloudConnectorGroupRequest::getName() const { + return name_; +} + +void UpdateWirelessCloudConnectorGroupRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + diff --git a/cc5g/src/model/UpdateWirelessCloudConnectorGroupResult.cc b/cc5g/src/model/UpdateWirelessCloudConnectorGroupResult.cc new file mode 100644 index 000000000..cbd3e5fc2 --- /dev/null +++ b/cc5g/src/model/UpdateWirelessCloudConnectorGroupResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +UpdateWirelessCloudConnectorGroupResult::UpdateWirelessCloudConnectorGroupResult() : + ServiceResult() +{} + +UpdateWirelessCloudConnectorGroupResult::UpdateWirelessCloudConnectorGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateWirelessCloudConnectorGroupResult::~UpdateWirelessCloudConnectorGroupResult() +{} + +void UpdateWirelessCloudConnectorGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cc5g/src/model/UpdateWirelessCloudConnectorRequest.cc b/cc5g/src/model/UpdateWirelessCloudConnectorRequest.cc new file mode 100644 index 000000000..90b7c641c --- /dev/null +++ b/cc5g/src/model/UpdateWirelessCloudConnectorRequest.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::CC5G::Model::UpdateWirelessCloudConnectorRequest; + +UpdateWirelessCloudConnectorRequest::UpdateWirelessCloudConnectorRequest() + : RpcServiceRequest("cc5g", "2022-03-14", "UpdateWirelessCloudConnector") { + setMethod(HttpRequest::Method::Post); +} + +UpdateWirelessCloudConnectorRequest::~UpdateWirelessCloudConnectorRequest() {} + +bool UpdateWirelessCloudConnectorRequest::getDryRun() const { + return dryRun_; +} + +void UpdateWirelessCloudConnectorRequest::setDryRun(bool dryRun) { + dryRun_ = dryRun; + setParameter(std::string("DryRun"), dryRun ? "true" : "false"); +} + +std::string UpdateWirelessCloudConnectorRequest::getClientToken() const { + return clientToken_; +} + +void UpdateWirelessCloudConnectorRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); +} + +std::string UpdateWirelessCloudConnectorRequest::getDescription() const { + return description_; +} + +void UpdateWirelessCloudConnectorRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); +} + +std::string UpdateWirelessCloudConnectorRequest::getWirelessCloudConnectorId() const { + return wirelessCloudConnectorId_; +} + +void UpdateWirelessCloudConnectorRequest::setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId) { + wirelessCloudConnectorId_ = wirelessCloudConnectorId; + setParameter(std::string("WirelessCloudConnectorId"), wirelessCloudConnectorId); +} + +std::string UpdateWirelessCloudConnectorRequest::getName() const { + return name_; +} + +void UpdateWirelessCloudConnectorRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + diff --git a/cc5g/src/model/UpdateWirelessCloudConnectorResult.cc b/cc5g/src/model/UpdateWirelessCloudConnectorResult.cc new file mode 100644 index 000000000..b79c7091b --- /dev/null +++ b/cc5g/src/model/UpdateWirelessCloudConnectorResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CC5G; +using namespace AlibabaCloud::CC5G::Model; + +UpdateWirelessCloudConnectorResult::UpdateWirelessCloudConnectorResult() : + ServiceResult() +{} + +UpdateWirelessCloudConnectorResult::UpdateWirelessCloudConnectorResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateWirelessCloudConnectorResult::~UpdateWirelessCloudConnectorResult() +{} + +void UpdateWirelessCloudConnectorResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} +