From 06ad26c36a34ab3c298ce4bcac7d0bb85cbb6d2b Mon Sep 17 00:00:00 2001 From: sdk-team Date: Mon, 28 Aug 2023 02:28:04 +0000 Subject: [PATCH] Support elastic network interface. --- VERSION | 2 +- eflo/CMakeLists.txt | 192 ++ eflo/include/alibabacloud/eflo/EfloClient.h | 384 ++++ .../model/AssignPrivateIpAddressRequest.h | 60 + .../eflo/model/AssignPrivateIpAddressResult.h | 60 + .../eflo/model/AssociateVpdCidrBlockRequest.h | 48 + .../eflo/model/AssociateVpdCidrBlockResult.h | 59 + .../CreateElasticNetworkInterfaceRequest.h | 57 + .../CreateElasticNetworkInterfaceResult.h | 60 + .../eflo/model/CreateErAttachmentRequest.h | 60 + .../eflo/model/CreateErAttachmentResult.h | 59 + .../alibabacloud/eflo/model/CreateErRequest.h | 51 + .../alibabacloud/eflo/model/CreateErResult.h | 59 + .../eflo/model/CreateErRouteMapRequest.h | 75 + .../eflo/model/CreateErRouteMapResult.h | 59 + .../eflo/model/CreateSubnetRequest.h | 25 +- .../eflo/model/CreateVccGrantRuleRequest.h | 51 + .../eflo/model/CreateVccGrantRuleResult.h | 59 + .../eflo/model/CreateVccRequest.h | 25 + .../eflo/model/CreateVccRouteEntryRequest.h | 48 + .../eflo/model/CreateVccRouteEntryResult.h | 59 + .../eflo/model/CreateVpdGrantRuleRequest.h | 51 + .../eflo/model/CreateVpdGrantRuleResult.h | 59 + .../eflo/model/CreateVpdRequest.h | 18 +- .../DeleteElasticNetworkInterfaceRequest.h | 45 + .../DeleteElasticNetworkInterfaceResult.h | 60 + .../eflo/model/DeleteErAttachmentRequest.h | 48 + .../eflo/model/DeleteErAttachmentResult.h | 49 + .../alibabacloud/eflo/model/DeleteErRequest.h | 45 + .../alibabacloud/eflo/model/DeleteErResult.h | 49 + .../eflo/model/DeleteErRouteMapRequest.h | 48 + .../eflo/model/DeleteErRouteMapResult.h | 49 + .../eflo/model/DeleteVccGrantRuleRequest.h | 51 + .../eflo/model/DeleteVccGrantRuleResult.h | 49 + .../eflo/model/DeleteVccRouteEntryRequest.h | 51 + .../eflo/model/DeleteVccRouteEntryResult.h | 49 + .../eflo/model/DeleteVpdGrantRuleRequest.h | 54 + .../eflo/model/DeleteVpdGrantRuleResult.h | 49 + .../eflo/model/DescribeSlrRequest.h | 42 + .../eflo/model/DescribeSlrResult.h | 59 + .../model/GetElasticNetworkInterfaceRequest.h | 45 + .../model/GetElasticNetworkInterfaceResult.h | 74 + .../eflo/model/GetErAttachmentRequest.h | 48 + .../eflo/model/GetErAttachmentResult.h | 73 + .../alibabacloud/eflo/model/GetErRequest.h | 45 + .../alibabacloud/eflo/model/GetErResult.h | 127 ++ .../eflo/model/GetErRouteEntryRequest.h | 48 + .../eflo/model/GetErRouteEntryResult.h | 68 + .../eflo/model/GetErRouteMapRequest.h | 48 + .../eflo/model/GetErRouteMapResult.h | 79 + .../eflo/model/GetFabricTopologyRequest.h | 51 + .../eflo/model/GetFabricTopologyResult.h | 67 + .../model/GetLniPrivateIpAddressRequest.h | 48 + .../eflo/model/GetLniPrivateIpAddressResult.h | 67 + .../eflo/model/GetNetworkInterfaceRequest.h | 48 + .../eflo/model/GetNetworkInterfaceResult.h | 98 + .../eflo/model/GetSubnetRequest.h | 6 + .../alibabacloud/eflo/model/GetSubnetResult.h | 22 +- .../eflo/model/GetVccGrantRuleRequest.h | 54 + .../eflo/model/GetVccGrantRuleResult.h | 68 + .../alibabacloud/eflo/model/GetVccRequest.h | 9 + .../alibabacloud/eflo/model/GetVccResult.h | 32 +- .../eflo/model/GetVccRouteEntryRequest.h | 48 + .../eflo/model/GetVccRouteEntryResult.h | 68 + .../eflo/model/GetVpdGrantRuleRequest.h | 54 + .../eflo/model/GetVpdGrantRuleResult.h | 68 + .../alibabacloud/eflo/model/GetVpdRequest.h | 3 + .../alibabacloud/eflo/model/GetVpdResult.h | 39 +- .../eflo/model/GetVpdRouteEntryRequest.h | 48 + .../eflo/model/GetVpdRouteEntryResult.h | 68 + .../eflo/model/InitializeVccRequest.h | 3 + .../ListElasticNetworkInterfacesRequest.h | 75 + .../ListElasticNetworkInterfacesResult.h | 79 + .../eflo/model/ListErAttachmentsRequest.h | 75 + .../eflo/model/ListErAttachmentsResult.h | 78 + .../eflo/model/ListErRouteEntriesRequest.h | 75 + .../eflo/model/ListErRouteEntriesResult.h | 74 + .../eflo/model/ListErRouteMapsRequest.h | 84 + .../eflo/model/ListErRouteMapsResult.h | 83 + .../alibabacloud/eflo/model/ListErsRequest.h | 66 + .../alibabacloud/eflo/model/ListErsResult.h | 75 + .../eflo/model/ListInstancesByNcdRequest.h | 51 + .../eflo/model/ListInstancesByNcdResult.h | 67 + .../model/ListLniPrivateIpAddressRequest.h | 63 + .../model/ListLniPrivateIpAddressResult.h | 72 + .../eflo/model/ListNetworkInterfacesRequest.h | 66 + .../eflo/model/ListNetworkInterfacesResult.h | 103 + .../eflo/model/ListSubnetsRequest.h | 16 +- .../eflo/model/ListSubnetsResult.h | 19 +- .../eflo/model/ListVccGrantRulesRequest.h | 69 + .../eflo/model/ListVccGrantRulesResult.h | 73 + .../eflo/model/ListVccRouteEntriesRequest.h | 75 + .../eflo/model/ListVccRouteEntriesResult.h | 74 + .../alibabacloud/eflo/model/ListVccsRequest.h | 13 + .../alibabacloud/eflo/model/ListVccsResult.h | 44 +- .../eflo/model/ListVpdGrantRulesRequest.h | 69 + .../eflo/model/ListVpdGrantRulesResult.h | 73 + .../eflo/model/ListVpdRouteEntriesRequest.h | 75 + .../eflo/model/ListVpdRouteEntriesResult.h | 74 + .../alibabacloud/eflo/model/ListVpdsRequest.h | 16 +- .../alibabacloud/eflo/model/ListVpdsResult.h | 31 +- .../eflo/model/QueryInstanceNcdRequest.h | 51 + .../eflo/model/QueryInstanceNcdResult.h | 62 + .../model/UnAssignPrivateIpAddressRequest.h | 54 + .../model/UnAssignPrivateIpAddressResult.h | 60 + .../model/UnAssociateVpdCidrBlockRequest.h | 48 + .../model/UnAssociateVpdCidrBlockResult.h | 59 + .../UpdateElasticNetworkInterfaceRequest.h | 48 + .../UpdateElasticNetworkInterfaceResult.h | 60 + .../eflo/model/UpdateErAttachmentRequest.h | 51 + .../eflo/model/UpdateErAttachmentResult.h | 55 + .../alibabacloud/eflo/model/UpdateErRequest.h | 51 + .../alibabacloud/eflo/model/UpdateErResult.h | 55 + .../eflo/model/UpdateErRouteMapRequest.h | 51 + .../eflo/model/UpdateErRouteMapResult.h | 55 + .../eflo/model/UpdateSubnetRequest.h | 9 +- .../eflo/model/UpdateVpdRequest.h | 9 +- eflo/src/EfloClient.cc | 1728 +++++++++++++++++ .../model/AssignPrivateIpAddressRequest.cc | 90 + .../src/model/AssignPrivateIpAddressResult.cc | 68 + .../src/model/AssociateVpdCidrBlockRequest.cc | 54 + eflo/src/model/AssociateVpdCidrBlockResult.cc | 66 + .../CreateElasticNetworkInterfaceRequest.cc | 81 + .../CreateElasticNetworkInterfaceResult.cc | 68 + eflo/src/model/CreateErAttachmentRequest.cc | 90 + eflo/src/model/CreateErAttachmentResult.cc | 66 + eflo/src/model/CreateErRequest.cc | 63 + eflo/src/model/CreateErResult.cc | 66 + eflo/src/model/CreateErRouteMapRequest.cc | 135 ++ eflo/src/model/CreateErRouteMapResult.cc | 66 + eflo/src/model/CreateSubnetRequest.cc | 42 +- eflo/src/model/CreateVccGrantRuleRequest.cc | 63 + eflo/src/model/CreateVccGrantRuleResult.cc | 66 + eflo/src/model/CreateVccRequest.cc | 68 + eflo/src/model/CreateVccRouteEntryRequest.cc | 54 + eflo/src/model/CreateVccRouteEntryResult.cc | 66 + eflo/src/model/CreateVpdGrantRuleRequest.cc | 63 + eflo/src/model/CreateVpdGrantRuleResult.cc | 66 + eflo/src/model/CreateVpdRequest.cc | 43 +- .../DeleteElasticNetworkInterfaceRequest.cc | 45 + .../DeleteElasticNetworkInterfaceResult.cc | 68 + eflo/src/model/DeleteErAttachmentRequest.cc | 54 + eflo/src/model/DeleteErAttachmentResult.cc | 44 + eflo/src/model/DeleteErRequest.cc | 45 + eflo/src/model/DeleteErResult.cc | 44 + eflo/src/model/DeleteErRouteMapRequest.cc | 53 + eflo/src/model/DeleteErRouteMapResult.cc | 44 + eflo/src/model/DeleteVccGrantRuleRequest.cc | 63 + eflo/src/model/DeleteVccGrantRuleResult.cc | 44 + eflo/src/model/DeleteVccRouteEntryRequest.cc | 63 + eflo/src/model/DeleteVccRouteEntryResult.cc | 44 + eflo/src/model/DeleteVpdGrantRuleRequest.cc | 72 + eflo/src/model/DeleteVpdGrantRuleResult.cc | 44 + eflo/src/model/DescribeSlrRequest.cc | 36 + eflo/src/model/DescribeSlrResult.cc | 66 + .../GetElasticNetworkInterfaceRequest.cc | 45 + .../model/GetElasticNetworkInterfaceResult.cc | 96 + eflo/src/model/GetErAttachmentRequest.cc | 54 + eflo/src/model/GetErAttachmentResult.cc | 94 + eflo/src/model/GetErRequest.cc | 45 + eflo/src/model/GetErResult.cc | 196 ++ eflo/src/model/GetErRouteEntryRequest.cc | 54 + eflo/src/model/GetErRouteEntryResult.cc | 84 + eflo/src/model/GetErRouteMapRequest.cc | 54 + eflo/src/model/GetErRouteMapResult.cc | 106 + eflo/src/model/GetFabricTopologyRequest.cc | 61 + eflo/src/model/GetFabricTopologyResult.cc | 81 + .../model/GetLniPrivateIpAddressRequest.cc | 54 + .../src/model/GetLniPrivateIpAddressResult.cc | 82 + eflo/src/model/GetNetworkInterfaceRequest.cc | 54 + eflo/src/model/GetNetworkInterfaceResult.cc | 129 ++ eflo/src/model/GetSubnetRequest.cc | 18 + eflo/src/model/GetSubnetResult.cc | 40 +- eflo/src/model/GetVccGrantRuleRequest.cc | 72 + eflo/src/model/GetVccGrantRuleResult.cc | 84 + eflo/src/model/GetVccRequest.cc | 27 + eflo/src/model/GetVccResult.cc | 60 +- eflo/src/model/GetVccRouteEntryRequest.cc | 54 + eflo/src/model/GetVccRouteEntryResult.cc | 84 + eflo/src/model/GetVpdGrantRuleRequest.cc | 72 + eflo/src/model/GetVpdGrantRuleResult.cc | 84 + eflo/src/model/GetVpdRequest.cc | 9 + eflo/src/model/GetVpdResult.cc | 73 +- eflo/src/model/GetVpdRouteEntryRequest.cc | 54 + eflo/src/model/GetVpdRouteEntryResult.cc | 84 + eflo/src/model/InitializeVccRequest.cc | 9 + .../ListElasticNetworkInterfacesRequest.cc | 135 ++ .../ListElasticNetworkInterfacesResult.cc | 104 + eflo/src/model/ListErAttachmentsRequest.cc | 135 ++ eflo/src/model/ListErAttachmentsResult.cc | 102 + eflo/src/model/ListErRouteEntriesRequest.cc | 135 ++ eflo/src/model/ListErRouteEntriesResult.cc | 94 + eflo/src/model/ListErRouteMapsRequest.cc | 162 ++ eflo/src/model/ListErRouteMapsResult.cc | 112 ++ eflo/src/model/ListErsRequest.cc | 108 ++ eflo/src/model/ListErsResult.cc | 96 + eflo/src/model/ListInstancesByNcdRequest.cc | 63 + eflo/src/model/ListInstancesByNcdResult.cc | 80 + .../model/ListLniPrivateIpAddressRequest.cc | 99 + .../model/ListLniPrivateIpAddressResult.cc | 90 + .../src/model/ListNetworkInterfacesRequest.cc | 108 ++ eflo/src/model/ListNetworkInterfacesResult.cc | 137 ++ eflo/src/model/ListSubnetsRequest.cc | 41 +- eflo/src/model/ListSubnetsResult.cc | 34 +- eflo/src/model/ListVccGrantRulesRequest.cc | 117 ++ eflo/src/model/ListVccGrantRulesResult.cc | 92 + eflo/src/model/ListVccRouteEntriesRequest.cc | 135 ++ eflo/src/model/ListVccRouteEntriesResult.cc | 94 + eflo/src/model/ListVccsRequest.cc | 32 + eflo/src/model/ListVccsResult.cc | 64 +- eflo/src/model/ListVpdGrantRulesRequest.cc | 117 ++ eflo/src/model/ListVpdGrantRulesResult.cc | 92 + eflo/src/model/ListVpdRouteEntriesRequest.cc | 135 ++ eflo/src/model/ListVpdRouteEntriesResult.cc | 94 + eflo/src/model/ListVpdsRequest.cc | 41 +- eflo/src/model/ListVpdsResult.cc | 59 +- eflo/src/model/QueryInstanceNcdRequest.cc | 63 + eflo/src/model/QueryInstanceNcdResult.cc | 72 + .../model/UnAssignPrivateIpAddressRequest.cc | 72 + .../model/UnAssignPrivateIpAddressResult.cc | 68 + .../model/UnAssociateVpdCidrBlockRequest.cc | 54 + .../model/UnAssociateVpdCidrBlockResult.cc | 66 + .../UpdateElasticNetworkInterfaceRequest.cc | 54 + .../UpdateElasticNetworkInterfaceResult.cc | 68 + eflo/src/model/UpdateErAttachmentRequest.cc | 63 + eflo/src/model/UpdateErAttachmentResult.cc | 65 + eflo/src/model/UpdateErRequest.cc | 63 + eflo/src/model/UpdateErResult.cc | 65 + eflo/src/model/UpdateErRouteMapRequest.cc | 63 + eflo/src/model/UpdateErRouteMapResult.cc | 65 + eflo/src/model/UpdateSubnetRequest.cc | 27 +- eflo/src/model/UpdateVpdRequest.cc | 19 +- 232 files changed, 16565 insertions(+), 189 deletions(-) create mode 100644 eflo/include/alibabacloud/eflo/model/AssignPrivateIpAddressRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/AssignPrivateIpAddressResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/AssociateVpdCidrBlockRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/AssociateVpdCidrBlockResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/CreateElasticNetworkInterfaceRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/CreateElasticNetworkInterfaceResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/CreateErAttachmentRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/CreateErAttachmentResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/CreateErRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/CreateErResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/CreateErRouteMapRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/CreateErRouteMapResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/CreateVccGrantRuleRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/CreateVccGrantRuleResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/CreateVccRouteEntryRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/CreateVccRouteEntryResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/CreateVpdGrantRuleRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/CreateVpdGrantRuleResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/DeleteElasticNetworkInterfaceRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/DeleteElasticNetworkInterfaceResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/DeleteErAttachmentRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/DeleteErAttachmentResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/DeleteErRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/DeleteErResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/DeleteErRouteMapRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/DeleteErRouteMapResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/DeleteVccGrantRuleRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/DeleteVccGrantRuleResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/DeleteVccRouteEntryRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/DeleteVccRouteEntryResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/DeleteVpdGrantRuleRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/DeleteVpdGrantRuleResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/DescribeSlrRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/DescribeSlrResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/GetElasticNetworkInterfaceRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/GetElasticNetworkInterfaceResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/GetErAttachmentRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/GetErAttachmentResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/GetErRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/GetErResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/GetErRouteEntryRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/GetErRouteEntryResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/GetErRouteMapRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/GetErRouteMapResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/GetFabricTopologyRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/GetFabricTopologyResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/GetLniPrivateIpAddressRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/GetLniPrivateIpAddressResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/GetNetworkInterfaceRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/GetNetworkInterfaceResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/GetVccGrantRuleRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/GetVccGrantRuleResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/GetVccRouteEntryRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/GetVccRouteEntryResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/GetVpdGrantRuleRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/GetVpdGrantRuleResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/GetVpdRouteEntryRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/GetVpdRouteEntryResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/ListElasticNetworkInterfacesRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/ListElasticNetworkInterfacesResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/ListErAttachmentsRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/ListErAttachmentsResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/ListErRouteEntriesRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/ListErRouteEntriesResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/ListErRouteMapsRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/ListErRouteMapsResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/ListErsRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/ListErsResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/ListInstancesByNcdRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/ListInstancesByNcdResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/ListLniPrivateIpAddressRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/ListLniPrivateIpAddressResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/ListNetworkInterfacesRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/ListNetworkInterfacesResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/ListVccGrantRulesRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/ListVccGrantRulesResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/ListVccRouteEntriesRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/ListVccRouteEntriesResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/ListVpdGrantRulesRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/ListVpdGrantRulesResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/ListVpdRouteEntriesRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/ListVpdRouteEntriesResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/QueryInstanceNcdRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/QueryInstanceNcdResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/UnAssignPrivateIpAddressRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/UnAssignPrivateIpAddressResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/UnAssociateVpdCidrBlockRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/UnAssociateVpdCidrBlockResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/UpdateElasticNetworkInterfaceRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/UpdateElasticNetworkInterfaceResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/UpdateErAttachmentRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/UpdateErAttachmentResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/UpdateErRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/UpdateErResult.h create mode 100644 eflo/include/alibabacloud/eflo/model/UpdateErRouteMapRequest.h create mode 100644 eflo/include/alibabacloud/eflo/model/UpdateErRouteMapResult.h create mode 100644 eflo/src/model/AssignPrivateIpAddressRequest.cc create mode 100644 eflo/src/model/AssignPrivateIpAddressResult.cc create mode 100644 eflo/src/model/AssociateVpdCidrBlockRequest.cc create mode 100644 eflo/src/model/AssociateVpdCidrBlockResult.cc create mode 100644 eflo/src/model/CreateElasticNetworkInterfaceRequest.cc create mode 100644 eflo/src/model/CreateElasticNetworkInterfaceResult.cc create mode 100644 eflo/src/model/CreateErAttachmentRequest.cc create mode 100644 eflo/src/model/CreateErAttachmentResult.cc create mode 100644 eflo/src/model/CreateErRequest.cc create mode 100644 eflo/src/model/CreateErResult.cc create mode 100644 eflo/src/model/CreateErRouteMapRequest.cc create mode 100644 eflo/src/model/CreateErRouteMapResult.cc create mode 100644 eflo/src/model/CreateVccGrantRuleRequest.cc create mode 100644 eflo/src/model/CreateVccGrantRuleResult.cc create mode 100644 eflo/src/model/CreateVccRouteEntryRequest.cc create mode 100644 eflo/src/model/CreateVccRouteEntryResult.cc create mode 100644 eflo/src/model/CreateVpdGrantRuleRequest.cc create mode 100644 eflo/src/model/CreateVpdGrantRuleResult.cc create mode 100644 eflo/src/model/DeleteElasticNetworkInterfaceRequest.cc create mode 100644 eflo/src/model/DeleteElasticNetworkInterfaceResult.cc create mode 100644 eflo/src/model/DeleteErAttachmentRequest.cc create mode 100644 eflo/src/model/DeleteErAttachmentResult.cc create mode 100644 eflo/src/model/DeleteErRequest.cc create mode 100644 eflo/src/model/DeleteErResult.cc create mode 100644 eflo/src/model/DeleteErRouteMapRequest.cc create mode 100644 eflo/src/model/DeleteErRouteMapResult.cc create mode 100644 eflo/src/model/DeleteVccGrantRuleRequest.cc create mode 100644 eflo/src/model/DeleteVccGrantRuleResult.cc create mode 100644 eflo/src/model/DeleteVccRouteEntryRequest.cc create mode 100644 eflo/src/model/DeleteVccRouteEntryResult.cc create mode 100644 eflo/src/model/DeleteVpdGrantRuleRequest.cc create mode 100644 eflo/src/model/DeleteVpdGrantRuleResult.cc create mode 100644 eflo/src/model/DescribeSlrRequest.cc create mode 100644 eflo/src/model/DescribeSlrResult.cc create mode 100644 eflo/src/model/GetElasticNetworkInterfaceRequest.cc create mode 100644 eflo/src/model/GetElasticNetworkInterfaceResult.cc create mode 100644 eflo/src/model/GetErAttachmentRequest.cc create mode 100644 eflo/src/model/GetErAttachmentResult.cc create mode 100644 eflo/src/model/GetErRequest.cc create mode 100644 eflo/src/model/GetErResult.cc create mode 100644 eflo/src/model/GetErRouteEntryRequest.cc create mode 100644 eflo/src/model/GetErRouteEntryResult.cc create mode 100644 eflo/src/model/GetErRouteMapRequest.cc create mode 100644 eflo/src/model/GetErRouteMapResult.cc create mode 100644 eflo/src/model/GetFabricTopologyRequest.cc create mode 100644 eflo/src/model/GetFabricTopologyResult.cc create mode 100644 eflo/src/model/GetLniPrivateIpAddressRequest.cc create mode 100644 eflo/src/model/GetLniPrivateIpAddressResult.cc create mode 100644 eflo/src/model/GetNetworkInterfaceRequest.cc create mode 100644 eflo/src/model/GetNetworkInterfaceResult.cc create mode 100644 eflo/src/model/GetVccGrantRuleRequest.cc create mode 100644 eflo/src/model/GetVccGrantRuleResult.cc create mode 100644 eflo/src/model/GetVccRouteEntryRequest.cc create mode 100644 eflo/src/model/GetVccRouteEntryResult.cc create mode 100644 eflo/src/model/GetVpdGrantRuleRequest.cc create mode 100644 eflo/src/model/GetVpdGrantRuleResult.cc create mode 100644 eflo/src/model/GetVpdRouteEntryRequest.cc create mode 100644 eflo/src/model/GetVpdRouteEntryResult.cc create mode 100644 eflo/src/model/ListElasticNetworkInterfacesRequest.cc create mode 100644 eflo/src/model/ListElasticNetworkInterfacesResult.cc create mode 100644 eflo/src/model/ListErAttachmentsRequest.cc create mode 100644 eflo/src/model/ListErAttachmentsResult.cc create mode 100644 eflo/src/model/ListErRouteEntriesRequest.cc create mode 100644 eflo/src/model/ListErRouteEntriesResult.cc create mode 100644 eflo/src/model/ListErRouteMapsRequest.cc create mode 100644 eflo/src/model/ListErRouteMapsResult.cc create mode 100644 eflo/src/model/ListErsRequest.cc create mode 100644 eflo/src/model/ListErsResult.cc create mode 100644 eflo/src/model/ListInstancesByNcdRequest.cc create mode 100644 eflo/src/model/ListInstancesByNcdResult.cc create mode 100644 eflo/src/model/ListLniPrivateIpAddressRequest.cc create mode 100644 eflo/src/model/ListLniPrivateIpAddressResult.cc create mode 100644 eflo/src/model/ListNetworkInterfacesRequest.cc create mode 100644 eflo/src/model/ListNetworkInterfacesResult.cc create mode 100644 eflo/src/model/ListVccGrantRulesRequest.cc create mode 100644 eflo/src/model/ListVccGrantRulesResult.cc create mode 100644 eflo/src/model/ListVccRouteEntriesRequest.cc create mode 100644 eflo/src/model/ListVccRouteEntriesResult.cc create mode 100644 eflo/src/model/ListVpdGrantRulesRequest.cc create mode 100644 eflo/src/model/ListVpdGrantRulesResult.cc create mode 100644 eflo/src/model/ListVpdRouteEntriesRequest.cc create mode 100644 eflo/src/model/ListVpdRouteEntriesResult.cc create mode 100644 eflo/src/model/QueryInstanceNcdRequest.cc create mode 100644 eflo/src/model/QueryInstanceNcdResult.cc create mode 100644 eflo/src/model/UnAssignPrivateIpAddressRequest.cc create mode 100644 eflo/src/model/UnAssignPrivateIpAddressResult.cc create mode 100644 eflo/src/model/UnAssociateVpdCidrBlockRequest.cc create mode 100644 eflo/src/model/UnAssociateVpdCidrBlockResult.cc create mode 100644 eflo/src/model/UpdateElasticNetworkInterfaceRequest.cc create mode 100644 eflo/src/model/UpdateElasticNetworkInterfaceResult.cc create mode 100644 eflo/src/model/UpdateErAttachmentRequest.cc create mode 100644 eflo/src/model/UpdateErAttachmentResult.cc create mode 100644 eflo/src/model/UpdateErRequest.cc create mode 100644 eflo/src/model/UpdateErResult.cc create mode 100644 eflo/src/model/UpdateErRouteMapRequest.cc create mode 100644 eflo/src/model/UpdateErRouteMapResult.cc diff --git a/VERSION b/VERSION index 5bfb84cd6..1e3f00227 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1737 \ No newline at end of file +1.36.1738 \ No newline at end of file diff --git a/eflo/CMakeLists.txt b/eflo/CMakeLists.txt index 346a050de..19831822b 100644 --- a/eflo/CMakeLists.txt +++ b/eflo/CMakeLists.txt @@ -21,30 +21,126 @@ set(eflo_public_header include/alibabacloud/eflo/EfloExport.h ) set(eflo_public_header_model + include/alibabacloud/eflo/model/AssignPrivateIpAddressRequest.h + include/alibabacloud/eflo/model/AssignPrivateIpAddressResult.h + include/alibabacloud/eflo/model/AssociateVpdCidrBlockRequest.h + include/alibabacloud/eflo/model/AssociateVpdCidrBlockResult.h + include/alibabacloud/eflo/model/CreateElasticNetworkInterfaceRequest.h + include/alibabacloud/eflo/model/CreateElasticNetworkInterfaceResult.h + include/alibabacloud/eflo/model/CreateErRequest.h + include/alibabacloud/eflo/model/CreateErResult.h + include/alibabacloud/eflo/model/CreateErAttachmentRequest.h + include/alibabacloud/eflo/model/CreateErAttachmentResult.h + include/alibabacloud/eflo/model/CreateErRouteMapRequest.h + include/alibabacloud/eflo/model/CreateErRouteMapResult.h include/alibabacloud/eflo/model/CreateSubnetRequest.h include/alibabacloud/eflo/model/CreateSubnetResult.h include/alibabacloud/eflo/model/CreateVccRequest.h include/alibabacloud/eflo/model/CreateVccResult.h + include/alibabacloud/eflo/model/CreateVccGrantRuleRequest.h + include/alibabacloud/eflo/model/CreateVccGrantRuleResult.h + include/alibabacloud/eflo/model/CreateVccRouteEntryRequest.h + include/alibabacloud/eflo/model/CreateVccRouteEntryResult.h include/alibabacloud/eflo/model/CreateVpdRequest.h include/alibabacloud/eflo/model/CreateVpdResult.h + include/alibabacloud/eflo/model/CreateVpdGrantRuleRequest.h + include/alibabacloud/eflo/model/CreateVpdGrantRuleResult.h + include/alibabacloud/eflo/model/DeleteElasticNetworkInterfaceRequest.h + include/alibabacloud/eflo/model/DeleteElasticNetworkInterfaceResult.h + include/alibabacloud/eflo/model/DeleteErRequest.h + include/alibabacloud/eflo/model/DeleteErResult.h + include/alibabacloud/eflo/model/DeleteErAttachmentRequest.h + include/alibabacloud/eflo/model/DeleteErAttachmentResult.h + include/alibabacloud/eflo/model/DeleteErRouteMapRequest.h + include/alibabacloud/eflo/model/DeleteErRouteMapResult.h include/alibabacloud/eflo/model/DeleteSubnetRequest.h include/alibabacloud/eflo/model/DeleteSubnetResult.h + include/alibabacloud/eflo/model/DeleteVccGrantRuleRequest.h + include/alibabacloud/eflo/model/DeleteVccGrantRuleResult.h + include/alibabacloud/eflo/model/DeleteVccRouteEntryRequest.h + include/alibabacloud/eflo/model/DeleteVccRouteEntryResult.h include/alibabacloud/eflo/model/DeleteVpdRequest.h include/alibabacloud/eflo/model/DeleteVpdResult.h + include/alibabacloud/eflo/model/DeleteVpdGrantRuleRequest.h + include/alibabacloud/eflo/model/DeleteVpdGrantRuleResult.h + include/alibabacloud/eflo/model/DescribeSlrRequest.h + include/alibabacloud/eflo/model/DescribeSlrResult.h + include/alibabacloud/eflo/model/GetElasticNetworkInterfaceRequest.h + include/alibabacloud/eflo/model/GetElasticNetworkInterfaceResult.h + include/alibabacloud/eflo/model/GetErRequest.h + include/alibabacloud/eflo/model/GetErResult.h + include/alibabacloud/eflo/model/GetErAttachmentRequest.h + include/alibabacloud/eflo/model/GetErAttachmentResult.h + include/alibabacloud/eflo/model/GetErRouteEntryRequest.h + include/alibabacloud/eflo/model/GetErRouteEntryResult.h + include/alibabacloud/eflo/model/GetErRouteMapRequest.h + include/alibabacloud/eflo/model/GetErRouteMapResult.h + include/alibabacloud/eflo/model/GetFabricTopologyRequest.h + include/alibabacloud/eflo/model/GetFabricTopologyResult.h + include/alibabacloud/eflo/model/GetLniPrivateIpAddressRequest.h + include/alibabacloud/eflo/model/GetLniPrivateIpAddressResult.h + include/alibabacloud/eflo/model/GetNetworkInterfaceRequest.h + include/alibabacloud/eflo/model/GetNetworkInterfaceResult.h include/alibabacloud/eflo/model/GetSubnetRequest.h include/alibabacloud/eflo/model/GetSubnetResult.h include/alibabacloud/eflo/model/GetVccRequest.h include/alibabacloud/eflo/model/GetVccResult.h + include/alibabacloud/eflo/model/GetVccGrantRuleRequest.h + include/alibabacloud/eflo/model/GetVccGrantRuleResult.h + include/alibabacloud/eflo/model/GetVccRouteEntryRequest.h + include/alibabacloud/eflo/model/GetVccRouteEntryResult.h include/alibabacloud/eflo/model/GetVpdRequest.h include/alibabacloud/eflo/model/GetVpdResult.h + include/alibabacloud/eflo/model/GetVpdGrantRuleRequest.h + include/alibabacloud/eflo/model/GetVpdGrantRuleResult.h + include/alibabacloud/eflo/model/GetVpdRouteEntryRequest.h + include/alibabacloud/eflo/model/GetVpdRouteEntryResult.h include/alibabacloud/eflo/model/InitializeVccRequest.h include/alibabacloud/eflo/model/InitializeVccResult.h + include/alibabacloud/eflo/model/ListElasticNetworkInterfacesRequest.h + include/alibabacloud/eflo/model/ListElasticNetworkInterfacesResult.h + include/alibabacloud/eflo/model/ListErAttachmentsRequest.h + include/alibabacloud/eflo/model/ListErAttachmentsResult.h + include/alibabacloud/eflo/model/ListErRouteEntriesRequest.h + include/alibabacloud/eflo/model/ListErRouteEntriesResult.h + include/alibabacloud/eflo/model/ListErRouteMapsRequest.h + include/alibabacloud/eflo/model/ListErRouteMapsResult.h + include/alibabacloud/eflo/model/ListErsRequest.h + include/alibabacloud/eflo/model/ListErsResult.h + include/alibabacloud/eflo/model/ListInstancesByNcdRequest.h + include/alibabacloud/eflo/model/ListInstancesByNcdResult.h + include/alibabacloud/eflo/model/ListLniPrivateIpAddressRequest.h + include/alibabacloud/eflo/model/ListLniPrivateIpAddressResult.h + include/alibabacloud/eflo/model/ListNetworkInterfacesRequest.h + include/alibabacloud/eflo/model/ListNetworkInterfacesResult.h include/alibabacloud/eflo/model/ListSubnetsRequest.h include/alibabacloud/eflo/model/ListSubnetsResult.h + include/alibabacloud/eflo/model/ListVccGrantRulesRequest.h + include/alibabacloud/eflo/model/ListVccGrantRulesResult.h + include/alibabacloud/eflo/model/ListVccRouteEntriesRequest.h + include/alibabacloud/eflo/model/ListVccRouteEntriesResult.h include/alibabacloud/eflo/model/ListVccsRequest.h include/alibabacloud/eflo/model/ListVccsResult.h + include/alibabacloud/eflo/model/ListVpdGrantRulesRequest.h + include/alibabacloud/eflo/model/ListVpdGrantRulesResult.h + include/alibabacloud/eflo/model/ListVpdRouteEntriesRequest.h + include/alibabacloud/eflo/model/ListVpdRouteEntriesResult.h include/alibabacloud/eflo/model/ListVpdsRequest.h include/alibabacloud/eflo/model/ListVpdsResult.h + include/alibabacloud/eflo/model/QueryInstanceNcdRequest.h + include/alibabacloud/eflo/model/QueryInstanceNcdResult.h + include/alibabacloud/eflo/model/UnAssignPrivateIpAddressRequest.h + include/alibabacloud/eflo/model/UnAssignPrivateIpAddressResult.h + include/alibabacloud/eflo/model/UnAssociateVpdCidrBlockRequest.h + include/alibabacloud/eflo/model/UnAssociateVpdCidrBlockResult.h + include/alibabacloud/eflo/model/UpdateElasticNetworkInterfaceRequest.h + include/alibabacloud/eflo/model/UpdateElasticNetworkInterfaceResult.h + include/alibabacloud/eflo/model/UpdateErRequest.h + include/alibabacloud/eflo/model/UpdateErResult.h + include/alibabacloud/eflo/model/UpdateErAttachmentRequest.h + include/alibabacloud/eflo/model/UpdateErAttachmentResult.h + include/alibabacloud/eflo/model/UpdateErRouteMapRequest.h + include/alibabacloud/eflo/model/UpdateErRouteMapResult.h include/alibabacloud/eflo/model/UpdateSubnetRequest.h include/alibabacloud/eflo/model/UpdateSubnetResult.h include/alibabacloud/eflo/model/UpdateVccRequest.h @@ -54,30 +150,126 @@ set(eflo_public_header_model set(eflo_src src/EfloClient.cc + src/model/AssignPrivateIpAddressRequest.cc + src/model/AssignPrivateIpAddressResult.cc + src/model/AssociateVpdCidrBlockRequest.cc + src/model/AssociateVpdCidrBlockResult.cc + src/model/CreateElasticNetworkInterfaceRequest.cc + src/model/CreateElasticNetworkInterfaceResult.cc + src/model/CreateErRequest.cc + src/model/CreateErResult.cc + src/model/CreateErAttachmentRequest.cc + src/model/CreateErAttachmentResult.cc + src/model/CreateErRouteMapRequest.cc + src/model/CreateErRouteMapResult.cc src/model/CreateSubnetRequest.cc src/model/CreateSubnetResult.cc src/model/CreateVccRequest.cc src/model/CreateVccResult.cc + src/model/CreateVccGrantRuleRequest.cc + src/model/CreateVccGrantRuleResult.cc + src/model/CreateVccRouteEntryRequest.cc + src/model/CreateVccRouteEntryResult.cc src/model/CreateVpdRequest.cc src/model/CreateVpdResult.cc + src/model/CreateVpdGrantRuleRequest.cc + src/model/CreateVpdGrantRuleResult.cc + src/model/DeleteElasticNetworkInterfaceRequest.cc + src/model/DeleteElasticNetworkInterfaceResult.cc + src/model/DeleteErRequest.cc + src/model/DeleteErResult.cc + src/model/DeleteErAttachmentRequest.cc + src/model/DeleteErAttachmentResult.cc + src/model/DeleteErRouteMapRequest.cc + src/model/DeleteErRouteMapResult.cc src/model/DeleteSubnetRequest.cc src/model/DeleteSubnetResult.cc + src/model/DeleteVccGrantRuleRequest.cc + src/model/DeleteVccGrantRuleResult.cc + src/model/DeleteVccRouteEntryRequest.cc + src/model/DeleteVccRouteEntryResult.cc src/model/DeleteVpdRequest.cc src/model/DeleteVpdResult.cc + src/model/DeleteVpdGrantRuleRequest.cc + src/model/DeleteVpdGrantRuleResult.cc + src/model/DescribeSlrRequest.cc + src/model/DescribeSlrResult.cc + src/model/GetElasticNetworkInterfaceRequest.cc + src/model/GetElasticNetworkInterfaceResult.cc + src/model/GetErRequest.cc + src/model/GetErResult.cc + src/model/GetErAttachmentRequest.cc + src/model/GetErAttachmentResult.cc + src/model/GetErRouteEntryRequest.cc + src/model/GetErRouteEntryResult.cc + src/model/GetErRouteMapRequest.cc + src/model/GetErRouteMapResult.cc + src/model/GetFabricTopologyRequest.cc + src/model/GetFabricTopologyResult.cc + src/model/GetLniPrivateIpAddressRequest.cc + src/model/GetLniPrivateIpAddressResult.cc + src/model/GetNetworkInterfaceRequest.cc + src/model/GetNetworkInterfaceResult.cc src/model/GetSubnetRequest.cc src/model/GetSubnetResult.cc src/model/GetVccRequest.cc src/model/GetVccResult.cc + src/model/GetVccGrantRuleRequest.cc + src/model/GetVccGrantRuleResult.cc + src/model/GetVccRouteEntryRequest.cc + src/model/GetVccRouteEntryResult.cc src/model/GetVpdRequest.cc src/model/GetVpdResult.cc + src/model/GetVpdGrantRuleRequest.cc + src/model/GetVpdGrantRuleResult.cc + src/model/GetVpdRouteEntryRequest.cc + src/model/GetVpdRouteEntryResult.cc src/model/InitializeVccRequest.cc src/model/InitializeVccResult.cc + src/model/ListElasticNetworkInterfacesRequest.cc + src/model/ListElasticNetworkInterfacesResult.cc + src/model/ListErAttachmentsRequest.cc + src/model/ListErAttachmentsResult.cc + src/model/ListErRouteEntriesRequest.cc + src/model/ListErRouteEntriesResult.cc + src/model/ListErRouteMapsRequest.cc + src/model/ListErRouteMapsResult.cc + src/model/ListErsRequest.cc + src/model/ListErsResult.cc + src/model/ListInstancesByNcdRequest.cc + src/model/ListInstancesByNcdResult.cc + src/model/ListLniPrivateIpAddressRequest.cc + src/model/ListLniPrivateIpAddressResult.cc + src/model/ListNetworkInterfacesRequest.cc + src/model/ListNetworkInterfacesResult.cc src/model/ListSubnetsRequest.cc src/model/ListSubnetsResult.cc + src/model/ListVccGrantRulesRequest.cc + src/model/ListVccGrantRulesResult.cc + src/model/ListVccRouteEntriesRequest.cc + src/model/ListVccRouteEntriesResult.cc src/model/ListVccsRequest.cc src/model/ListVccsResult.cc + src/model/ListVpdGrantRulesRequest.cc + src/model/ListVpdGrantRulesResult.cc + src/model/ListVpdRouteEntriesRequest.cc + src/model/ListVpdRouteEntriesResult.cc src/model/ListVpdsRequest.cc src/model/ListVpdsResult.cc + src/model/QueryInstanceNcdRequest.cc + src/model/QueryInstanceNcdResult.cc + src/model/UnAssignPrivateIpAddressRequest.cc + src/model/UnAssignPrivateIpAddressResult.cc + src/model/UnAssociateVpdCidrBlockRequest.cc + src/model/UnAssociateVpdCidrBlockResult.cc + src/model/UpdateElasticNetworkInterfaceRequest.cc + src/model/UpdateElasticNetworkInterfaceResult.cc + src/model/UpdateErRequest.cc + src/model/UpdateErResult.cc + src/model/UpdateErAttachmentRequest.cc + src/model/UpdateErAttachmentResult.cc + src/model/UpdateErRouteMapRequest.cc + src/model/UpdateErRouteMapResult.cc src/model/UpdateSubnetRequest.cc src/model/UpdateSubnetResult.cc src/model/UpdateVccRequest.cc diff --git a/eflo/include/alibabacloud/eflo/EfloClient.h b/eflo/include/alibabacloud/eflo/EfloClient.h index 2d15bd390..4504df6d3 100644 --- a/eflo/include/alibabacloud/eflo/EfloClient.h +++ b/eflo/include/alibabacloud/eflo/EfloClient.h @@ -22,30 +22,126 @@ #include #include #include "EfloExport.h" +#include "model/AssignPrivateIpAddressRequest.h" +#include "model/AssignPrivateIpAddressResult.h" +#include "model/AssociateVpdCidrBlockRequest.h" +#include "model/AssociateVpdCidrBlockResult.h" +#include "model/CreateElasticNetworkInterfaceRequest.h" +#include "model/CreateElasticNetworkInterfaceResult.h" +#include "model/CreateErRequest.h" +#include "model/CreateErResult.h" +#include "model/CreateErAttachmentRequest.h" +#include "model/CreateErAttachmentResult.h" +#include "model/CreateErRouteMapRequest.h" +#include "model/CreateErRouteMapResult.h" #include "model/CreateSubnetRequest.h" #include "model/CreateSubnetResult.h" #include "model/CreateVccRequest.h" #include "model/CreateVccResult.h" +#include "model/CreateVccGrantRuleRequest.h" +#include "model/CreateVccGrantRuleResult.h" +#include "model/CreateVccRouteEntryRequest.h" +#include "model/CreateVccRouteEntryResult.h" #include "model/CreateVpdRequest.h" #include "model/CreateVpdResult.h" +#include "model/CreateVpdGrantRuleRequest.h" +#include "model/CreateVpdGrantRuleResult.h" +#include "model/DeleteElasticNetworkInterfaceRequest.h" +#include "model/DeleteElasticNetworkInterfaceResult.h" +#include "model/DeleteErRequest.h" +#include "model/DeleteErResult.h" +#include "model/DeleteErAttachmentRequest.h" +#include "model/DeleteErAttachmentResult.h" +#include "model/DeleteErRouteMapRequest.h" +#include "model/DeleteErRouteMapResult.h" #include "model/DeleteSubnetRequest.h" #include "model/DeleteSubnetResult.h" +#include "model/DeleteVccGrantRuleRequest.h" +#include "model/DeleteVccGrantRuleResult.h" +#include "model/DeleteVccRouteEntryRequest.h" +#include "model/DeleteVccRouteEntryResult.h" #include "model/DeleteVpdRequest.h" #include "model/DeleteVpdResult.h" +#include "model/DeleteVpdGrantRuleRequest.h" +#include "model/DeleteVpdGrantRuleResult.h" +#include "model/DescribeSlrRequest.h" +#include "model/DescribeSlrResult.h" +#include "model/GetElasticNetworkInterfaceRequest.h" +#include "model/GetElasticNetworkInterfaceResult.h" +#include "model/GetErRequest.h" +#include "model/GetErResult.h" +#include "model/GetErAttachmentRequest.h" +#include "model/GetErAttachmentResult.h" +#include "model/GetErRouteEntryRequest.h" +#include "model/GetErRouteEntryResult.h" +#include "model/GetErRouteMapRequest.h" +#include "model/GetErRouteMapResult.h" +#include "model/GetFabricTopologyRequest.h" +#include "model/GetFabricTopologyResult.h" +#include "model/GetLniPrivateIpAddressRequest.h" +#include "model/GetLniPrivateIpAddressResult.h" +#include "model/GetNetworkInterfaceRequest.h" +#include "model/GetNetworkInterfaceResult.h" #include "model/GetSubnetRequest.h" #include "model/GetSubnetResult.h" #include "model/GetVccRequest.h" #include "model/GetVccResult.h" +#include "model/GetVccGrantRuleRequest.h" +#include "model/GetVccGrantRuleResult.h" +#include "model/GetVccRouteEntryRequest.h" +#include "model/GetVccRouteEntryResult.h" #include "model/GetVpdRequest.h" #include "model/GetVpdResult.h" +#include "model/GetVpdGrantRuleRequest.h" +#include "model/GetVpdGrantRuleResult.h" +#include "model/GetVpdRouteEntryRequest.h" +#include "model/GetVpdRouteEntryResult.h" #include "model/InitializeVccRequest.h" #include "model/InitializeVccResult.h" +#include "model/ListElasticNetworkInterfacesRequest.h" +#include "model/ListElasticNetworkInterfacesResult.h" +#include "model/ListErAttachmentsRequest.h" +#include "model/ListErAttachmentsResult.h" +#include "model/ListErRouteEntriesRequest.h" +#include "model/ListErRouteEntriesResult.h" +#include "model/ListErRouteMapsRequest.h" +#include "model/ListErRouteMapsResult.h" +#include "model/ListErsRequest.h" +#include "model/ListErsResult.h" +#include "model/ListInstancesByNcdRequest.h" +#include "model/ListInstancesByNcdResult.h" +#include "model/ListLniPrivateIpAddressRequest.h" +#include "model/ListLniPrivateIpAddressResult.h" +#include "model/ListNetworkInterfacesRequest.h" +#include "model/ListNetworkInterfacesResult.h" #include "model/ListSubnetsRequest.h" #include "model/ListSubnetsResult.h" +#include "model/ListVccGrantRulesRequest.h" +#include "model/ListVccGrantRulesResult.h" +#include "model/ListVccRouteEntriesRequest.h" +#include "model/ListVccRouteEntriesResult.h" #include "model/ListVccsRequest.h" #include "model/ListVccsResult.h" +#include "model/ListVpdGrantRulesRequest.h" +#include "model/ListVpdGrantRulesResult.h" +#include "model/ListVpdRouteEntriesRequest.h" +#include "model/ListVpdRouteEntriesResult.h" #include "model/ListVpdsRequest.h" #include "model/ListVpdsResult.h" +#include "model/QueryInstanceNcdRequest.h" +#include "model/QueryInstanceNcdResult.h" +#include "model/UnAssignPrivateIpAddressRequest.h" +#include "model/UnAssignPrivateIpAddressResult.h" +#include "model/UnAssociateVpdCidrBlockRequest.h" +#include "model/UnAssociateVpdCidrBlockResult.h" +#include "model/UpdateElasticNetworkInterfaceRequest.h" +#include "model/UpdateElasticNetworkInterfaceResult.h" +#include "model/UpdateErRequest.h" +#include "model/UpdateErResult.h" +#include "model/UpdateErAttachmentRequest.h" +#include "model/UpdateErAttachmentResult.h" +#include "model/UpdateErRouteMapRequest.h" +#include "model/UpdateErRouteMapResult.h" #include "model/UpdateSubnetRequest.h" #include "model/UpdateSubnetResult.h" #include "model/UpdateVccRequest.h" @@ -61,42 +157,186 @@ namespace AlibabaCloud class ALIBABACLOUD_EFLO_EXPORT EfloClient : public RpcServiceClient { public: + typedef Outcome AssignPrivateIpAddressOutcome; + typedef std::future AssignPrivateIpAddressOutcomeCallable; + typedef std::function&)> AssignPrivateIpAddressAsyncHandler; + typedef Outcome AssociateVpdCidrBlockOutcome; + typedef std::future AssociateVpdCidrBlockOutcomeCallable; + typedef std::function&)> AssociateVpdCidrBlockAsyncHandler; + typedef Outcome CreateElasticNetworkInterfaceOutcome; + typedef std::future CreateElasticNetworkInterfaceOutcomeCallable; + typedef std::function&)> CreateElasticNetworkInterfaceAsyncHandler; + typedef Outcome CreateErOutcome; + typedef std::future CreateErOutcomeCallable; + typedef std::function&)> CreateErAsyncHandler; + typedef Outcome CreateErAttachmentOutcome; + typedef std::future CreateErAttachmentOutcomeCallable; + typedef std::function&)> CreateErAttachmentAsyncHandler; + typedef Outcome CreateErRouteMapOutcome; + typedef std::future CreateErRouteMapOutcomeCallable; + typedef std::function&)> CreateErRouteMapAsyncHandler; typedef Outcome CreateSubnetOutcome; typedef std::future CreateSubnetOutcomeCallable; typedef std::function&)> CreateSubnetAsyncHandler; typedef Outcome CreateVccOutcome; typedef std::future CreateVccOutcomeCallable; typedef std::function&)> CreateVccAsyncHandler; + typedef Outcome CreateVccGrantRuleOutcome; + typedef std::future CreateVccGrantRuleOutcomeCallable; + typedef std::function&)> CreateVccGrantRuleAsyncHandler; + typedef Outcome CreateVccRouteEntryOutcome; + typedef std::future CreateVccRouteEntryOutcomeCallable; + typedef std::function&)> CreateVccRouteEntryAsyncHandler; typedef Outcome CreateVpdOutcome; typedef std::future CreateVpdOutcomeCallable; typedef std::function&)> CreateVpdAsyncHandler; + typedef Outcome CreateVpdGrantRuleOutcome; + typedef std::future CreateVpdGrantRuleOutcomeCallable; + typedef std::function&)> CreateVpdGrantRuleAsyncHandler; + typedef Outcome DeleteElasticNetworkInterfaceOutcome; + typedef std::future DeleteElasticNetworkInterfaceOutcomeCallable; + typedef std::function&)> DeleteElasticNetworkInterfaceAsyncHandler; + typedef Outcome DeleteErOutcome; + typedef std::future DeleteErOutcomeCallable; + typedef std::function&)> DeleteErAsyncHandler; + typedef Outcome DeleteErAttachmentOutcome; + typedef std::future DeleteErAttachmentOutcomeCallable; + typedef std::function&)> DeleteErAttachmentAsyncHandler; + typedef Outcome DeleteErRouteMapOutcome; + typedef std::future DeleteErRouteMapOutcomeCallable; + typedef std::function&)> DeleteErRouteMapAsyncHandler; typedef Outcome DeleteSubnetOutcome; typedef std::future DeleteSubnetOutcomeCallable; typedef std::function&)> DeleteSubnetAsyncHandler; + typedef Outcome DeleteVccGrantRuleOutcome; + typedef std::future DeleteVccGrantRuleOutcomeCallable; + typedef std::function&)> DeleteVccGrantRuleAsyncHandler; + typedef Outcome DeleteVccRouteEntryOutcome; + typedef std::future DeleteVccRouteEntryOutcomeCallable; + typedef std::function&)> DeleteVccRouteEntryAsyncHandler; typedef Outcome DeleteVpdOutcome; typedef std::future DeleteVpdOutcomeCallable; typedef std::function&)> DeleteVpdAsyncHandler; + typedef Outcome DeleteVpdGrantRuleOutcome; + typedef std::future DeleteVpdGrantRuleOutcomeCallable; + typedef std::function&)> DeleteVpdGrantRuleAsyncHandler; + typedef Outcome DescribeSlrOutcome; + typedef std::future DescribeSlrOutcomeCallable; + typedef std::function&)> DescribeSlrAsyncHandler; + typedef Outcome GetElasticNetworkInterfaceOutcome; + typedef std::future GetElasticNetworkInterfaceOutcomeCallable; + typedef std::function&)> GetElasticNetworkInterfaceAsyncHandler; + typedef Outcome GetErOutcome; + typedef std::future GetErOutcomeCallable; + typedef std::function&)> GetErAsyncHandler; + typedef Outcome GetErAttachmentOutcome; + typedef std::future GetErAttachmentOutcomeCallable; + typedef std::function&)> GetErAttachmentAsyncHandler; + typedef Outcome GetErRouteEntryOutcome; + typedef std::future GetErRouteEntryOutcomeCallable; + typedef std::function&)> GetErRouteEntryAsyncHandler; + typedef Outcome GetErRouteMapOutcome; + typedef std::future GetErRouteMapOutcomeCallable; + typedef std::function&)> GetErRouteMapAsyncHandler; + typedef Outcome GetFabricTopologyOutcome; + typedef std::future GetFabricTopologyOutcomeCallable; + typedef std::function&)> GetFabricTopologyAsyncHandler; + typedef Outcome GetLniPrivateIpAddressOutcome; + typedef std::future GetLniPrivateIpAddressOutcomeCallable; + typedef std::function&)> GetLniPrivateIpAddressAsyncHandler; + typedef Outcome GetNetworkInterfaceOutcome; + typedef std::future GetNetworkInterfaceOutcomeCallable; + typedef std::function&)> GetNetworkInterfaceAsyncHandler; typedef Outcome GetSubnetOutcome; typedef std::future GetSubnetOutcomeCallable; typedef std::function&)> GetSubnetAsyncHandler; typedef Outcome GetVccOutcome; typedef std::future GetVccOutcomeCallable; typedef std::function&)> GetVccAsyncHandler; + typedef Outcome GetVccGrantRuleOutcome; + typedef std::future GetVccGrantRuleOutcomeCallable; + typedef std::function&)> GetVccGrantRuleAsyncHandler; + typedef Outcome GetVccRouteEntryOutcome; + typedef std::future GetVccRouteEntryOutcomeCallable; + typedef std::function&)> GetVccRouteEntryAsyncHandler; typedef Outcome GetVpdOutcome; typedef std::future GetVpdOutcomeCallable; typedef std::function&)> GetVpdAsyncHandler; + typedef Outcome GetVpdGrantRuleOutcome; + typedef std::future GetVpdGrantRuleOutcomeCallable; + typedef std::function&)> GetVpdGrantRuleAsyncHandler; + typedef Outcome GetVpdRouteEntryOutcome; + typedef std::future GetVpdRouteEntryOutcomeCallable; + typedef std::function&)> GetVpdRouteEntryAsyncHandler; typedef Outcome InitializeVccOutcome; typedef std::future InitializeVccOutcomeCallable; typedef std::function&)> InitializeVccAsyncHandler; + typedef Outcome ListElasticNetworkInterfacesOutcome; + typedef std::future ListElasticNetworkInterfacesOutcomeCallable; + typedef std::function&)> ListElasticNetworkInterfacesAsyncHandler; + typedef Outcome ListErAttachmentsOutcome; + typedef std::future ListErAttachmentsOutcomeCallable; + typedef std::function&)> ListErAttachmentsAsyncHandler; + typedef Outcome ListErRouteEntriesOutcome; + typedef std::future ListErRouteEntriesOutcomeCallable; + typedef std::function&)> ListErRouteEntriesAsyncHandler; + typedef Outcome ListErRouteMapsOutcome; + typedef std::future ListErRouteMapsOutcomeCallable; + typedef std::function&)> ListErRouteMapsAsyncHandler; + typedef Outcome ListErsOutcome; + typedef std::future ListErsOutcomeCallable; + typedef std::function&)> ListErsAsyncHandler; + typedef Outcome ListInstancesByNcdOutcome; + typedef std::future ListInstancesByNcdOutcomeCallable; + typedef std::function&)> ListInstancesByNcdAsyncHandler; + typedef Outcome ListLniPrivateIpAddressOutcome; + typedef std::future ListLniPrivateIpAddressOutcomeCallable; + typedef std::function&)> ListLniPrivateIpAddressAsyncHandler; + typedef Outcome ListNetworkInterfacesOutcome; + typedef std::future ListNetworkInterfacesOutcomeCallable; + typedef std::function&)> ListNetworkInterfacesAsyncHandler; typedef Outcome ListSubnetsOutcome; typedef std::future ListSubnetsOutcomeCallable; typedef std::function&)> ListSubnetsAsyncHandler; + typedef Outcome ListVccGrantRulesOutcome; + typedef std::future ListVccGrantRulesOutcomeCallable; + typedef std::function&)> ListVccGrantRulesAsyncHandler; + typedef Outcome ListVccRouteEntriesOutcome; + typedef std::future ListVccRouteEntriesOutcomeCallable; + typedef std::function&)> ListVccRouteEntriesAsyncHandler; typedef Outcome ListVccsOutcome; typedef std::future ListVccsOutcomeCallable; typedef std::function&)> ListVccsAsyncHandler; + typedef Outcome ListVpdGrantRulesOutcome; + typedef std::future ListVpdGrantRulesOutcomeCallable; + typedef std::function&)> ListVpdGrantRulesAsyncHandler; + typedef Outcome ListVpdRouteEntriesOutcome; + typedef std::future ListVpdRouteEntriesOutcomeCallable; + typedef std::function&)> ListVpdRouteEntriesAsyncHandler; typedef Outcome ListVpdsOutcome; typedef std::future ListVpdsOutcomeCallable; typedef std::function&)> ListVpdsAsyncHandler; + typedef Outcome QueryInstanceNcdOutcome; + typedef std::future QueryInstanceNcdOutcomeCallable; + typedef std::function&)> QueryInstanceNcdAsyncHandler; + typedef Outcome UnAssignPrivateIpAddressOutcome; + typedef std::future UnAssignPrivateIpAddressOutcomeCallable; + typedef std::function&)> UnAssignPrivateIpAddressAsyncHandler; + typedef Outcome UnAssociateVpdCidrBlockOutcome; + typedef std::future UnAssociateVpdCidrBlockOutcomeCallable; + typedef std::function&)> UnAssociateVpdCidrBlockAsyncHandler; + typedef Outcome UpdateElasticNetworkInterfaceOutcome; + typedef std::future UpdateElasticNetworkInterfaceOutcomeCallable; + typedef std::function&)> UpdateElasticNetworkInterfaceAsyncHandler; + typedef Outcome UpdateErOutcome; + typedef std::future UpdateErOutcomeCallable; + typedef std::function&)> UpdateErAsyncHandler; + typedef Outcome UpdateErAttachmentOutcome; + typedef std::future UpdateErAttachmentOutcomeCallable; + typedef std::function&)> UpdateErAttachmentAsyncHandler; + typedef Outcome UpdateErRouteMapOutcome; + typedef std::future UpdateErRouteMapOutcomeCallable; + typedef std::function&)> UpdateErRouteMapAsyncHandler; typedef Outcome UpdateSubnetOutcome; typedef std::future UpdateSubnetOutcomeCallable; typedef std::function&)> UpdateSubnetAsyncHandler; @@ -111,42 +351,186 @@ namespace AlibabaCloud EfloClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); EfloClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); ~EfloClient(); + AssignPrivateIpAddressOutcome assignPrivateIpAddress(const Model::AssignPrivateIpAddressRequest &request)const; + void assignPrivateIpAddressAsync(const Model::AssignPrivateIpAddressRequest& request, const AssignPrivateIpAddressAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AssignPrivateIpAddressOutcomeCallable assignPrivateIpAddressCallable(const Model::AssignPrivateIpAddressRequest& request) const; + AssociateVpdCidrBlockOutcome associateVpdCidrBlock(const Model::AssociateVpdCidrBlockRequest &request)const; + void associateVpdCidrBlockAsync(const Model::AssociateVpdCidrBlockRequest& request, const AssociateVpdCidrBlockAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AssociateVpdCidrBlockOutcomeCallable associateVpdCidrBlockCallable(const Model::AssociateVpdCidrBlockRequest& request) const; + CreateElasticNetworkInterfaceOutcome createElasticNetworkInterface(const Model::CreateElasticNetworkInterfaceRequest &request)const; + void createElasticNetworkInterfaceAsync(const Model::CreateElasticNetworkInterfaceRequest& request, const CreateElasticNetworkInterfaceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateElasticNetworkInterfaceOutcomeCallable createElasticNetworkInterfaceCallable(const Model::CreateElasticNetworkInterfaceRequest& request) const; + CreateErOutcome createEr(const Model::CreateErRequest &request)const; + void createErAsync(const Model::CreateErRequest& request, const CreateErAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateErOutcomeCallable createErCallable(const Model::CreateErRequest& request) const; + CreateErAttachmentOutcome createErAttachment(const Model::CreateErAttachmentRequest &request)const; + void createErAttachmentAsync(const Model::CreateErAttachmentRequest& request, const CreateErAttachmentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateErAttachmentOutcomeCallable createErAttachmentCallable(const Model::CreateErAttachmentRequest& request) const; + CreateErRouteMapOutcome createErRouteMap(const Model::CreateErRouteMapRequest &request)const; + void createErRouteMapAsync(const Model::CreateErRouteMapRequest& request, const CreateErRouteMapAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateErRouteMapOutcomeCallable createErRouteMapCallable(const Model::CreateErRouteMapRequest& request) const; CreateSubnetOutcome createSubnet(const Model::CreateSubnetRequest &request)const; void createSubnetAsync(const Model::CreateSubnetRequest& request, const CreateSubnetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateSubnetOutcomeCallable createSubnetCallable(const Model::CreateSubnetRequest& request) const; CreateVccOutcome createVcc(const Model::CreateVccRequest &request)const; void createVccAsync(const Model::CreateVccRequest& request, const CreateVccAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateVccOutcomeCallable createVccCallable(const Model::CreateVccRequest& request) const; + CreateVccGrantRuleOutcome createVccGrantRule(const Model::CreateVccGrantRuleRequest &request)const; + void createVccGrantRuleAsync(const Model::CreateVccGrantRuleRequest& request, const CreateVccGrantRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateVccGrantRuleOutcomeCallable createVccGrantRuleCallable(const Model::CreateVccGrantRuleRequest& request) const; + CreateVccRouteEntryOutcome createVccRouteEntry(const Model::CreateVccRouteEntryRequest &request)const; + void createVccRouteEntryAsync(const Model::CreateVccRouteEntryRequest& request, const CreateVccRouteEntryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateVccRouteEntryOutcomeCallable createVccRouteEntryCallable(const Model::CreateVccRouteEntryRequest& request) const; CreateVpdOutcome createVpd(const Model::CreateVpdRequest &request)const; void createVpdAsync(const Model::CreateVpdRequest& request, const CreateVpdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateVpdOutcomeCallable createVpdCallable(const Model::CreateVpdRequest& request) const; + CreateVpdGrantRuleOutcome createVpdGrantRule(const Model::CreateVpdGrantRuleRequest &request)const; + void createVpdGrantRuleAsync(const Model::CreateVpdGrantRuleRequest& request, const CreateVpdGrantRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateVpdGrantRuleOutcomeCallable createVpdGrantRuleCallable(const Model::CreateVpdGrantRuleRequest& request) const; + DeleteElasticNetworkInterfaceOutcome deleteElasticNetworkInterface(const Model::DeleteElasticNetworkInterfaceRequest &request)const; + void deleteElasticNetworkInterfaceAsync(const Model::DeleteElasticNetworkInterfaceRequest& request, const DeleteElasticNetworkInterfaceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteElasticNetworkInterfaceOutcomeCallable deleteElasticNetworkInterfaceCallable(const Model::DeleteElasticNetworkInterfaceRequest& request) const; + DeleteErOutcome deleteEr(const Model::DeleteErRequest &request)const; + void deleteErAsync(const Model::DeleteErRequest& request, const DeleteErAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteErOutcomeCallable deleteErCallable(const Model::DeleteErRequest& request) const; + DeleteErAttachmentOutcome deleteErAttachment(const Model::DeleteErAttachmentRequest &request)const; + void deleteErAttachmentAsync(const Model::DeleteErAttachmentRequest& request, const DeleteErAttachmentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteErAttachmentOutcomeCallable deleteErAttachmentCallable(const Model::DeleteErAttachmentRequest& request) const; + DeleteErRouteMapOutcome deleteErRouteMap(const Model::DeleteErRouteMapRequest &request)const; + void deleteErRouteMapAsync(const Model::DeleteErRouteMapRequest& request, const DeleteErRouteMapAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteErRouteMapOutcomeCallable deleteErRouteMapCallable(const Model::DeleteErRouteMapRequest& request) const; DeleteSubnetOutcome deleteSubnet(const Model::DeleteSubnetRequest &request)const; void deleteSubnetAsync(const Model::DeleteSubnetRequest& request, const DeleteSubnetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteSubnetOutcomeCallable deleteSubnetCallable(const Model::DeleteSubnetRequest& request) const; + DeleteVccGrantRuleOutcome deleteVccGrantRule(const Model::DeleteVccGrantRuleRequest &request)const; + void deleteVccGrantRuleAsync(const Model::DeleteVccGrantRuleRequest& request, const DeleteVccGrantRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteVccGrantRuleOutcomeCallable deleteVccGrantRuleCallable(const Model::DeleteVccGrantRuleRequest& request) const; + DeleteVccRouteEntryOutcome deleteVccRouteEntry(const Model::DeleteVccRouteEntryRequest &request)const; + void deleteVccRouteEntryAsync(const Model::DeleteVccRouteEntryRequest& request, const DeleteVccRouteEntryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteVccRouteEntryOutcomeCallable deleteVccRouteEntryCallable(const Model::DeleteVccRouteEntryRequest& request) const; DeleteVpdOutcome deleteVpd(const Model::DeleteVpdRequest &request)const; void deleteVpdAsync(const Model::DeleteVpdRequest& request, const DeleteVpdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteVpdOutcomeCallable deleteVpdCallable(const Model::DeleteVpdRequest& request) const; + DeleteVpdGrantRuleOutcome deleteVpdGrantRule(const Model::DeleteVpdGrantRuleRequest &request)const; + void deleteVpdGrantRuleAsync(const Model::DeleteVpdGrantRuleRequest& request, const DeleteVpdGrantRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteVpdGrantRuleOutcomeCallable deleteVpdGrantRuleCallable(const Model::DeleteVpdGrantRuleRequest& request) const; + DescribeSlrOutcome describeSlr(const Model::DescribeSlrRequest &request)const; + void describeSlrAsync(const Model::DescribeSlrRequest& request, const DescribeSlrAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSlrOutcomeCallable describeSlrCallable(const Model::DescribeSlrRequest& request) const; + GetElasticNetworkInterfaceOutcome getElasticNetworkInterface(const Model::GetElasticNetworkInterfaceRequest &request)const; + void getElasticNetworkInterfaceAsync(const Model::GetElasticNetworkInterfaceRequest& request, const GetElasticNetworkInterfaceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetElasticNetworkInterfaceOutcomeCallable getElasticNetworkInterfaceCallable(const Model::GetElasticNetworkInterfaceRequest& request) const; + GetErOutcome getEr(const Model::GetErRequest &request)const; + void getErAsync(const Model::GetErRequest& request, const GetErAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetErOutcomeCallable getErCallable(const Model::GetErRequest& request) const; + GetErAttachmentOutcome getErAttachment(const Model::GetErAttachmentRequest &request)const; + void getErAttachmentAsync(const Model::GetErAttachmentRequest& request, const GetErAttachmentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetErAttachmentOutcomeCallable getErAttachmentCallable(const Model::GetErAttachmentRequest& request) const; + GetErRouteEntryOutcome getErRouteEntry(const Model::GetErRouteEntryRequest &request)const; + void getErRouteEntryAsync(const Model::GetErRouteEntryRequest& request, const GetErRouteEntryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetErRouteEntryOutcomeCallable getErRouteEntryCallable(const Model::GetErRouteEntryRequest& request) const; + GetErRouteMapOutcome getErRouteMap(const Model::GetErRouteMapRequest &request)const; + void getErRouteMapAsync(const Model::GetErRouteMapRequest& request, const GetErRouteMapAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetErRouteMapOutcomeCallable getErRouteMapCallable(const Model::GetErRouteMapRequest& request) const; + GetFabricTopologyOutcome getFabricTopology(const Model::GetFabricTopologyRequest &request)const; + void getFabricTopologyAsync(const Model::GetFabricTopologyRequest& request, const GetFabricTopologyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetFabricTopologyOutcomeCallable getFabricTopologyCallable(const Model::GetFabricTopologyRequest& request) const; + GetLniPrivateIpAddressOutcome getLniPrivateIpAddress(const Model::GetLniPrivateIpAddressRequest &request)const; + void getLniPrivateIpAddressAsync(const Model::GetLniPrivateIpAddressRequest& request, const GetLniPrivateIpAddressAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetLniPrivateIpAddressOutcomeCallable getLniPrivateIpAddressCallable(const Model::GetLniPrivateIpAddressRequest& request) const; + GetNetworkInterfaceOutcome getNetworkInterface(const Model::GetNetworkInterfaceRequest &request)const; + void getNetworkInterfaceAsync(const Model::GetNetworkInterfaceRequest& request, const GetNetworkInterfaceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetNetworkInterfaceOutcomeCallable getNetworkInterfaceCallable(const Model::GetNetworkInterfaceRequest& request) const; GetSubnetOutcome getSubnet(const Model::GetSubnetRequest &request)const; void getSubnetAsync(const Model::GetSubnetRequest& request, const GetSubnetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetSubnetOutcomeCallable getSubnetCallable(const Model::GetSubnetRequest& request) const; GetVccOutcome getVcc(const Model::GetVccRequest &request)const; void getVccAsync(const Model::GetVccRequest& request, const GetVccAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetVccOutcomeCallable getVccCallable(const Model::GetVccRequest& request) const; + GetVccGrantRuleOutcome getVccGrantRule(const Model::GetVccGrantRuleRequest &request)const; + void getVccGrantRuleAsync(const Model::GetVccGrantRuleRequest& request, const GetVccGrantRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetVccGrantRuleOutcomeCallable getVccGrantRuleCallable(const Model::GetVccGrantRuleRequest& request) const; + GetVccRouteEntryOutcome getVccRouteEntry(const Model::GetVccRouteEntryRequest &request)const; + void getVccRouteEntryAsync(const Model::GetVccRouteEntryRequest& request, const GetVccRouteEntryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetVccRouteEntryOutcomeCallable getVccRouteEntryCallable(const Model::GetVccRouteEntryRequest& request) const; GetVpdOutcome getVpd(const Model::GetVpdRequest &request)const; void getVpdAsync(const Model::GetVpdRequest& request, const GetVpdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetVpdOutcomeCallable getVpdCallable(const Model::GetVpdRequest& request) const; + GetVpdGrantRuleOutcome getVpdGrantRule(const Model::GetVpdGrantRuleRequest &request)const; + void getVpdGrantRuleAsync(const Model::GetVpdGrantRuleRequest& request, const GetVpdGrantRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetVpdGrantRuleOutcomeCallable getVpdGrantRuleCallable(const Model::GetVpdGrantRuleRequest& request) const; + GetVpdRouteEntryOutcome getVpdRouteEntry(const Model::GetVpdRouteEntryRequest &request)const; + void getVpdRouteEntryAsync(const Model::GetVpdRouteEntryRequest& request, const GetVpdRouteEntryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetVpdRouteEntryOutcomeCallable getVpdRouteEntryCallable(const Model::GetVpdRouteEntryRequest& request) const; InitializeVccOutcome initializeVcc(const Model::InitializeVccRequest &request)const; void initializeVccAsync(const Model::InitializeVccRequest& request, const InitializeVccAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; InitializeVccOutcomeCallable initializeVccCallable(const Model::InitializeVccRequest& request) const; + ListElasticNetworkInterfacesOutcome listElasticNetworkInterfaces(const Model::ListElasticNetworkInterfacesRequest &request)const; + void listElasticNetworkInterfacesAsync(const Model::ListElasticNetworkInterfacesRequest& request, const ListElasticNetworkInterfacesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListElasticNetworkInterfacesOutcomeCallable listElasticNetworkInterfacesCallable(const Model::ListElasticNetworkInterfacesRequest& request) const; + ListErAttachmentsOutcome listErAttachments(const Model::ListErAttachmentsRequest &request)const; + void listErAttachmentsAsync(const Model::ListErAttachmentsRequest& request, const ListErAttachmentsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListErAttachmentsOutcomeCallable listErAttachmentsCallable(const Model::ListErAttachmentsRequest& request) const; + ListErRouteEntriesOutcome listErRouteEntries(const Model::ListErRouteEntriesRequest &request)const; + void listErRouteEntriesAsync(const Model::ListErRouteEntriesRequest& request, const ListErRouteEntriesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListErRouteEntriesOutcomeCallable listErRouteEntriesCallable(const Model::ListErRouteEntriesRequest& request) const; + ListErRouteMapsOutcome listErRouteMaps(const Model::ListErRouteMapsRequest &request)const; + void listErRouteMapsAsync(const Model::ListErRouteMapsRequest& request, const ListErRouteMapsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListErRouteMapsOutcomeCallable listErRouteMapsCallable(const Model::ListErRouteMapsRequest& request) const; + ListErsOutcome listErs(const Model::ListErsRequest &request)const; + void listErsAsync(const Model::ListErsRequest& request, const ListErsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListErsOutcomeCallable listErsCallable(const Model::ListErsRequest& request) const; + ListInstancesByNcdOutcome listInstancesByNcd(const Model::ListInstancesByNcdRequest &request)const; + void listInstancesByNcdAsync(const Model::ListInstancesByNcdRequest& request, const ListInstancesByNcdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListInstancesByNcdOutcomeCallable listInstancesByNcdCallable(const Model::ListInstancesByNcdRequest& request) const; + ListLniPrivateIpAddressOutcome listLniPrivateIpAddress(const Model::ListLniPrivateIpAddressRequest &request)const; + void listLniPrivateIpAddressAsync(const Model::ListLniPrivateIpAddressRequest& request, const ListLniPrivateIpAddressAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListLniPrivateIpAddressOutcomeCallable listLniPrivateIpAddressCallable(const Model::ListLniPrivateIpAddressRequest& request) const; + ListNetworkInterfacesOutcome listNetworkInterfaces(const Model::ListNetworkInterfacesRequest &request)const; + void listNetworkInterfacesAsync(const Model::ListNetworkInterfacesRequest& request, const ListNetworkInterfacesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListNetworkInterfacesOutcomeCallable listNetworkInterfacesCallable(const Model::ListNetworkInterfacesRequest& request) const; ListSubnetsOutcome listSubnets(const Model::ListSubnetsRequest &request)const; void listSubnetsAsync(const Model::ListSubnetsRequest& request, const ListSubnetsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListSubnetsOutcomeCallable listSubnetsCallable(const Model::ListSubnetsRequest& request) const; + ListVccGrantRulesOutcome listVccGrantRules(const Model::ListVccGrantRulesRequest &request)const; + void listVccGrantRulesAsync(const Model::ListVccGrantRulesRequest& request, const ListVccGrantRulesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListVccGrantRulesOutcomeCallable listVccGrantRulesCallable(const Model::ListVccGrantRulesRequest& request) const; + ListVccRouteEntriesOutcome listVccRouteEntries(const Model::ListVccRouteEntriesRequest &request)const; + void listVccRouteEntriesAsync(const Model::ListVccRouteEntriesRequest& request, const ListVccRouteEntriesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListVccRouteEntriesOutcomeCallable listVccRouteEntriesCallable(const Model::ListVccRouteEntriesRequest& request) const; ListVccsOutcome listVccs(const Model::ListVccsRequest &request)const; void listVccsAsync(const Model::ListVccsRequest& request, const ListVccsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListVccsOutcomeCallable listVccsCallable(const Model::ListVccsRequest& request) const; + ListVpdGrantRulesOutcome listVpdGrantRules(const Model::ListVpdGrantRulesRequest &request)const; + void listVpdGrantRulesAsync(const Model::ListVpdGrantRulesRequest& request, const ListVpdGrantRulesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListVpdGrantRulesOutcomeCallable listVpdGrantRulesCallable(const Model::ListVpdGrantRulesRequest& request) const; + ListVpdRouteEntriesOutcome listVpdRouteEntries(const Model::ListVpdRouteEntriesRequest &request)const; + void listVpdRouteEntriesAsync(const Model::ListVpdRouteEntriesRequest& request, const ListVpdRouteEntriesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListVpdRouteEntriesOutcomeCallable listVpdRouteEntriesCallable(const Model::ListVpdRouteEntriesRequest& request) const; ListVpdsOutcome listVpds(const Model::ListVpdsRequest &request)const; void listVpdsAsync(const Model::ListVpdsRequest& request, const ListVpdsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListVpdsOutcomeCallable listVpdsCallable(const Model::ListVpdsRequest& request) const; + QueryInstanceNcdOutcome queryInstanceNcd(const Model::QueryInstanceNcdRequest &request)const; + void queryInstanceNcdAsync(const Model::QueryInstanceNcdRequest& request, const QueryInstanceNcdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryInstanceNcdOutcomeCallable queryInstanceNcdCallable(const Model::QueryInstanceNcdRequest& request) const; + UnAssignPrivateIpAddressOutcome unAssignPrivateIpAddress(const Model::UnAssignPrivateIpAddressRequest &request)const; + void unAssignPrivateIpAddressAsync(const Model::UnAssignPrivateIpAddressRequest& request, const UnAssignPrivateIpAddressAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UnAssignPrivateIpAddressOutcomeCallable unAssignPrivateIpAddressCallable(const Model::UnAssignPrivateIpAddressRequest& request) const; + UnAssociateVpdCidrBlockOutcome unAssociateVpdCidrBlock(const Model::UnAssociateVpdCidrBlockRequest &request)const; + void unAssociateVpdCidrBlockAsync(const Model::UnAssociateVpdCidrBlockRequest& request, const UnAssociateVpdCidrBlockAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UnAssociateVpdCidrBlockOutcomeCallable unAssociateVpdCidrBlockCallable(const Model::UnAssociateVpdCidrBlockRequest& request) const; + UpdateElasticNetworkInterfaceOutcome updateElasticNetworkInterface(const Model::UpdateElasticNetworkInterfaceRequest &request)const; + void updateElasticNetworkInterfaceAsync(const Model::UpdateElasticNetworkInterfaceRequest& request, const UpdateElasticNetworkInterfaceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateElasticNetworkInterfaceOutcomeCallable updateElasticNetworkInterfaceCallable(const Model::UpdateElasticNetworkInterfaceRequest& request) const; + UpdateErOutcome updateEr(const Model::UpdateErRequest &request)const; + void updateErAsync(const Model::UpdateErRequest& request, const UpdateErAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateErOutcomeCallable updateErCallable(const Model::UpdateErRequest& request) const; + UpdateErAttachmentOutcome updateErAttachment(const Model::UpdateErAttachmentRequest &request)const; + void updateErAttachmentAsync(const Model::UpdateErAttachmentRequest& request, const UpdateErAttachmentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateErAttachmentOutcomeCallable updateErAttachmentCallable(const Model::UpdateErAttachmentRequest& request) const; + UpdateErRouteMapOutcome updateErRouteMap(const Model::UpdateErRouteMapRequest &request)const; + void updateErRouteMapAsync(const Model::UpdateErRouteMapRequest& request, const UpdateErRouteMapAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateErRouteMapOutcomeCallable updateErRouteMapCallable(const Model::UpdateErRouteMapRequest& request) const; UpdateSubnetOutcome updateSubnet(const Model::UpdateSubnetRequest &request)const; void updateSubnetAsync(const Model::UpdateSubnetRequest& request, const UpdateSubnetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateSubnetOutcomeCallable updateSubnetCallable(const Model::UpdateSubnetRequest& request) const; diff --git a/eflo/include/alibabacloud/eflo/model/AssignPrivateIpAddressRequest.h b/eflo/include/alibabacloud/eflo/model/AssignPrivateIpAddressRequest.h new file mode 100644 index 000000000..d2fa4c114 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/AssignPrivateIpAddressRequest.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_EFLO_MODEL_ASSIGNPRIVATEIPADDRESSREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_ASSIGNPRIVATEIPADDRESSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT AssignPrivateIpAddressRequest : public RpcServiceRequest { +public: + AssignPrivateIpAddressRequest(); + ~AssignPrivateIpAddressRequest(); + std::string getDescription() const; + void setDescription(const std::string &description); + bool getAssignMac() const; + void setAssignMac(bool assignMac); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getSubnetId() const; + void setSubnetId(const std::string &subnetId); + bool getSkipConfig() const; + void setSkipConfig(bool skipConfig); + std::string getPrivateIpAddress() const; + void setPrivateIpAddress(const std::string &privateIpAddress); + std::string getNetworkInterfaceId() const; + void setNetworkInterfaceId(const std::string &networkInterfaceId); + +private: + std::string description_; + bool assignMac_; + std::string regionId_; + std::string subnetId_; + bool skipConfig_; + std::string privateIpAddress_; + std::string networkInterfaceId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_ASSIGNPRIVATEIPADDRESSREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/AssignPrivateIpAddressResult.h b/eflo/include/alibabacloud/eflo/model/AssignPrivateIpAddressResult.h new file mode 100644 index 000000000..c1c07fc08 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/AssignPrivateIpAddressResult.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_EFLO_MODEL_ASSIGNPRIVATEIPADDRESSRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_ASSIGNPRIVATEIPADDRESSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT AssignPrivateIpAddressResult : public ServiceResult + { + public: + struct Content + { + std::string ipName; + std::string networkInterfaceId; + }; + + + AssignPrivateIpAddressResult(); + explicit AssignPrivateIpAddressResult(const std::string &payload); + ~AssignPrivateIpAddressResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_ASSIGNPRIVATEIPADDRESSRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/AssociateVpdCidrBlockRequest.h b/eflo/include/alibabacloud/eflo/model/AssociateVpdCidrBlockRequest.h new file mode 100644 index 000000000..df8abf648 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/AssociateVpdCidrBlockRequest.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_EFLO_MODEL_ASSOCIATEVPDCIDRBLOCKREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_ASSOCIATEVPDCIDRBLOCKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT AssociateVpdCidrBlockRequest : public RpcServiceRequest { +public: + AssociateVpdCidrBlockRequest(); + ~AssociateVpdCidrBlockRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getVpdId() const; + void setVpdId(const std::string &vpdId); + std::string getSecondaryCidrBlock() const; + void setSecondaryCidrBlock(const std::string &secondaryCidrBlock); + +private: + std::string regionId_; + std::string vpdId_; + std::string secondaryCidrBlock_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_ASSOCIATEVPDCIDRBLOCKREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/AssociateVpdCidrBlockResult.h b/eflo/include/alibabacloud/eflo/model/AssociateVpdCidrBlockResult.h new file mode 100644 index 000000000..09ce18de7 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/AssociateVpdCidrBlockResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_ASSOCIATEVPDCIDRBLOCKRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_ASSOCIATEVPDCIDRBLOCKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT AssociateVpdCidrBlockResult : public ServiceResult + { + public: + struct Content + { + std::string vpdId; + }; + + + AssociateVpdCidrBlockResult(); + explicit AssociateVpdCidrBlockResult(const std::string &payload); + ~AssociateVpdCidrBlockResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_ASSOCIATEVPDCIDRBLOCKRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/CreateElasticNetworkInterfaceRequest.h b/eflo/include/alibabacloud/eflo/model/CreateElasticNetworkInterfaceRequest.h new file mode 100644 index 000000000..4b9837dd0 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/CreateElasticNetworkInterfaceRequest.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_EFLO_MODEL_CREATEELASTICNETWORKINTERFACEREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_CREATEELASTICNETWORKINTERFACEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT CreateElasticNetworkInterfaceRequest : public RpcServiceRequest { +public: + CreateElasticNetworkInterfaceRequest(); + ~CreateElasticNetworkInterfaceRequest(); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getVSwitchId() const; + void setVSwitchId(const std::string &vSwitchId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getVpcId() const; + void setVpcId(const std::string &vpcId); + std::string getZoneId() const; + void setZoneId(const std::string &zoneId); + std::string getNodeId() const; + void setNodeId(const std::string &nodeId); + +private: + std::string description_; + std::string vSwitchId_; + std::string regionId_; + std::string vpcId_; + std::string zoneId_; + std::string nodeId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_CREATEELASTICNETWORKINTERFACEREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/CreateElasticNetworkInterfaceResult.h b/eflo/include/alibabacloud/eflo/model/CreateElasticNetworkInterfaceResult.h new file mode 100644 index 000000000..8de94cfe4 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/CreateElasticNetworkInterfaceResult.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_EFLO_MODEL_CREATEELASTICNETWORKINTERFACERESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_CREATEELASTICNETWORKINTERFACERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT CreateElasticNetworkInterfaceResult : public ServiceResult + { + public: + struct Content + { + std::string elasticNetworkInterfaceId; + std::string nodeId; + }; + + + CreateElasticNetworkInterfaceResult(); + explicit CreateElasticNetworkInterfaceResult(const std::string &payload); + ~CreateElasticNetworkInterfaceResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_CREATEELASTICNETWORKINTERFACERESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/CreateErAttachmentRequest.h b/eflo/include/alibabacloud/eflo/model/CreateErAttachmentRequest.h new file mode 100644 index 000000000..2936482be --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/CreateErAttachmentRequest.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_EFLO_MODEL_CREATEERATTACHMENTREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_CREATEERATTACHMENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT CreateErAttachmentRequest : public RpcServiceRequest { +public: + CreateErAttachmentRequest(); + ~CreateErAttachmentRequest(); + std::string getResourceTenantId() const; + void setResourceTenantId(const std::string &resourceTenantId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + bool getAutoReceiveAllRoute() const; + void setAutoReceiveAllRoute(bool autoReceiveAllRoute); + std::string getInstanceType() const; + void setInstanceType(const std::string &instanceType); + std::string getErAttachmentName() const; + void setErAttachmentName(const std::string &erAttachmentName); + std::string getErId() const; + void setErId(const std::string &erId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string resourceTenantId_; + std::string regionId_; + bool autoReceiveAllRoute_; + std::string instanceType_; + std::string erAttachmentName_; + std::string erId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_CREATEERATTACHMENTREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/CreateErAttachmentResult.h b/eflo/include/alibabacloud/eflo/model/CreateErAttachmentResult.h new file mode 100644 index 000000000..1b0dcd5d3 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/CreateErAttachmentResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_CREATEERATTACHMENTRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_CREATEERATTACHMENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT CreateErAttachmentResult : public ServiceResult + { + public: + struct Content + { + std::string erAttachmentId; + }; + + + CreateErAttachmentResult(); + explicit CreateErAttachmentResult(const std::string &payload); + ~CreateErAttachmentResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_CREATEERATTACHMENTRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/CreateErRequest.h b/eflo/include/alibabacloud/eflo/model/CreateErRequest.h new file mode 100644 index 000000000..16d3764c0 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/CreateErRequest.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_EFLO_MODEL_CREATEERREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_CREATEERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT CreateErRequest : public RpcServiceRequest { +public: + CreateErRequest(); + ~CreateErRequest(); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getErName() const; + void setErName(const std::string &erName); + std::string getMasterZoneId() const; + void setMasterZoneId(const std::string &masterZoneId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string description_; + std::string erName_; + std::string masterZoneId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_CREATEERREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/CreateErResult.h b/eflo/include/alibabacloud/eflo/model/CreateErResult.h new file mode 100644 index 000000000..7d5a5f002 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/CreateErResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_CREATEERRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_CREATEERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT CreateErResult : public ServiceResult + { + public: + struct Content + { + std::string erId; + }; + + + CreateErResult(); + explicit CreateErResult(const std::string &payload); + ~CreateErResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_CREATEERRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/CreateErRouteMapRequest.h b/eflo/include/alibabacloud/eflo/model/CreateErRouteMapRequest.h new file mode 100644 index 000000000..3a02c95f0 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/CreateErRouteMapRequest.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_EFLO_MODEL_CREATEERROUTEMAPREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_CREATEERROUTEMAPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT CreateErRouteMapRequest : public RpcServiceRequest { +public: + CreateErRouteMapRequest(); + ~CreateErRouteMapRequest(); + std::string getReceptionInstanceType() const; + void setReceptionInstanceType(const std::string &receptionInstanceType); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getReceptionInstanceId() const; + void setReceptionInstanceId(const std::string &receptionInstanceId); + std::string getRouteMapAction() const; + void setRouteMapAction(const std::string &routeMapAction); + std::string getTransmissionInstanceType() const; + void setTransmissionInstanceType(const std::string &transmissionInstanceType); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getDestinationCidrBlock() const; + void setDestinationCidrBlock(const std::string &destinationCidrBlock); + std::string getErId() const; + void setErId(const std::string &erId); + int getRouteMapNum() const; + void setRouteMapNum(int routeMapNum); + std::string getReceptionInstanceOwner() const; + void setReceptionInstanceOwner(const std::string &receptionInstanceOwner); + std::string getTransmissionInstanceOwner() const; + void setTransmissionInstanceOwner(const std::string &transmissionInstanceOwner); + std::string getTransmissionInstanceId() const; + void setTransmissionInstanceId(const std::string &transmissionInstanceId); + +private: + std::string receptionInstanceType_; + std::string description_; + std::string receptionInstanceId_; + std::string routeMapAction_; + std::string transmissionInstanceType_; + std::string regionId_; + std::string destinationCidrBlock_; + std::string erId_; + int routeMapNum_; + std::string receptionInstanceOwner_; + std::string transmissionInstanceOwner_; + std::string transmissionInstanceId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_CREATEERROUTEMAPREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/CreateErRouteMapResult.h b/eflo/include/alibabacloud/eflo/model/CreateErRouteMapResult.h new file mode 100644 index 000000000..9eb76f616 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/CreateErRouteMapResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_CREATEERROUTEMAPRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_CREATEERROUTEMAPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT CreateErRouteMapResult : public ServiceResult + { + public: + struct Content + { + std::string erRouteMapId; + }; + + + CreateErRouteMapResult(); + explicit CreateErRouteMapResult(const std::string &payload); + ~CreateErRouteMapResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_CREATEERROUTEMAPRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/CreateSubnetRequest.h b/eflo/include/alibabacloud/eflo/model/CreateSubnetRequest.h index a76565a57..81942aac7 100644 --- a/eflo/include/alibabacloud/eflo/model/CreateSubnetRequest.h +++ b/eflo/include/alibabacloud/eflo/model/CreateSubnetRequest.h @@ -28,28 +28,35 @@ namespace Eflo { namespace Model { class ALIBABACLOUD_EFLO_EXPORT CreateSubnetRequest : public RpcServiceRequest { public: + struct Tag { + std::string value; + std::string key; + }; CreateSubnetRequest(); ~CreateSubnetRequest(); std::string getType() const; void setType(const std::string &type); std::string getRegionId() const; void setRegionId(const std::string ®ionId); - std::string getVpdId() const; - void setVpdId(const std::string &vpdId); - std::string getName() const; - void setName(const std::string &name); - std::string getZoneId() const; - void setZoneId(const std::string &zoneId); std::string getCidr() const; void setCidr(const std::string &cidr); + std::vector getTag() const; + void setTag(const std::vector &tag); + std::string getVpdId() const; + void setVpdId(const std::string &vpdId); + std::string getZoneId() const; + void setZoneId(const std::string &zoneId); + std::string getSubnetName() const; + void setSubnetName(const std::string &subnetName); private: std::string type_; std::string regionId_; - std::string vpdId_; - std::string name_; - std::string zoneId_; std::string cidr_; + std::vector tag_; + std::string vpdId_; + std::string zoneId_; + std::string subnetName_; }; } // namespace Model } // namespace Eflo diff --git a/eflo/include/alibabacloud/eflo/model/CreateVccGrantRuleRequest.h b/eflo/include/alibabacloud/eflo/model/CreateVccGrantRuleRequest.h new file mode 100644 index 000000000..e5fa84257 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/CreateVccGrantRuleRequest.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_EFLO_MODEL_CREATEVCCGRANTRULEREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_CREATEVCCGRANTRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT CreateVccGrantRuleRequest : public RpcServiceRequest { +public: + CreateVccGrantRuleRequest(); + ~CreateVccGrantRuleRequest(); + std::string getErId() const; + void setErId(const std::string &erId); + std::string getGrantTenantId() const; + void setGrantTenantId(const std::string &grantTenantId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string erId_; + std::string grantTenantId_; + std::string instanceId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_CREATEVCCGRANTRULEREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/CreateVccGrantRuleResult.h b/eflo/include/alibabacloud/eflo/model/CreateVccGrantRuleResult.h new file mode 100644 index 000000000..c4395edc5 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/CreateVccGrantRuleResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_CREATEVCCGRANTRULERESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_CREATEVCCGRANTRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT CreateVccGrantRuleResult : public ServiceResult + { + public: + struct Content + { + std::string grantRuleId; + }; + + + CreateVccGrantRuleResult(); + explicit CreateVccGrantRuleResult(const std::string &payload); + ~CreateVccGrantRuleResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_CREATEVCCGRANTRULERESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/CreateVccRequest.h b/eflo/include/alibabacloud/eflo/model/CreateVccRequest.h index 74e0e4168..e777d5801 100644 --- a/eflo/include/alibabacloud/eflo/model/CreateVccRequest.h +++ b/eflo/include/alibabacloud/eflo/model/CreateVccRequest.h @@ -28,6 +28,10 @@ namespace Eflo { namespace Model { class ALIBABACLOUD_EFLO_EXPORT CreateVccRequest : public RpcServiceRequest { public: + struct Tag { + std::string value; + std::string key; + }; CreateVccRequest(); ~CreateVccRequest(); std::string getBgpCidr() const; @@ -36,29 +40,50 @@ public: void setCenId(const std::string &cenId); std::string getDescription() const; void setDescription(const std::string &description); + std::string getCenOwnerId() const; + void setCenOwnerId(const std::string &cenOwnerId); bool getAccessCouldService() const; void setAccessCouldService(bool accessCouldService); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); + std::string getVccName() const; + void setVccName(const std::string &vccName); std::string getRegionId() const; void setRegionId(const std::string ®ionId); + std::vector getTag() const; + void setTag(const std::vector &tag); std::string getVccId() const; void setVccId(const std::string &vccId); + std::string getConnectionType() const; + void setConnectionType(const std::string &connectionType); + int getBandwidth() const; + void setBandwidth(int bandwidth); std::string getVSwitchId() const; void setVSwitchId(const std::string &vSwitchId); std::string getVpdId() const; void setVpdId(const std::string &vpdId); std::string getVpcId() const; void setVpcId(const std::string &vpcId); + std::string getZoneId() const; + void setZoneId(const std::string &zoneId); private: std::string bgpCidr_; std::string cenId_; std::string description_; + std::string cenOwnerId_; bool accessCouldService_; + std::string resourceGroupId_; + std::string vccName_; std::string regionId_; + std::vector tag_; std::string vccId_; + std::string connectionType_; + int bandwidth_; std::string vSwitchId_; std::string vpdId_; std::string vpcId_; + std::string zoneId_; }; } // namespace Model } // namespace Eflo diff --git a/eflo/include/alibabacloud/eflo/model/CreateVccRouteEntryRequest.h b/eflo/include/alibabacloud/eflo/model/CreateVccRouteEntryRequest.h new file mode 100644 index 000000000..6cec77684 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/CreateVccRouteEntryRequest.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_EFLO_MODEL_CREATEVCCROUTEENTRYREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_CREATEVCCROUTEENTRYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT CreateVccRouteEntryRequest : public RpcServiceRequest { +public: + CreateVccRouteEntryRequest(); + ~CreateVccRouteEntryRequest(); + std::string getDestinationCidrBlock() const; + void setDestinationCidrBlock(const std::string &destinationCidrBlock); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getVccId() const; + void setVccId(const std::string &vccId); + +private: + std::string destinationCidrBlock_; + std::string regionId_; + std::string vccId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_CREATEVCCROUTEENTRYREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/CreateVccRouteEntryResult.h b/eflo/include/alibabacloud/eflo/model/CreateVccRouteEntryResult.h new file mode 100644 index 000000000..b814faa30 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/CreateVccRouteEntryResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_CREATEVCCROUTEENTRYRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_CREATEVCCROUTEENTRYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT CreateVccRouteEntryResult : public ServiceResult + { + public: + struct Content + { + std::string vccRouteEntryId; + }; + + + CreateVccRouteEntryResult(); + explicit CreateVccRouteEntryResult(const std::string &payload); + ~CreateVccRouteEntryResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_CREATEVCCROUTEENTRYRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/CreateVpdGrantRuleRequest.h b/eflo/include/alibabacloud/eflo/model/CreateVpdGrantRuleRequest.h new file mode 100644 index 000000000..52a89519f --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/CreateVpdGrantRuleRequest.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_EFLO_MODEL_CREATEVPDGRANTRULEREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_CREATEVPDGRANTRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT CreateVpdGrantRuleRequest : public RpcServiceRequest { +public: + CreateVpdGrantRuleRequest(); + ~CreateVpdGrantRuleRequest(); + std::string getErId() const; + void setErId(const std::string &erId); + std::string getGrantTenantId() const; + void setGrantTenantId(const std::string &grantTenantId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string erId_; + std::string grantTenantId_; + std::string instanceId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_CREATEVPDGRANTRULEREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/CreateVpdGrantRuleResult.h b/eflo/include/alibabacloud/eflo/model/CreateVpdGrantRuleResult.h new file mode 100644 index 000000000..995e4e408 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/CreateVpdGrantRuleResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_CREATEVPDGRANTRULERESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_CREATEVPDGRANTRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT CreateVpdGrantRuleResult : public ServiceResult + { + public: + struct Content + { + std::string grantRuleId; + }; + + + CreateVpdGrantRuleResult(); + explicit CreateVpdGrantRuleResult(const std::string &payload); + ~CreateVpdGrantRuleResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_CREATEVPDGRANTRULERESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/CreateVpdRequest.h b/eflo/include/alibabacloud/eflo/model/CreateVpdRequest.h index 13df76bf7..4f4728101 100644 --- a/eflo/include/alibabacloud/eflo/model/CreateVpdRequest.h +++ b/eflo/include/alibabacloud/eflo/model/CreateVpdRequest.h @@ -30,27 +30,37 @@ class ALIBABACLOUD_EFLO_EXPORT CreateVpdRequest : public RpcServiceRequest { public: struct Subnets { std::string regionId; - std::string name; std::string zoneId; std::string cidr; + std::string subnetName; std::string type; }; + struct Tag { + std::string value; + std::string key; + }; CreateVpdRequest(); ~CreateVpdRequest(); + std::string getVpdName() const; + void setVpdName(const std::string &vpdName); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); std::string getRegionId() const; void setRegionId(const std::string ®ionId); - std::string getName() const; - void setName(const std::string &name); std::string getCidr() const; void setCidr(const std::string &cidr); std::vector getSubnets() const; void setSubnets(const std::vector &subnets); + std::vector getTag() const; + void setTag(const std::vector &tag); private: + std::string vpdName_; + std::string resourceGroupId_; std::string regionId_; - std::string name_; std::string cidr_; std::vector subnets_; + std::vector tag_; }; } // namespace Model } // namespace Eflo diff --git a/eflo/include/alibabacloud/eflo/model/DeleteElasticNetworkInterfaceRequest.h b/eflo/include/alibabacloud/eflo/model/DeleteElasticNetworkInterfaceRequest.h new file mode 100644 index 000000000..ef6bd7325 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/DeleteElasticNetworkInterfaceRequest.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_EFLO_MODEL_DELETEELASTICNETWORKINTERFACEREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_DELETEELASTICNETWORKINTERFACEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT DeleteElasticNetworkInterfaceRequest : public RpcServiceRequest { +public: + DeleteElasticNetworkInterfaceRequest(); + ~DeleteElasticNetworkInterfaceRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getElasticNetworkInterfaceId() const; + void setElasticNetworkInterfaceId(const std::string &elasticNetworkInterfaceId); + +private: + std::string regionId_; + std::string elasticNetworkInterfaceId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_DELETEELASTICNETWORKINTERFACEREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/DeleteElasticNetworkInterfaceResult.h b/eflo/include/alibabacloud/eflo/model/DeleteElasticNetworkInterfaceResult.h new file mode 100644 index 000000000..3be153b61 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/DeleteElasticNetworkInterfaceResult.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_EFLO_MODEL_DELETEELASTICNETWORKINTERFACERESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_DELETEELASTICNETWORKINTERFACERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT DeleteElasticNetworkInterfaceResult : public ServiceResult + { + public: + struct Content + { + std::string elasticNetworkInterfaceId; + std::string nodeId; + }; + + + DeleteElasticNetworkInterfaceResult(); + explicit DeleteElasticNetworkInterfaceResult(const std::string &payload); + ~DeleteElasticNetworkInterfaceResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_DELETEELASTICNETWORKINTERFACERESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/DeleteErAttachmentRequest.h b/eflo/include/alibabacloud/eflo/model/DeleteErAttachmentRequest.h new file mode 100644 index 000000000..6aa742be5 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/DeleteErAttachmentRequest.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_EFLO_MODEL_DELETEERATTACHMENTREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_DELETEERATTACHMENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT DeleteErAttachmentRequest : public RpcServiceRequest { +public: + DeleteErAttachmentRequest(); + ~DeleteErAttachmentRequest(); + std::string getErId() const; + void setErId(const std::string &erId); + std::string getErAttachmentId() const; + void setErAttachmentId(const std::string &erAttachmentId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string erId_; + std::string erAttachmentId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_DELETEERATTACHMENTREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/DeleteErAttachmentResult.h b/eflo/include/alibabacloud/eflo/model/DeleteErAttachmentResult.h new file mode 100644 index 000000000..136183df1 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/DeleteErAttachmentResult.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_EFLO_MODEL_DELETEERATTACHMENTRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_DELETEERATTACHMENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT DeleteErAttachmentResult : public ServiceResult + { + public: + + + DeleteErAttachmentResult(); + explicit DeleteErAttachmentResult(const std::string &payload); + ~DeleteErAttachmentResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_DELETEERATTACHMENTRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/DeleteErRequest.h b/eflo/include/alibabacloud/eflo/model/DeleteErRequest.h new file mode 100644 index 000000000..aea78e799 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/DeleteErRequest.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_EFLO_MODEL_DELETEERREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_DELETEERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT DeleteErRequest : public RpcServiceRequest { +public: + DeleteErRequest(); + ~DeleteErRequest(); + std::string getErId() const; + void setErId(const std::string &erId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string erId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_DELETEERREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/DeleteErResult.h b/eflo/include/alibabacloud/eflo/model/DeleteErResult.h new file mode 100644 index 000000000..59db05dab --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/DeleteErResult.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_EFLO_MODEL_DELETEERRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_DELETEERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT DeleteErResult : public ServiceResult + { + public: + + + DeleteErResult(); + explicit DeleteErResult(const std::string &payload); + ~DeleteErResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_DELETEERRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/DeleteErRouteMapRequest.h b/eflo/include/alibabacloud/eflo/model/DeleteErRouteMapRequest.h new file mode 100644 index 000000000..30dab43ee --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/DeleteErRouteMapRequest.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_EFLO_MODEL_DELETEERROUTEMAPREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_DELETEERROUTEMAPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT DeleteErRouteMapRequest : public RpcServiceRequest { +public: + DeleteErRouteMapRequest(); + ~DeleteErRouteMapRequest(); + std::string getErId() const; + void setErId(const std::string &erId); + std::vector getErRouteMapIds() const; + void setErRouteMapIds(const std::vector &erRouteMapIds); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string erId_; + std::vector erRouteMapIds_; + std::string regionId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_DELETEERROUTEMAPREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/DeleteErRouteMapResult.h b/eflo/include/alibabacloud/eflo/model/DeleteErRouteMapResult.h new file mode 100644 index 000000000..e97f9f19a --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/DeleteErRouteMapResult.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_EFLO_MODEL_DELETEERROUTEMAPRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_DELETEERROUTEMAPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT DeleteErRouteMapResult : public ServiceResult + { + public: + + + DeleteErRouteMapResult(); + explicit DeleteErRouteMapResult(const std::string &payload); + ~DeleteErRouteMapResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_DELETEERROUTEMAPRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/DeleteVccGrantRuleRequest.h b/eflo/include/alibabacloud/eflo/model/DeleteVccGrantRuleRequest.h new file mode 100644 index 000000000..49873980c --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/DeleteVccGrantRuleRequest.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_EFLO_MODEL_DELETEVCCGRANTRULEREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_DELETEVCCGRANTRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT DeleteVccGrantRuleRequest : public RpcServiceRequest { +public: + DeleteVccGrantRuleRequest(); + ~DeleteVccGrantRuleRequest(); + std::string getErId() const; + void setErId(const std::string &erId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getGrantRuleId() const; + void setGrantRuleId(const std::string &grantRuleId); + +private: + std::string erId_; + std::string instanceId_; + std::string regionId_; + std::string grantRuleId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_DELETEVCCGRANTRULEREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/DeleteVccGrantRuleResult.h b/eflo/include/alibabacloud/eflo/model/DeleteVccGrantRuleResult.h new file mode 100644 index 000000000..3fb8b8c22 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/DeleteVccGrantRuleResult.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_EFLO_MODEL_DELETEVCCGRANTRULERESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_DELETEVCCGRANTRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT DeleteVccGrantRuleResult : public ServiceResult + { + public: + + + DeleteVccGrantRuleResult(); + explicit DeleteVccGrantRuleResult(const std::string &payload); + ~DeleteVccGrantRuleResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_DELETEVCCGRANTRULERESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/DeleteVccRouteEntryRequest.h b/eflo/include/alibabacloud/eflo/model/DeleteVccRouteEntryRequest.h new file mode 100644 index 000000000..e272eb670 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/DeleteVccRouteEntryRequest.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_EFLO_MODEL_DELETEVCCROUTEENTRYREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_DELETEVCCROUTEENTRYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT DeleteVccRouteEntryRequest : public RpcServiceRequest { +public: + DeleteVccRouteEntryRequest(); + ~DeleteVccRouteEntryRequest(); + std::string getDestinationCidrBlock() const; + void setDestinationCidrBlock(const std::string &destinationCidrBlock); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getVccId() const; + void setVccId(const std::string &vccId); + std::string getVccRouteEntryId() const; + void setVccRouteEntryId(const std::string &vccRouteEntryId); + +private: + std::string destinationCidrBlock_; + std::string regionId_; + std::string vccId_; + std::string vccRouteEntryId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_DELETEVCCROUTEENTRYREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/DeleteVccRouteEntryResult.h b/eflo/include/alibabacloud/eflo/model/DeleteVccRouteEntryResult.h new file mode 100644 index 000000000..05ce4d044 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/DeleteVccRouteEntryResult.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_EFLO_MODEL_DELETEVCCROUTEENTRYRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_DELETEVCCROUTEENTRYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT DeleteVccRouteEntryResult : public ServiceResult + { + public: + + + DeleteVccRouteEntryResult(); + explicit DeleteVccRouteEntryResult(const std::string &payload); + ~DeleteVccRouteEntryResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_DELETEVCCROUTEENTRYRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/DeleteVpdGrantRuleRequest.h b/eflo/include/alibabacloud/eflo/model/DeleteVpdGrantRuleRequest.h new file mode 100644 index 000000000..06d9e15d1 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/DeleteVpdGrantRuleRequest.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_EFLO_MODEL_DELETEVPDGRANTRULEREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_DELETEVPDGRANTRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT DeleteVpdGrantRuleRequest : public RpcServiceRequest { +public: + DeleteVpdGrantRuleRequest(); + ~DeleteVpdGrantRuleRequest(); + std::string getErId() const; + void setErId(const std::string &erId); + std::string getGrantTenantId() const; + void setGrantTenantId(const std::string &grantTenantId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getGrantRuleId() const; + void setGrantRuleId(const std::string &grantRuleId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string erId_; + std::string grantTenantId_; + std::string instanceId_; + std::string grantRuleId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_DELETEVPDGRANTRULEREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/DeleteVpdGrantRuleResult.h b/eflo/include/alibabacloud/eflo/model/DeleteVpdGrantRuleResult.h new file mode 100644 index 000000000..821564d13 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/DeleteVpdGrantRuleResult.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_EFLO_MODEL_DELETEVPDGRANTRULERESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_DELETEVPDGRANTRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT DeleteVpdGrantRuleResult : public ServiceResult + { + public: + + + DeleteVpdGrantRuleResult(); + explicit DeleteVpdGrantRuleResult(const std::string &payload); + ~DeleteVpdGrantRuleResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_DELETEVPDGRANTRULERESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/DescribeSlrRequest.h b/eflo/include/alibabacloud/eflo/model/DescribeSlrRequest.h new file mode 100644 index 000000000..35956fd88 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/DescribeSlrRequest.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_EFLO_MODEL_DESCRIBESLRREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_DESCRIBESLRREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT DescribeSlrRequest : public RpcServiceRequest { +public: + DescribeSlrRequest(); + ~DescribeSlrRequest(); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); + +private: + std::string resourceGroupId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_DESCRIBESLRREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/DescribeSlrResult.h b/eflo/include/alibabacloud/eflo/model/DescribeSlrResult.h new file mode 100644 index 000000000..e874e73f7 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/DescribeSlrResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_DESCRIBESLRRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_DESCRIBESLRRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT DescribeSlrResult : public ServiceResult + { + public: + struct Content + { + bool hasRole; + }; + + + DescribeSlrResult(); + explicit DescribeSlrResult(const std::string &payload); + ~DescribeSlrResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_DESCRIBESLRRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/GetElasticNetworkInterfaceRequest.h b/eflo/include/alibabacloud/eflo/model/GetElasticNetworkInterfaceRequest.h new file mode 100644 index 000000000..e7c185c95 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/GetElasticNetworkInterfaceRequest.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_EFLO_MODEL_GETELASTICNETWORKINTERFACEREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_GETELASTICNETWORKINTERFACEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT GetElasticNetworkInterfaceRequest : public RpcServiceRequest { +public: + GetElasticNetworkInterfaceRequest(); + ~GetElasticNetworkInterfaceRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getElasticNetworkInterfaceId() const; + void setElasticNetworkInterfaceId(const std::string &elasticNetworkInterfaceId); + +private: + std::string regionId_; + std::string elasticNetworkInterfaceId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_GETELASTICNETWORKINTERFACEREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/GetElasticNetworkInterfaceResult.h b/eflo/include/alibabacloud/eflo/model/GetElasticNetworkInterfaceResult.h new file mode 100644 index 000000000..b52a4d5a3 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/GetElasticNetworkInterfaceResult.h @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_GETELASTICNETWORKINTERFACERESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_GETELASTICNETWORKINTERFACERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT GetElasticNetworkInterfaceResult : public ServiceResult + { + public: + struct Content + { + std::string status; + std::string description; + std::string zoneId; + std::string message; + std::string ip; + std::string vSwitchId; + std::string createTime; + std::string mask; + std::string gmtModified; + std::string mac; + std::string elasticNetworkInterfaceId; + std::string type; + std::string vpcId; + std::string gateway; + std::string nodeId; + std::string regionId; + }; + + + GetElasticNetworkInterfaceResult(); + explicit GetElasticNetworkInterfaceResult(const std::string &payload); + ~GetElasticNetworkInterfaceResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_GETELASTICNETWORKINTERFACERESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/GetErAttachmentRequest.h b/eflo/include/alibabacloud/eflo/model/GetErAttachmentRequest.h new file mode 100644 index 000000000..7e58bae5e --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/GetErAttachmentRequest.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_EFLO_MODEL_GETERATTACHMENTREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_GETERATTACHMENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT GetErAttachmentRequest : public RpcServiceRequest { +public: + GetErAttachmentRequest(); + ~GetErAttachmentRequest(); + std::string getErId() const; + void setErId(const std::string &erId); + std::string getErAttachmentId() const; + void setErAttachmentId(const std::string &erAttachmentId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string erId_; + std::string erAttachmentId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_GETERATTACHMENTREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/GetErAttachmentResult.h b/eflo/include/alibabacloud/eflo/model/GetErAttachmentResult.h new file mode 100644 index 000000000..15dcf8cc4 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/GetErAttachmentResult.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_EFLO_MODEL_GETERATTACHMENTRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_GETERATTACHMENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT GetErAttachmentResult : public ServiceResult + { + public: + struct Content + { + std::string status; + std::string message; + std::string instanceId; + std::string createTime; + std::string gmtModified; + std::string erId; + bool across; + std::string instanceName; + std::string tenantId; + std::string resourceTenantId; + bool autoReceiveAllRoute; + std::string erAttachmentName; + std::string erAttachmentId; + std::string regionId; + std::string instanceType; + }; + + + GetErAttachmentResult(); + explicit GetErAttachmentResult(const std::string &payload); + ~GetErAttachmentResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_GETERATTACHMENTRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/GetErRequest.h b/eflo/include/alibabacloud/eflo/model/GetErRequest.h new file mode 100644 index 000000000..3e92aad36 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/GetErRequest.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_EFLO_MODEL_GETERREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_GETERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT GetErRequest : public RpcServiceRequest { +public: + GetErRequest(); + ~GetErRequest(); + std::string getErId() const; + void setErId(const std::string &erId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string erId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_GETERREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/GetErResult.h b/eflo/include/alibabacloud/eflo/model/GetErResult.h new file mode 100644 index 000000000..b755e4934 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/GetErResult.h @@ -0,0 +1,127 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_GETERRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_GETERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT GetErResult : public ServiceResult + { + public: + struct Content + { + struct ErAttachment + { + std::string status; + std::string message; + std::string instanceId; + std::string createTime; + std::string gmtModified; + std::string erId; + bool across; + std::string instanceName; + std::string tenantId; + std::string resourceTenantId; + bool autoReceiveAllRoute; + std::string erAttachmentName; + std::string erAttachmentId; + std::string regionId; + std::string instanceType; + }; + struct ErRouteMap + { + std::string status; + std::string transmissionInstanceType; + std::string action; + std::string description; + std::string receptionInstanceType; + std::string message; + std::string erRouteMapName; + std::string receptionInstanceId; + std::string createTime; + std::string gmtModified; + std::string erId; + std::string transmissionInstanceName; + std::string destinationCidrBlock; + std::string receptionInstanceOwner; + std::string tenantId; + std::string receptionInstanceName; + std::string erRouteMapId; + std::string transmissionInstanceOwner; + std::string regionId; + std::string transmissionInstanceId; + int routeMapNum; + }; + struct ErRouteEntry + { + std::string status; + std::string nextHopType; + std::string tenantId; + std::string resourceTenantId; + std::string routeType; + std::string erRouteEntryId; + std::string nextHopId; + std::string gmtModified; + std::string erId; + std::string regionId; + std::string destinationCidrBlock; + }; + std::string status; + std::string description; + std::string message; + std::string createTime; + std::string gmtModified; + std::string erId; + std::vector erAttachments; + std::vector erRouteEntrys; + std::string erName; + std::string tenantId; + std::vector erRouteMaps; + std::string regionId; + std::string masterZoneId; + }; + + + GetErResult(); + explicit GetErResult(const std::string &payload); + ~GetErResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_GETERRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/GetErRouteEntryRequest.h b/eflo/include/alibabacloud/eflo/model/GetErRouteEntryRequest.h new file mode 100644 index 000000000..bc32b74ae --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/GetErRouteEntryRequest.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_EFLO_MODEL_GETERROUTEENTRYREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_GETERROUTEENTRYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT GetErRouteEntryRequest : public RpcServiceRequest { +public: + GetErRouteEntryRequest(); + ~GetErRouteEntryRequest(); + std::string getErId() const; + void setErId(const std::string &erId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getErRouteEntryId() const; + void setErRouteEntryId(const std::string &erRouteEntryId); + +private: + std::string erId_; + std::string regionId_; + std::string erRouteEntryId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_GETERROUTEENTRYREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/GetErRouteEntryResult.h b/eflo/include/alibabacloud/eflo/model/GetErRouteEntryResult.h new file mode 100644 index 000000000..4a79a30d9 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/GetErRouteEntryResult.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_EFLO_MODEL_GETERROUTEENTRYRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_GETERROUTEENTRYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT GetErRouteEntryResult : public ServiceResult + { + public: + struct Content + { + std::string status; + std::string nextHopType; + std::string tenantId; + std::string routeType; + std::string erRouteEntryId; + std::string nextHopId; + std::string gmtModified; + std::string erId; + std::string regionId; + std::string destinationCidrBlock; + }; + + + GetErRouteEntryResult(); + explicit GetErRouteEntryResult(const std::string &payload); + ~GetErRouteEntryResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_GETERROUTEENTRYRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/GetErRouteMapRequest.h b/eflo/include/alibabacloud/eflo/model/GetErRouteMapRequest.h new file mode 100644 index 000000000..ca3fa48ec --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/GetErRouteMapRequest.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_EFLO_MODEL_GETERROUTEMAPREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_GETERROUTEMAPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT GetErRouteMapRequest : public RpcServiceRequest { +public: + GetErRouteMapRequest(); + ~GetErRouteMapRequest(); + std::string getErId() const; + void setErId(const std::string &erId); + std::string getErRouteMapId() const; + void setErRouteMapId(const std::string &erRouteMapId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string erId_; + std::string erRouteMapId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_GETERROUTEMAPREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/GetErRouteMapResult.h b/eflo/include/alibabacloud/eflo/model/GetErRouteMapResult.h new file mode 100644 index 000000000..d2838696b --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/GetErRouteMapResult.h @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_GETERROUTEMAPRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_GETERROUTEMAPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT GetErRouteMapResult : public ServiceResult + { + public: + struct Content + { + std::string status; + std::string transmissionInstanceType; + std::string action; + std::string description; + std::string receptionInstanceType; + std::string message; + std::string erRouteMapName; + std::string receptionInstanceId; + std::string gmtModified; + std::string erId; + std::string transmissionInstanceName; + std::string destinationCidrBlock; + std::string receptionInstanceOwner; + std::string tenantId; + std::string gmtCreate; + std::string receptionInstanceName; + std::string erRouteMapId; + std::string transmissionInstanceOwner; + std::string regionId; + std::string transmissionInstanceId; + int routeMapNum; + }; + + + GetErRouteMapResult(); + explicit GetErRouteMapResult(const std::string &payload); + ~GetErRouteMapResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_GETERROUTEMAPRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/GetFabricTopologyRequest.h b/eflo/include/alibabacloud/eflo/model/GetFabricTopologyRequest.h new file mode 100644 index 000000000..faa126805 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/GetFabricTopologyRequest.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_EFLO_MODEL_GETFABRICTOPOLOGYREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_GETFABRICTOPOLOGYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT GetFabricTopologyRequest : public RpcServiceRequest { +public: + GetFabricTopologyRequest(); + ~GetFabricTopologyRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getVpdId() const; + void setVpdId(const std::string &vpdId); + std::vector getLniIds() const; + void setLniIds(const std::vector &lniIds); + std::vector getNodeIds() const; + void setNodeIds(const std::vector &nodeIds); + +private: + std::string regionId_; + std::string vpdId_; + std::vector lniIds_; + std::vector nodeIds_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_GETFABRICTOPOLOGYREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/GetFabricTopologyResult.h b/eflo/include/alibabacloud/eflo/model/GetFabricTopologyResult.h new file mode 100644 index 000000000..e93f17cb7 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/GetFabricTopologyResult.h @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_GETFABRICTOPOLOGYRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_GETFABRICTOPOLOGYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT GetFabricTopologyResult : public ServiceResult + { + public: + struct Content + { + struct Layer + { + std::string layerName; + std::vector nextLayer; + std::string layerType; + }; + std::string vpdId; + std::string regionId; + std::vector topoInfo; + }; + + + GetFabricTopologyResult(); + explicit GetFabricTopologyResult(const std::string &payload); + ~GetFabricTopologyResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_GETFABRICTOPOLOGYRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/GetLniPrivateIpAddressRequest.h b/eflo/include/alibabacloud/eflo/model/GetLniPrivateIpAddressRequest.h new file mode 100644 index 000000000..c6b1e883f --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/GetLniPrivateIpAddressRequest.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_EFLO_MODEL_GETLNIPRIVATEIPADDRESSREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_GETLNIPRIVATEIPADDRESSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT GetLniPrivateIpAddressRequest : public RpcServiceRequest { +public: + GetLniPrivateIpAddressRequest(); + ~GetLniPrivateIpAddressRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getIpName() const; + void setIpName(const std::string &ipName); + std::string getNetworkInterfaceId() const; + void setNetworkInterfaceId(const std::string &networkInterfaceId); + +private: + std::string regionId_; + std::string ipName_; + std::string networkInterfaceId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_GETLNIPRIVATEIPADDRESSREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/GetLniPrivateIpAddressResult.h b/eflo/include/alibabacloud/eflo/model/GetLniPrivateIpAddressResult.h new file mode 100644 index 000000000..3a3350a8b --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/GetLniPrivateIpAddressResult.h @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_GETLNIPRIVATEIPADDRESSRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_GETLNIPRIVATEIPADDRESSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT GetLniPrivateIpAddressResult : public ServiceResult + { + public: + struct Content + { + std::string status; + std::string gmtCreate; + std::string ipName; + std::string privateIpAddress; + std::string description; + std::string ipAddressMac; + std::string message; + std::string regionId; + std::string networkInterfaceId; + }; + + + GetLniPrivateIpAddressResult(); + explicit GetLniPrivateIpAddressResult(const std::string &payload); + ~GetLniPrivateIpAddressResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_GETLNIPRIVATEIPADDRESSRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/GetNetworkInterfaceRequest.h b/eflo/include/alibabacloud/eflo/model/GetNetworkInterfaceRequest.h new file mode 100644 index 000000000..bf28b501b --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/GetNetworkInterfaceRequest.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_EFLO_MODEL_GETNETWORKINTERFACEREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_GETNETWORKINTERFACEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT GetNetworkInterfaceRequest : public RpcServiceRequest { +public: + GetNetworkInterfaceRequest(); + ~GetNetworkInterfaceRequest(); + std::string getSubnetId() const; + void setSubnetId(const std::string &subnetId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getNetworkInterfaceId() const; + void setNetworkInterfaceId(const std::string &networkInterfaceId); + +private: + std::string subnetId_; + std::string regionId_; + std::string networkInterfaceId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_GETNETWORKINTERFACEREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/GetNetworkInterfaceResult.h b/eflo/include/alibabacloud/eflo/model/GetNetworkInterfaceResult.h new file mode 100644 index 000000000..f0cffff76 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/GetNetworkInterfaceResult.h @@ -0,0 +1,98 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_GETNETWORKINTERFACERESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_GETNETWORKINTERFACERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT GetNetworkInterfaceResult : public ServiceResult + { + public: + struct Content + { + struct VpdBaseInfo + { + std::string cidr; + std::string vpdId; + std::string createTime; + std::string vpdName; + }; + struct SubnetBaseInfo + { + std::string subnetName; + std::string cidr; + std::string createTime; + std::string subnetId; + }; + struct PrivateIpAddressMacGroupItem + { + std::string status; + std::string ipName; + std::string privateIpAddress; + std::string description; + std::string ipAddressMac; + std::string message; + }; + std::string status; + VpdBaseInfo vpdBaseInfo; + std::string zoneId; + std::string ip; + std::string createTime; + std::string networkInterfaceName; + std::string networkInterfaceId; + std::string tenantId; + int quota; + std::string gateway; + std::vector ethernet; + std::string nodeId; + SubnetBaseInfo subnetBaseInfo; + std::string serviceMac; + std::string ncType; + std::vector privateIpAddressMacGroup; + std::string regionId; + }; + + + GetNetworkInterfaceResult(); + explicit GetNetworkInterfaceResult(const std::string &payload); + ~GetNetworkInterfaceResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_GETNETWORKINTERFACERESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/GetSubnetRequest.h b/eflo/include/alibabacloud/eflo/model/GetSubnetRequest.h index 24e8a59ef..039dd54ff 100644 --- a/eflo/include/alibabacloud/eflo/model/GetSubnetRequest.h +++ b/eflo/include/alibabacloud/eflo/model/GetSubnetRequest.h @@ -32,9 +32,15 @@ public: ~GetSubnetRequest(); std::string getSubnetId() const; void setSubnetId(const std::string &subnetId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getVpdId() const; + void setVpdId(const std::string &vpdId); private: std::string subnetId_; + std::string regionId_; + std::string vpdId_; }; } // namespace Model } // namespace Eflo diff --git a/eflo/include/alibabacloud/eflo/model/GetSubnetResult.h b/eflo/include/alibabacloud/eflo/model/GetSubnetResult.h index 22ce519bb..635f93d21 100644 --- a/eflo/include/alibabacloud/eflo/model/GetSubnetResult.h +++ b/eflo/include/alibabacloud/eflo/model/GetSubnetResult.h @@ -36,28 +36,36 @@ namespace AlibabaCloud { struct VpdBaseInfo { - std::string gmtCreate; std::string cidr; std::string vpdId; - std::string name; + std::string createTime; + std::string vpdName; + }; + struct Tag + { + std::string tagKey; + std::string tagValue; }; std::string status; - long ncCount; + int ncCount; long lbCount; + int availableIps; VpdBaseInfo vpdBaseInfo; - std::string description; + long privateIpCount; std::string zoneId; std::string message; + int networkInterfaceCount; + std::string resourceGroupId; + std::string createTime; std::string gmtModified; std::string subnetId; - std::string name; - std::string gmtCreate; + std::string subnetName; std::string tenantId; std::string type; std::string cidr; std::string vpdId; - long id; std::string regionId; + std::vector tags; }; diff --git a/eflo/include/alibabacloud/eflo/model/GetVccGrantRuleRequest.h b/eflo/include/alibabacloud/eflo/model/GetVccGrantRuleRequest.h new file mode 100644 index 000000000..7cbf43cca --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/GetVccGrantRuleRequest.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_EFLO_MODEL_GETVCCGRANTRULEREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_GETVCCGRANTRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT GetVccGrantRuleRequest : public RpcServiceRequest { +public: + GetVccGrantRuleRequest(); + ~GetVccGrantRuleRequest(); + std::string getErId() const; + void setErId(const std::string &erId); + std::string getGrantTenantId() const; + void setGrantTenantId(const std::string &grantTenantId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getGrantRuleId() const; + void setGrantRuleId(const std::string &grantRuleId); + +private: + std::string erId_; + std::string grantTenantId_; + std::string instanceId_; + std::string regionId_; + std::string grantRuleId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_GETVCCGRANTRULEREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/GetVccGrantRuleResult.h b/eflo/include/alibabacloud/eflo/model/GetVccGrantRuleResult.h new file mode 100644 index 000000000..ec2464af2 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/GetVccGrantRuleResult.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_EFLO_MODEL_GETVCCGRANTRULERESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_GETVCCGRANTRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT GetVccGrantRuleResult : public ServiceResult + { + public: + struct Content + { + std::string instanceName; + std::string tenantId; + std::string grantTenantId; + std::string instanceId; + bool used; + std::string createTime; + std::string grantRuleId; + std::string product; + std::string erId; + std::string regionId; + }; + + + GetVccGrantRuleResult(); + explicit GetVccGrantRuleResult(const std::string &payload); + ~GetVccGrantRuleResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_GETVCCGRANTRULERESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/GetVccRequest.h b/eflo/include/alibabacloud/eflo/model/GetVccRequest.h index c6ea07b89..ad9408be5 100644 --- a/eflo/include/alibabacloud/eflo/model/GetVccRequest.h +++ b/eflo/include/alibabacloud/eflo/model/GetVccRequest.h @@ -30,13 +30,22 @@ class ALIBABACLOUD_EFLO_EXPORT GetVccRequest : public RpcServiceRequest { public: GetVccRequest(); ~GetVccRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); std::string getRegionId() const; void setRegionId(const std::string ®ionId); + bool getEnablePage() const; + void setEnablePage(bool enablePage); + int getPageSize() const; + void setPageSize(int pageSize); std::string getVccId() const; void setVccId(const std::string &vccId); private: + int pageNumber_; std::string regionId_; + bool enablePage_; + int pageSize_; std::string vccId_; }; } // namespace Model diff --git a/eflo/include/alibabacloud/eflo/model/GetVccResult.h b/eflo/include/alibabacloud/eflo/model/GetVccResult.h index f6acc056d..b2c66ad76 100644 --- a/eflo/include/alibabacloud/eflo/model/GetVccResult.h +++ b/eflo/include/alibabacloud/eflo/model/GetVccResult.h @@ -36,10 +36,25 @@ namespace AlibabaCloud { struct VpdBaseInfo { - std::string gmtCreate; std::string cidr; std::string vpdId; - std::string name; + std::string createTime; + std::string vpdName; + }; + struct ErInfo + { + std::string status; + long connections; + std::string erName; + std::string tenantId; + std::string description; + std::string message; + std::string createTime; + std::string gmtModified; + std::string erId; + std::string regionId; + long routeMaps; + std::string masterZoneId; }; struct AliyunRouterInfoItem { @@ -64,7 +79,13 @@ namespace AlibabaCloud std::string ccrId; std::vector ccInfos; }; + struct Tag + { + std::string tagKey; + std::string tagValue; + }; std::string message; + std::string resourceGroupId; std::string lineOperator; std::string pricingCycle; std::string currentNode; @@ -72,8 +93,11 @@ namespace AlibabaCloud std::string bgpCidr; std::string commodityCode; std::string vccId; + std::vector tags; std::string status; VpdBaseInfo vpdBaseInfo; + std::string zoneId; + std::string connectionType; std::string vSwitchId; std::string createTime; std::string duration; @@ -84,7 +108,11 @@ namespace AlibabaCloud std::vector cisRouterInfo; std::string tenantId; std::string vpcId; + std::string expirationDate; std::string vpdId; + std::vector erInfos; + std::string cenOwnerId; + bool attachErStatus; std::string cenId; std::string accessPointId; std::string regionId; diff --git a/eflo/include/alibabacloud/eflo/model/GetVccRouteEntryRequest.h b/eflo/include/alibabacloud/eflo/model/GetVccRouteEntryRequest.h new file mode 100644 index 000000000..3b01f121a --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/GetVccRouteEntryRequest.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_EFLO_MODEL_GETVCCROUTEENTRYREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_GETVCCROUTEENTRYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT GetVccRouteEntryRequest : public RpcServiceRequest { +public: + GetVccRouteEntryRequest(); + ~GetVccRouteEntryRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getVccId() const; + void setVccId(const std::string &vccId); + std::string getVccRouteEntryId() const; + void setVccRouteEntryId(const std::string &vccRouteEntryId); + +private: + std::string regionId_; + std::string vccId_; + std::string vccRouteEntryId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_GETVCCROUTEENTRYREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/GetVccRouteEntryResult.h b/eflo/include/alibabacloud/eflo/model/GetVccRouteEntryResult.h new file mode 100644 index 000000000..1e72b4e3a --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/GetVccRouteEntryResult.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_EFLO_MODEL_GETVCCROUTEENTRYRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_GETVCCROUTEENTRYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT GetVccRouteEntryResult : public ServiceResult + { + public: + struct Content + { + std::string status; + std::string vccRouteEntryId; + std::string nextHopType; + std::string tenantId; + std::string routeType; + std::string nextHopId; + std::string gmtModified; + std::string regionId; + std::string vccId; + std::string destinationCidrBlock; + }; + + + GetVccRouteEntryResult(); + explicit GetVccRouteEntryResult(const std::string &payload); + ~GetVccRouteEntryResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_GETVCCROUTEENTRYRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/GetVpdGrantRuleRequest.h b/eflo/include/alibabacloud/eflo/model/GetVpdGrantRuleRequest.h new file mode 100644 index 000000000..97abcd780 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/GetVpdGrantRuleRequest.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_EFLO_MODEL_GETVPDGRANTRULEREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_GETVPDGRANTRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT GetVpdGrantRuleRequest : public RpcServiceRequest { +public: + GetVpdGrantRuleRequest(); + ~GetVpdGrantRuleRequest(); + std::string getErId() const; + void setErId(const std::string &erId); + std::string getGrantTenantId() const; + void setGrantTenantId(const std::string &grantTenantId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getGrantRuleId() const; + void setGrantRuleId(const std::string &grantRuleId); + +private: + std::string erId_; + std::string grantTenantId_; + std::string instanceId_; + std::string regionId_; + std::string grantRuleId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_GETVPDGRANTRULEREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/GetVpdGrantRuleResult.h b/eflo/include/alibabacloud/eflo/model/GetVpdGrantRuleResult.h new file mode 100644 index 000000000..32b43a530 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/GetVpdGrantRuleResult.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_EFLO_MODEL_GETVPDGRANTRULERESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_GETVPDGRANTRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT GetVpdGrantRuleResult : public ServiceResult + { + public: + struct Content + { + std::string instanceName; + std::string tenantId; + std::string grantTenantId; + std::string instanceId; + bool used; + std::string createTime; + std::string grantRuleId; + std::string product; + std::string erId; + std::string regionId; + }; + + + GetVpdGrantRuleResult(); + explicit GetVpdGrantRuleResult(const std::string &payload); + ~GetVpdGrantRuleResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_GETVPDGRANTRULERESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/GetVpdRequest.h b/eflo/include/alibabacloud/eflo/model/GetVpdRequest.h index a20ecc3c4..88f7e23f7 100644 --- a/eflo/include/alibabacloud/eflo/model/GetVpdRequest.h +++ b/eflo/include/alibabacloud/eflo/model/GetVpdRequest.h @@ -30,10 +30,13 @@ class ALIBABACLOUD_EFLO_EXPORT GetVpdRequest : public RpcServiceRequest { public: GetVpdRequest(); ~GetVpdRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); std::string getVpdId() const; void setVpdId(const std::string &vpdId); private: + std::string regionId_; std::string vpdId_; }; } // namespace Model diff --git a/eflo/include/alibabacloud/eflo/model/GetVpdResult.h b/eflo/include/alibabacloud/eflo/model/GetVpdResult.h index c4e0c272f..dee580601 100644 --- a/eflo/include/alibabacloud/eflo/model/GetVpdResult.h +++ b/eflo/include/alibabacloud/eflo/model/GetVpdResult.h @@ -34,21 +34,46 @@ namespace AlibabaCloud public: struct Content { + struct ErInfo + { + std::string status; + long connections; + std::string erName; + std::string tenantId; + std::string description; + std::string message; + std::string createTime; + std::string gmtModified; + std::string erId; + std::string regionId; + long routeMaps; + std::string masterZoneId; + }; + struct Tag + { + std::string tagKey; + std::string tagValue; + }; std::string status; - long ncCount; - long lbCount; - std::string description; + int ncCount; + long privateIpCount; std::string message; + int networkInterfaceCount; long subnetCount; + std::string resourceGroupId; + std::vector secondaryCidrBlocks; + std::string createTime; std::string gmtModified; - std::string name; - std::string gmtCreate; + std::string vpdName; + std::string tenantId; std::string cidr; + int quota; std::string vpdId; + std::vector erInfos; + bool attachErStatus; std::string serviceCidr; std::string regionId; - long vccCount; - int route; + std::vector tags; }; diff --git a/eflo/include/alibabacloud/eflo/model/GetVpdRouteEntryRequest.h b/eflo/include/alibabacloud/eflo/model/GetVpdRouteEntryRequest.h new file mode 100644 index 000000000..82b8b9dfc --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/GetVpdRouteEntryRequest.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_EFLO_MODEL_GETVPDROUTEENTRYREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_GETVPDROUTEENTRYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT GetVpdRouteEntryRequest : public RpcServiceRequest { +public: + GetVpdRouteEntryRequest(); + ~GetVpdRouteEntryRequest(); + std::string getVpdRouteEntryId() const; + void setVpdRouteEntryId(const std::string &vpdRouteEntryId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getVpdId() const; + void setVpdId(const std::string &vpdId); + +private: + std::string vpdRouteEntryId_; + std::string regionId_; + std::string vpdId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_GETVPDROUTEENTRYREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/GetVpdRouteEntryResult.h b/eflo/include/alibabacloud/eflo/model/GetVpdRouteEntryResult.h new file mode 100644 index 000000000..3eee541a3 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/GetVpdRouteEntryResult.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_EFLO_MODEL_GETVPDROUTEENTRYRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_GETVPDROUTEENTRYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT GetVpdRouteEntryResult : public ServiceResult + { + public: + struct Content + { + std::string status; + std::string nextHopType; + std::string tenantId; + std::string routeType; + std::string vpdId; + std::string nextHopId; + std::string gmtModified; + std::string regionId; + std::string destinationCidrBlock; + std::string vpdRouteEntryId; + }; + + + GetVpdRouteEntryResult(); + explicit GetVpdRouteEntryResult(const std::string &payload); + ~GetVpdRouteEntryResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_GETVPDROUTEENTRYRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/InitializeVccRequest.h b/eflo/include/alibabacloud/eflo/model/InitializeVccRequest.h index be1985221..e4295879e 100644 --- a/eflo/include/alibabacloud/eflo/model/InitializeVccRequest.h +++ b/eflo/include/alibabacloud/eflo/model/InitializeVccRequest.h @@ -30,8 +30,11 @@ class ALIBABACLOUD_EFLO_EXPORT InitializeVccRequest : public RpcServiceRequest { public: InitializeVccRequest(); ~InitializeVccRequest(); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); private: + std::string resourceGroupId_; }; } // namespace Model } // namespace Eflo diff --git a/eflo/include/alibabacloud/eflo/model/ListElasticNetworkInterfacesRequest.h b/eflo/include/alibabacloud/eflo/model/ListElasticNetworkInterfacesRequest.h new file mode 100644 index 000000000..58b2078d1 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/ListElasticNetworkInterfacesRequest.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_EFLO_MODEL_LISTELASTICNETWORKINTERFACESREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_LISTELASTICNETWORKINTERFACESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT ListElasticNetworkInterfacesRequest : public RpcServiceRequest { +public: + ListElasticNetworkInterfacesRequest(); + ~ListElasticNetworkInterfacesRequest(); + std::string getNetworkType() const; + void setNetworkType(const std::string &networkType); + std::string getType() const; + void setType(const std::string &type); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getNodeId() const; + void setNodeId(const std::string &nodeId); + std::string getIp() const; + void setIp(const std::string &ip); + std::string getVSwitchId() const; + void setVSwitchId(const std::string &vSwitchId); + std::string getVpcId() const; + void setVpcId(const std::string &vpcId); + std::string getZoneId() const; + void setZoneId(const std::string &zoneId); + std::string getElasticNetworkInterfaceId() const; + void setElasticNetworkInterfaceId(const std::string &elasticNetworkInterfaceId); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + std::string networkType_; + std::string type_; + int pageNumber_; + std::string regionId_; + int pageSize_; + std::string nodeId_; + std::string ip_; + std::string vSwitchId_; + std::string vpcId_; + std::string zoneId_; + std::string elasticNetworkInterfaceId_; + std::string status_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_LISTELASTICNETWORKINTERFACESREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/ListElasticNetworkInterfacesResult.h b/eflo/include/alibabacloud/eflo/model/ListElasticNetworkInterfacesResult.h new file mode 100644 index 000000000..219e0f70c --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/ListElasticNetworkInterfacesResult.h @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_LISTELASTICNETWORKINTERFACESRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_LISTELASTICNETWORKINTERFACESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT ListElasticNetworkInterfacesResult : public ServiceResult + { + public: + struct Content + { + struct DataItem + { + std::string status; + std::string description; + std::string zoneId; + std::string message; + std::string ip; + std::string vSwitchId; + std::string createTime; + std::string mask; + std::string gmtModified; + std::string mac; + std::string elasticNetworkInterfaceId; + std::string type; + std::string vpcId; + std::string gateway; + std::string nodeId; + std::string regionId; + }; + long total; + std::vector data; + }; + + + ListElasticNetworkInterfacesResult(); + explicit ListElasticNetworkInterfacesResult(const std::string &payload); + ~ListElasticNetworkInterfacesResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_LISTELASTICNETWORKINTERFACESRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/ListErAttachmentsRequest.h b/eflo/include/alibabacloud/eflo/model/ListErAttachmentsRequest.h new file mode 100644 index 000000000..d5b0a25cc --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/ListErAttachmentsRequest.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_EFLO_MODEL_LISTERATTACHMENTSREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_LISTERATTACHMENTSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT ListErAttachmentsRequest : public RpcServiceRequest { +public: + ListErAttachmentsRequest(); + ~ListErAttachmentsRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getResourceTenantId() const; + void setResourceTenantId(const std::string &resourceTenantId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + bool getAutoReceiveAllRoute() const; + void setAutoReceiveAllRoute(bool autoReceiveAllRoute); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getInstanceType() const; + void setInstanceType(const std::string &instanceType); + std::string getErAttachmentName() const; + void setErAttachmentName(const std::string &erAttachmentName); + std::string getErId() const; + void setErId(const std::string &erId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getErAttachmentId() const; + void setErAttachmentId(const std::string &erAttachmentId); + bool getEnablePage() const; + void setEnablePage(bool enablePage); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + int pageNumber_; + std::string resourceTenantId_; + std::string regionId_; + bool autoReceiveAllRoute_; + int pageSize_; + std::string instanceType_; + std::string erAttachmentName_; + std::string erId_; + std::string instanceId_; + std::string erAttachmentId_; + bool enablePage_; + std::string status_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_LISTERATTACHMENTSREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/ListErAttachmentsResult.h b/eflo/include/alibabacloud/eflo/model/ListErAttachmentsResult.h new file mode 100644 index 000000000..ac75ad771 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/ListErAttachmentsResult.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_EFLO_MODEL_LISTERATTACHMENTSRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_LISTERATTACHMENTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT ListErAttachmentsResult : public ServiceResult + { + public: + struct Content + { + struct DataItem + { + std::string status; + std::string message; + std::string instanceId; + std::string createTime; + std::string gmtModified; + std::string erId; + bool across; + std::string instanceName; + std::string tenantId; + std::string resourceTenantId; + bool autoReceiveAllRoute; + std::string erAttachmentName; + std::string erAttachmentId; + std::string regionId; + std::string instanceType; + }; + long total; + std::vector data; + }; + + + ListErAttachmentsResult(); + explicit ListErAttachmentsResult(const std::string &payload); + ~ListErAttachmentsResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_LISTERATTACHMENTSRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/ListErRouteEntriesRequest.h b/eflo/include/alibabacloud/eflo/model/ListErRouteEntriesRequest.h new file mode 100644 index 000000000..fe086be3a --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/ListErRouteEntriesRequest.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_EFLO_MODEL_LISTERROUTEENTRIESREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_LISTERROUTEENTRIESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT ListErRouteEntriesRequest : public RpcServiceRequest { +public: + ListErRouteEntriesRequest(); + ~ListErRouteEntriesRequest(); + bool getIgnoreDetailedRouteEntry() const; + void setIgnoreDetailedRouteEntry(bool ignoreDetailedRouteEntry); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getRouteType() const; + void setRouteType(const std::string &routeType); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getNextHopId() const; + void setNextHopId(const std::string &nextHopId); + std::string getNextHopType() const; + void setNextHopType(const std::string &nextHopType); + std::string getDestinationCidrBlock() const; + void setDestinationCidrBlock(const std::string &destinationCidrBlock); + std::string getErId() const; + void setErId(const std::string &erId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + bool getEnablePage() const; + void setEnablePage(bool enablePage); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + bool ignoreDetailedRouteEntry_; + int pageNumber_; + std::string routeType_; + std::string regionId_; + int pageSize_; + std::string nextHopId_; + std::string nextHopType_; + std::string destinationCidrBlock_; + std::string erId_; + std::string instanceId_; + bool enablePage_; + std::string status_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_LISTERROUTEENTRIESREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/ListErRouteEntriesResult.h b/eflo/include/alibabacloud/eflo/model/ListErRouteEntriesResult.h new file mode 100644 index 000000000..28c117d59 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/ListErRouteEntriesResult.h @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_LISTERROUTEENTRIESRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_LISTERROUTEENTRIESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT ListErRouteEntriesResult : public ServiceResult + { + public: + struct Content + { + struct DataItem + { + std::string status; + std::string nextHopType; + std::string tenantId; + std::string resourceTenantId; + std::string routeType; + std::string erRouteEntryId; + std::string nextHopId; + std::string gmtModified; + std::string erId; + std::string regionId; + std::string destinationCidrBlock; + }; + long total; + std::vector data; + }; + + + ListErRouteEntriesResult(); + explicit ListErRouteEntriesResult(const std::string &payload); + ~ListErRouteEntriesResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_LISTERROUTEENTRIESRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/ListErRouteMapsRequest.h b/eflo/include/alibabacloud/eflo/model/ListErRouteMapsRequest.h new file mode 100644 index 000000000..1354fed8b --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/ListErRouteMapsRequest.h @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_LISTERROUTEMAPSREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_LISTERROUTEMAPSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT ListErRouteMapsRequest : public RpcServiceRequest { +public: + ListErRouteMapsRequest(); + ~ListErRouteMapsRequest(); + std::string getReceptionInstanceType() const; + void setReceptionInstanceType(const std::string &receptionInstanceType); + std::string getReceptionInstanceId() const; + void setReceptionInstanceId(const std::string &receptionInstanceId); + int getErRouteMapNum() const; + void setErRouteMapNum(int erRouteMapNum); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getRouteMapAction() const; + void setRouteMapAction(const std::string &routeMapAction); + std::string getTransmissionInstanceType() const; + void setTransmissionInstanceType(const std::string &transmissionInstanceType); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getTransmissionInstanceName() const; + void setTransmissionInstanceName(const std::string &transmissionInstanceName); + std::string getDestinationCidrBlock() const; + void setDestinationCidrBlock(const std::string &destinationCidrBlock); + std::string getErId() const; + void setErId(const std::string &erId); + std::string getErRouteMapId() const; + void setErRouteMapId(const std::string &erRouteMapId); + std::string getReceptionInstanceName() const; + void setReceptionInstanceName(const std::string &receptionInstanceName); + bool getEnablePage() const; + void setEnablePage(bool enablePage); + std::string getTransmissionInstanceId() const; + void setTransmissionInstanceId(const std::string &transmissionInstanceId); + +private: + std::string receptionInstanceType_; + std::string receptionInstanceId_; + int erRouteMapNum_; + int pageNumber_; + std::string routeMapAction_; + std::string transmissionInstanceType_; + std::string regionId_; + int pageSize_; + std::string transmissionInstanceName_; + std::string destinationCidrBlock_; + std::string erId_; + std::string erRouteMapId_; + std::string receptionInstanceName_; + bool enablePage_; + std::string transmissionInstanceId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_LISTERROUTEMAPSREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/ListErRouteMapsResult.h b/eflo/include/alibabacloud/eflo/model/ListErRouteMapsResult.h new file mode 100644 index 000000000..4dbea50bb --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/ListErRouteMapsResult.h @@ -0,0 +1,83 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_LISTERROUTEMAPSRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_LISTERROUTEMAPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT ListErRouteMapsResult : public ServiceResult + { + public: + struct Content + { + struct DataItem + { + std::string status; + std::string transmissionInstanceType; + std::string action; + std::string description; + std::string receptionInstanceType; + std::string message; + std::string receptionInstanceId; + std::string createTime; + std::string gmtModified; + std::string erId; + std::string transmissionInstanceName; + std::string destinationCidrBlock; + std::string receptionInstanceOwner; + std::string tenantId; + std::string receptionInstanceName; + std::string erRouteMapId; + std::string transmissionInstanceOwner; + std::string regionId; + std::string transmissionInstanceId; + int routeMapNum; + }; + long total; + std::vector data; + }; + + + ListErRouteMapsResult(); + explicit ListErRouteMapsResult(const std::string &payload); + ~ListErRouteMapsResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_LISTERROUTEMAPSRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/ListErsRequest.h b/eflo/include/alibabacloud/eflo/model/ListErsRequest.h new file mode 100644 index 000000000..69e183c80 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/ListErsRequest.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_EFLO_MODEL_LISTERSREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_LISTERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT ListErsRequest : public RpcServiceRequest { +public: + ListErsRequest(); + ~ListErsRequest(); + std::string getMasterZoneId() const; + void setMasterZoneId(const std::string &masterZoneId); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getInstanceType() const; + void setInstanceType(const std::string &instanceType); + std::string getErId() const; + void setErId(const std::string &erId); + std::string getErName() const; + void setErName(const std::string &erName); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + bool getEnablePage() const; + void setEnablePage(bool enablePage); + +private: + std::string masterZoneId_; + int pageNumber_; + std::string regionId_; + int pageSize_; + std::string instanceType_; + std::string erId_; + std::string erName_; + std::string instanceId_; + bool enablePage_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_LISTERSREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/ListErsResult.h b/eflo/include/alibabacloud/eflo/model/ListErsResult.h new file mode 100644 index 000000000..fcfabdd72 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/ListErsResult.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_EFLO_MODEL_LISTERSRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_LISTERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT ListErsResult : public ServiceResult + { + public: + struct Content + { + struct DataItem + { + std::string status; + long connections; + std::string erName; + std::string tenantId; + std::string description; + std::string message; + std::string createTime; + std::string gmtModified; + std::string erId; + std::string regionId; + long routeMaps; + std::string masterZoneId; + }; + long total; + std::vector data; + }; + + + ListErsResult(); + explicit ListErsResult(const std::string &payload); + ~ListErsResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_LISTERSRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/ListInstancesByNcdRequest.h b/eflo/include/alibabacloud/eflo/model/ListInstancesByNcdRequest.h new file mode 100644 index 000000000..419a6c3a9 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/ListInstancesByNcdRequest.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_EFLO_MODEL_LISTINSTANCESBYNCDREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_LISTINSTANCESBYNCDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT ListInstancesByNcdRequest : public RpcServiceRequest { +public: + ListInstancesByNcdRequest(); + ~ListInstancesByNcdRequest(); + int getMaxNcd() const; + void setMaxNcd(int maxNcd); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getInstanceType() const; + void setInstanceType(const std::string &instanceType); + +private: + int maxNcd_; + std::string instanceId_; + std::string regionId_; + std::string instanceType_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_LISTINSTANCESBYNCDREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/ListInstancesByNcdResult.h b/eflo/include/alibabacloud/eflo/model/ListInstancesByNcdResult.h new file mode 100644 index 000000000..7a654ce17 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/ListInstancesByNcdResult.h @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_LISTINSTANCESBYNCDRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_LISTINSTANCESBYNCDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT ListInstancesByNcdResult : public ServiceResult + { + public: + struct Content + { + struct InstanceInfo + { + std::string instanceId; + int ncd; + }; + int maxNcd; + std::string instanceType; + std::string sourceInstanceId; + std::vector instanceInfos; + }; + + + ListInstancesByNcdResult(); + explicit ListInstancesByNcdResult(const std::string &payload); + ~ListInstancesByNcdResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_LISTINSTANCESBYNCDRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/ListLniPrivateIpAddressRequest.h b/eflo/include/alibabacloud/eflo/model/ListLniPrivateIpAddressRequest.h new file mode 100644 index 000000000..0adfd1449 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/ListLniPrivateIpAddressRequest.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_EFLO_MODEL_LISTLNIPRIVATEIPADDRESSREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_LISTLNIPRIVATEIPADDRESSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT ListLniPrivateIpAddressRequest : public RpcServiceRequest { +public: + ListLniPrivateIpAddressRequest(); + ~ListLniPrivateIpAddressRequest(); + std::string getDescription() const; + void setDescription(const std::string &description); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getIp() const; + void setIp(const std::string &ip); + bool getEnablePage() const; + void setEnablePage(bool enablePage); + std::string getIpName() const; + void setIpName(const std::string &ipName); + std::string getNetworkInterfaceId() const; + void setNetworkInterfaceId(const std::string &networkInterfaceId); + +private: + std::string description_; + int pageNumber_; + std::string regionId_; + int pageSize_; + std::string ip_; + bool enablePage_; + std::string ipName_; + std::string networkInterfaceId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_LISTLNIPRIVATEIPADDRESSREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/ListLniPrivateIpAddressResult.h b/eflo/include/alibabacloud/eflo/model/ListLniPrivateIpAddressResult.h new file mode 100644 index 000000000..c0797240b --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/ListLniPrivateIpAddressResult.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_EFLO_MODEL_LISTLNIPRIVATEIPADDRESSRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_LISTLNIPRIVATEIPADDRESSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT ListLniPrivateIpAddressResult : public ServiceResult + { + public: + struct Content + { + struct DataItem + { + std::string status; + std::string gmtCreate; + std::string ipName; + std::string privateIpAddress; + std::string description; + std::string ipAddressMac; + std::string message; + std::string regionId; + std::string networkInterfaceId; + }; + long total; + std::vector data; + }; + + + ListLniPrivateIpAddressResult(); + explicit ListLniPrivateIpAddressResult(const std::string &payload); + ~ListLniPrivateIpAddressResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_LISTLNIPRIVATEIPADDRESSRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/ListNetworkInterfacesRequest.h b/eflo/include/alibabacloud/eflo/model/ListNetworkInterfacesRequest.h new file mode 100644 index 000000000..28a6365d8 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/ListNetworkInterfacesRequest.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_EFLO_MODEL_LISTNETWORKINTERFACESREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_LISTNETWORKINTERFACESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT ListNetworkInterfacesRequest : public RpcServiceRequest { +public: + ListNetworkInterfacesRequest(); + ~ListNetworkInterfacesRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getNodeId() const; + void setNodeId(const std::string &nodeId); + std::string getSubnetId() const; + void setSubnetId(const std::string &subnetId); + std::string getIp() const; + void setIp(const std::string &ip); + std::string getVpdId() const; + void setVpdId(const std::string &vpdId); + bool getEnablePage() const; + void setEnablePage(bool enablePage); + std::string getNetworkInterfaceId() const; + void setNetworkInterfaceId(const std::string &networkInterfaceId); + +private: + int pageNumber_; + std::string regionId_; + int pageSize_; + std::string nodeId_; + std::string subnetId_; + std::string ip_; + std::string vpdId_; + bool enablePage_; + std::string networkInterfaceId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_LISTNETWORKINTERFACESREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/ListNetworkInterfacesResult.h b/eflo/include/alibabacloud/eflo/model/ListNetworkInterfacesResult.h new file mode 100644 index 000000000..a7692094b --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/ListNetworkInterfacesResult.h @@ -0,0 +1,103 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_LISTNETWORKINTERFACESRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_LISTNETWORKINTERFACESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT ListNetworkInterfacesResult : public ServiceResult + { + public: + struct Content + { + struct DataItem + { + struct VpdBaseInfo + { + std::string cidr; + std::string vpdId; + std::string createTime; + std::string vpdName; + }; + struct SubnetBaseInfo + { + std::string subnetName; + std::string cidr; + std::string createTime; + std::string subnetId; + }; + struct PrivateIpAddressMacGroupItem + { + std::string status; + std::string ipName; + std::string privateIpAddress; + std::string description; + std::string ipAddressMac; + std::string message; + }; + std::string status; + VpdBaseInfo vpdBaseInfo; + std::string zoneId; + std::string ip; + std::string createTime; + std::string networkInterfaceName; + std::string networkInterfaceId; + std::string tenantId; + int quota; + std::string gateway; + std::vector ethernet; + std::string nodeId; + SubnetBaseInfo subnetBaseInfo; + std::string serviceMac; + std::string ncType; + std::vector privateIpAddressMacGroup; + std::string regionId; + }; + long total; + std::vector data; + }; + + + ListNetworkInterfacesResult(); + explicit ListNetworkInterfacesResult(const std::string &payload); + ~ListNetworkInterfacesResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_LISTNETWORKINTERFACESRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/ListSubnetsRequest.h b/eflo/include/alibabacloud/eflo/model/ListSubnetsRequest.h index 521b75aa1..7b1bcf575 100644 --- a/eflo/include/alibabacloud/eflo/model/ListSubnetsRequest.h +++ b/eflo/include/alibabacloud/eflo/model/ListSubnetsRequest.h @@ -28,39 +28,49 @@ namespace Eflo { namespace Model { class ALIBABACLOUD_EFLO_EXPORT ListSubnetsRequest : public RpcServiceRequest { public: + struct Tag { + std::string value; + std::string key; + }; ListSubnetsRequest(); ~ListSubnetsRequest(); std::string getType() const; void setType(const std::string &type); int getPageNumber() const; void setPageNumber(int pageNumber); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); std::string getRegionId() const; void setRegionId(const std::string ®ionId); int getPageSize() const; void setPageSize(int pageSize); + std::vector getTag() const; + void setTag(const std::vector &tag); std::string getSubnetId() const; void setSubnetId(const std::string &subnetId); std::string getVpdId() const; void setVpdId(const std::string &vpdId); bool getEnablePage() const; void setEnablePage(bool enablePage); - std::string getName() const; - void setName(const std::string &name); std::string getZoneId() const; void setZoneId(const std::string &zoneId); + std::string getSubnetName() const; + void setSubnetName(const std::string &subnetName); std::string getStatus() const; void setStatus(const std::string &status); private: std::string type_; int pageNumber_; + std::string resourceGroupId_; std::string regionId_; int pageSize_; + std::vector tag_; std::string subnetId_; std::string vpdId_; bool enablePage_; - std::string name_; std::string zoneId_; + std::string subnetName_; std::string status_; }; } // namespace Model diff --git a/eflo/include/alibabacloud/eflo/model/ListSubnetsResult.h b/eflo/include/alibabacloud/eflo/model/ListSubnetsResult.h index 13cff52f9..5c625ff9c 100644 --- a/eflo/include/alibabacloud/eflo/model/ListSubnetsResult.h +++ b/eflo/include/alibabacloud/eflo/model/ListSubnetsResult.h @@ -38,26 +38,33 @@ namespace AlibabaCloud { struct VpdBaseInfo { - std::string gmtCreate; std::string cidr; std::string vpdId; - std::string name; + std::string createTime; + std::string vpdName; + }; + struct Tag + { + std::string tagKey; + std::string tagValue; }; std::string status; - long ncCount; + int ncCount; VpdBaseInfo vpdBaseInfo; std::string zoneId; std::string message; + int networkInterfaceCount; + std::string resourceGroupId; + std::string createTime; std::string gmtModified; std::string subnetId; - std::string name; - std::string gmtCreate; + std::string subnetName; std::string tenantId; std::string type; std::string cidr; std::string vpdId; - long id; std::string regionId; + std::vector tags; }; long total; std::vector data; diff --git a/eflo/include/alibabacloud/eflo/model/ListVccGrantRulesRequest.h b/eflo/include/alibabacloud/eflo/model/ListVccGrantRulesRequest.h new file mode 100644 index 000000000..b4a34c128 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/ListVccGrantRulesRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_LISTVCCGRANTRULESREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_LISTVCCGRANTRULESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT ListVccGrantRulesRequest : public RpcServiceRequest { +public: + ListVccGrantRulesRequest(); + ~ListVccGrantRulesRequest(); + std::string getGrantTenantId() const; + void setGrantTenantId(const std::string &grantTenantId); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getGrantRuleId() const; + void setGrantRuleId(const std::string &grantRuleId); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getErId() const; + void setErId(const std::string &erId); + bool getForSelect() const; + void setForSelect(bool forSelect); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getInstanceName() const; + void setInstanceName(const std::string &instanceName); + bool getEnablePage() const; + void setEnablePage(bool enablePage); + +private: + std::string grantTenantId_; + int pageNumber_; + std::string regionId_; + std::string grantRuleId_; + int pageSize_; + std::string erId_; + bool forSelect_; + std::string instanceId_; + std::string instanceName_; + bool enablePage_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_LISTVCCGRANTRULESREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/ListVccGrantRulesResult.h b/eflo/include/alibabacloud/eflo/model/ListVccGrantRulesResult.h new file mode 100644 index 000000000..8ca5f81e0 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/ListVccGrantRulesResult.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_EFLO_MODEL_LISTVCCGRANTRULESRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_LISTVCCGRANTRULESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT ListVccGrantRulesResult : public ServiceResult + { + public: + struct Content + { + struct DataItem + { + std::string instanceName; + std::string tenantId; + std::string grantTenantId; + std::string instanceId; + bool used; + std::string createTime; + std::string grantRuleId; + std::string product; + std::string erId; + std::string regionId; + }; + long total; + std::vector data; + }; + + + ListVccGrantRulesResult(); + explicit ListVccGrantRulesResult(const std::string &payload); + ~ListVccGrantRulesResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_LISTVCCGRANTRULESRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/ListVccRouteEntriesRequest.h b/eflo/include/alibabacloud/eflo/model/ListVccRouteEntriesRequest.h new file mode 100644 index 000000000..2b48f9ec4 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/ListVccRouteEntriesRequest.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_EFLO_MODEL_LISTVCCROUTEENTRIESREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_LISTVCCROUTEENTRIESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT ListVccRouteEntriesRequest : public RpcServiceRequest { +public: + ListVccRouteEntriesRequest(); + ~ListVccRouteEntriesRequest(); + bool getIgnoreDetailedRouteEntry() const; + void setIgnoreDetailedRouteEntry(bool ignoreDetailedRouteEntry); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getRouteType() const; + void setRouteType(const std::string &routeType); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getNextHopId() const; + void setNextHopId(const std::string &nextHopId); + std::string getVccId() const; + void setVccId(const std::string &vccId); + std::string getNextHopType() const; + void setNextHopType(const std::string &nextHopType); + std::string getVpdRouteEntryId() const; + void setVpdRouteEntryId(const std::string &vpdRouteEntryId); + std::string getDestinationCidrBlock() const; + void setDestinationCidrBlock(const std::string &destinationCidrBlock); + bool getEnablePage() const; + void setEnablePage(bool enablePage); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + bool ignoreDetailedRouteEntry_; + int pageNumber_; + std::string routeType_; + std::string regionId_; + int pageSize_; + std::string nextHopId_; + std::string vccId_; + std::string nextHopType_; + std::string vpdRouteEntryId_; + std::string destinationCidrBlock_; + bool enablePage_; + std::string status_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_LISTVCCROUTEENTRIESREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/ListVccRouteEntriesResult.h b/eflo/include/alibabacloud/eflo/model/ListVccRouteEntriesResult.h new file mode 100644 index 000000000..10e1d7524 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/ListVccRouteEntriesResult.h @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_LISTVCCROUTEENTRIESRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_LISTVCCROUTEENTRIESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT ListVccRouteEntriesResult : public ServiceResult + { + public: + struct Content + { + struct DataItem + { + std::string status; + std::string vccRouteEntryId; + std::string nextHopType; + std::string tenantId; + std::string resourceTenantId; + std::string routeType; + std::string nextHopId; + std::string gmtModified; + std::string vccId; + std::string regionId; + std::string destinationCidrBlock; + }; + long total; + std::vector data; + }; + + + ListVccRouteEntriesResult(); + explicit ListVccRouteEntriesResult(const std::string &payload); + ~ListVccRouteEntriesResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_LISTVCCROUTEENTRIESRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/ListVccsRequest.h b/eflo/include/alibabacloud/eflo/model/ListVccsRequest.h index 9afdee3ce..08ec4b2c6 100644 --- a/eflo/include/alibabacloud/eflo/model/ListVccsRequest.h +++ b/eflo/include/alibabacloud/eflo/model/ListVccsRequest.h @@ -28,22 +28,32 @@ namespace Eflo { namespace Model { class ALIBABACLOUD_EFLO_EXPORT ListVccsRequest : public RpcServiceRequest { public: + struct Tag { + std::string value; + std::string key; + }; ListVccsRequest(); ~ListVccsRequest(); std::string getCenId() const; void setCenId(const std::string &cenId); int getPageNumber() const; void setPageNumber(int pageNumber); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); std::string getRegionId() const; void setRegionId(const std::string ®ionId); int getPageSize() const; void setPageSize(int pageSize); + std::vector getTag() const; + void setTag(const std::vector &tag); std::string getVccId() const; void setVccId(const std::string &vccId); int getBandwidth() const; void setBandwidth(int bandwidth); std::string getExStatus() const; void setExStatus(const std::string &exStatus); + std::string getFilterErId() const; + void setFilterErId(const std::string &filterErId); std::string getVpdId() const; void setVpdId(const std::string &vpdId); std::string getVpcId() const; @@ -56,11 +66,14 @@ public: private: std::string cenId_; int pageNumber_; + std::string resourceGroupId_; std::string regionId_; int pageSize_; + std::vector tag_; std::string vccId_; int bandwidth_; std::string exStatus_; + std::string filterErId_; std::string vpdId_; std::string vpcId_; bool enablePage_; diff --git a/eflo/include/alibabacloud/eflo/model/ListVccsResult.h b/eflo/include/alibabacloud/eflo/model/ListVccsResult.h index 408a4762c..5f3f0199e 100644 --- a/eflo/include/alibabacloud/eflo/model/ListVccsResult.h +++ b/eflo/include/alibabacloud/eflo/model/ListVccsResult.h @@ -38,27 +38,57 @@ namespace AlibabaCloud { struct VpdBaseInfo { - std::string gmtCreate; std::string cidr; std::string vpdId; - std::string name; + std::string createTime; + std::string vpdName; }; + struct ErInfo + { + std::string status; + long connections; + std::string erName; + std::string tenantId; + std::string description; + std::string message; + std::string createTime; + std::string gmtModified; + std::string erId; + std::string regionId; + long routeMaps; + std::string masterZoneId; + }; + struct Tag + { + std::string tagKey; + std::string tagValue; + }; + std::string taskId; + std::string message; + std::string resourceGroupId; + std::string lineOperator; + std::string currentNode; + std::string gmtModified; + std::string bgpCidr; + std::string commodityCode; + std::string vccId; + std::vector tags; std::string status; VpdBaseInfo vpdBaseInfo; - std::string message; - std::string lineOperator; + std::string zoneId; + std::string connectionType; double rate; std::string createTime; - std::string gmtModified; std::string bandwidthStr; std::string tenantId; std::string vpcId; + std::string expirationDate; std::string vpdId; - std::string bgpCidr; + std::vector erInfos; + std::string cenOwnerId; std::string cenId; std::string accessPointId; std::string regionId; - std::string vccId; std::string spec; std::string vccName; std::string portType; diff --git a/eflo/include/alibabacloud/eflo/model/ListVpdGrantRulesRequest.h b/eflo/include/alibabacloud/eflo/model/ListVpdGrantRulesRequest.h new file mode 100644 index 000000000..17bd18e43 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/ListVpdGrantRulesRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_LISTVPDGRANTRULESREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_LISTVPDGRANTRULESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT ListVpdGrantRulesRequest : public RpcServiceRequest { +public: + ListVpdGrantRulesRequest(); + ~ListVpdGrantRulesRequest(); + std::string getGrantTenantId() const; + void setGrantTenantId(const std::string &grantTenantId); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getGrantRuleId() const; + void setGrantRuleId(const std::string &grantRuleId); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getErId() const; + void setErId(const std::string &erId); + bool getForSelect() const; + void setForSelect(bool forSelect); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getInstanceName() const; + void setInstanceName(const std::string &instanceName); + bool getEnablePage() const; + void setEnablePage(bool enablePage); + +private: + std::string grantTenantId_; + int pageNumber_; + std::string regionId_; + std::string grantRuleId_; + int pageSize_; + std::string erId_; + bool forSelect_; + std::string instanceId_; + std::string instanceName_; + bool enablePage_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_LISTVPDGRANTRULESREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/ListVpdGrantRulesResult.h b/eflo/include/alibabacloud/eflo/model/ListVpdGrantRulesResult.h new file mode 100644 index 000000000..cd425de30 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/ListVpdGrantRulesResult.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_EFLO_MODEL_LISTVPDGRANTRULESRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_LISTVPDGRANTRULESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT ListVpdGrantRulesResult : public ServiceResult + { + public: + struct Content + { + struct DataItem + { + std::string instanceName; + std::string tenantId; + std::string grantTenantId; + std::string instanceId; + bool used; + std::string createTime; + std::string grantRuleId; + std::string product; + std::string erId; + std::string regionId; + }; + long total; + std::vector data; + }; + + + ListVpdGrantRulesResult(); + explicit ListVpdGrantRulesResult(const std::string &payload); + ~ListVpdGrantRulesResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_LISTVPDGRANTRULESRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/ListVpdRouteEntriesRequest.h b/eflo/include/alibabacloud/eflo/model/ListVpdRouteEntriesRequest.h new file mode 100644 index 000000000..778133580 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/ListVpdRouteEntriesRequest.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_EFLO_MODEL_LISTVPDROUTEENTRIESREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_LISTVPDROUTEENTRIESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT ListVpdRouteEntriesRequest : public RpcServiceRequest { +public: + ListVpdRouteEntriesRequest(); + ~ListVpdRouteEntriesRequest(); + bool getIgnoreDetailedRouteEntry() const; + void setIgnoreDetailedRouteEntry(bool ignoreDetailedRouteEntry); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getRouteType() const; + void setRouteType(const std::string &routeType); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getNextHopId() const; + void setNextHopId(const std::string &nextHopId); + std::string getNextHopType() const; + void setNextHopType(const std::string &nextHopType); + std::string getVpdRouteEntryId() const; + void setVpdRouteEntryId(const std::string &vpdRouteEntryId); + std::string getDestinationCidrBlock() const; + void setDestinationCidrBlock(const std::string &destinationCidrBlock); + std::string getVpdId() const; + void setVpdId(const std::string &vpdId); + bool getEnablePage() const; + void setEnablePage(bool enablePage); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + bool ignoreDetailedRouteEntry_; + int pageNumber_; + std::string routeType_; + std::string regionId_; + int pageSize_; + std::string nextHopId_; + std::string nextHopType_; + std::string vpdRouteEntryId_; + std::string destinationCidrBlock_; + std::string vpdId_; + bool enablePage_; + std::string status_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_LISTVPDROUTEENTRIESREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/ListVpdRouteEntriesResult.h b/eflo/include/alibabacloud/eflo/model/ListVpdRouteEntriesResult.h new file mode 100644 index 000000000..55b02c7b3 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/ListVpdRouteEntriesResult.h @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_LISTVPDROUTEENTRIESRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_LISTVPDROUTEENTRIESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT ListVpdRouteEntriesResult : public ServiceResult + { + public: + struct Content + { + struct DataItem + { + std::string status; + std::string nextHopType; + std::string tenantId; + std::string resourceTenantId; + std::string routeType; + std::string vpdId; + std::string nextHopId; + std::string gmtModified; + std::string regionId; + std::string destinationCidrBlock; + std::string vpdRouteEntryId; + }; + long total; + std::vector data; + }; + + + ListVpdRouteEntriesResult(); + explicit ListVpdRouteEntriesResult(const std::string &payload); + ~ListVpdRouteEntriesResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_LISTVPDROUTEENTRIESRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/ListVpdsRequest.h b/eflo/include/alibabacloud/eflo/model/ListVpdsRequest.h index eb6ad5b2c..f6308317d 100644 --- a/eflo/include/alibabacloud/eflo/model/ListVpdsRequest.h +++ b/eflo/include/alibabacloud/eflo/model/ListVpdsRequest.h @@ -28,18 +28,28 @@ namespace Eflo { namespace Model { class ALIBABACLOUD_EFLO_EXPORT ListVpdsRequest : public RpcServiceRequest { public: + struct Tag { + std::string value; + std::string key; + }; ListVpdsRequest(); ~ListVpdsRequest(); + std::string getVpdName() const; + void setVpdName(const std::string &vpdName); int getPageNumber() const; void setPageNumber(int pageNumber); bool getWithDependence() const; void setWithDependence(bool withDependence); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); std::string getRegionId() const; void setRegionId(const std::string ®ionId); bool getWithoutVcc() const; void setWithoutVcc(bool withoutVcc); int getPageSize() const; void setPageSize(int pageSize); + std::vector getTag() const; + void setTag(const std::vector &tag); bool getForSelect() const; void setForSelect(bool forSelect); std::string getFilterErId() const; @@ -48,22 +58,22 @@ public: void setVpdId(const std::string &vpdId); bool getEnablePage() const; void setEnablePage(bool enablePage); - std::string getName() const; - void setName(const std::string &name); std::string getStatus() const; void setStatus(const std::string &status); private: + std::string vpdName_; int pageNumber_; bool withDependence_; + std::string resourceGroupId_; std::string regionId_; bool withoutVcc_; int pageSize_; + std::vector tag_; bool forSelect_; std::string filterErId_; std::string vpdId_; bool enablePage_; - std::string name_; std::string status_; }; } // namespace Model diff --git a/eflo/include/alibabacloud/eflo/model/ListVpdsResult.h b/eflo/include/alibabacloud/eflo/model/ListVpdsResult.h index f4420c6b8..cd4d7cab2 100644 --- a/eflo/include/alibabacloud/eflo/model/ListVpdsResult.h +++ b/eflo/include/alibabacloud/eflo/model/ListVpdsResult.h @@ -36,19 +36,44 @@ namespace AlibabaCloud { struct DataItem { + struct ErInfo + { + std::string status; + long connections; + std::string erName; + std::string tenantId; + std::string description; + std::string message; + std::string createTime; + std::string gmtModified; + std::string erId; + std::string regionId; + long routeMaps; + std::string masterZoneId; + }; + struct Tag + { + std::string tagKey; + std::string tagValue; + }; std::string status; int ncCount; std::string message; + int networkInterfaceCount; int subnetCount; + std::string resourceGroupId; + std::vector secondaryCidrBlocks; + std::string createTime; std::string gmtModified; - std::string name; - std::string gmtCreate; + std::string vpdName; + std::string tenantId; std::string cidr; std::string vpdId; + std::vector erInfos; std::string dependence; std::string serviceCidr; std::string regionId; - int route; + std::vector tags; }; long total; std::vector data; diff --git a/eflo/include/alibabacloud/eflo/model/QueryInstanceNcdRequest.h b/eflo/include/alibabacloud/eflo/model/QueryInstanceNcdRequest.h new file mode 100644 index 000000000..1941e76ff --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/QueryInstanceNcdRequest.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_EFLO_MODEL_QUERYINSTANCENCDREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_QUERYINSTANCENCDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT QueryInstanceNcdRequest : public RpcServiceRequest { +public: + QueryInstanceNcdRequest(); + ~QueryInstanceNcdRequest(); + std::string getInstanceId2() const; + void setInstanceId2(const std::string &instanceId2); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getInstanceId1() const; + void setInstanceId1(const std::string &instanceId1); + std::string getInstanceType() const; + void setInstanceType(const std::string &instanceType); + +private: + std::string instanceId2_; + std::string regionId_; + std::string instanceId1_; + std::string instanceType_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_QUERYINSTANCENCDREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/QueryInstanceNcdResult.h b/eflo/include/alibabacloud/eflo/model/QueryInstanceNcdResult.h new file mode 100644 index 000000000..0845a662d --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/QueryInstanceNcdResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_QUERYINSTANCENCDRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_QUERYINSTANCENCDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT QueryInstanceNcdResult : public ServiceResult + { + public: + struct Content + { + std::string instanceType; + std::string instanceId2; + int ncd; + std::string instanceId1; + }; + + + QueryInstanceNcdResult(); + explicit QueryInstanceNcdResult(const std::string &payload); + ~QueryInstanceNcdResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_QUERYINSTANCENCDRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/UnAssignPrivateIpAddressRequest.h b/eflo/include/alibabacloud/eflo/model/UnAssignPrivateIpAddressRequest.h new file mode 100644 index 000000000..54a119798 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/UnAssignPrivateIpAddressRequest.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_EFLO_MODEL_UNASSIGNPRIVATEIPADDRESSREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_UNASSIGNPRIVATEIPADDRESSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT UnAssignPrivateIpAddressRequest : public RpcServiceRequest { +public: + UnAssignPrivateIpAddressRequest(); + ~UnAssignPrivateIpAddressRequest(); + std::string getSubnetId() const; + void setSubnetId(const std::string &subnetId); + std::string getPrivateIpAddress() const; + void setPrivateIpAddress(const std::string &privateIpAddress); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getIpName() const; + void setIpName(const std::string &ipName); + std::string getNetworkInterfaceId() const; + void setNetworkInterfaceId(const std::string &networkInterfaceId); + +private: + std::string subnetId_; + std::string privateIpAddress_; + std::string regionId_; + std::string ipName_; + std::string networkInterfaceId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_UNASSIGNPRIVATEIPADDRESSREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/UnAssignPrivateIpAddressResult.h b/eflo/include/alibabacloud/eflo/model/UnAssignPrivateIpAddressResult.h new file mode 100644 index 000000000..b226f2025 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/UnAssignPrivateIpAddressResult.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_EFLO_MODEL_UNASSIGNPRIVATEIPADDRESSRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_UNASSIGNPRIVATEIPADDRESSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT UnAssignPrivateIpAddressResult : public ServiceResult + { + public: + struct Content + { + std::string ipName; + std::string networkInterfaceId; + }; + + + UnAssignPrivateIpAddressResult(); + explicit UnAssignPrivateIpAddressResult(const std::string &payload); + ~UnAssignPrivateIpAddressResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_UNASSIGNPRIVATEIPADDRESSRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/UnAssociateVpdCidrBlockRequest.h b/eflo/include/alibabacloud/eflo/model/UnAssociateVpdCidrBlockRequest.h new file mode 100644 index 000000000..c2972dc11 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/UnAssociateVpdCidrBlockRequest.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_EFLO_MODEL_UNASSOCIATEVPDCIDRBLOCKREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_UNASSOCIATEVPDCIDRBLOCKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT UnAssociateVpdCidrBlockRequest : public RpcServiceRequest { +public: + UnAssociateVpdCidrBlockRequest(); + ~UnAssociateVpdCidrBlockRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getVpdId() const; + void setVpdId(const std::string &vpdId); + std::string getSecondaryCidrBlock() const; + void setSecondaryCidrBlock(const std::string &secondaryCidrBlock); + +private: + std::string regionId_; + std::string vpdId_; + std::string secondaryCidrBlock_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_UNASSOCIATEVPDCIDRBLOCKREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/UnAssociateVpdCidrBlockResult.h b/eflo/include/alibabacloud/eflo/model/UnAssociateVpdCidrBlockResult.h new file mode 100644 index 000000000..de9e52095 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/UnAssociateVpdCidrBlockResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_UNASSOCIATEVPDCIDRBLOCKRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_UNASSOCIATEVPDCIDRBLOCKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT UnAssociateVpdCidrBlockResult : public ServiceResult + { + public: + struct Content + { + std::string vpdId; + }; + + + UnAssociateVpdCidrBlockResult(); + explicit UnAssociateVpdCidrBlockResult(const std::string &payload); + ~UnAssociateVpdCidrBlockResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_UNASSOCIATEVPDCIDRBLOCKRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/UpdateElasticNetworkInterfaceRequest.h b/eflo/include/alibabacloud/eflo/model/UpdateElasticNetworkInterfaceRequest.h new file mode 100644 index 000000000..26ba2c1f9 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/UpdateElasticNetworkInterfaceRequest.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_EFLO_MODEL_UPDATEELASTICNETWORKINTERFACEREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_UPDATEELASTICNETWORKINTERFACEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT UpdateElasticNetworkInterfaceRequest : public RpcServiceRequest { +public: + UpdateElasticNetworkInterfaceRequest(); + ~UpdateElasticNetworkInterfaceRequest(); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getElasticNetworkInterfaceId() const; + void setElasticNetworkInterfaceId(const std::string &elasticNetworkInterfaceId); + +private: + std::string description_; + std::string regionId_; + std::string elasticNetworkInterfaceId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_UPDATEELASTICNETWORKINTERFACEREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/UpdateElasticNetworkInterfaceResult.h b/eflo/include/alibabacloud/eflo/model/UpdateElasticNetworkInterfaceResult.h new file mode 100644 index 000000000..3ec5b2d67 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/UpdateElasticNetworkInterfaceResult.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_EFLO_MODEL_UPDATEELASTICNETWORKINTERFACERESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_UPDATEELASTICNETWORKINTERFACERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT UpdateElasticNetworkInterfaceResult : public ServiceResult + { + public: + struct Content + { + std::string elasticNetworkInterfaceId; + std::string nodeId; + }; + + + UpdateElasticNetworkInterfaceResult(); + explicit UpdateElasticNetworkInterfaceResult(const std::string &payload); + ~UpdateElasticNetworkInterfaceResult(); + std::string getMessage()const; + Content getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Content content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_UPDATEELASTICNETWORKINTERFACERESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/UpdateErAttachmentRequest.h b/eflo/include/alibabacloud/eflo/model/UpdateErAttachmentRequest.h new file mode 100644 index 000000000..93ffa12a5 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/UpdateErAttachmentRequest.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_EFLO_MODEL_UPDATEERATTACHMENTREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_UPDATEERATTACHMENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT UpdateErAttachmentRequest : public RpcServiceRequest { +public: + UpdateErAttachmentRequest(); + ~UpdateErAttachmentRequest(); + std::string getErId() const; + void setErId(const std::string &erId); + std::string getErAttachmentId() const; + void setErAttachmentId(const std::string &erAttachmentId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getErAttachmentName() const; + void setErAttachmentName(const std::string &erAttachmentName); + +private: + std::string erId_; + std::string erAttachmentId_; + std::string regionId_; + std::string erAttachmentName_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_UPDATEERATTACHMENTREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/UpdateErAttachmentResult.h b/eflo/include/alibabacloud/eflo/model/UpdateErAttachmentResult.h new file mode 100644 index 000000000..8a9a76e7b --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/UpdateErAttachmentResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_UPDATEERATTACHMENTRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_UPDATEERATTACHMENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT UpdateErAttachmentResult : public ServiceResult + { + public: + + + UpdateErAttachmentResult(); + explicit UpdateErAttachmentResult(const std::string &payload); + ~UpdateErAttachmentResult(); + std::string getMessage()const; + std::string getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_UPDATEERATTACHMENTRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/UpdateErRequest.h b/eflo/include/alibabacloud/eflo/model/UpdateErRequest.h new file mode 100644 index 000000000..b784a5bfd --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/UpdateErRequest.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_EFLO_MODEL_UPDATEERREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_UPDATEERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT UpdateErRequest : public RpcServiceRequest { +public: + UpdateErRequest(); + ~UpdateErRequest(); + std::string getErId() const; + void setErId(const std::string &erId); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getErName() const; + void setErName(const std::string &erName); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string erId_; + std::string description_; + std::string erName_; + std::string regionId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_UPDATEERREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/UpdateErResult.h b/eflo/include/alibabacloud/eflo/model/UpdateErResult.h new file mode 100644 index 000000000..e7b07e34c --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/UpdateErResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_UPDATEERRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_UPDATEERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT UpdateErResult : public ServiceResult + { + public: + + + UpdateErResult(); + explicit UpdateErResult(const std::string &payload); + ~UpdateErResult(); + std::string getMessage()const; + std::string getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_UPDATEERRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/UpdateErRouteMapRequest.h b/eflo/include/alibabacloud/eflo/model/UpdateErRouteMapRequest.h new file mode 100644 index 000000000..acacf85b2 --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/UpdateErRouteMapRequest.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_EFLO_MODEL_UPDATEERROUTEMAPREQUEST_H_ +#define ALIBABACLOUD_EFLO_MODEL_UPDATEERROUTEMAPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Eflo { +namespace Model { +class ALIBABACLOUD_EFLO_EXPORT UpdateErRouteMapRequest : public RpcServiceRequest { +public: + UpdateErRouteMapRequest(); + ~UpdateErRouteMapRequest(); + std::string getErId() const; + void setErId(const std::string &erId); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getErRouteMapId() const; + void setErRouteMapId(const std::string &erRouteMapId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string erId_; + std::string description_; + std::string erRouteMapId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Eflo +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_EFLO_MODEL_UPDATEERROUTEMAPREQUEST_H_ diff --git a/eflo/include/alibabacloud/eflo/model/UpdateErRouteMapResult.h b/eflo/include/alibabacloud/eflo/model/UpdateErRouteMapResult.h new file mode 100644 index 000000000..b6730468a --- /dev/null +++ b/eflo/include/alibabacloud/eflo/model/UpdateErRouteMapResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EFLO_MODEL_UPDATEERROUTEMAPRESULT_H_ +#define ALIBABACLOUD_EFLO_MODEL_UPDATEERROUTEMAPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Eflo + { + namespace Model + { + class ALIBABACLOUD_EFLO_EXPORT UpdateErRouteMapResult : public ServiceResult + { + public: + + + UpdateErRouteMapResult(); + explicit UpdateErRouteMapResult(const std::string &payload); + ~UpdateErRouteMapResult(); + std::string getMessage()const; + std::string getContent()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string content_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EFLO_MODEL_UPDATEERROUTEMAPRESULT_H_ \ No newline at end of file diff --git a/eflo/include/alibabacloud/eflo/model/UpdateSubnetRequest.h b/eflo/include/alibabacloud/eflo/model/UpdateSubnetRequest.h index 8e5384d08..ac68baf15 100644 --- a/eflo/include/alibabacloud/eflo/model/UpdateSubnetRequest.h +++ b/eflo/include/alibabacloud/eflo/model/UpdateSubnetRequest.h @@ -32,24 +32,21 @@ public: ~UpdateSubnetRequest(); std::string getSubnetId() const; void setSubnetId(const std::string &subnetId); - std::string getDescription() const; - void setDescription(const std::string &description); std::string getRegionId() const; void setRegionId(const std::string ®ionId); std::string getVpdId() const; void setVpdId(const std::string &vpdId); - std::string getName() const; - void setName(const std::string &name); std::string getZoneId() const; void setZoneId(const std::string &zoneId); + std::string getSubnetName() const; + void setSubnetName(const std::string &subnetName); private: std::string subnetId_; - std::string description_; std::string regionId_; std::string vpdId_; - std::string name_; std::string zoneId_; + std::string subnetName_; }; } // namespace Model } // namespace Eflo diff --git a/eflo/include/alibabacloud/eflo/model/UpdateVpdRequest.h b/eflo/include/alibabacloud/eflo/model/UpdateVpdRequest.h index cc2ab034e..bb17af0f3 100644 --- a/eflo/include/alibabacloud/eflo/model/UpdateVpdRequest.h +++ b/eflo/include/alibabacloud/eflo/model/UpdateVpdRequest.h @@ -30,20 +30,17 @@ class ALIBABACLOUD_EFLO_EXPORT UpdateVpdRequest : public RpcServiceRequest { public: UpdateVpdRequest(); ~UpdateVpdRequest(); - std::string getDescription() const; - void setDescription(const std::string &description); + std::string getVpdName() const; + void setVpdName(const std::string &vpdName); std::string getRegionId() const; void setRegionId(const std::string ®ionId); std::string getVpdId() const; void setVpdId(const std::string &vpdId); - std::string getName() const; - void setName(const std::string &name); private: - std::string description_; + std::string vpdName_; std::string regionId_; std::string vpdId_; - std::string name_; }; } // namespace Model } // namespace Eflo diff --git a/eflo/src/EfloClient.cc b/eflo/src/EfloClient.cc index 269dcd1f7..8e1827446 100644 --- a/eflo/src/EfloClient.cc +++ b/eflo/src/EfloClient.cc @@ -51,6 +51,222 @@ EfloClient::EfloClient(const std::string & accessKeyId, const std::string & acce EfloClient::~EfloClient() {} +EfloClient::AssignPrivateIpAddressOutcome EfloClient::assignPrivateIpAddress(const AssignPrivateIpAddressRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AssignPrivateIpAddressOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AssignPrivateIpAddressOutcome(AssignPrivateIpAddressResult(outcome.result())); + else + return AssignPrivateIpAddressOutcome(outcome.error()); +} + +void EfloClient::assignPrivateIpAddressAsync(const AssignPrivateIpAddressRequest& request, const AssignPrivateIpAddressAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, assignPrivateIpAddress(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::AssignPrivateIpAddressOutcomeCallable EfloClient::assignPrivateIpAddressCallable(const AssignPrivateIpAddressRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->assignPrivateIpAddress(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::AssociateVpdCidrBlockOutcome EfloClient::associateVpdCidrBlock(const AssociateVpdCidrBlockRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AssociateVpdCidrBlockOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AssociateVpdCidrBlockOutcome(AssociateVpdCidrBlockResult(outcome.result())); + else + return AssociateVpdCidrBlockOutcome(outcome.error()); +} + +void EfloClient::associateVpdCidrBlockAsync(const AssociateVpdCidrBlockRequest& request, const AssociateVpdCidrBlockAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, associateVpdCidrBlock(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::AssociateVpdCidrBlockOutcomeCallable EfloClient::associateVpdCidrBlockCallable(const AssociateVpdCidrBlockRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->associateVpdCidrBlock(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::CreateElasticNetworkInterfaceOutcome EfloClient::createElasticNetworkInterface(const CreateElasticNetworkInterfaceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateElasticNetworkInterfaceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateElasticNetworkInterfaceOutcome(CreateElasticNetworkInterfaceResult(outcome.result())); + else + return CreateElasticNetworkInterfaceOutcome(outcome.error()); +} + +void EfloClient::createElasticNetworkInterfaceAsync(const CreateElasticNetworkInterfaceRequest& request, const CreateElasticNetworkInterfaceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createElasticNetworkInterface(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::CreateElasticNetworkInterfaceOutcomeCallable EfloClient::createElasticNetworkInterfaceCallable(const CreateElasticNetworkInterfaceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createElasticNetworkInterface(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::CreateErOutcome EfloClient::createEr(const CreateErRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateErOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateErOutcome(CreateErResult(outcome.result())); + else + return CreateErOutcome(outcome.error()); +} + +void EfloClient::createErAsync(const CreateErRequest& request, const CreateErAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createEr(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::CreateErOutcomeCallable EfloClient::createErCallable(const CreateErRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createEr(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::CreateErAttachmentOutcome EfloClient::createErAttachment(const CreateErAttachmentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateErAttachmentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateErAttachmentOutcome(CreateErAttachmentResult(outcome.result())); + else + return CreateErAttachmentOutcome(outcome.error()); +} + +void EfloClient::createErAttachmentAsync(const CreateErAttachmentRequest& request, const CreateErAttachmentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createErAttachment(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::CreateErAttachmentOutcomeCallable EfloClient::createErAttachmentCallable(const CreateErAttachmentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createErAttachment(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::CreateErRouteMapOutcome EfloClient::createErRouteMap(const CreateErRouteMapRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateErRouteMapOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateErRouteMapOutcome(CreateErRouteMapResult(outcome.result())); + else + return CreateErRouteMapOutcome(outcome.error()); +} + +void EfloClient::createErRouteMapAsync(const CreateErRouteMapRequest& request, const CreateErRouteMapAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createErRouteMap(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::CreateErRouteMapOutcomeCallable EfloClient::createErRouteMapCallable(const CreateErRouteMapRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createErRouteMap(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EfloClient::CreateSubnetOutcome EfloClient::createSubnet(const CreateSubnetRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -123,6 +339,78 @@ EfloClient::CreateVccOutcomeCallable EfloClient::createVccCallable(const CreateV return task->get_future(); } +EfloClient::CreateVccGrantRuleOutcome EfloClient::createVccGrantRule(const CreateVccGrantRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateVccGrantRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateVccGrantRuleOutcome(CreateVccGrantRuleResult(outcome.result())); + else + return CreateVccGrantRuleOutcome(outcome.error()); +} + +void EfloClient::createVccGrantRuleAsync(const CreateVccGrantRuleRequest& request, const CreateVccGrantRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createVccGrantRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::CreateVccGrantRuleOutcomeCallable EfloClient::createVccGrantRuleCallable(const CreateVccGrantRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createVccGrantRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::CreateVccRouteEntryOutcome EfloClient::createVccRouteEntry(const CreateVccRouteEntryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateVccRouteEntryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateVccRouteEntryOutcome(CreateVccRouteEntryResult(outcome.result())); + else + return CreateVccRouteEntryOutcome(outcome.error()); +} + +void EfloClient::createVccRouteEntryAsync(const CreateVccRouteEntryRequest& request, const CreateVccRouteEntryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createVccRouteEntry(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::CreateVccRouteEntryOutcomeCallable EfloClient::createVccRouteEntryCallable(const CreateVccRouteEntryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createVccRouteEntry(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EfloClient::CreateVpdOutcome EfloClient::createVpd(const CreateVpdRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -159,6 +447,186 @@ EfloClient::CreateVpdOutcomeCallable EfloClient::createVpdCallable(const CreateV return task->get_future(); } +EfloClient::CreateVpdGrantRuleOutcome EfloClient::createVpdGrantRule(const CreateVpdGrantRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateVpdGrantRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateVpdGrantRuleOutcome(CreateVpdGrantRuleResult(outcome.result())); + else + return CreateVpdGrantRuleOutcome(outcome.error()); +} + +void EfloClient::createVpdGrantRuleAsync(const CreateVpdGrantRuleRequest& request, const CreateVpdGrantRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createVpdGrantRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::CreateVpdGrantRuleOutcomeCallable EfloClient::createVpdGrantRuleCallable(const CreateVpdGrantRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createVpdGrantRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::DeleteElasticNetworkInterfaceOutcome EfloClient::deleteElasticNetworkInterface(const DeleteElasticNetworkInterfaceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteElasticNetworkInterfaceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteElasticNetworkInterfaceOutcome(DeleteElasticNetworkInterfaceResult(outcome.result())); + else + return DeleteElasticNetworkInterfaceOutcome(outcome.error()); +} + +void EfloClient::deleteElasticNetworkInterfaceAsync(const DeleteElasticNetworkInterfaceRequest& request, const DeleteElasticNetworkInterfaceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteElasticNetworkInterface(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::DeleteElasticNetworkInterfaceOutcomeCallable EfloClient::deleteElasticNetworkInterfaceCallable(const DeleteElasticNetworkInterfaceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteElasticNetworkInterface(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::DeleteErOutcome EfloClient::deleteEr(const DeleteErRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteErOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteErOutcome(DeleteErResult(outcome.result())); + else + return DeleteErOutcome(outcome.error()); +} + +void EfloClient::deleteErAsync(const DeleteErRequest& request, const DeleteErAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteEr(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::DeleteErOutcomeCallable EfloClient::deleteErCallable(const DeleteErRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteEr(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::DeleteErAttachmentOutcome EfloClient::deleteErAttachment(const DeleteErAttachmentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteErAttachmentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteErAttachmentOutcome(DeleteErAttachmentResult(outcome.result())); + else + return DeleteErAttachmentOutcome(outcome.error()); +} + +void EfloClient::deleteErAttachmentAsync(const DeleteErAttachmentRequest& request, const DeleteErAttachmentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteErAttachment(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::DeleteErAttachmentOutcomeCallable EfloClient::deleteErAttachmentCallable(const DeleteErAttachmentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteErAttachment(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::DeleteErRouteMapOutcome EfloClient::deleteErRouteMap(const DeleteErRouteMapRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteErRouteMapOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteErRouteMapOutcome(DeleteErRouteMapResult(outcome.result())); + else + return DeleteErRouteMapOutcome(outcome.error()); +} + +void EfloClient::deleteErRouteMapAsync(const DeleteErRouteMapRequest& request, const DeleteErRouteMapAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteErRouteMap(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::DeleteErRouteMapOutcomeCallable EfloClient::deleteErRouteMapCallable(const DeleteErRouteMapRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteErRouteMap(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EfloClient::DeleteSubnetOutcome EfloClient::deleteSubnet(const DeleteSubnetRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -195,6 +663,78 @@ EfloClient::DeleteSubnetOutcomeCallable EfloClient::deleteSubnetCallable(const D return task->get_future(); } +EfloClient::DeleteVccGrantRuleOutcome EfloClient::deleteVccGrantRule(const DeleteVccGrantRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteVccGrantRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteVccGrantRuleOutcome(DeleteVccGrantRuleResult(outcome.result())); + else + return DeleteVccGrantRuleOutcome(outcome.error()); +} + +void EfloClient::deleteVccGrantRuleAsync(const DeleteVccGrantRuleRequest& request, const DeleteVccGrantRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteVccGrantRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::DeleteVccGrantRuleOutcomeCallable EfloClient::deleteVccGrantRuleCallable(const DeleteVccGrantRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteVccGrantRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::DeleteVccRouteEntryOutcome EfloClient::deleteVccRouteEntry(const DeleteVccRouteEntryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteVccRouteEntryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteVccRouteEntryOutcome(DeleteVccRouteEntryResult(outcome.result())); + else + return DeleteVccRouteEntryOutcome(outcome.error()); +} + +void EfloClient::deleteVccRouteEntryAsync(const DeleteVccRouteEntryRequest& request, const DeleteVccRouteEntryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteVccRouteEntry(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::DeleteVccRouteEntryOutcomeCallable EfloClient::deleteVccRouteEntryCallable(const DeleteVccRouteEntryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteVccRouteEntry(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EfloClient::DeleteVpdOutcome EfloClient::deleteVpd(const DeleteVpdRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -231,6 +771,366 @@ EfloClient::DeleteVpdOutcomeCallable EfloClient::deleteVpdCallable(const DeleteV return task->get_future(); } +EfloClient::DeleteVpdGrantRuleOutcome EfloClient::deleteVpdGrantRule(const DeleteVpdGrantRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteVpdGrantRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteVpdGrantRuleOutcome(DeleteVpdGrantRuleResult(outcome.result())); + else + return DeleteVpdGrantRuleOutcome(outcome.error()); +} + +void EfloClient::deleteVpdGrantRuleAsync(const DeleteVpdGrantRuleRequest& request, const DeleteVpdGrantRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteVpdGrantRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::DeleteVpdGrantRuleOutcomeCallable EfloClient::deleteVpdGrantRuleCallable(const DeleteVpdGrantRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteVpdGrantRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::DescribeSlrOutcome EfloClient::describeSlr(const DescribeSlrRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSlrOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSlrOutcome(DescribeSlrResult(outcome.result())); + else + return DescribeSlrOutcome(outcome.error()); +} + +void EfloClient::describeSlrAsync(const DescribeSlrRequest& request, const DescribeSlrAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSlr(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::DescribeSlrOutcomeCallable EfloClient::describeSlrCallable(const DescribeSlrRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSlr(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::GetElasticNetworkInterfaceOutcome EfloClient::getElasticNetworkInterface(const GetElasticNetworkInterfaceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetElasticNetworkInterfaceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetElasticNetworkInterfaceOutcome(GetElasticNetworkInterfaceResult(outcome.result())); + else + return GetElasticNetworkInterfaceOutcome(outcome.error()); +} + +void EfloClient::getElasticNetworkInterfaceAsync(const GetElasticNetworkInterfaceRequest& request, const GetElasticNetworkInterfaceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getElasticNetworkInterface(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::GetElasticNetworkInterfaceOutcomeCallable EfloClient::getElasticNetworkInterfaceCallable(const GetElasticNetworkInterfaceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getElasticNetworkInterface(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::GetErOutcome EfloClient::getEr(const GetErRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetErOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetErOutcome(GetErResult(outcome.result())); + else + return GetErOutcome(outcome.error()); +} + +void EfloClient::getErAsync(const GetErRequest& request, const GetErAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getEr(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::GetErOutcomeCallable EfloClient::getErCallable(const GetErRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getEr(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::GetErAttachmentOutcome EfloClient::getErAttachment(const GetErAttachmentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetErAttachmentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetErAttachmentOutcome(GetErAttachmentResult(outcome.result())); + else + return GetErAttachmentOutcome(outcome.error()); +} + +void EfloClient::getErAttachmentAsync(const GetErAttachmentRequest& request, const GetErAttachmentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getErAttachment(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::GetErAttachmentOutcomeCallable EfloClient::getErAttachmentCallable(const GetErAttachmentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getErAttachment(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::GetErRouteEntryOutcome EfloClient::getErRouteEntry(const GetErRouteEntryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetErRouteEntryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetErRouteEntryOutcome(GetErRouteEntryResult(outcome.result())); + else + return GetErRouteEntryOutcome(outcome.error()); +} + +void EfloClient::getErRouteEntryAsync(const GetErRouteEntryRequest& request, const GetErRouteEntryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getErRouteEntry(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::GetErRouteEntryOutcomeCallable EfloClient::getErRouteEntryCallable(const GetErRouteEntryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getErRouteEntry(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::GetErRouteMapOutcome EfloClient::getErRouteMap(const GetErRouteMapRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetErRouteMapOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetErRouteMapOutcome(GetErRouteMapResult(outcome.result())); + else + return GetErRouteMapOutcome(outcome.error()); +} + +void EfloClient::getErRouteMapAsync(const GetErRouteMapRequest& request, const GetErRouteMapAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getErRouteMap(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::GetErRouteMapOutcomeCallable EfloClient::getErRouteMapCallable(const GetErRouteMapRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getErRouteMap(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::GetFabricTopologyOutcome EfloClient::getFabricTopology(const GetFabricTopologyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetFabricTopologyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetFabricTopologyOutcome(GetFabricTopologyResult(outcome.result())); + else + return GetFabricTopologyOutcome(outcome.error()); +} + +void EfloClient::getFabricTopologyAsync(const GetFabricTopologyRequest& request, const GetFabricTopologyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getFabricTopology(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::GetFabricTopologyOutcomeCallable EfloClient::getFabricTopologyCallable(const GetFabricTopologyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getFabricTopology(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::GetLniPrivateIpAddressOutcome EfloClient::getLniPrivateIpAddress(const GetLniPrivateIpAddressRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetLniPrivateIpAddressOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetLniPrivateIpAddressOutcome(GetLniPrivateIpAddressResult(outcome.result())); + else + return GetLniPrivateIpAddressOutcome(outcome.error()); +} + +void EfloClient::getLniPrivateIpAddressAsync(const GetLniPrivateIpAddressRequest& request, const GetLniPrivateIpAddressAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getLniPrivateIpAddress(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::GetLniPrivateIpAddressOutcomeCallable EfloClient::getLniPrivateIpAddressCallable(const GetLniPrivateIpAddressRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getLniPrivateIpAddress(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::GetNetworkInterfaceOutcome EfloClient::getNetworkInterface(const GetNetworkInterfaceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetNetworkInterfaceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetNetworkInterfaceOutcome(GetNetworkInterfaceResult(outcome.result())); + else + return GetNetworkInterfaceOutcome(outcome.error()); +} + +void EfloClient::getNetworkInterfaceAsync(const GetNetworkInterfaceRequest& request, const GetNetworkInterfaceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getNetworkInterface(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::GetNetworkInterfaceOutcomeCallable EfloClient::getNetworkInterfaceCallable(const GetNetworkInterfaceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getNetworkInterface(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EfloClient::GetSubnetOutcome EfloClient::getSubnet(const GetSubnetRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -303,6 +1203,78 @@ EfloClient::GetVccOutcomeCallable EfloClient::getVccCallable(const GetVccRequest return task->get_future(); } +EfloClient::GetVccGrantRuleOutcome EfloClient::getVccGrantRule(const GetVccGrantRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetVccGrantRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetVccGrantRuleOutcome(GetVccGrantRuleResult(outcome.result())); + else + return GetVccGrantRuleOutcome(outcome.error()); +} + +void EfloClient::getVccGrantRuleAsync(const GetVccGrantRuleRequest& request, const GetVccGrantRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getVccGrantRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::GetVccGrantRuleOutcomeCallable EfloClient::getVccGrantRuleCallable(const GetVccGrantRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getVccGrantRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::GetVccRouteEntryOutcome EfloClient::getVccRouteEntry(const GetVccRouteEntryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetVccRouteEntryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetVccRouteEntryOutcome(GetVccRouteEntryResult(outcome.result())); + else + return GetVccRouteEntryOutcome(outcome.error()); +} + +void EfloClient::getVccRouteEntryAsync(const GetVccRouteEntryRequest& request, const GetVccRouteEntryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getVccRouteEntry(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::GetVccRouteEntryOutcomeCallable EfloClient::getVccRouteEntryCallable(const GetVccRouteEntryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getVccRouteEntry(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EfloClient::GetVpdOutcome EfloClient::getVpd(const GetVpdRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -339,6 +1311,78 @@ EfloClient::GetVpdOutcomeCallable EfloClient::getVpdCallable(const GetVpdRequest return task->get_future(); } +EfloClient::GetVpdGrantRuleOutcome EfloClient::getVpdGrantRule(const GetVpdGrantRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetVpdGrantRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetVpdGrantRuleOutcome(GetVpdGrantRuleResult(outcome.result())); + else + return GetVpdGrantRuleOutcome(outcome.error()); +} + +void EfloClient::getVpdGrantRuleAsync(const GetVpdGrantRuleRequest& request, const GetVpdGrantRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getVpdGrantRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::GetVpdGrantRuleOutcomeCallable EfloClient::getVpdGrantRuleCallable(const GetVpdGrantRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getVpdGrantRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::GetVpdRouteEntryOutcome EfloClient::getVpdRouteEntry(const GetVpdRouteEntryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetVpdRouteEntryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetVpdRouteEntryOutcome(GetVpdRouteEntryResult(outcome.result())); + else + return GetVpdRouteEntryOutcome(outcome.error()); +} + +void EfloClient::getVpdRouteEntryAsync(const GetVpdRouteEntryRequest& request, const GetVpdRouteEntryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getVpdRouteEntry(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::GetVpdRouteEntryOutcomeCallable EfloClient::getVpdRouteEntryCallable(const GetVpdRouteEntryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getVpdRouteEntry(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EfloClient::InitializeVccOutcome EfloClient::initializeVcc(const InitializeVccRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -375,6 +1419,294 @@ EfloClient::InitializeVccOutcomeCallable EfloClient::initializeVccCallable(const return task->get_future(); } +EfloClient::ListElasticNetworkInterfacesOutcome EfloClient::listElasticNetworkInterfaces(const ListElasticNetworkInterfacesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListElasticNetworkInterfacesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListElasticNetworkInterfacesOutcome(ListElasticNetworkInterfacesResult(outcome.result())); + else + return ListElasticNetworkInterfacesOutcome(outcome.error()); +} + +void EfloClient::listElasticNetworkInterfacesAsync(const ListElasticNetworkInterfacesRequest& request, const ListElasticNetworkInterfacesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listElasticNetworkInterfaces(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::ListElasticNetworkInterfacesOutcomeCallable EfloClient::listElasticNetworkInterfacesCallable(const ListElasticNetworkInterfacesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listElasticNetworkInterfaces(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::ListErAttachmentsOutcome EfloClient::listErAttachments(const ListErAttachmentsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListErAttachmentsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListErAttachmentsOutcome(ListErAttachmentsResult(outcome.result())); + else + return ListErAttachmentsOutcome(outcome.error()); +} + +void EfloClient::listErAttachmentsAsync(const ListErAttachmentsRequest& request, const ListErAttachmentsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listErAttachments(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::ListErAttachmentsOutcomeCallable EfloClient::listErAttachmentsCallable(const ListErAttachmentsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listErAttachments(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::ListErRouteEntriesOutcome EfloClient::listErRouteEntries(const ListErRouteEntriesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListErRouteEntriesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListErRouteEntriesOutcome(ListErRouteEntriesResult(outcome.result())); + else + return ListErRouteEntriesOutcome(outcome.error()); +} + +void EfloClient::listErRouteEntriesAsync(const ListErRouteEntriesRequest& request, const ListErRouteEntriesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listErRouteEntries(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::ListErRouteEntriesOutcomeCallable EfloClient::listErRouteEntriesCallable(const ListErRouteEntriesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listErRouteEntries(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::ListErRouteMapsOutcome EfloClient::listErRouteMaps(const ListErRouteMapsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListErRouteMapsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListErRouteMapsOutcome(ListErRouteMapsResult(outcome.result())); + else + return ListErRouteMapsOutcome(outcome.error()); +} + +void EfloClient::listErRouteMapsAsync(const ListErRouteMapsRequest& request, const ListErRouteMapsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listErRouteMaps(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::ListErRouteMapsOutcomeCallable EfloClient::listErRouteMapsCallable(const ListErRouteMapsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listErRouteMaps(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::ListErsOutcome EfloClient::listErs(const ListErsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListErsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListErsOutcome(ListErsResult(outcome.result())); + else + return ListErsOutcome(outcome.error()); +} + +void EfloClient::listErsAsync(const ListErsRequest& request, const ListErsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listErs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::ListErsOutcomeCallable EfloClient::listErsCallable(const ListErsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listErs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::ListInstancesByNcdOutcome EfloClient::listInstancesByNcd(const ListInstancesByNcdRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListInstancesByNcdOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListInstancesByNcdOutcome(ListInstancesByNcdResult(outcome.result())); + else + return ListInstancesByNcdOutcome(outcome.error()); +} + +void EfloClient::listInstancesByNcdAsync(const ListInstancesByNcdRequest& request, const ListInstancesByNcdAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listInstancesByNcd(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::ListInstancesByNcdOutcomeCallable EfloClient::listInstancesByNcdCallable(const ListInstancesByNcdRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listInstancesByNcd(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::ListLniPrivateIpAddressOutcome EfloClient::listLniPrivateIpAddress(const ListLniPrivateIpAddressRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListLniPrivateIpAddressOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListLniPrivateIpAddressOutcome(ListLniPrivateIpAddressResult(outcome.result())); + else + return ListLniPrivateIpAddressOutcome(outcome.error()); +} + +void EfloClient::listLniPrivateIpAddressAsync(const ListLniPrivateIpAddressRequest& request, const ListLniPrivateIpAddressAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listLniPrivateIpAddress(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::ListLniPrivateIpAddressOutcomeCallable EfloClient::listLniPrivateIpAddressCallable(const ListLniPrivateIpAddressRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listLniPrivateIpAddress(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::ListNetworkInterfacesOutcome EfloClient::listNetworkInterfaces(const ListNetworkInterfacesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListNetworkInterfacesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListNetworkInterfacesOutcome(ListNetworkInterfacesResult(outcome.result())); + else + return ListNetworkInterfacesOutcome(outcome.error()); +} + +void EfloClient::listNetworkInterfacesAsync(const ListNetworkInterfacesRequest& request, const ListNetworkInterfacesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listNetworkInterfaces(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::ListNetworkInterfacesOutcomeCallable EfloClient::listNetworkInterfacesCallable(const ListNetworkInterfacesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listNetworkInterfaces(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EfloClient::ListSubnetsOutcome EfloClient::listSubnets(const ListSubnetsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -411,6 +1743,78 @@ EfloClient::ListSubnetsOutcomeCallable EfloClient::listSubnetsCallable(const Lis return task->get_future(); } +EfloClient::ListVccGrantRulesOutcome EfloClient::listVccGrantRules(const ListVccGrantRulesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListVccGrantRulesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListVccGrantRulesOutcome(ListVccGrantRulesResult(outcome.result())); + else + return ListVccGrantRulesOutcome(outcome.error()); +} + +void EfloClient::listVccGrantRulesAsync(const ListVccGrantRulesRequest& request, const ListVccGrantRulesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listVccGrantRules(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::ListVccGrantRulesOutcomeCallable EfloClient::listVccGrantRulesCallable(const ListVccGrantRulesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listVccGrantRules(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::ListVccRouteEntriesOutcome EfloClient::listVccRouteEntries(const ListVccRouteEntriesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListVccRouteEntriesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListVccRouteEntriesOutcome(ListVccRouteEntriesResult(outcome.result())); + else + return ListVccRouteEntriesOutcome(outcome.error()); +} + +void EfloClient::listVccRouteEntriesAsync(const ListVccRouteEntriesRequest& request, const ListVccRouteEntriesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listVccRouteEntries(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::ListVccRouteEntriesOutcomeCallable EfloClient::listVccRouteEntriesCallable(const ListVccRouteEntriesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listVccRouteEntries(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EfloClient::ListVccsOutcome EfloClient::listVccs(const ListVccsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -447,6 +1851,78 @@ EfloClient::ListVccsOutcomeCallable EfloClient::listVccsCallable(const ListVccsR return task->get_future(); } +EfloClient::ListVpdGrantRulesOutcome EfloClient::listVpdGrantRules(const ListVpdGrantRulesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListVpdGrantRulesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListVpdGrantRulesOutcome(ListVpdGrantRulesResult(outcome.result())); + else + return ListVpdGrantRulesOutcome(outcome.error()); +} + +void EfloClient::listVpdGrantRulesAsync(const ListVpdGrantRulesRequest& request, const ListVpdGrantRulesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listVpdGrantRules(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::ListVpdGrantRulesOutcomeCallable EfloClient::listVpdGrantRulesCallable(const ListVpdGrantRulesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listVpdGrantRules(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::ListVpdRouteEntriesOutcome EfloClient::listVpdRouteEntries(const ListVpdRouteEntriesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListVpdRouteEntriesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListVpdRouteEntriesOutcome(ListVpdRouteEntriesResult(outcome.result())); + else + return ListVpdRouteEntriesOutcome(outcome.error()); +} + +void EfloClient::listVpdRouteEntriesAsync(const ListVpdRouteEntriesRequest& request, const ListVpdRouteEntriesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listVpdRouteEntries(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::ListVpdRouteEntriesOutcomeCallable EfloClient::listVpdRouteEntriesCallable(const ListVpdRouteEntriesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listVpdRouteEntries(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EfloClient::ListVpdsOutcome EfloClient::listVpds(const ListVpdsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -483,6 +1959,258 @@ EfloClient::ListVpdsOutcomeCallable EfloClient::listVpdsCallable(const ListVpdsR return task->get_future(); } +EfloClient::QueryInstanceNcdOutcome EfloClient::queryInstanceNcd(const QueryInstanceNcdRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryInstanceNcdOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryInstanceNcdOutcome(QueryInstanceNcdResult(outcome.result())); + else + return QueryInstanceNcdOutcome(outcome.error()); +} + +void EfloClient::queryInstanceNcdAsync(const QueryInstanceNcdRequest& request, const QueryInstanceNcdAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryInstanceNcd(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::QueryInstanceNcdOutcomeCallable EfloClient::queryInstanceNcdCallable(const QueryInstanceNcdRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryInstanceNcd(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::UnAssignPrivateIpAddressOutcome EfloClient::unAssignPrivateIpAddress(const UnAssignPrivateIpAddressRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UnAssignPrivateIpAddressOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UnAssignPrivateIpAddressOutcome(UnAssignPrivateIpAddressResult(outcome.result())); + else + return UnAssignPrivateIpAddressOutcome(outcome.error()); +} + +void EfloClient::unAssignPrivateIpAddressAsync(const UnAssignPrivateIpAddressRequest& request, const UnAssignPrivateIpAddressAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, unAssignPrivateIpAddress(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::UnAssignPrivateIpAddressOutcomeCallable EfloClient::unAssignPrivateIpAddressCallable(const UnAssignPrivateIpAddressRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->unAssignPrivateIpAddress(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::UnAssociateVpdCidrBlockOutcome EfloClient::unAssociateVpdCidrBlock(const UnAssociateVpdCidrBlockRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UnAssociateVpdCidrBlockOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UnAssociateVpdCidrBlockOutcome(UnAssociateVpdCidrBlockResult(outcome.result())); + else + return UnAssociateVpdCidrBlockOutcome(outcome.error()); +} + +void EfloClient::unAssociateVpdCidrBlockAsync(const UnAssociateVpdCidrBlockRequest& request, const UnAssociateVpdCidrBlockAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, unAssociateVpdCidrBlock(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::UnAssociateVpdCidrBlockOutcomeCallable EfloClient::unAssociateVpdCidrBlockCallable(const UnAssociateVpdCidrBlockRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->unAssociateVpdCidrBlock(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::UpdateElasticNetworkInterfaceOutcome EfloClient::updateElasticNetworkInterface(const UpdateElasticNetworkInterfaceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateElasticNetworkInterfaceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateElasticNetworkInterfaceOutcome(UpdateElasticNetworkInterfaceResult(outcome.result())); + else + return UpdateElasticNetworkInterfaceOutcome(outcome.error()); +} + +void EfloClient::updateElasticNetworkInterfaceAsync(const UpdateElasticNetworkInterfaceRequest& request, const UpdateElasticNetworkInterfaceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateElasticNetworkInterface(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::UpdateElasticNetworkInterfaceOutcomeCallable EfloClient::updateElasticNetworkInterfaceCallable(const UpdateElasticNetworkInterfaceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateElasticNetworkInterface(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::UpdateErOutcome EfloClient::updateEr(const UpdateErRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateErOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateErOutcome(UpdateErResult(outcome.result())); + else + return UpdateErOutcome(outcome.error()); +} + +void EfloClient::updateErAsync(const UpdateErRequest& request, const UpdateErAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateEr(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::UpdateErOutcomeCallable EfloClient::updateErCallable(const UpdateErRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateEr(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::UpdateErAttachmentOutcome EfloClient::updateErAttachment(const UpdateErAttachmentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateErAttachmentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateErAttachmentOutcome(UpdateErAttachmentResult(outcome.result())); + else + return UpdateErAttachmentOutcome(outcome.error()); +} + +void EfloClient::updateErAttachmentAsync(const UpdateErAttachmentRequest& request, const UpdateErAttachmentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateErAttachment(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::UpdateErAttachmentOutcomeCallable EfloClient::updateErAttachmentCallable(const UpdateErAttachmentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateErAttachment(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EfloClient::UpdateErRouteMapOutcome EfloClient::updateErRouteMap(const UpdateErRouteMapRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateErRouteMapOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateErRouteMapOutcome(UpdateErRouteMapResult(outcome.result())); + else + return UpdateErRouteMapOutcome(outcome.error()); +} + +void EfloClient::updateErRouteMapAsync(const UpdateErRouteMapRequest& request, const UpdateErRouteMapAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateErRouteMap(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EfloClient::UpdateErRouteMapOutcomeCallable EfloClient::updateErRouteMapCallable(const UpdateErRouteMapRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateErRouteMap(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EfloClient::UpdateSubnetOutcome EfloClient::updateSubnet(const UpdateSubnetRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/eflo/src/model/AssignPrivateIpAddressRequest.cc b/eflo/src/model/AssignPrivateIpAddressRequest.cc new file mode 100644 index 000000000..5d33baf2b --- /dev/null +++ b/eflo/src/model/AssignPrivateIpAddressRequest.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::Eflo::Model::AssignPrivateIpAddressRequest; + +AssignPrivateIpAddressRequest::AssignPrivateIpAddressRequest() + : RpcServiceRequest("eflo", "2022-05-30", "AssignPrivateIpAddress") { + setMethod(HttpRequest::Method::Post); +} + +AssignPrivateIpAddressRequest::~AssignPrivateIpAddressRequest() {} + +std::string AssignPrivateIpAddressRequest::getDescription() const { + return description_; +} + +void AssignPrivateIpAddressRequest::setDescription(const std::string &description) { + description_ = description; + setBodyParameter(std::string("Description"), description); +} + +bool AssignPrivateIpAddressRequest::getAssignMac() const { + return assignMac_; +} + +void AssignPrivateIpAddressRequest::setAssignMac(bool assignMac) { + assignMac_ = assignMac; + setBodyParameter(std::string("AssignMac"), assignMac ? "true" : "false"); +} + +std::string AssignPrivateIpAddressRequest::getRegionId() const { + return regionId_; +} + +void AssignPrivateIpAddressRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +std::string AssignPrivateIpAddressRequest::getSubnetId() const { + return subnetId_; +} + +void AssignPrivateIpAddressRequest::setSubnetId(const std::string &subnetId) { + subnetId_ = subnetId; + setBodyParameter(std::string("SubnetId"), subnetId); +} + +bool AssignPrivateIpAddressRequest::getSkipConfig() const { + return skipConfig_; +} + +void AssignPrivateIpAddressRequest::setSkipConfig(bool skipConfig) { + skipConfig_ = skipConfig; + setBodyParameter(std::string("SkipConfig"), skipConfig ? "true" : "false"); +} + +std::string AssignPrivateIpAddressRequest::getPrivateIpAddress() const { + return privateIpAddress_; +} + +void AssignPrivateIpAddressRequest::setPrivateIpAddress(const std::string &privateIpAddress) { + privateIpAddress_ = privateIpAddress; + setBodyParameter(std::string("PrivateIpAddress"), privateIpAddress); +} + +std::string AssignPrivateIpAddressRequest::getNetworkInterfaceId() const { + return networkInterfaceId_; +} + +void AssignPrivateIpAddressRequest::setNetworkInterfaceId(const std::string &networkInterfaceId) { + networkInterfaceId_ = networkInterfaceId; + setBodyParameter(std::string("NetworkInterfaceId"), networkInterfaceId); +} + diff --git a/eflo/src/model/AssignPrivateIpAddressResult.cc b/eflo/src/model/AssignPrivateIpAddressResult.cc new file mode 100644 index 000000000..757f830df --- /dev/null +++ b/eflo/src/model/AssignPrivateIpAddressResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +AssignPrivateIpAddressResult::AssignPrivateIpAddressResult() : + ServiceResult() +{} + +AssignPrivateIpAddressResult::AssignPrivateIpAddressResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AssignPrivateIpAddressResult::~AssignPrivateIpAddressResult() +{} + +void AssignPrivateIpAddressResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["NetworkInterfaceId"].isNull()) + content_.networkInterfaceId = contentNode["NetworkInterfaceId"].asString(); + if(!contentNode["IpName"].isNull()) + content_.ipName = contentNode["IpName"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string AssignPrivateIpAddressResult::getMessage()const +{ + return message_; +} + +AssignPrivateIpAddressResult::Content AssignPrivateIpAddressResult::getContent()const +{ + return content_; +} + +int AssignPrivateIpAddressResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/AssociateVpdCidrBlockRequest.cc b/eflo/src/model/AssociateVpdCidrBlockRequest.cc new file mode 100644 index 000000000..49190f572 --- /dev/null +++ b/eflo/src/model/AssociateVpdCidrBlockRequest.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::Eflo::Model::AssociateVpdCidrBlockRequest; + +AssociateVpdCidrBlockRequest::AssociateVpdCidrBlockRequest() + : RpcServiceRequest("eflo", "2022-05-30", "AssociateVpdCidrBlock") { + setMethod(HttpRequest::Method::Post); +} + +AssociateVpdCidrBlockRequest::~AssociateVpdCidrBlockRequest() {} + +std::string AssociateVpdCidrBlockRequest::getRegionId() const { + return regionId_; +} + +void AssociateVpdCidrBlockRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +std::string AssociateVpdCidrBlockRequest::getVpdId() const { + return vpdId_; +} + +void AssociateVpdCidrBlockRequest::setVpdId(const std::string &vpdId) { + vpdId_ = vpdId; + setBodyParameter(std::string("VpdId"), vpdId); +} + +std::string AssociateVpdCidrBlockRequest::getSecondaryCidrBlock() const { + return secondaryCidrBlock_; +} + +void AssociateVpdCidrBlockRequest::setSecondaryCidrBlock(const std::string &secondaryCidrBlock) { + secondaryCidrBlock_ = secondaryCidrBlock; + setBodyParameter(std::string("SecondaryCidrBlock"), secondaryCidrBlock); +} + diff --git a/eflo/src/model/AssociateVpdCidrBlockResult.cc b/eflo/src/model/AssociateVpdCidrBlockResult.cc new file mode 100644 index 000000000..228f696b8 --- /dev/null +++ b/eflo/src/model/AssociateVpdCidrBlockResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +AssociateVpdCidrBlockResult::AssociateVpdCidrBlockResult() : + ServiceResult() +{} + +AssociateVpdCidrBlockResult::AssociateVpdCidrBlockResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AssociateVpdCidrBlockResult::~AssociateVpdCidrBlockResult() +{} + +void AssociateVpdCidrBlockResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["VpdId"].isNull()) + content_.vpdId = contentNode["VpdId"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string AssociateVpdCidrBlockResult::getMessage()const +{ + return message_; +} + +AssociateVpdCidrBlockResult::Content AssociateVpdCidrBlockResult::getContent()const +{ + return content_; +} + +int AssociateVpdCidrBlockResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/CreateElasticNetworkInterfaceRequest.cc b/eflo/src/model/CreateElasticNetworkInterfaceRequest.cc new file mode 100644 index 000000000..f01f44e7f --- /dev/null +++ b/eflo/src/model/CreateElasticNetworkInterfaceRequest.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::Eflo::Model::CreateElasticNetworkInterfaceRequest; + +CreateElasticNetworkInterfaceRequest::CreateElasticNetworkInterfaceRequest() + : RpcServiceRequest("eflo", "2022-05-30", "CreateElasticNetworkInterface") { + setMethod(HttpRequest::Method::Post); +} + +CreateElasticNetworkInterfaceRequest::~CreateElasticNetworkInterfaceRequest() {} + +std::string CreateElasticNetworkInterfaceRequest::getDescription() const { + return description_; +} + +void CreateElasticNetworkInterfaceRequest::setDescription(const std::string &description) { + description_ = description; + setBodyParameter(std::string("Description"), description); +} + +std::string CreateElasticNetworkInterfaceRequest::getVSwitchId() const { + return vSwitchId_; +} + +void CreateElasticNetworkInterfaceRequest::setVSwitchId(const std::string &vSwitchId) { + vSwitchId_ = vSwitchId; + setBodyParameter(std::string("VSwitchId"), vSwitchId); +} + +std::string CreateElasticNetworkInterfaceRequest::getRegionId() const { + return regionId_; +} + +void CreateElasticNetworkInterfaceRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +std::string CreateElasticNetworkInterfaceRequest::getVpcId() const { + return vpcId_; +} + +void CreateElasticNetworkInterfaceRequest::setVpcId(const std::string &vpcId) { + vpcId_ = vpcId; + setBodyParameter(std::string("VpcId"), vpcId); +} + +std::string CreateElasticNetworkInterfaceRequest::getZoneId() const { + return zoneId_; +} + +void CreateElasticNetworkInterfaceRequest::setZoneId(const std::string &zoneId) { + zoneId_ = zoneId; + setBodyParameter(std::string("ZoneId"), zoneId); +} + +std::string CreateElasticNetworkInterfaceRequest::getNodeId() const { + return nodeId_; +} + +void CreateElasticNetworkInterfaceRequest::setNodeId(const std::string &nodeId) { + nodeId_ = nodeId; + setBodyParameter(std::string("NodeId"), nodeId); +} + diff --git a/eflo/src/model/CreateElasticNetworkInterfaceResult.cc b/eflo/src/model/CreateElasticNetworkInterfaceResult.cc new file mode 100644 index 000000000..6262111e1 --- /dev/null +++ b/eflo/src/model/CreateElasticNetworkInterfaceResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +CreateElasticNetworkInterfaceResult::CreateElasticNetworkInterfaceResult() : + ServiceResult() +{} + +CreateElasticNetworkInterfaceResult::CreateElasticNetworkInterfaceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateElasticNetworkInterfaceResult::~CreateElasticNetworkInterfaceResult() +{} + +void CreateElasticNetworkInterfaceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["NodeId"].isNull()) + content_.nodeId = contentNode["NodeId"].asString(); + if(!contentNode["ElasticNetworkInterfaceId"].isNull()) + content_.elasticNetworkInterfaceId = contentNode["ElasticNetworkInterfaceId"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string CreateElasticNetworkInterfaceResult::getMessage()const +{ + return message_; +} + +CreateElasticNetworkInterfaceResult::Content CreateElasticNetworkInterfaceResult::getContent()const +{ + return content_; +} + +int CreateElasticNetworkInterfaceResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/CreateErAttachmentRequest.cc b/eflo/src/model/CreateErAttachmentRequest.cc new file mode 100644 index 000000000..b1e7f22d2 --- /dev/null +++ b/eflo/src/model/CreateErAttachmentRequest.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::Eflo::Model::CreateErAttachmentRequest; + +CreateErAttachmentRequest::CreateErAttachmentRequest() + : RpcServiceRequest("eflo", "2022-05-30", "CreateErAttachment") { + setMethod(HttpRequest::Method::Post); +} + +CreateErAttachmentRequest::~CreateErAttachmentRequest() {} + +std::string CreateErAttachmentRequest::getResourceTenantId() const { + return resourceTenantId_; +} + +void CreateErAttachmentRequest::setResourceTenantId(const std::string &resourceTenantId) { + resourceTenantId_ = resourceTenantId; + setBodyParameter(std::string("ResourceTenantId"), resourceTenantId); +} + +std::string CreateErAttachmentRequest::getRegionId() const { + return regionId_; +} + +void CreateErAttachmentRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +bool CreateErAttachmentRequest::getAutoReceiveAllRoute() const { + return autoReceiveAllRoute_; +} + +void CreateErAttachmentRequest::setAutoReceiveAllRoute(bool autoReceiveAllRoute) { + autoReceiveAllRoute_ = autoReceiveAllRoute; + setBodyParameter(std::string("AutoReceiveAllRoute"), autoReceiveAllRoute ? "true" : "false"); +} + +std::string CreateErAttachmentRequest::getInstanceType() const { + return instanceType_; +} + +void CreateErAttachmentRequest::setInstanceType(const std::string &instanceType) { + instanceType_ = instanceType; + setBodyParameter(std::string("InstanceType"), instanceType); +} + +std::string CreateErAttachmentRequest::getErAttachmentName() const { + return erAttachmentName_; +} + +void CreateErAttachmentRequest::setErAttachmentName(const std::string &erAttachmentName) { + erAttachmentName_ = erAttachmentName; + setBodyParameter(std::string("ErAttachmentName"), erAttachmentName); +} + +std::string CreateErAttachmentRequest::getErId() const { + return erId_; +} + +void CreateErAttachmentRequest::setErId(const std::string &erId) { + erId_ = erId; + setBodyParameter(std::string("ErId"), erId); +} + +std::string CreateErAttachmentRequest::getInstanceId() const { + return instanceId_; +} + +void CreateErAttachmentRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setBodyParameter(std::string("InstanceId"), instanceId); +} + diff --git a/eflo/src/model/CreateErAttachmentResult.cc b/eflo/src/model/CreateErAttachmentResult.cc new file mode 100644 index 000000000..3e77418d2 --- /dev/null +++ b/eflo/src/model/CreateErAttachmentResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +CreateErAttachmentResult::CreateErAttachmentResult() : + ServiceResult() +{} + +CreateErAttachmentResult::CreateErAttachmentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateErAttachmentResult::~CreateErAttachmentResult() +{} + +void CreateErAttachmentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["ErAttachmentId"].isNull()) + content_.erAttachmentId = contentNode["ErAttachmentId"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string CreateErAttachmentResult::getMessage()const +{ + return message_; +} + +CreateErAttachmentResult::Content CreateErAttachmentResult::getContent()const +{ + return content_; +} + +int CreateErAttachmentResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/CreateErRequest.cc b/eflo/src/model/CreateErRequest.cc new file mode 100644 index 000000000..8e1a9d316 --- /dev/null +++ b/eflo/src/model/CreateErRequest.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::Eflo::Model::CreateErRequest; + +CreateErRequest::CreateErRequest() + : RpcServiceRequest("eflo", "2022-05-30", "CreateEr") { + setMethod(HttpRequest::Method::Post); +} + +CreateErRequest::~CreateErRequest() {} + +std::string CreateErRequest::getDescription() const { + return description_; +} + +void CreateErRequest::setDescription(const std::string &description) { + description_ = description; + setBodyParameter(std::string("Description"), description); +} + +std::string CreateErRequest::getErName() const { + return erName_; +} + +void CreateErRequest::setErName(const std::string &erName) { + erName_ = erName; + setBodyParameter(std::string("ErName"), erName); +} + +std::string CreateErRequest::getMasterZoneId() const { + return masterZoneId_; +} + +void CreateErRequest::setMasterZoneId(const std::string &masterZoneId) { + masterZoneId_ = masterZoneId; + setBodyParameter(std::string("MasterZoneId"), masterZoneId); +} + +std::string CreateErRequest::getRegionId() const { + return regionId_; +} + +void CreateErRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + diff --git a/eflo/src/model/CreateErResult.cc b/eflo/src/model/CreateErResult.cc new file mode 100644 index 000000000..882bf3ab3 --- /dev/null +++ b/eflo/src/model/CreateErResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +CreateErResult::CreateErResult() : + ServiceResult() +{} + +CreateErResult::CreateErResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateErResult::~CreateErResult() +{} + +void CreateErResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["ErId"].isNull()) + content_.erId = contentNode["ErId"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string CreateErResult::getMessage()const +{ + return message_; +} + +CreateErResult::Content CreateErResult::getContent()const +{ + return content_; +} + +int CreateErResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/CreateErRouteMapRequest.cc b/eflo/src/model/CreateErRouteMapRequest.cc new file mode 100644 index 000000000..42a0913e9 --- /dev/null +++ b/eflo/src/model/CreateErRouteMapRequest.cc @@ -0,0 +1,135 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Eflo::Model::CreateErRouteMapRequest; + +CreateErRouteMapRequest::CreateErRouteMapRequest() + : RpcServiceRequest("eflo", "2022-05-30", "CreateErRouteMap") { + setMethod(HttpRequest::Method::Post); +} + +CreateErRouteMapRequest::~CreateErRouteMapRequest() {} + +std::string CreateErRouteMapRequest::getReceptionInstanceType() const { + return receptionInstanceType_; +} + +void CreateErRouteMapRequest::setReceptionInstanceType(const std::string &receptionInstanceType) { + receptionInstanceType_ = receptionInstanceType; + setBodyParameter(std::string("ReceptionInstanceType"), receptionInstanceType); +} + +std::string CreateErRouteMapRequest::getDescription() const { + return description_; +} + +void CreateErRouteMapRequest::setDescription(const std::string &description) { + description_ = description; + setBodyParameter(std::string("Description"), description); +} + +std::string CreateErRouteMapRequest::getReceptionInstanceId() const { + return receptionInstanceId_; +} + +void CreateErRouteMapRequest::setReceptionInstanceId(const std::string &receptionInstanceId) { + receptionInstanceId_ = receptionInstanceId; + setBodyParameter(std::string("ReceptionInstanceId"), receptionInstanceId); +} + +std::string CreateErRouteMapRequest::getRouteMapAction() const { + return routeMapAction_; +} + +void CreateErRouteMapRequest::setRouteMapAction(const std::string &routeMapAction) { + routeMapAction_ = routeMapAction; + setBodyParameter(std::string("RouteMapAction"), routeMapAction); +} + +std::string CreateErRouteMapRequest::getTransmissionInstanceType() const { + return transmissionInstanceType_; +} + +void CreateErRouteMapRequest::setTransmissionInstanceType(const std::string &transmissionInstanceType) { + transmissionInstanceType_ = transmissionInstanceType; + setBodyParameter(std::string("TransmissionInstanceType"), transmissionInstanceType); +} + +std::string CreateErRouteMapRequest::getRegionId() const { + return regionId_; +} + +void CreateErRouteMapRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +std::string CreateErRouteMapRequest::getDestinationCidrBlock() const { + return destinationCidrBlock_; +} + +void CreateErRouteMapRequest::setDestinationCidrBlock(const std::string &destinationCidrBlock) { + destinationCidrBlock_ = destinationCidrBlock; + setBodyParameter(std::string("DestinationCidrBlock"), destinationCidrBlock); +} + +std::string CreateErRouteMapRequest::getErId() const { + return erId_; +} + +void CreateErRouteMapRequest::setErId(const std::string &erId) { + erId_ = erId; + setBodyParameter(std::string("ErId"), erId); +} + +int CreateErRouteMapRequest::getRouteMapNum() const { + return routeMapNum_; +} + +void CreateErRouteMapRequest::setRouteMapNum(int routeMapNum) { + routeMapNum_ = routeMapNum; + setBodyParameter(std::string("RouteMapNum"), std::to_string(routeMapNum)); +} + +std::string CreateErRouteMapRequest::getReceptionInstanceOwner() const { + return receptionInstanceOwner_; +} + +void CreateErRouteMapRequest::setReceptionInstanceOwner(const std::string &receptionInstanceOwner) { + receptionInstanceOwner_ = receptionInstanceOwner; + setBodyParameter(std::string("ReceptionInstanceOwner"), receptionInstanceOwner); +} + +std::string CreateErRouteMapRequest::getTransmissionInstanceOwner() const { + return transmissionInstanceOwner_; +} + +void CreateErRouteMapRequest::setTransmissionInstanceOwner(const std::string &transmissionInstanceOwner) { + transmissionInstanceOwner_ = transmissionInstanceOwner; + setBodyParameter(std::string("TransmissionInstanceOwner"), transmissionInstanceOwner); +} + +std::string CreateErRouteMapRequest::getTransmissionInstanceId() const { + return transmissionInstanceId_; +} + +void CreateErRouteMapRequest::setTransmissionInstanceId(const std::string &transmissionInstanceId) { + transmissionInstanceId_ = transmissionInstanceId; + setBodyParameter(std::string("TransmissionInstanceId"), transmissionInstanceId); +} + diff --git a/eflo/src/model/CreateErRouteMapResult.cc b/eflo/src/model/CreateErRouteMapResult.cc new file mode 100644 index 000000000..2bf0235eb --- /dev/null +++ b/eflo/src/model/CreateErRouteMapResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +CreateErRouteMapResult::CreateErRouteMapResult() : + ServiceResult() +{} + +CreateErRouteMapResult::CreateErRouteMapResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateErRouteMapResult::~CreateErRouteMapResult() +{} + +void CreateErRouteMapResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["ErRouteMapId"].isNull()) + content_.erRouteMapId = contentNode["ErRouteMapId"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string CreateErRouteMapResult::getMessage()const +{ + return message_; +} + +CreateErRouteMapResult::Content CreateErRouteMapResult::getContent()const +{ + return content_; +} + +int CreateErRouteMapResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/CreateSubnetRequest.cc b/eflo/src/model/CreateSubnetRequest.cc index 0396820f4..f113fe052 100644 --- a/eflo/src/model/CreateSubnetRequest.cc +++ b/eflo/src/model/CreateSubnetRequest.cc @@ -43,6 +43,29 @@ void CreateSubnetRequest::setRegionId(const std::string ®ionId) { setBodyParameter(std::string("RegionId"), regionId); } +std::string CreateSubnetRequest::getCidr() const { + return cidr_; +} + +void CreateSubnetRequest::setCidr(const std::string &cidr) { + cidr_ = cidr; + setBodyParameter(std::string("Cidr"), cidr); +} + +std::vector CreateSubnetRequest::getTag() const { + return tag_; +} + +void CreateSubnetRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setBodyParameter(tagObjStr + ".Value", tagObj.value); + setBodyParameter(tagObjStr + ".Key", tagObj.key); + } +} + std::string CreateSubnetRequest::getVpdId() const { return vpdId_; } @@ -52,15 +75,6 @@ void CreateSubnetRequest::setVpdId(const std::string &vpdId) { setBodyParameter(std::string("VpdId"), vpdId); } -std::string CreateSubnetRequest::getName() const { - return name_; -} - -void CreateSubnetRequest::setName(const std::string &name) { - name_ = name; - setBodyParameter(std::string("Name"), name); -} - std::string CreateSubnetRequest::getZoneId() const { return zoneId_; } @@ -70,12 +84,12 @@ void CreateSubnetRequest::setZoneId(const std::string &zoneId) { setBodyParameter(std::string("ZoneId"), zoneId); } -std::string CreateSubnetRequest::getCidr() const { - return cidr_; +std::string CreateSubnetRequest::getSubnetName() const { + return subnetName_; } -void CreateSubnetRequest::setCidr(const std::string &cidr) { - cidr_ = cidr; - setBodyParameter(std::string("Cidr"), cidr); +void CreateSubnetRequest::setSubnetName(const std::string &subnetName) { + subnetName_ = subnetName; + setBodyParameter(std::string("SubnetName"), subnetName); } diff --git a/eflo/src/model/CreateVccGrantRuleRequest.cc b/eflo/src/model/CreateVccGrantRuleRequest.cc new file mode 100644 index 000000000..c0bf06271 --- /dev/null +++ b/eflo/src/model/CreateVccGrantRuleRequest.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::Eflo::Model::CreateVccGrantRuleRequest; + +CreateVccGrantRuleRequest::CreateVccGrantRuleRequest() + : RpcServiceRequest("eflo", "2022-05-30", "CreateVccGrantRule") { + setMethod(HttpRequest::Method::Post); +} + +CreateVccGrantRuleRequest::~CreateVccGrantRuleRequest() {} + +std::string CreateVccGrantRuleRequest::getErId() const { + return erId_; +} + +void CreateVccGrantRuleRequest::setErId(const std::string &erId) { + erId_ = erId; + setBodyParameter(std::string("ErId"), erId); +} + +std::string CreateVccGrantRuleRequest::getGrantTenantId() const { + return grantTenantId_; +} + +void CreateVccGrantRuleRequest::setGrantTenantId(const std::string &grantTenantId) { + grantTenantId_ = grantTenantId; + setBodyParameter(std::string("GrantTenantId"), grantTenantId); +} + +std::string CreateVccGrantRuleRequest::getInstanceId() const { + return instanceId_; +} + +void CreateVccGrantRuleRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setBodyParameter(std::string("InstanceId"), instanceId); +} + +std::string CreateVccGrantRuleRequest::getRegionId() const { + return regionId_; +} + +void CreateVccGrantRuleRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + diff --git a/eflo/src/model/CreateVccGrantRuleResult.cc b/eflo/src/model/CreateVccGrantRuleResult.cc new file mode 100644 index 000000000..3a5be9dff --- /dev/null +++ b/eflo/src/model/CreateVccGrantRuleResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +CreateVccGrantRuleResult::CreateVccGrantRuleResult() : + ServiceResult() +{} + +CreateVccGrantRuleResult::CreateVccGrantRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateVccGrantRuleResult::~CreateVccGrantRuleResult() +{} + +void CreateVccGrantRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["GrantRuleId"].isNull()) + content_.grantRuleId = contentNode["GrantRuleId"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string CreateVccGrantRuleResult::getMessage()const +{ + return message_; +} + +CreateVccGrantRuleResult::Content CreateVccGrantRuleResult::getContent()const +{ + return content_; +} + +int CreateVccGrantRuleResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/CreateVccRequest.cc b/eflo/src/model/CreateVccRequest.cc index 0463b8e85..f99e207ff 100644 --- a/eflo/src/model/CreateVccRequest.cc +++ b/eflo/src/model/CreateVccRequest.cc @@ -52,6 +52,15 @@ void CreateVccRequest::setDescription(const std::string &description) { setBodyParameter(std::string("Description"), description); } +std::string CreateVccRequest::getCenOwnerId() const { + return cenOwnerId_; +} + +void CreateVccRequest::setCenOwnerId(const std::string &cenOwnerId) { + cenOwnerId_ = cenOwnerId; + setBodyParameter(std::string("CenOwnerId"), cenOwnerId); +} + bool CreateVccRequest::getAccessCouldService() const { return accessCouldService_; } @@ -61,6 +70,24 @@ void CreateVccRequest::setAccessCouldService(bool accessCouldService) { setBodyParameter(std::string("AccessCouldService"), accessCouldService ? "true" : "false"); } +std::string CreateVccRequest::getResourceGroupId() const { + return resourceGroupId_; +} + +void CreateVccRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setBodyParameter(std::string("ResourceGroupId"), resourceGroupId); +} + +std::string CreateVccRequest::getVccName() const { + return vccName_; +} + +void CreateVccRequest::setVccName(const std::string &vccName) { + vccName_ = vccName; + setBodyParameter(std::string("VccName"), vccName); +} + std::string CreateVccRequest::getRegionId() const { return regionId_; } @@ -70,6 +97,20 @@ void CreateVccRequest::setRegionId(const std::string ®ionId) { setBodyParameter(std::string("RegionId"), regionId); } +std::vector CreateVccRequest::getTag() const { + return tag_; +} + +void CreateVccRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setBodyParameter(tagObjStr + ".Value", tagObj.value); + setBodyParameter(tagObjStr + ".Key", tagObj.key); + } +} + std::string CreateVccRequest::getVccId() const { return vccId_; } @@ -79,6 +120,24 @@ void CreateVccRequest::setVccId(const std::string &vccId) { setBodyParameter(std::string("VccId"), vccId); } +std::string CreateVccRequest::getConnectionType() const { + return connectionType_; +} + +void CreateVccRequest::setConnectionType(const std::string &connectionType) { + connectionType_ = connectionType; + setBodyParameter(std::string("ConnectionType"), connectionType); +} + +int CreateVccRequest::getBandwidth() const { + return bandwidth_; +} + +void CreateVccRequest::setBandwidth(int bandwidth) { + bandwidth_ = bandwidth; + setBodyParameter(std::string("Bandwidth"), std::to_string(bandwidth)); +} + std::string CreateVccRequest::getVSwitchId() const { return vSwitchId_; } @@ -106,3 +165,12 @@ void CreateVccRequest::setVpcId(const std::string &vpcId) { setBodyParameter(std::string("VpcId"), vpcId); } +std::string CreateVccRequest::getZoneId() const { + return zoneId_; +} + +void CreateVccRequest::setZoneId(const std::string &zoneId) { + zoneId_ = zoneId; + setBodyParameter(std::string("ZoneId"), zoneId); +} + diff --git a/eflo/src/model/CreateVccRouteEntryRequest.cc b/eflo/src/model/CreateVccRouteEntryRequest.cc new file mode 100644 index 000000000..588f8a772 --- /dev/null +++ b/eflo/src/model/CreateVccRouteEntryRequest.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::Eflo::Model::CreateVccRouteEntryRequest; + +CreateVccRouteEntryRequest::CreateVccRouteEntryRequest() + : RpcServiceRequest("eflo", "2022-05-30", "CreateVccRouteEntry") { + setMethod(HttpRequest::Method::Post); +} + +CreateVccRouteEntryRequest::~CreateVccRouteEntryRequest() {} + +std::string CreateVccRouteEntryRequest::getDestinationCidrBlock() const { + return destinationCidrBlock_; +} + +void CreateVccRouteEntryRequest::setDestinationCidrBlock(const std::string &destinationCidrBlock) { + destinationCidrBlock_ = destinationCidrBlock; + setBodyParameter(std::string("DestinationCidrBlock"), destinationCidrBlock); +} + +std::string CreateVccRouteEntryRequest::getRegionId() const { + return regionId_; +} + +void CreateVccRouteEntryRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +std::string CreateVccRouteEntryRequest::getVccId() const { + return vccId_; +} + +void CreateVccRouteEntryRequest::setVccId(const std::string &vccId) { + vccId_ = vccId; + setBodyParameter(std::string("VccId"), vccId); +} + diff --git a/eflo/src/model/CreateVccRouteEntryResult.cc b/eflo/src/model/CreateVccRouteEntryResult.cc new file mode 100644 index 000000000..1701515b0 --- /dev/null +++ b/eflo/src/model/CreateVccRouteEntryResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +CreateVccRouteEntryResult::CreateVccRouteEntryResult() : + ServiceResult() +{} + +CreateVccRouteEntryResult::CreateVccRouteEntryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateVccRouteEntryResult::~CreateVccRouteEntryResult() +{} + +void CreateVccRouteEntryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["VccRouteEntryId"].isNull()) + content_.vccRouteEntryId = contentNode["VccRouteEntryId"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string CreateVccRouteEntryResult::getMessage()const +{ + return message_; +} + +CreateVccRouteEntryResult::Content CreateVccRouteEntryResult::getContent()const +{ + return content_; +} + +int CreateVccRouteEntryResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/CreateVpdGrantRuleRequest.cc b/eflo/src/model/CreateVpdGrantRuleRequest.cc new file mode 100644 index 000000000..47dfc249b --- /dev/null +++ b/eflo/src/model/CreateVpdGrantRuleRequest.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::Eflo::Model::CreateVpdGrantRuleRequest; + +CreateVpdGrantRuleRequest::CreateVpdGrantRuleRequest() + : RpcServiceRequest("eflo", "2022-05-30", "CreateVpdGrantRule") { + setMethod(HttpRequest::Method::Post); +} + +CreateVpdGrantRuleRequest::~CreateVpdGrantRuleRequest() {} + +std::string CreateVpdGrantRuleRequest::getErId() const { + return erId_; +} + +void CreateVpdGrantRuleRequest::setErId(const std::string &erId) { + erId_ = erId; + setBodyParameter(std::string("ErId"), erId); +} + +std::string CreateVpdGrantRuleRequest::getGrantTenantId() const { + return grantTenantId_; +} + +void CreateVpdGrantRuleRequest::setGrantTenantId(const std::string &grantTenantId) { + grantTenantId_ = grantTenantId; + setBodyParameter(std::string("GrantTenantId"), grantTenantId); +} + +std::string CreateVpdGrantRuleRequest::getInstanceId() const { + return instanceId_; +} + +void CreateVpdGrantRuleRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setBodyParameter(std::string("InstanceId"), instanceId); +} + +std::string CreateVpdGrantRuleRequest::getRegionId() const { + return regionId_; +} + +void CreateVpdGrantRuleRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + diff --git a/eflo/src/model/CreateVpdGrantRuleResult.cc b/eflo/src/model/CreateVpdGrantRuleResult.cc new file mode 100644 index 000000000..4ac1f99a0 --- /dev/null +++ b/eflo/src/model/CreateVpdGrantRuleResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +CreateVpdGrantRuleResult::CreateVpdGrantRuleResult() : + ServiceResult() +{} + +CreateVpdGrantRuleResult::CreateVpdGrantRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateVpdGrantRuleResult::~CreateVpdGrantRuleResult() +{} + +void CreateVpdGrantRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["GrantRuleId"].isNull()) + content_.grantRuleId = contentNode["GrantRuleId"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string CreateVpdGrantRuleResult::getMessage()const +{ + return message_; +} + +CreateVpdGrantRuleResult::Content CreateVpdGrantRuleResult::getContent()const +{ + return content_; +} + +int CreateVpdGrantRuleResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/CreateVpdRequest.cc b/eflo/src/model/CreateVpdRequest.cc index 0209e8b0c..42e9ef17e 100644 --- a/eflo/src/model/CreateVpdRequest.cc +++ b/eflo/src/model/CreateVpdRequest.cc @@ -25,6 +25,24 @@ CreateVpdRequest::CreateVpdRequest() CreateVpdRequest::~CreateVpdRequest() {} +std::string CreateVpdRequest::getVpdName() const { + return vpdName_; +} + +void CreateVpdRequest::setVpdName(const std::string &vpdName) { + vpdName_ = vpdName; + setBodyParameter(std::string("VpdName"), vpdName); +} + +std::string CreateVpdRequest::getResourceGroupId() const { + return resourceGroupId_; +} + +void CreateVpdRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setBodyParameter(std::string("ResourceGroupId"), resourceGroupId); +} + std::string CreateVpdRequest::getRegionId() const { return regionId_; } @@ -34,15 +52,6 @@ void CreateVpdRequest::setRegionId(const std::string ®ionId) { setBodyParameter(std::string("RegionId"), regionId); } -std::string CreateVpdRequest::getName() const { - return name_; -} - -void CreateVpdRequest::setName(const std::string &name) { - name_ = name; - setBodyParameter(std::string("Name"), name); -} - std::string CreateVpdRequest::getCidr() const { return cidr_; } @@ -62,10 +71,24 @@ void CreateVpdRequest::setSubnets(const std::vector & auto subnetsObj = subnets.at(dep1); std::string subnetsObjStr = std::string("Subnets") + "." + std::to_string(dep1 + 1); setBodyParameter(subnetsObjStr + ".RegionId", subnetsObj.regionId); - setBodyParameter(subnetsObjStr + ".Name", subnetsObj.name); setBodyParameter(subnetsObjStr + ".ZoneId", subnetsObj.zoneId); setBodyParameter(subnetsObjStr + ".Cidr", subnetsObj.cidr); + setBodyParameter(subnetsObjStr + ".SubnetName", subnetsObj.subnetName); setBodyParameter(subnetsObjStr + ".Type", subnetsObj.type); } } +std::vector CreateVpdRequest::getTag() const { + return tag_; +} + +void CreateVpdRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setBodyParameter(tagObjStr + ".Value", tagObj.value); + setBodyParameter(tagObjStr + ".Key", tagObj.key); + } +} + diff --git a/eflo/src/model/DeleteElasticNetworkInterfaceRequest.cc b/eflo/src/model/DeleteElasticNetworkInterfaceRequest.cc new file mode 100644 index 000000000..1238e7567 --- /dev/null +++ b/eflo/src/model/DeleteElasticNetworkInterfaceRequest.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::Eflo::Model::DeleteElasticNetworkInterfaceRequest; + +DeleteElasticNetworkInterfaceRequest::DeleteElasticNetworkInterfaceRequest() + : RpcServiceRequest("eflo", "2022-05-30", "DeleteElasticNetworkInterface") { + setMethod(HttpRequest::Method::Post); +} + +DeleteElasticNetworkInterfaceRequest::~DeleteElasticNetworkInterfaceRequest() {} + +std::string DeleteElasticNetworkInterfaceRequest::getRegionId() const { + return regionId_; +} + +void DeleteElasticNetworkInterfaceRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +std::string DeleteElasticNetworkInterfaceRequest::getElasticNetworkInterfaceId() const { + return elasticNetworkInterfaceId_; +} + +void DeleteElasticNetworkInterfaceRequest::setElasticNetworkInterfaceId(const std::string &elasticNetworkInterfaceId) { + elasticNetworkInterfaceId_ = elasticNetworkInterfaceId; + setBodyParameter(std::string("ElasticNetworkInterfaceId"), elasticNetworkInterfaceId); +} + diff --git a/eflo/src/model/DeleteElasticNetworkInterfaceResult.cc b/eflo/src/model/DeleteElasticNetworkInterfaceResult.cc new file mode 100644 index 000000000..3056ef05e --- /dev/null +++ b/eflo/src/model/DeleteElasticNetworkInterfaceResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +DeleteElasticNetworkInterfaceResult::DeleteElasticNetworkInterfaceResult() : + ServiceResult() +{} + +DeleteElasticNetworkInterfaceResult::DeleteElasticNetworkInterfaceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteElasticNetworkInterfaceResult::~DeleteElasticNetworkInterfaceResult() +{} + +void DeleteElasticNetworkInterfaceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["NodeId"].isNull()) + content_.nodeId = contentNode["NodeId"].asString(); + if(!contentNode["ElasticNetworkInterfaceId"].isNull()) + content_.elasticNetworkInterfaceId = contentNode["ElasticNetworkInterfaceId"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string DeleteElasticNetworkInterfaceResult::getMessage()const +{ + return message_; +} + +DeleteElasticNetworkInterfaceResult::Content DeleteElasticNetworkInterfaceResult::getContent()const +{ + return content_; +} + +int DeleteElasticNetworkInterfaceResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/DeleteErAttachmentRequest.cc b/eflo/src/model/DeleteErAttachmentRequest.cc new file mode 100644 index 000000000..224cb6c5b --- /dev/null +++ b/eflo/src/model/DeleteErAttachmentRequest.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::Eflo::Model::DeleteErAttachmentRequest; + +DeleteErAttachmentRequest::DeleteErAttachmentRequest() + : RpcServiceRequest("eflo", "2022-05-30", "DeleteErAttachment") { + setMethod(HttpRequest::Method::Post); +} + +DeleteErAttachmentRequest::~DeleteErAttachmentRequest() {} + +std::string DeleteErAttachmentRequest::getErId() const { + return erId_; +} + +void DeleteErAttachmentRequest::setErId(const std::string &erId) { + erId_ = erId; + setBodyParameter(std::string("ErId"), erId); +} + +std::string DeleteErAttachmentRequest::getErAttachmentId() const { + return erAttachmentId_; +} + +void DeleteErAttachmentRequest::setErAttachmentId(const std::string &erAttachmentId) { + erAttachmentId_ = erAttachmentId; + setBodyParameter(std::string("ErAttachmentId"), erAttachmentId); +} + +std::string DeleteErAttachmentRequest::getRegionId() const { + return regionId_; +} + +void DeleteErAttachmentRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + diff --git a/eflo/src/model/DeleteErAttachmentResult.cc b/eflo/src/model/DeleteErAttachmentResult.cc new file mode 100644 index 000000000..a8ea46da7 --- /dev/null +++ b/eflo/src/model/DeleteErAttachmentResult.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::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +DeleteErAttachmentResult::DeleteErAttachmentResult() : + ServiceResult() +{} + +DeleteErAttachmentResult::DeleteErAttachmentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteErAttachmentResult::~DeleteErAttachmentResult() +{} + +void DeleteErAttachmentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/eflo/src/model/DeleteErRequest.cc b/eflo/src/model/DeleteErRequest.cc new file mode 100644 index 000000000..d0a2bd54a --- /dev/null +++ b/eflo/src/model/DeleteErRequest.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::Eflo::Model::DeleteErRequest; + +DeleteErRequest::DeleteErRequest() + : RpcServiceRequest("eflo", "2022-05-30", "DeleteEr") { + setMethod(HttpRequest::Method::Post); +} + +DeleteErRequest::~DeleteErRequest() {} + +std::string DeleteErRequest::getErId() const { + return erId_; +} + +void DeleteErRequest::setErId(const std::string &erId) { + erId_ = erId; + setBodyParameter(std::string("ErId"), erId); +} + +std::string DeleteErRequest::getRegionId() const { + return regionId_; +} + +void DeleteErRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + diff --git a/eflo/src/model/DeleteErResult.cc b/eflo/src/model/DeleteErResult.cc new file mode 100644 index 000000000..f86aa1f9e --- /dev/null +++ b/eflo/src/model/DeleteErResult.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::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +DeleteErResult::DeleteErResult() : + ServiceResult() +{} + +DeleteErResult::DeleteErResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteErResult::~DeleteErResult() +{} + +void DeleteErResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/eflo/src/model/DeleteErRouteMapRequest.cc b/eflo/src/model/DeleteErRouteMapRequest.cc new file mode 100644 index 000000000..5a4d5803c --- /dev/null +++ b/eflo/src/model/DeleteErRouteMapRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Eflo::Model::DeleteErRouteMapRequest; + +DeleteErRouteMapRequest::DeleteErRouteMapRequest() + : RpcServiceRequest("eflo", "2022-05-30", "DeleteErRouteMap") { + setMethod(HttpRequest::Method::Post); +} + +DeleteErRouteMapRequest::~DeleteErRouteMapRequest() {} + +std::string DeleteErRouteMapRequest::getErId() const { + return erId_; +} + +void DeleteErRouteMapRequest::setErId(const std::string &erId) { + erId_ = erId; + setBodyParameter(std::string("ErId"), erId); +} + +std::vector DeleteErRouteMapRequest::getErRouteMapIds() const { + return erRouteMapIds_; +} + +void DeleteErRouteMapRequest::setErRouteMapIds(const std::vector &erRouteMapIds) { + erRouteMapIds_ = erRouteMapIds; +} + +std::string DeleteErRouteMapRequest::getRegionId() const { + return regionId_; +} + +void DeleteErRouteMapRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + diff --git a/eflo/src/model/DeleteErRouteMapResult.cc b/eflo/src/model/DeleteErRouteMapResult.cc new file mode 100644 index 000000000..797382be9 --- /dev/null +++ b/eflo/src/model/DeleteErRouteMapResult.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::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +DeleteErRouteMapResult::DeleteErRouteMapResult() : + ServiceResult() +{} + +DeleteErRouteMapResult::DeleteErRouteMapResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteErRouteMapResult::~DeleteErRouteMapResult() +{} + +void DeleteErRouteMapResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/eflo/src/model/DeleteVccGrantRuleRequest.cc b/eflo/src/model/DeleteVccGrantRuleRequest.cc new file mode 100644 index 000000000..4c11c750b --- /dev/null +++ b/eflo/src/model/DeleteVccGrantRuleRequest.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::Eflo::Model::DeleteVccGrantRuleRequest; + +DeleteVccGrantRuleRequest::DeleteVccGrantRuleRequest() + : RpcServiceRequest("eflo", "2022-05-30", "DeleteVccGrantRule") { + setMethod(HttpRequest::Method::Post); +} + +DeleteVccGrantRuleRequest::~DeleteVccGrantRuleRequest() {} + +std::string DeleteVccGrantRuleRequest::getErId() const { + return erId_; +} + +void DeleteVccGrantRuleRequest::setErId(const std::string &erId) { + erId_ = erId; + setBodyParameter(std::string("ErId"), erId); +} + +std::string DeleteVccGrantRuleRequest::getInstanceId() const { + return instanceId_; +} + +void DeleteVccGrantRuleRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setBodyParameter(std::string("InstanceId"), instanceId); +} + +std::string DeleteVccGrantRuleRequest::getRegionId() const { + return regionId_; +} + +void DeleteVccGrantRuleRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +std::string DeleteVccGrantRuleRequest::getGrantRuleId() const { + return grantRuleId_; +} + +void DeleteVccGrantRuleRequest::setGrantRuleId(const std::string &grantRuleId) { + grantRuleId_ = grantRuleId; + setBodyParameter(std::string("GrantRuleId"), grantRuleId); +} + diff --git a/eflo/src/model/DeleteVccGrantRuleResult.cc b/eflo/src/model/DeleteVccGrantRuleResult.cc new file mode 100644 index 000000000..c0796f159 --- /dev/null +++ b/eflo/src/model/DeleteVccGrantRuleResult.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::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +DeleteVccGrantRuleResult::DeleteVccGrantRuleResult() : + ServiceResult() +{} + +DeleteVccGrantRuleResult::DeleteVccGrantRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteVccGrantRuleResult::~DeleteVccGrantRuleResult() +{} + +void DeleteVccGrantRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/eflo/src/model/DeleteVccRouteEntryRequest.cc b/eflo/src/model/DeleteVccRouteEntryRequest.cc new file mode 100644 index 000000000..a9c6e46a8 --- /dev/null +++ b/eflo/src/model/DeleteVccRouteEntryRequest.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::Eflo::Model::DeleteVccRouteEntryRequest; + +DeleteVccRouteEntryRequest::DeleteVccRouteEntryRequest() + : RpcServiceRequest("eflo", "2022-05-30", "DeleteVccRouteEntry") { + setMethod(HttpRequest::Method::Post); +} + +DeleteVccRouteEntryRequest::~DeleteVccRouteEntryRequest() {} + +std::string DeleteVccRouteEntryRequest::getDestinationCidrBlock() const { + return destinationCidrBlock_; +} + +void DeleteVccRouteEntryRequest::setDestinationCidrBlock(const std::string &destinationCidrBlock) { + destinationCidrBlock_ = destinationCidrBlock; + setBodyParameter(std::string("DestinationCidrBlock"), destinationCidrBlock); +} + +std::string DeleteVccRouteEntryRequest::getRegionId() const { + return regionId_; +} + +void DeleteVccRouteEntryRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +std::string DeleteVccRouteEntryRequest::getVccId() const { + return vccId_; +} + +void DeleteVccRouteEntryRequest::setVccId(const std::string &vccId) { + vccId_ = vccId; + setBodyParameter(std::string("VccId"), vccId); +} + +std::string DeleteVccRouteEntryRequest::getVccRouteEntryId() const { + return vccRouteEntryId_; +} + +void DeleteVccRouteEntryRequest::setVccRouteEntryId(const std::string &vccRouteEntryId) { + vccRouteEntryId_ = vccRouteEntryId; + setBodyParameter(std::string("VccRouteEntryId"), vccRouteEntryId); +} + diff --git a/eflo/src/model/DeleteVccRouteEntryResult.cc b/eflo/src/model/DeleteVccRouteEntryResult.cc new file mode 100644 index 000000000..4263dc495 --- /dev/null +++ b/eflo/src/model/DeleteVccRouteEntryResult.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::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +DeleteVccRouteEntryResult::DeleteVccRouteEntryResult() : + ServiceResult() +{} + +DeleteVccRouteEntryResult::DeleteVccRouteEntryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteVccRouteEntryResult::~DeleteVccRouteEntryResult() +{} + +void DeleteVccRouteEntryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/eflo/src/model/DeleteVpdGrantRuleRequest.cc b/eflo/src/model/DeleteVpdGrantRuleRequest.cc new file mode 100644 index 000000000..acb227d24 --- /dev/null +++ b/eflo/src/model/DeleteVpdGrantRuleRequest.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::Eflo::Model::DeleteVpdGrantRuleRequest; + +DeleteVpdGrantRuleRequest::DeleteVpdGrantRuleRequest() + : RpcServiceRequest("eflo", "2022-05-30", "DeleteVpdGrantRule") { + setMethod(HttpRequest::Method::Post); +} + +DeleteVpdGrantRuleRequest::~DeleteVpdGrantRuleRequest() {} + +std::string DeleteVpdGrantRuleRequest::getErId() const { + return erId_; +} + +void DeleteVpdGrantRuleRequest::setErId(const std::string &erId) { + erId_ = erId; + setBodyParameter(std::string("ErId"), erId); +} + +std::string DeleteVpdGrantRuleRequest::getGrantTenantId() const { + return grantTenantId_; +} + +void DeleteVpdGrantRuleRequest::setGrantTenantId(const std::string &grantTenantId) { + grantTenantId_ = grantTenantId; + setBodyParameter(std::string("GrantTenantId"), grantTenantId); +} + +std::string DeleteVpdGrantRuleRequest::getInstanceId() const { + return instanceId_; +} + +void DeleteVpdGrantRuleRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setBodyParameter(std::string("InstanceId"), instanceId); +} + +std::string DeleteVpdGrantRuleRequest::getGrantRuleId() const { + return grantRuleId_; +} + +void DeleteVpdGrantRuleRequest::setGrantRuleId(const std::string &grantRuleId) { + grantRuleId_ = grantRuleId; + setBodyParameter(std::string("GrantRuleId"), grantRuleId); +} + +std::string DeleteVpdGrantRuleRequest::getRegionId() const { + return regionId_; +} + +void DeleteVpdGrantRuleRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + diff --git a/eflo/src/model/DeleteVpdGrantRuleResult.cc b/eflo/src/model/DeleteVpdGrantRuleResult.cc new file mode 100644 index 000000000..6ce90e05f --- /dev/null +++ b/eflo/src/model/DeleteVpdGrantRuleResult.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::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +DeleteVpdGrantRuleResult::DeleteVpdGrantRuleResult() : + ServiceResult() +{} + +DeleteVpdGrantRuleResult::DeleteVpdGrantRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteVpdGrantRuleResult::~DeleteVpdGrantRuleResult() +{} + +void DeleteVpdGrantRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/eflo/src/model/DescribeSlrRequest.cc b/eflo/src/model/DescribeSlrRequest.cc new file mode 100644 index 000000000..059df03d0 --- /dev/null +++ b/eflo/src/model/DescribeSlrRequest.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::Eflo::Model::DescribeSlrRequest; + +DescribeSlrRequest::DescribeSlrRequest() + : RpcServiceRequest("eflo", "2022-05-30", "DescribeSlr") { + setMethod(HttpRequest::Method::Post); +} + +DescribeSlrRequest::~DescribeSlrRequest() {} + +std::string DescribeSlrRequest::getResourceGroupId() const { + return resourceGroupId_; +} + +void DescribeSlrRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setBodyParameter(std::string("ResourceGroupId"), resourceGroupId); +} + diff --git a/eflo/src/model/DescribeSlrResult.cc b/eflo/src/model/DescribeSlrResult.cc new file mode 100644 index 000000000..5a1e40f23 --- /dev/null +++ b/eflo/src/model/DescribeSlrResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +DescribeSlrResult::DescribeSlrResult() : + ServiceResult() +{} + +DescribeSlrResult::DescribeSlrResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSlrResult::~DescribeSlrResult() +{} + +void DescribeSlrResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["HasRole"].isNull()) + content_.hasRole = contentNode["HasRole"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string DescribeSlrResult::getMessage()const +{ + return message_; +} + +DescribeSlrResult::Content DescribeSlrResult::getContent()const +{ + return content_; +} + +int DescribeSlrResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/GetElasticNetworkInterfaceRequest.cc b/eflo/src/model/GetElasticNetworkInterfaceRequest.cc new file mode 100644 index 000000000..a8b7ec7f6 --- /dev/null +++ b/eflo/src/model/GetElasticNetworkInterfaceRequest.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::Eflo::Model::GetElasticNetworkInterfaceRequest; + +GetElasticNetworkInterfaceRequest::GetElasticNetworkInterfaceRequest() + : RpcServiceRequest("eflo", "2022-05-30", "GetElasticNetworkInterface") { + setMethod(HttpRequest::Method::Post); +} + +GetElasticNetworkInterfaceRequest::~GetElasticNetworkInterfaceRequest() {} + +std::string GetElasticNetworkInterfaceRequest::getRegionId() const { + return regionId_; +} + +void GetElasticNetworkInterfaceRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +std::string GetElasticNetworkInterfaceRequest::getElasticNetworkInterfaceId() const { + return elasticNetworkInterfaceId_; +} + +void GetElasticNetworkInterfaceRequest::setElasticNetworkInterfaceId(const std::string &elasticNetworkInterfaceId) { + elasticNetworkInterfaceId_ = elasticNetworkInterfaceId; + setBodyParameter(std::string("ElasticNetworkInterfaceId"), elasticNetworkInterfaceId); +} + diff --git a/eflo/src/model/GetElasticNetworkInterfaceResult.cc b/eflo/src/model/GetElasticNetworkInterfaceResult.cc new file mode 100644 index 000000000..422a8e808 --- /dev/null +++ b/eflo/src/model/GetElasticNetworkInterfaceResult.cc @@ -0,0 +1,96 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +GetElasticNetworkInterfaceResult::GetElasticNetworkInterfaceResult() : + ServiceResult() +{} + +GetElasticNetworkInterfaceResult::GetElasticNetworkInterfaceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetElasticNetworkInterfaceResult::~GetElasticNetworkInterfaceResult() +{} + +void GetElasticNetworkInterfaceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["RegionId"].isNull()) + content_.regionId = contentNode["RegionId"].asString(); + if(!contentNode["ZoneId"].isNull()) + content_.zoneId = contentNode["ZoneId"].asString(); + if(!contentNode["ElasticNetworkInterfaceId"].isNull()) + content_.elasticNetworkInterfaceId = contentNode["ElasticNetworkInterfaceId"].asString(); + if(!contentNode["NodeId"].isNull()) + content_.nodeId = contentNode["NodeId"].asString(); + if(!contentNode["Status"].isNull()) + content_.status = contentNode["Status"].asString(); + if(!contentNode["Ip"].isNull()) + content_.ip = contentNode["Ip"].asString(); + if(!contentNode["VpcId"].isNull()) + content_.vpcId = contentNode["VpcId"].asString(); + if(!contentNode["VSwitchId"].isNull()) + content_.vSwitchId = contentNode["VSwitchId"].asString(); + if(!contentNode["Message"].isNull()) + content_.message = contentNode["Message"].asString(); + if(!contentNode["Mac"].isNull()) + content_.mac = contentNode["Mac"].asString(); + if(!contentNode["Type"].isNull()) + content_.type = contentNode["Type"].asString(); + if(!contentNode["Gateway"].isNull()) + content_.gateway = contentNode["Gateway"].asString(); + if(!contentNode["Mask"].isNull()) + content_.mask = contentNode["Mask"].asString(); + if(!contentNode["CreateTime"].isNull()) + content_.createTime = contentNode["CreateTime"].asString(); + if(!contentNode["GmtModified"].isNull()) + content_.gmtModified = contentNode["GmtModified"].asString(); + if(!contentNode["Description"].isNull()) + content_.description = contentNode["Description"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string GetElasticNetworkInterfaceResult::getMessage()const +{ + return message_; +} + +GetElasticNetworkInterfaceResult::Content GetElasticNetworkInterfaceResult::getContent()const +{ + return content_; +} + +int GetElasticNetworkInterfaceResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/GetErAttachmentRequest.cc b/eflo/src/model/GetErAttachmentRequest.cc new file mode 100644 index 000000000..8cfcf95f5 --- /dev/null +++ b/eflo/src/model/GetErAttachmentRequest.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::Eflo::Model::GetErAttachmentRequest; + +GetErAttachmentRequest::GetErAttachmentRequest() + : RpcServiceRequest("eflo", "2022-05-30", "GetErAttachment") { + setMethod(HttpRequest::Method::Post); +} + +GetErAttachmentRequest::~GetErAttachmentRequest() {} + +std::string GetErAttachmentRequest::getErId() const { + return erId_; +} + +void GetErAttachmentRequest::setErId(const std::string &erId) { + erId_ = erId; + setBodyParameter(std::string("ErId"), erId); +} + +std::string GetErAttachmentRequest::getErAttachmentId() const { + return erAttachmentId_; +} + +void GetErAttachmentRequest::setErAttachmentId(const std::string &erAttachmentId) { + erAttachmentId_ = erAttachmentId; + setBodyParameter(std::string("ErAttachmentId"), erAttachmentId); +} + +std::string GetErAttachmentRequest::getRegionId() const { + return regionId_; +} + +void GetErAttachmentRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + diff --git a/eflo/src/model/GetErAttachmentResult.cc b/eflo/src/model/GetErAttachmentResult.cc new file mode 100644 index 000000000..40b640f48 --- /dev/null +++ b/eflo/src/model/GetErAttachmentResult.cc @@ -0,0 +1,94 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +GetErAttachmentResult::GetErAttachmentResult() : + ServiceResult() +{} + +GetErAttachmentResult::GetErAttachmentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetErAttachmentResult::~GetErAttachmentResult() +{} + +void GetErAttachmentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["CreateTime"].isNull()) + content_.createTime = contentNode["CreateTime"].asString(); + if(!contentNode["GmtModified"].isNull()) + content_.gmtModified = contentNode["GmtModified"].asString(); + if(!contentNode["Message"].isNull()) + content_.message = contentNode["Message"].asString(); + if(!contentNode["Status"].isNull()) + content_.status = contentNode["Status"].asString(); + if(!contentNode["RegionId"].isNull()) + content_.regionId = contentNode["RegionId"].asString(); + if(!contentNode["TenantId"].isNull()) + content_.tenantId = contentNode["TenantId"].asString(); + if(!contentNode["ErAttachmentName"].isNull()) + content_.erAttachmentName = contentNode["ErAttachmentName"].asString(); + if(!contentNode["ErAttachmentId"].isNull()) + content_.erAttachmentId = contentNode["ErAttachmentId"].asString(); + if(!contentNode["ErId"].isNull()) + content_.erId = contentNode["ErId"].asString(); + if(!contentNode["InstanceType"].isNull()) + content_.instanceType = contentNode["InstanceType"].asString(); + if(!contentNode["InstanceId"].isNull()) + content_.instanceId = contentNode["InstanceId"].asString(); + if(!contentNode["InstanceName"].isNull()) + content_.instanceName = contentNode["InstanceName"].asString(); + if(!contentNode["AutoReceiveAllRoute"].isNull()) + content_.autoReceiveAllRoute = contentNode["AutoReceiveAllRoute"].asString() == "true"; + if(!contentNode["Across"].isNull()) + content_.across = contentNode["Across"].asString() == "true"; + if(!contentNode["ResourceTenantId"].isNull()) + content_.resourceTenantId = contentNode["ResourceTenantId"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string GetErAttachmentResult::getMessage()const +{ + return message_; +} + +GetErAttachmentResult::Content GetErAttachmentResult::getContent()const +{ + return content_; +} + +int GetErAttachmentResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/GetErRequest.cc b/eflo/src/model/GetErRequest.cc new file mode 100644 index 000000000..743d49cca --- /dev/null +++ b/eflo/src/model/GetErRequest.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::Eflo::Model::GetErRequest; + +GetErRequest::GetErRequest() + : RpcServiceRequest("eflo", "2022-05-30", "GetEr") { + setMethod(HttpRequest::Method::Post); +} + +GetErRequest::~GetErRequest() {} + +std::string GetErRequest::getErId() const { + return erId_; +} + +void GetErRequest::setErId(const std::string &erId) { + erId_ = erId; + setBodyParameter(std::string("ErId"), erId); +} + +std::string GetErRequest::getRegionId() const { + return regionId_; +} + +void GetErRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + diff --git a/eflo/src/model/GetErResult.cc b/eflo/src/model/GetErResult.cc new file mode 100644 index 000000000..99203b70c --- /dev/null +++ b/eflo/src/model/GetErResult.cc @@ -0,0 +1,196 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +GetErResult::GetErResult() : + ServiceResult() +{} + +GetErResult::GetErResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetErResult::~GetErResult() +{} + +void GetErResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["CreateTime"].isNull()) + content_.createTime = contentNode["CreateTime"].asString(); + if(!contentNode["GmtModified"].isNull()) + content_.gmtModified = contentNode["GmtModified"].asString(); + if(!contentNode["Message"].isNull()) + content_.message = contentNode["Message"].asString(); + if(!contentNode["ErId"].isNull()) + content_.erId = contentNode["ErId"].asString(); + if(!contentNode["RegionId"].isNull()) + content_.regionId = contentNode["RegionId"].asString(); + if(!contentNode["TenantId"].isNull()) + content_.tenantId = contentNode["TenantId"].asString(); + if(!contentNode["Status"].isNull()) + content_.status = contentNode["Status"].asString(); + if(!contentNode["ErName"].isNull()) + content_.erName = contentNode["ErName"].asString(); + if(!contentNode["MasterZoneId"].isNull()) + content_.masterZoneId = contentNode["MasterZoneId"].asString(); + if(!contentNode["Description"].isNull()) + content_.description = contentNode["Description"].asString(); + auto allErAttachmentsNode = contentNode["ErAttachments"]["ErAttachment"]; + for (auto contentNodeErAttachmentsErAttachment : allErAttachmentsNode) + { + Content::ErAttachment erAttachmentObject; + if(!contentNodeErAttachmentsErAttachment["CreateTime"].isNull()) + erAttachmentObject.createTime = contentNodeErAttachmentsErAttachment["CreateTime"].asString(); + if(!contentNodeErAttachmentsErAttachment["GmtModified"].isNull()) + erAttachmentObject.gmtModified = contentNodeErAttachmentsErAttachment["GmtModified"].asString(); + if(!contentNodeErAttachmentsErAttachment["Message"].isNull()) + erAttachmentObject.message = contentNodeErAttachmentsErAttachment["Message"].asString(); + if(!contentNodeErAttachmentsErAttachment["Status"].isNull()) + erAttachmentObject.status = contentNodeErAttachmentsErAttachment["Status"].asString(); + if(!contentNodeErAttachmentsErAttachment["RegionId"].isNull()) + erAttachmentObject.regionId = contentNodeErAttachmentsErAttachment["RegionId"].asString(); + if(!contentNodeErAttachmentsErAttachment["TenantId"].isNull()) + erAttachmentObject.tenantId = contentNodeErAttachmentsErAttachment["TenantId"].asString(); + if(!contentNodeErAttachmentsErAttachment["ErAttachmentName"].isNull()) + erAttachmentObject.erAttachmentName = contentNodeErAttachmentsErAttachment["ErAttachmentName"].asString(); + if(!contentNodeErAttachmentsErAttachment["ErAttachmentId"].isNull()) + erAttachmentObject.erAttachmentId = contentNodeErAttachmentsErAttachment["ErAttachmentId"].asString(); + if(!contentNodeErAttachmentsErAttachment["ErId"].isNull()) + erAttachmentObject.erId = contentNodeErAttachmentsErAttachment["ErId"].asString(); + if(!contentNodeErAttachmentsErAttachment["InstanceType"].isNull()) + erAttachmentObject.instanceType = contentNodeErAttachmentsErAttachment["InstanceType"].asString(); + if(!contentNodeErAttachmentsErAttachment["InstanceId"].isNull()) + erAttachmentObject.instanceId = contentNodeErAttachmentsErAttachment["InstanceId"].asString(); + if(!contentNodeErAttachmentsErAttachment["InstanceName"].isNull()) + erAttachmentObject.instanceName = contentNodeErAttachmentsErAttachment["InstanceName"].asString(); + if(!contentNodeErAttachmentsErAttachment["AutoReceiveAllRoute"].isNull()) + erAttachmentObject.autoReceiveAllRoute = contentNodeErAttachmentsErAttachment["AutoReceiveAllRoute"].asString() == "true"; + if(!contentNodeErAttachmentsErAttachment["Across"].isNull()) + erAttachmentObject.across = contentNodeErAttachmentsErAttachment["Across"].asString() == "true"; + if(!contentNodeErAttachmentsErAttachment["ResourceTenantId"].isNull()) + erAttachmentObject.resourceTenantId = contentNodeErAttachmentsErAttachment["ResourceTenantId"].asString(); + content_.erAttachments.push_back(erAttachmentObject); + } + auto allErRouteMapsNode = contentNode["ErRouteMaps"]["ErRouteMap"]; + for (auto contentNodeErRouteMapsErRouteMap : allErRouteMapsNode) + { + Content::ErRouteMap erRouteMapObject; + if(!contentNodeErRouteMapsErRouteMap["RegionId"].isNull()) + erRouteMapObject.regionId = contentNodeErRouteMapsErRouteMap["RegionId"].asString(); + if(!contentNodeErRouteMapsErRouteMap["TenantId"].isNull()) + erRouteMapObject.tenantId = contentNodeErRouteMapsErRouteMap["TenantId"].asString(); + if(!contentNodeErRouteMapsErRouteMap["CreateTime"].isNull()) + erRouteMapObject.createTime = contentNodeErRouteMapsErRouteMap["CreateTime"].asString(); + if(!contentNodeErRouteMapsErRouteMap["GmtModified"].isNull()) + erRouteMapObject.gmtModified = contentNodeErRouteMapsErRouteMap["GmtModified"].asString(); + if(!contentNodeErRouteMapsErRouteMap["Message"].isNull()) + erRouteMapObject.message = contentNodeErRouteMapsErRouteMap["Message"].asString(); + if(!contentNodeErRouteMapsErRouteMap["Status"].isNull()) + erRouteMapObject.status = contentNodeErRouteMapsErRouteMap["Status"].asString(); + if(!contentNodeErRouteMapsErRouteMap["ErRouteMapName"].isNull()) + erRouteMapObject.erRouteMapName = contentNodeErRouteMapsErRouteMap["ErRouteMapName"].asString(); + if(!contentNodeErRouteMapsErRouteMap["ErRouteMapId"].isNull()) + erRouteMapObject.erRouteMapId = contentNodeErRouteMapsErRouteMap["ErRouteMapId"].asString(); + if(!contentNodeErRouteMapsErRouteMap["ErId"].isNull()) + erRouteMapObject.erId = contentNodeErRouteMapsErRouteMap["ErId"].asString(); + if(!contentNodeErRouteMapsErRouteMap["RouteMapNum"].isNull()) + erRouteMapObject.routeMapNum = std::stoi(contentNodeErRouteMapsErRouteMap["RouteMapNum"].asString()); + if(!contentNodeErRouteMapsErRouteMap["Description"].isNull()) + erRouteMapObject.description = contentNodeErRouteMapsErRouteMap["Description"].asString(); + if(!contentNodeErRouteMapsErRouteMap["DestinationCidrBlock"].isNull()) + erRouteMapObject.destinationCidrBlock = contentNodeErRouteMapsErRouteMap["DestinationCidrBlock"].asString(); + if(!contentNodeErRouteMapsErRouteMap["TransmissionInstanceName"].isNull()) + erRouteMapObject.transmissionInstanceName = contentNodeErRouteMapsErRouteMap["TransmissionInstanceName"].asString(); + if(!contentNodeErRouteMapsErRouteMap["TransmissionInstanceId"].isNull()) + erRouteMapObject.transmissionInstanceId = contentNodeErRouteMapsErRouteMap["TransmissionInstanceId"].asString(); + if(!contentNodeErRouteMapsErRouteMap["TransmissionInstanceType"].isNull()) + erRouteMapObject.transmissionInstanceType = contentNodeErRouteMapsErRouteMap["TransmissionInstanceType"].asString(); + if(!contentNodeErRouteMapsErRouteMap["ReceptionInstanceName"].isNull()) + erRouteMapObject.receptionInstanceName = contentNodeErRouteMapsErRouteMap["ReceptionInstanceName"].asString(); + if(!contentNodeErRouteMapsErRouteMap["ReceptionInstanceId"].isNull()) + erRouteMapObject.receptionInstanceId = contentNodeErRouteMapsErRouteMap["ReceptionInstanceId"].asString(); + if(!contentNodeErRouteMapsErRouteMap["ReceptionInstanceType"].isNull()) + erRouteMapObject.receptionInstanceType = contentNodeErRouteMapsErRouteMap["ReceptionInstanceType"].asString(); + if(!contentNodeErRouteMapsErRouteMap["Action"].isNull()) + erRouteMapObject.action = contentNodeErRouteMapsErRouteMap["Action"].asString(); + if(!contentNodeErRouteMapsErRouteMap["TransmissionInstanceOwner"].isNull()) + erRouteMapObject.transmissionInstanceOwner = contentNodeErRouteMapsErRouteMap["TransmissionInstanceOwner"].asString(); + if(!contentNodeErRouteMapsErRouteMap["ReceptionInstanceOwner"].isNull()) + erRouteMapObject.receptionInstanceOwner = contentNodeErRouteMapsErRouteMap["ReceptionInstanceOwner"].asString(); + content_.erRouteMaps.push_back(erRouteMapObject); + } + auto allErRouteEntrysNode = contentNode["ErRouteEntrys"]["ErRouteEntry"]; + for (auto contentNodeErRouteEntrysErRouteEntry : allErRouteEntrysNode) + { + Content::ErRouteEntry erRouteEntryObject; + if(!contentNodeErRouteEntrysErRouteEntry["ErId"].isNull()) + erRouteEntryObject.erId = contentNodeErRouteEntrysErRouteEntry["ErId"].asString(); + if(!contentNodeErRouteEntrysErRouteEntry["TenantId"].isNull()) + erRouteEntryObject.tenantId = contentNodeErRouteEntrysErRouteEntry["TenantId"].asString(); + if(!contentNodeErRouteEntrysErRouteEntry["ResourceTenantId"].isNull()) + erRouteEntryObject.resourceTenantId = contentNodeErRouteEntrysErRouteEntry["ResourceTenantId"].asString(); + if(!contentNodeErRouteEntrysErRouteEntry["RegionId"].isNull()) + erRouteEntryObject.regionId = contentNodeErRouteEntrysErRouteEntry["RegionId"].asString(); + if(!contentNodeErRouteEntrysErRouteEntry["ErRouteEntryId"].isNull()) + erRouteEntryObject.erRouteEntryId = contentNodeErRouteEntrysErRouteEntry["ErRouteEntryId"].asString(); + if(!contentNodeErRouteEntrysErRouteEntry["DestinationCidrBlock"].isNull()) + erRouteEntryObject.destinationCidrBlock = contentNodeErRouteEntrysErRouteEntry["DestinationCidrBlock"].asString(); + if(!contentNodeErRouteEntrysErRouteEntry["NextHopType"].isNull()) + erRouteEntryObject.nextHopType = contentNodeErRouteEntrysErRouteEntry["NextHopType"].asString(); + if(!contentNodeErRouteEntrysErRouteEntry["NextHopId"].isNull()) + erRouteEntryObject.nextHopId = contentNodeErRouteEntrysErRouteEntry["NextHopId"].asString(); + if(!contentNodeErRouteEntrysErRouteEntry["RouteType"].isNull()) + erRouteEntryObject.routeType = contentNodeErRouteEntrysErRouteEntry["RouteType"].asString(); + if(!contentNodeErRouteEntrysErRouteEntry["Status"].isNull()) + erRouteEntryObject.status = contentNodeErRouteEntrysErRouteEntry["Status"].asString(); + if(!contentNodeErRouteEntrysErRouteEntry["GmtModified"].isNull()) + erRouteEntryObject.gmtModified = contentNodeErRouteEntrysErRouteEntry["GmtModified"].asString(); + content_.erRouteEntrys.push_back(erRouteEntryObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string GetErResult::getMessage()const +{ + return message_; +} + +GetErResult::Content GetErResult::getContent()const +{ + return content_; +} + +int GetErResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/GetErRouteEntryRequest.cc b/eflo/src/model/GetErRouteEntryRequest.cc new file mode 100644 index 000000000..0e9056616 --- /dev/null +++ b/eflo/src/model/GetErRouteEntryRequest.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::Eflo::Model::GetErRouteEntryRequest; + +GetErRouteEntryRequest::GetErRouteEntryRequest() + : RpcServiceRequest("eflo", "2022-05-30", "GetErRouteEntry") { + setMethod(HttpRequest::Method::Post); +} + +GetErRouteEntryRequest::~GetErRouteEntryRequest() {} + +std::string GetErRouteEntryRequest::getErId() const { + return erId_; +} + +void GetErRouteEntryRequest::setErId(const std::string &erId) { + erId_ = erId; + setBodyParameter(std::string("ErId"), erId); +} + +std::string GetErRouteEntryRequest::getRegionId() const { + return regionId_; +} + +void GetErRouteEntryRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +std::string GetErRouteEntryRequest::getErRouteEntryId() const { + return erRouteEntryId_; +} + +void GetErRouteEntryRequest::setErRouteEntryId(const std::string &erRouteEntryId) { + erRouteEntryId_ = erRouteEntryId; + setBodyParameter(std::string("ErRouteEntryId"), erRouteEntryId); +} + diff --git a/eflo/src/model/GetErRouteEntryResult.cc b/eflo/src/model/GetErRouteEntryResult.cc new file mode 100644 index 000000000..a80a9dcf1 --- /dev/null +++ b/eflo/src/model/GetErRouteEntryResult.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +GetErRouteEntryResult::GetErRouteEntryResult() : + ServiceResult() +{} + +GetErRouteEntryResult::GetErRouteEntryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetErRouteEntryResult::~GetErRouteEntryResult() +{} + +void GetErRouteEntryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["RegionId"].isNull()) + content_.regionId = contentNode["RegionId"].asString(); + if(!contentNode["ErRouteEntryId"].isNull()) + content_.erRouteEntryId = contentNode["ErRouteEntryId"].asString(); + if(!contentNode["TenantId"].isNull()) + content_.tenantId = contentNode["TenantId"].asString(); + if(!contentNode["ErId"].isNull()) + content_.erId = contentNode["ErId"].asString(); + if(!contentNode["DestinationCidrBlock"].isNull()) + content_.destinationCidrBlock = contentNode["DestinationCidrBlock"].asString(); + if(!contentNode["NextHopType"].isNull()) + content_.nextHopType = contentNode["NextHopType"].asString(); + if(!contentNode["NextHopId"].isNull()) + content_.nextHopId = contentNode["NextHopId"].asString(); + if(!contentNode["RouteType"].isNull()) + content_.routeType = contentNode["RouteType"].asString(); + if(!contentNode["Status"].isNull()) + content_.status = contentNode["Status"].asString(); + if(!contentNode["GmtModified"].isNull()) + content_.gmtModified = contentNode["GmtModified"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string GetErRouteEntryResult::getMessage()const +{ + return message_; +} + +GetErRouteEntryResult::Content GetErRouteEntryResult::getContent()const +{ + return content_; +} + +int GetErRouteEntryResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/GetErRouteMapRequest.cc b/eflo/src/model/GetErRouteMapRequest.cc new file mode 100644 index 000000000..e9b324b80 --- /dev/null +++ b/eflo/src/model/GetErRouteMapRequest.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::Eflo::Model::GetErRouteMapRequest; + +GetErRouteMapRequest::GetErRouteMapRequest() + : RpcServiceRequest("eflo", "2022-05-30", "GetErRouteMap") { + setMethod(HttpRequest::Method::Post); +} + +GetErRouteMapRequest::~GetErRouteMapRequest() {} + +std::string GetErRouteMapRequest::getErId() const { + return erId_; +} + +void GetErRouteMapRequest::setErId(const std::string &erId) { + erId_ = erId; + setBodyParameter(std::string("ErId"), erId); +} + +std::string GetErRouteMapRequest::getErRouteMapId() const { + return erRouteMapId_; +} + +void GetErRouteMapRequest::setErRouteMapId(const std::string &erRouteMapId) { + erRouteMapId_ = erRouteMapId; + setBodyParameter(std::string("ErRouteMapId"), erRouteMapId); +} + +std::string GetErRouteMapRequest::getRegionId() const { + return regionId_; +} + +void GetErRouteMapRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + diff --git a/eflo/src/model/GetErRouteMapResult.cc b/eflo/src/model/GetErRouteMapResult.cc new file mode 100644 index 000000000..280d4ee4f --- /dev/null +++ b/eflo/src/model/GetErRouteMapResult.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::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +GetErRouteMapResult::GetErRouteMapResult() : + ServiceResult() +{} + +GetErRouteMapResult::GetErRouteMapResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetErRouteMapResult::~GetErRouteMapResult() +{} + +void GetErRouteMapResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["RegionId"].isNull()) + content_.regionId = contentNode["RegionId"].asString(); + if(!contentNode["TenantId"].isNull()) + content_.tenantId = contentNode["TenantId"].asString(); + if(!contentNode["GmtCreate"].isNull()) + content_.gmtCreate = contentNode["GmtCreate"].asString(); + if(!contentNode["GmtModified"].isNull()) + content_.gmtModified = contentNode["GmtModified"].asString(); + if(!contentNode["Message"].isNull()) + content_.message = contentNode["Message"].asString(); + if(!contentNode["Status"].isNull()) + content_.status = contentNode["Status"].asString(); + if(!contentNode["ErRouteMapName"].isNull()) + content_.erRouteMapName = contentNode["ErRouteMapName"].asString(); + if(!contentNode["ErRouteMapId"].isNull()) + content_.erRouteMapId = contentNode["ErRouteMapId"].asString(); + if(!contentNode["ErId"].isNull()) + content_.erId = contentNode["ErId"].asString(); + if(!contentNode["RouteMapNum"].isNull()) + content_.routeMapNum = std::stoi(contentNode["RouteMapNum"].asString()); + if(!contentNode["Description"].isNull()) + content_.description = contentNode["Description"].asString(); + if(!contentNode["DestinationCidrBlock"].isNull()) + content_.destinationCidrBlock = contentNode["DestinationCidrBlock"].asString(); + if(!contentNode["TransmissionInstanceName"].isNull()) + content_.transmissionInstanceName = contentNode["TransmissionInstanceName"].asString(); + if(!contentNode["TransmissionInstanceId"].isNull()) + content_.transmissionInstanceId = contentNode["TransmissionInstanceId"].asString(); + if(!contentNode["TransmissionInstanceType"].isNull()) + content_.transmissionInstanceType = contentNode["TransmissionInstanceType"].asString(); + if(!contentNode["ReceptionInstanceName"].isNull()) + content_.receptionInstanceName = contentNode["ReceptionInstanceName"].asString(); + if(!contentNode["ReceptionInstanceId"].isNull()) + content_.receptionInstanceId = contentNode["ReceptionInstanceId"].asString(); + if(!contentNode["ReceptionInstanceType"].isNull()) + content_.receptionInstanceType = contentNode["ReceptionInstanceType"].asString(); + if(!contentNode["Action"].isNull()) + content_.action = contentNode["Action"].asString(); + if(!contentNode["TransmissionInstanceOwner"].isNull()) + content_.transmissionInstanceOwner = contentNode["TransmissionInstanceOwner"].asString(); + if(!contentNode["ReceptionInstanceOwner"].isNull()) + content_.receptionInstanceOwner = contentNode["ReceptionInstanceOwner"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string GetErRouteMapResult::getMessage()const +{ + return message_; +} + +GetErRouteMapResult::Content GetErRouteMapResult::getContent()const +{ + return content_; +} + +int GetErRouteMapResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/GetFabricTopologyRequest.cc b/eflo/src/model/GetFabricTopologyRequest.cc new file mode 100644 index 000000000..54db4e9b2 --- /dev/null +++ b/eflo/src/model/GetFabricTopologyRequest.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 + +using AlibabaCloud::Eflo::Model::GetFabricTopologyRequest; + +GetFabricTopologyRequest::GetFabricTopologyRequest() + : RpcServiceRequest("eflo", "2022-05-30", "GetFabricTopology") { + setMethod(HttpRequest::Method::Post); +} + +GetFabricTopologyRequest::~GetFabricTopologyRequest() {} + +std::string GetFabricTopologyRequest::getRegionId() const { + return regionId_; +} + +void GetFabricTopologyRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +std::string GetFabricTopologyRequest::getVpdId() const { + return vpdId_; +} + +void GetFabricTopologyRequest::setVpdId(const std::string &vpdId) { + vpdId_ = vpdId; + setBodyParameter(std::string("VpdId"), vpdId); +} + +std::vector GetFabricTopologyRequest::getLniIds() const { + return lniIds_; +} + +void GetFabricTopologyRequest::setLniIds(const std::vector &lniIds) { + lniIds_ = lniIds; +} + +std::vector GetFabricTopologyRequest::getNodeIds() const { + return nodeIds_; +} + +void GetFabricTopologyRequest::setNodeIds(const std::vector &nodeIds) { + nodeIds_ = nodeIds; +} + diff --git a/eflo/src/model/GetFabricTopologyResult.cc b/eflo/src/model/GetFabricTopologyResult.cc new file mode 100644 index 000000000..7a4471f54 --- /dev/null +++ b/eflo/src/model/GetFabricTopologyResult.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +GetFabricTopologyResult::GetFabricTopologyResult() : + ServiceResult() +{} + +GetFabricTopologyResult::GetFabricTopologyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetFabricTopologyResult::~GetFabricTopologyResult() +{} + +void GetFabricTopologyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["RegionId"].isNull()) + content_.regionId = contentNode["RegionId"].asString(); + if(!contentNode["VpdId"].isNull()) + content_.vpdId = contentNode["VpdId"].asString(); + auto allTopoInfoNode = contentNode["TopoInfo"]["Layer"]; + for (auto contentNodeTopoInfoLayer : allTopoInfoNode) + { + Content::Layer layerObject; + if(!contentNodeTopoInfoLayer["LayerType"].isNull()) + layerObject.layerType = contentNodeTopoInfoLayer["LayerType"].asString(); + if(!contentNodeTopoInfoLayer["LayerName"].isNull()) + layerObject.layerName = contentNodeTopoInfoLayer["LayerName"].asString(); + auto allNextLayer = value["NextLayer"]["Layer"]; + for (auto value : allNextLayer) + layerObject.nextLayer.push_back(value.asString()); + content_.topoInfo.push_back(layerObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string GetFabricTopologyResult::getMessage()const +{ + return message_; +} + +GetFabricTopologyResult::Content GetFabricTopologyResult::getContent()const +{ + return content_; +} + +int GetFabricTopologyResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/GetLniPrivateIpAddressRequest.cc b/eflo/src/model/GetLniPrivateIpAddressRequest.cc new file mode 100644 index 000000000..b62230385 --- /dev/null +++ b/eflo/src/model/GetLniPrivateIpAddressRequest.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::Eflo::Model::GetLniPrivateIpAddressRequest; + +GetLniPrivateIpAddressRequest::GetLniPrivateIpAddressRequest() + : RpcServiceRequest("eflo", "2022-05-30", "GetLniPrivateIpAddress") { + setMethod(HttpRequest::Method::Post); +} + +GetLniPrivateIpAddressRequest::~GetLniPrivateIpAddressRequest() {} + +std::string GetLniPrivateIpAddressRequest::getRegionId() const { + return regionId_; +} + +void GetLniPrivateIpAddressRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +std::string GetLniPrivateIpAddressRequest::getIpName() const { + return ipName_; +} + +void GetLniPrivateIpAddressRequest::setIpName(const std::string &ipName) { + ipName_ = ipName; + setBodyParameter(std::string("IpName"), ipName); +} + +std::string GetLniPrivateIpAddressRequest::getNetworkInterfaceId() const { + return networkInterfaceId_; +} + +void GetLniPrivateIpAddressRequest::setNetworkInterfaceId(const std::string &networkInterfaceId) { + networkInterfaceId_ = networkInterfaceId; + setBodyParameter(std::string("NetworkInterfaceId"), networkInterfaceId); +} + diff --git a/eflo/src/model/GetLniPrivateIpAddressResult.cc b/eflo/src/model/GetLniPrivateIpAddressResult.cc new file mode 100644 index 000000000..a0663bab7 --- /dev/null +++ b/eflo/src/model/GetLniPrivateIpAddressResult.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +GetLniPrivateIpAddressResult::GetLniPrivateIpAddressResult() : + ServiceResult() +{} + +GetLniPrivateIpAddressResult::GetLniPrivateIpAddressResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetLniPrivateIpAddressResult::~GetLniPrivateIpAddressResult() +{} + +void GetLniPrivateIpAddressResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["RegionId"].isNull()) + content_.regionId = contentNode["RegionId"].asString(); + if(!contentNode["GmtCreate"].isNull()) + content_.gmtCreate = contentNode["GmtCreate"].asString(); + if(!contentNode["NetworkInterfaceId"].isNull()) + content_.networkInterfaceId = contentNode["NetworkInterfaceId"].asString(); + if(!contentNode["IpName"].isNull()) + content_.ipName = contentNode["IpName"].asString(); + if(!contentNode["PrivateIpAddress"].isNull()) + content_.privateIpAddress = contentNode["PrivateIpAddress"].asString(); + if(!contentNode["IpAddressMac"].isNull()) + content_.ipAddressMac = contentNode["IpAddressMac"].asString(); + if(!contentNode["Status"].isNull()) + content_.status = contentNode["Status"].asString(); + if(!contentNode["Description"].isNull()) + content_.description = contentNode["Description"].asString(); + if(!contentNode["Message"].isNull()) + content_.message = contentNode["Message"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string GetLniPrivateIpAddressResult::getMessage()const +{ + return message_; +} + +GetLniPrivateIpAddressResult::Content GetLniPrivateIpAddressResult::getContent()const +{ + return content_; +} + +int GetLniPrivateIpAddressResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/GetNetworkInterfaceRequest.cc b/eflo/src/model/GetNetworkInterfaceRequest.cc new file mode 100644 index 000000000..9eb44b4be --- /dev/null +++ b/eflo/src/model/GetNetworkInterfaceRequest.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::Eflo::Model::GetNetworkInterfaceRequest; + +GetNetworkInterfaceRequest::GetNetworkInterfaceRequest() + : RpcServiceRequest("eflo", "2022-05-30", "GetNetworkInterface") { + setMethod(HttpRequest::Method::Post); +} + +GetNetworkInterfaceRequest::~GetNetworkInterfaceRequest() {} + +std::string GetNetworkInterfaceRequest::getSubnetId() const { + return subnetId_; +} + +void GetNetworkInterfaceRequest::setSubnetId(const std::string &subnetId) { + subnetId_ = subnetId; + setBodyParameter(std::string("SubnetId"), subnetId); +} + +std::string GetNetworkInterfaceRequest::getRegionId() const { + return regionId_; +} + +void GetNetworkInterfaceRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +std::string GetNetworkInterfaceRequest::getNetworkInterfaceId() const { + return networkInterfaceId_; +} + +void GetNetworkInterfaceRequest::setNetworkInterfaceId(const std::string &networkInterfaceId) { + networkInterfaceId_ = networkInterfaceId; + setBodyParameter(std::string("NetworkInterfaceId"), networkInterfaceId); +} + diff --git a/eflo/src/model/GetNetworkInterfaceResult.cc b/eflo/src/model/GetNetworkInterfaceResult.cc new file mode 100644 index 000000000..d9913adb7 --- /dev/null +++ b/eflo/src/model/GetNetworkInterfaceResult.cc @@ -0,0 +1,129 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +GetNetworkInterfaceResult::GetNetworkInterfaceResult() : + ServiceResult() +{} + +GetNetworkInterfaceResult::GetNetworkInterfaceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetNetworkInterfaceResult::~GetNetworkInterfaceResult() +{} + +void GetNetworkInterfaceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["TenantId"].isNull()) + content_.tenantId = contentNode["TenantId"].asString(); + if(!contentNode["RegionId"].isNull()) + content_.regionId = contentNode["RegionId"].asString(); + if(!contentNode["NetworkInterfaceId"].isNull()) + content_.networkInterfaceId = contentNode["NetworkInterfaceId"].asString(); + if(!contentNode["NodeId"].isNull()) + content_.nodeId = contentNode["NodeId"].asString(); + if(!contentNode["ZoneId"].isNull()) + content_.zoneId = contentNode["ZoneId"].asString(); + if(!contentNode["Ip"].isNull()) + content_.ip = contentNode["Ip"].asString(); + if(!contentNode["ServiceMac"].isNull()) + content_.serviceMac = contentNode["ServiceMac"].asString(); + if(!contentNode["Status"].isNull()) + content_.status = contentNode["Status"].asString(); + if(!contentNode["Gateway"].isNull()) + content_.gateway = contentNode["Gateway"].asString(); + if(!contentNode["CreateTime"].isNull()) + content_.createTime = contentNode["CreateTime"].asString(); + if(!contentNode["Quota"].isNull()) + content_.quota = std::stoi(contentNode["Quota"].asString()); + if(!contentNode["NcType"].isNull()) + content_.ncType = contentNode["NcType"].asString(); + if(!contentNode["NetworkInterfaceName"].isNull()) + content_.networkInterfaceName = contentNode["NetworkInterfaceName"].asString(); + auto allPrivateIpAddressMacGroupNode = contentNode["PrivateIpAddressMacGroup"]["PrivateIpAddressMacGroupItem"]; + for (auto contentNodePrivateIpAddressMacGroupPrivateIpAddressMacGroupItem : allPrivateIpAddressMacGroupNode) + { + Content::PrivateIpAddressMacGroupItem privateIpAddressMacGroupItemObject; + if(!contentNodePrivateIpAddressMacGroupPrivateIpAddressMacGroupItem["IpName"].isNull()) + privateIpAddressMacGroupItemObject.ipName = contentNodePrivateIpAddressMacGroupPrivateIpAddressMacGroupItem["IpName"].asString(); + if(!contentNodePrivateIpAddressMacGroupPrivateIpAddressMacGroupItem["PrivateIpAddress"].isNull()) + privateIpAddressMacGroupItemObject.privateIpAddress = contentNodePrivateIpAddressMacGroupPrivateIpAddressMacGroupItem["PrivateIpAddress"].asString(); + if(!contentNodePrivateIpAddressMacGroupPrivateIpAddressMacGroupItem["IpAddressMac"].isNull()) + privateIpAddressMacGroupItemObject.ipAddressMac = contentNodePrivateIpAddressMacGroupPrivateIpAddressMacGroupItem["IpAddressMac"].asString(); + if(!contentNodePrivateIpAddressMacGroupPrivateIpAddressMacGroupItem["Status"].isNull()) + privateIpAddressMacGroupItemObject.status = contentNodePrivateIpAddressMacGroupPrivateIpAddressMacGroupItem["Status"].asString(); + if(!contentNodePrivateIpAddressMacGroupPrivateIpAddressMacGroupItem["Description"].isNull()) + privateIpAddressMacGroupItemObject.description = contentNodePrivateIpAddressMacGroupPrivateIpAddressMacGroupItem["Description"].asString(); + if(!contentNodePrivateIpAddressMacGroupPrivateIpAddressMacGroupItem["Message"].isNull()) + privateIpAddressMacGroupItemObject.message = contentNodePrivateIpAddressMacGroupPrivateIpAddressMacGroupItem["Message"].asString(); + content_.privateIpAddressMacGroup.push_back(privateIpAddressMacGroupItemObject); + } + auto vpdBaseInfoNode = contentNode["VpdBaseInfo"]; + if(!vpdBaseInfoNode["VpdId"].isNull()) + content_.vpdBaseInfo.vpdId = vpdBaseInfoNode["VpdId"].asString(); + if(!vpdBaseInfoNode["VpdName"].isNull()) + content_.vpdBaseInfo.vpdName = vpdBaseInfoNode["VpdName"].asString(); + if(!vpdBaseInfoNode["Cidr"].isNull()) + content_.vpdBaseInfo.cidr = vpdBaseInfoNode["Cidr"].asString(); + if(!vpdBaseInfoNode["CreateTime"].isNull()) + content_.vpdBaseInfo.createTime = vpdBaseInfoNode["CreateTime"].asString(); + auto subnetBaseInfoNode = contentNode["SubnetBaseInfo"]; + if(!subnetBaseInfoNode["SubnetId"].isNull()) + content_.subnetBaseInfo.subnetId = subnetBaseInfoNode["SubnetId"].asString(); + if(!subnetBaseInfoNode["SubnetName"].isNull()) + content_.subnetBaseInfo.subnetName = subnetBaseInfoNode["SubnetName"].asString(); + if(!subnetBaseInfoNode["Cidr"].isNull()) + content_.subnetBaseInfo.cidr = subnetBaseInfoNode["Cidr"].asString(); + if(!subnetBaseInfoNode["CreateTime"].isNull()) + content_.subnetBaseInfo.createTime = subnetBaseInfoNode["CreateTime"].asString(); + auto allEthernet = contentNode["Ethernet"]["Ethernet"]; + for (auto value : allEthernet) + content_.ethernet.push_back(value.asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string GetNetworkInterfaceResult::getMessage()const +{ + return message_; +} + +GetNetworkInterfaceResult::Content GetNetworkInterfaceResult::getContent()const +{ + return content_; +} + +int GetNetworkInterfaceResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/GetSubnetRequest.cc b/eflo/src/model/GetSubnetRequest.cc index 35718ecd9..5486d6801 100644 --- a/eflo/src/model/GetSubnetRequest.cc +++ b/eflo/src/model/GetSubnetRequest.cc @@ -34,3 +34,21 @@ void GetSubnetRequest::setSubnetId(const std::string &subnetId) { setBodyParameter(std::string("SubnetId"), subnetId); } +std::string GetSubnetRequest::getRegionId() const { + return regionId_; +} + +void GetSubnetRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +std::string GetSubnetRequest::getVpdId() const { + return vpdId_; +} + +void GetSubnetRequest::setVpdId(const std::string &vpdId) { + vpdId_ = vpdId; + setBodyParameter(std::string("VpdId"), vpdId); +} + diff --git a/eflo/src/model/GetSubnetResult.cc b/eflo/src/model/GetSubnetResult.cc index 6513e660d..4bb573b27 100644 --- a/eflo/src/model/GetSubnetResult.cc +++ b/eflo/src/model/GetSubnetResult.cc @@ -40,10 +40,8 @@ void GetSubnetResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto contentNode = value["Content"]; - if(!contentNode["Id"].isNull()) - content_.id = std::stol(contentNode["Id"].asString()); - if(!contentNode["GmtCreate"].isNull()) - content_.gmtCreate = contentNode["GmtCreate"].asString(); + if(!contentNode["CreateTime"].isNull()) + content_.createTime = contentNode["CreateTime"].asString(); if(!contentNode["GmtModified"].isNull()) content_.gmtModified = contentNode["GmtModified"].asString(); if(!contentNode["TenantId"].isNull()) @@ -54,12 +52,10 @@ void GetSubnetResult::parse(const std::string &payload) content_.zoneId = contentNode["ZoneId"].asString(); if(!contentNode["SubnetId"].isNull()) content_.subnetId = contentNode["SubnetId"].asString(); - if(!contentNode["Name"].isNull()) - content_.name = contentNode["Name"].asString(); + if(!contentNode["SubnetName"].isNull()) + content_.subnetName = contentNode["SubnetName"].asString(); if(!contentNode["Cidr"].isNull()) content_.cidr = contentNode["Cidr"].asString(); - if(!contentNode["Description"].isNull()) - content_.description = contentNode["Description"].asString(); if(!contentNode["VpdId"].isNull()) content_.vpdId = contentNode["VpdId"].asString(); if(!contentNode["Type"].isNull()) @@ -69,18 +65,36 @@ void GetSubnetResult::parse(const std::string &payload) if(!contentNode["Message"].isNull()) content_.message = contentNode["Message"].asString(); if(!contentNode["NcCount"].isNull()) - content_.ncCount = std::stol(contentNode["NcCount"].asString()); + content_.ncCount = std::stoi(contentNode["NcCount"].asString()); + if(!contentNode["NetworkInterfaceCount"].isNull()) + content_.networkInterfaceCount = std::stoi(contentNode["NetworkInterfaceCount"].asString()); if(!contentNode["LbCount"].isNull()) content_.lbCount = std::stol(contentNode["LbCount"].asString()); + if(!contentNode["ResourceGroupId"].isNull()) + content_.resourceGroupId = contentNode["ResourceGroupId"].asString(); + if(!contentNode["PrivateIpCount"].isNull()) + content_.privateIpCount = std::stol(contentNode["PrivateIpCount"].asString()); + if(!contentNode["AvailableIps"].isNull()) + content_.availableIps = std::stoi(contentNode["AvailableIps"].asString()); + auto allTagsNode = contentNode["Tags"]["Tag"]; + for (auto contentNodeTagsTag : allTagsNode) + { + Content::Tag tagObject; + if(!contentNodeTagsTag["TagKey"].isNull()) + tagObject.tagKey = contentNodeTagsTag["TagKey"].asString(); + if(!contentNodeTagsTag["TagValue"].isNull()) + tagObject.tagValue = contentNodeTagsTag["TagValue"].asString(); + content_.tags.push_back(tagObject); + } auto vpdBaseInfoNode = contentNode["VpdBaseInfo"]; if(!vpdBaseInfoNode["VpdId"].isNull()) content_.vpdBaseInfo.vpdId = vpdBaseInfoNode["VpdId"].asString(); - if(!vpdBaseInfoNode["Name"].isNull()) - content_.vpdBaseInfo.name = vpdBaseInfoNode["Name"].asString(); + if(!vpdBaseInfoNode["VpdName"].isNull()) + content_.vpdBaseInfo.vpdName = vpdBaseInfoNode["VpdName"].asString(); if(!vpdBaseInfoNode["Cidr"].isNull()) content_.vpdBaseInfo.cidr = vpdBaseInfoNode["Cidr"].asString(); - if(!vpdBaseInfoNode["GmtCreate"].isNull()) - content_.vpdBaseInfo.gmtCreate = vpdBaseInfoNode["GmtCreate"].asString(); + if(!vpdBaseInfoNode["CreateTime"].isNull()) + content_.vpdBaseInfo.createTime = vpdBaseInfoNode["CreateTime"].asString(); if(!value["Code"].isNull()) code_ = std::stoi(value["Code"].asString()); if(!value["Message"].isNull()) diff --git a/eflo/src/model/GetVccGrantRuleRequest.cc b/eflo/src/model/GetVccGrantRuleRequest.cc new file mode 100644 index 000000000..5ef57efc9 --- /dev/null +++ b/eflo/src/model/GetVccGrantRuleRequest.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::Eflo::Model::GetVccGrantRuleRequest; + +GetVccGrantRuleRequest::GetVccGrantRuleRequest() + : RpcServiceRequest("eflo", "2022-05-30", "GetVccGrantRule") { + setMethod(HttpRequest::Method::Post); +} + +GetVccGrantRuleRequest::~GetVccGrantRuleRequest() {} + +std::string GetVccGrantRuleRequest::getErId() const { + return erId_; +} + +void GetVccGrantRuleRequest::setErId(const std::string &erId) { + erId_ = erId; + setBodyParameter(std::string("ErId"), erId); +} + +std::string GetVccGrantRuleRequest::getGrantTenantId() const { + return grantTenantId_; +} + +void GetVccGrantRuleRequest::setGrantTenantId(const std::string &grantTenantId) { + grantTenantId_ = grantTenantId; + setBodyParameter(std::string("GrantTenantId"), grantTenantId); +} + +std::string GetVccGrantRuleRequest::getInstanceId() const { + return instanceId_; +} + +void GetVccGrantRuleRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setBodyParameter(std::string("InstanceId"), instanceId); +} + +std::string GetVccGrantRuleRequest::getRegionId() const { + return regionId_; +} + +void GetVccGrantRuleRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +std::string GetVccGrantRuleRequest::getGrantRuleId() const { + return grantRuleId_; +} + +void GetVccGrantRuleRequest::setGrantRuleId(const std::string &grantRuleId) { + grantRuleId_ = grantRuleId; + setBodyParameter(std::string("GrantRuleId"), grantRuleId); +} + diff --git a/eflo/src/model/GetVccGrantRuleResult.cc b/eflo/src/model/GetVccGrantRuleResult.cc new file mode 100644 index 000000000..bb97252a2 --- /dev/null +++ b/eflo/src/model/GetVccGrantRuleResult.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +GetVccGrantRuleResult::GetVccGrantRuleResult() : + ServiceResult() +{} + +GetVccGrantRuleResult::GetVccGrantRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetVccGrantRuleResult::~GetVccGrantRuleResult() +{} + +void GetVccGrantRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["RegionId"].isNull()) + content_.regionId = contentNode["RegionId"].asString(); + if(!contentNode["TenantId"].isNull()) + content_.tenantId = contentNode["TenantId"].asString(); + if(!contentNode["InstanceId"].isNull()) + content_.instanceId = contentNode["InstanceId"].asString(); + if(!contentNode["InstanceName"].isNull()) + content_.instanceName = contentNode["InstanceName"].asString(); + if(!contentNode["Product"].isNull()) + content_.product = contentNode["Product"].asString(); + if(!contentNode["ErId"].isNull()) + content_.erId = contentNode["ErId"].asString(); + if(!contentNode["GrantTenantId"].isNull()) + content_.grantTenantId = contentNode["GrantTenantId"].asString(); + if(!contentNode["Used"].isNull()) + content_.used = contentNode["Used"].asString() == "true"; + if(!contentNode["CreateTime"].isNull()) + content_.createTime = contentNode["CreateTime"].asString(); + if(!contentNode["GrantRuleId"].isNull()) + content_.grantRuleId = contentNode["GrantRuleId"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string GetVccGrantRuleResult::getMessage()const +{ + return message_; +} + +GetVccGrantRuleResult::Content GetVccGrantRuleResult::getContent()const +{ + return content_; +} + +int GetVccGrantRuleResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/GetVccRequest.cc b/eflo/src/model/GetVccRequest.cc index 45e60ff36..326e06b0a 100644 --- a/eflo/src/model/GetVccRequest.cc +++ b/eflo/src/model/GetVccRequest.cc @@ -25,6 +25,15 @@ GetVccRequest::GetVccRequest() GetVccRequest::~GetVccRequest() {} +int GetVccRequest::getPageNumber() const { + return pageNumber_; +} + +void GetVccRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + std::string GetVccRequest::getRegionId() const { return regionId_; } @@ -34,6 +43,24 @@ void GetVccRequest::setRegionId(const std::string ®ionId) { setBodyParameter(std::string("RegionId"), regionId); } +bool GetVccRequest::getEnablePage() const { + return enablePage_; +} + +void GetVccRequest::setEnablePage(bool enablePage) { + enablePage_ = enablePage; + setBodyParameter(std::string("EnablePage"), enablePage ? "true" : "false"); +} + +int GetVccRequest::getPageSize() const { + return pageSize_; +} + +void GetVccRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + std::string GetVccRequest::getVccId() const { return vccId_; } diff --git a/eflo/src/model/GetVccResult.cc b/eflo/src/model/GetVccResult.cc index d60bde09a..d0631f163 100644 --- a/eflo/src/model/GetVccResult.cc +++ b/eflo/src/model/GetVccResult.cc @@ -44,6 +44,8 @@ void GetVccResult::parse(const std::string &payload) content_.tenantId = contentNode["TenantId"].asString(); if(!contentNode["RegionId"].isNull()) content_.regionId = contentNode["RegionId"].asString(); + if(!contentNode["ZoneId"].isNull()) + content_.zoneId = contentNode["ZoneId"].asString(); if(!contentNode["VccId"].isNull()) content_.vccId = contentNode["VccId"].asString(); if(!contentNode["VpdId"].isNull()) @@ -88,6 +90,46 @@ void GetVccResult::parse(const std::string &payload) content_.commodityCode = contentNode["CommodityCode"].asString(); if(!contentNode["BgpCidr"].isNull()) content_.bgpCidr = contentNode["BgpCidr"].asString(); + if(!contentNode["ExpirationDate"].isNull()) + content_.expirationDate = contentNode["ExpirationDate"].asString(); + if(!contentNode["AttachErStatus"].isNull()) + content_.attachErStatus = contentNode["AttachErStatus"].asString() == "true"; + if(!contentNode["ResourceGroupId"].isNull()) + content_.resourceGroupId = contentNode["ResourceGroupId"].asString(); + if(!contentNode["ConnectionType"].isNull()) + content_.connectionType = contentNode["ConnectionType"].asString(); + if(!contentNode["CenOwnerId"].isNull()) + content_.cenOwnerId = contentNode["CenOwnerId"].asString(); + auto allErInfosNode = contentNode["ErInfos"]["ErInfo"]; + for (auto contentNodeErInfosErInfo : allErInfosNode) + { + Content::ErInfo erInfoObject; + if(!contentNodeErInfosErInfo["CreateTime"].isNull()) + erInfoObject.createTime = contentNodeErInfosErInfo["CreateTime"].asString(); + if(!contentNodeErInfosErInfo["GmtModified"].isNull()) + erInfoObject.gmtModified = contentNodeErInfosErInfo["GmtModified"].asString(); + if(!contentNodeErInfosErInfo["Message"].isNull()) + erInfoObject.message = contentNodeErInfosErInfo["Message"].asString(); + if(!contentNodeErInfosErInfo["ErId"].isNull()) + erInfoObject.erId = contentNodeErInfosErInfo["ErId"].asString(); + if(!contentNodeErInfosErInfo["RegionId"].isNull()) + erInfoObject.regionId = contentNodeErInfosErInfo["RegionId"].asString(); + if(!contentNodeErInfosErInfo["TenantId"].isNull()) + erInfoObject.tenantId = contentNodeErInfosErInfo["TenantId"].asString(); + if(!contentNodeErInfosErInfo["Status"].isNull()) + erInfoObject.status = contentNodeErInfosErInfo["Status"].asString(); + if(!contentNodeErInfosErInfo["ErName"].isNull()) + erInfoObject.erName = contentNodeErInfosErInfo["ErName"].asString(); + if(!contentNodeErInfosErInfo["MasterZoneId"].isNull()) + erInfoObject.masterZoneId = contentNodeErInfosErInfo["MasterZoneId"].asString(); + if(!contentNodeErInfosErInfo["Description"].isNull()) + erInfoObject.description = contentNodeErInfosErInfo["Description"].asString(); + if(!contentNodeErInfosErInfo["Connections"].isNull()) + erInfoObject.connections = std::stol(contentNodeErInfosErInfo["Connections"].asString()); + if(!contentNodeErInfosErInfo["RouteMaps"].isNull()) + erInfoObject.routeMaps = std::stol(contentNodeErInfosErInfo["RouteMaps"].asString()); + content_.erInfos.push_back(erInfoObject); + } auto allAliyunRouterInfoNode = contentNode["AliyunRouterInfo"]["AliyunRouterInfoItem"]; for (auto contentNodeAliyunRouterInfoAliyunRouterInfoItem : allAliyunRouterInfoNode) { @@ -132,15 +174,25 @@ void GetVccResult::parse(const std::string &payload) } content_.cisRouterInfo.push_back(cisRouterInfoItemObject); } + auto allTagsNode = contentNode["Tags"]["Tag"]; + for (auto contentNodeTagsTag : allTagsNode) + { + Content::Tag tagObject; + if(!contentNodeTagsTag["TagKey"].isNull()) + tagObject.tagKey = contentNodeTagsTag["TagKey"].asString(); + if(!contentNodeTagsTag["TagValue"].isNull()) + tagObject.tagValue = contentNodeTagsTag["TagValue"].asString(); + content_.tags.push_back(tagObject); + } auto vpdBaseInfoNode = contentNode["VpdBaseInfo"]; if(!vpdBaseInfoNode["VpdId"].isNull()) content_.vpdBaseInfo.vpdId = vpdBaseInfoNode["VpdId"].asString(); - if(!vpdBaseInfoNode["Name"].isNull()) - content_.vpdBaseInfo.name = vpdBaseInfoNode["Name"].asString(); + if(!vpdBaseInfoNode["VpdName"].isNull()) + content_.vpdBaseInfo.vpdName = vpdBaseInfoNode["VpdName"].asString(); if(!vpdBaseInfoNode["Cidr"].isNull()) content_.vpdBaseInfo.cidr = vpdBaseInfoNode["Cidr"].asString(); - if(!vpdBaseInfoNode["GmtCreate"].isNull()) - content_.vpdBaseInfo.gmtCreate = vpdBaseInfoNode["GmtCreate"].asString(); + if(!vpdBaseInfoNode["CreateTime"].isNull()) + content_.vpdBaseInfo.createTime = vpdBaseInfoNode["CreateTime"].asString(); if(!value["Code"].isNull()) code_ = std::stoi(value["Code"].asString()); if(!value["Message"].isNull()) diff --git a/eflo/src/model/GetVccRouteEntryRequest.cc b/eflo/src/model/GetVccRouteEntryRequest.cc new file mode 100644 index 000000000..4258d6c68 --- /dev/null +++ b/eflo/src/model/GetVccRouteEntryRequest.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::Eflo::Model::GetVccRouteEntryRequest; + +GetVccRouteEntryRequest::GetVccRouteEntryRequest() + : RpcServiceRequest("eflo", "2022-05-30", "GetVccRouteEntry") { + setMethod(HttpRequest::Method::Post); +} + +GetVccRouteEntryRequest::~GetVccRouteEntryRequest() {} + +std::string GetVccRouteEntryRequest::getRegionId() const { + return regionId_; +} + +void GetVccRouteEntryRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +std::string GetVccRouteEntryRequest::getVccId() const { + return vccId_; +} + +void GetVccRouteEntryRequest::setVccId(const std::string &vccId) { + vccId_ = vccId; + setBodyParameter(std::string("VccId"), vccId); +} + +std::string GetVccRouteEntryRequest::getVccRouteEntryId() const { + return vccRouteEntryId_; +} + +void GetVccRouteEntryRequest::setVccRouteEntryId(const std::string &vccRouteEntryId) { + vccRouteEntryId_ = vccRouteEntryId; + setBodyParameter(std::string("VccRouteEntryId"), vccRouteEntryId); +} + diff --git a/eflo/src/model/GetVccRouteEntryResult.cc b/eflo/src/model/GetVccRouteEntryResult.cc new file mode 100644 index 000000000..3406c7c1e --- /dev/null +++ b/eflo/src/model/GetVccRouteEntryResult.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +GetVccRouteEntryResult::GetVccRouteEntryResult() : + ServiceResult() +{} + +GetVccRouteEntryResult::GetVccRouteEntryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetVccRouteEntryResult::~GetVccRouteEntryResult() +{} + +void GetVccRouteEntryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["RegionId"].isNull()) + content_.regionId = contentNode["RegionId"].asString(); + if(!contentNode["VccRouteEntryId"].isNull()) + content_.vccRouteEntryId = contentNode["VccRouteEntryId"].asString(); + if(!contentNode["TenantId"].isNull()) + content_.tenantId = contentNode["TenantId"].asString(); + if(!contentNode["VccId"].isNull()) + content_.vccId = contentNode["VccId"].asString(); + if(!contentNode["DestinationCidrBlock"].isNull()) + content_.destinationCidrBlock = contentNode["DestinationCidrBlock"].asString(); + if(!contentNode["NextHopType"].isNull()) + content_.nextHopType = contentNode["NextHopType"].asString(); + if(!contentNode["NextHopId"].isNull()) + content_.nextHopId = contentNode["NextHopId"].asString(); + if(!contentNode["RouteType"].isNull()) + content_.routeType = contentNode["RouteType"].asString(); + if(!contentNode["Status"].isNull()) + content_.status = contentNode["Status"].asString(); + if(!contentNode["GmtModified"].isNull()) + content_.gmtModified = contentNode["GmtModified"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string GetVccRouteEntryResult::getMessage()const +{ + return message_; +} + +GetVccRouteEntryResult::Content GetVccRouteEntryResult::getContent()const +{ + return content_; +} + +int GetVccRouteEntryResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/GetVpdGrantRuleRequest.cc b/eflo/src/model/GetVpdGrantRuleRequest.cc new file mode 100644 index 000000000..7aa986cb5 --- /dev/null +++ b/eflo/src/model/GetVpdGrantRuleRequest.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::Eflo::Model::GetVpdGrantRuleRequest; + +GetVpdGrantRuleRequest::GetVpdGrantRuleRequest() + : RpcServiceRequest("eflo", "2022-05-30", "GetVpdGrantRule") { + setMethod(HttpRequest::Method::Post); +} + +GetVpdGrantRuleRequest::~GetVpdGrantRuleRequest() {} + +std::string GetVpdGrantRuleRequest::getErId() const { + return erId_; +} + +void GetVpdGrantRuleRequest::setErId(const std::string &erId) { + erId_ = erId; + setBodyParameter(std::string("ErId"), erId); +} + +std::string GetVpdGrantRuleRequest::getGrantTenantId() const { + return grantTenantId_; +} + +void GetVpdGrantRuleRequest::setGrantTenantId(const std::string &grantTenantId) { + grantTenantId_ = grantTenantId; + setBodyParameter(std::string("GrantTenantId"), grantTenantId); +} + +std::string GetVpdGrantRuleRequest::getInstanceId() const { + return instanceId_; +} + +void GetVpdGrantRuleRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setBodyParameter(std::string("InstanceId"), instanceId); +} + +std::string GetVpdGrantRuleRequest::getRegionId() const { + return regionId_; +} + +void GetVpdGrantRuleRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +std::string GetVpdGrantRuleRequest::getGrantRuleId() const { + return grantRuleId_; +} + +void GetVpdGrantRuleRequest::setGrantRuleId(const std::string &grantRuleId) { + grantRuleId_ = grantRuleId; + setBodyParameter(std::string("GrantRuleId"), grantRuleId); +} + diff --git a/eflo/src/model/GetVpdGrantRuleResult.cc b/eflo/src/model/GetVpdGrantRuleResult.cc new file mode 100644 index 000000000..c4c351928 --- /dev/null +++ b/eflo/src/model/GetVpdGrantRuleResult.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +GetVpdGrantRuleResult::GetVpdGrantRuleResult() : + ServiceResult() +{} + +GetVpdGrantRuleResult::GetVpdGrantRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetVpdGrantRuleResult::~GetVpdGrantRuleResult() +{} + +void GetVpdGrantRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["RegionId"].isNull()) + content_.regionId = contentNode["RegionId"].asString(); + if(!contentNode["TenantId"].isNull()) + content_.tenantId = contentNode["TenantId"].asString(); + if(!contentNode["InstanceId"].isNull()) + content_.instanceId = contentNode["InstanceId"].asString(); + if(!contentNode["InstanceName"].isNull()) + content_.instanceName = contentNode["InstanceName"].asString(); + if(!contentNode["Product"].isNull()) + content_.product = contentNode["Product"].asString(); + if(!contentNode["ErId"].isNull()) + content_.erId = contentNode["ErId"].asString(); + if(!contentNode["GrantTenantId"].isNull()) + content_.grantTenantId = contentNode["GrantTenantId"].asString(); + if(!contentNode["Used"].isNull()) + content_.used = contentNode["Used"].asString() == "true"; + if(!contentNode["CreateTime"].isNull()) + content_.createTime = contentNode["CreateTime"].asString(); + if(!contentNode["GrantRuleId"].isNull()) + content_.grantRuleId = contentNode["GrantRuleId"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string GetVpdGrantRuleResult::getMessage()const +{ + return message_; +} + +GetVpdGrantRuleResult::Content GetVpdGrantRuleResult::getContent()const +{ + return content_; +} + +int GetVpdGrantRuleResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/GetVpdRequest.cc b/eflo/src/model/GetVpdRequest.cc index 18d47a1ec..e34c0e667 100644 --- a/eflo/src/model/GetVpdRequest.cc +++ b/eflo/src/model/GetVpdRequest.cc @@ -25,6 +25,15 @@ GetVpdRequest::GetVpdRequest() GetVpdRequest::~GetVpdRequest() {} +std::string GetVpdRequest::getRegionId() const { + return regionId_; +} + +void GetVpdRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + std::string GetVpdRequest::getVpdId() const { return vpdId_; } diff --git a/eflo/src/model/GetVpdResult.cc b/eflo/src/model/GetVpdResult.cc index 12b99e772..5a4c4b101 100644 --- a/eflo/src/model/GetVpdResult.cc +++ b/eflo/src/model/GetVpdResult.cc @@ -44,32 +44,79 @@ void GetVpdResult::parse(const std::string &payload) content_.regionId = contentNode["RegionId"].asString(); if(!contentNode["VpdId"].isNull()) content_.vpdId = contentNode["VpdId"].asString(); - if(!contentNode["Name"].isNull()) - content_.name = contentNode["Name"].asString(); + if(!contentNode["VpdName"].isNull()) + content_.vpdName = contentNode["VpdName"].asString(); if(!contentNode["Cidr"].isNull()) content_.cidr = contentNode["Cidr"].asString(); if(!contentNode["ServiceCidr"].isNull()) content_.serviceCidr = contentNode["ServiceCidr"].asString(); if(!contentNode["Status"].isNull()) content_.status = contentNode["Status"].asString(); - if(!contentNode["Description"].isNull()) - content_.description = contentNode["Description"].asString(); if(!contentNode["Message"].isNull()) content_.message = contentNode["Message"].asString(); - if(!contentNode["Route"].isNull()) - content_.route = std::stoi(contentNode["Route"].asString()); if(!contentNode["NcCount"].isNull()) - content_.ncCount = std::stol(contentNode["NcCount"].asString()); + content_.ncCount = std::stoi(contentNode["NcCount"].asString()); + if(!contentNode["NetworkInterfaceCount"].isNull()) + content_.networkInterfaceCount = std::stoi(contentNode["NetworkInterfaceCount"].asString()); if(!contentNode["SubnetCount"].isNull()) content_.subnetCount = std::stol(contentNode["SubnetCount"].asString()); - if(!contentNode["LbCount"].isNull()) - content_.lbCount = std::stol(contentNode["LbCount"].asString()); - if(!contentNode["VccCount"].isNull()) - content_.vccCount = std::stol(contentNode["VccCount"].asString()); - if(!contentNode["GmtCreate"].isNull()) - content_.gmtCreate = contentNode["GmtCreate"].asString(); + if(!contentNode["CreateTime"].isNull()) + content_.createTime = contentNode["CreateTime"].asString(); if(!contentNode["GmtModified"].isNull()) content_.gmtModified = contentNode["GmtModified"].asString(); + if(!contentNode["TenantId"].isNull()) + content_.tenantId = contentNode["TenantId"].asString(); + if(!contentNode["AttachErStatus"].isNull()) + content_.attachErStatus = contentNode["AttachErStatus"].asString() == "true"; + if(!contentNode["ResourceGroupId"].isNull()) + content_.resourceGroupId = contentNode["ResourceGroupId"].asString(); + if(!contentNode["Quota"].isNull()) + content_.quota = std::stoi(contentNode["Quota"].asString()); + if(!contentNode["PrivateIpCount"].isNull()) + content_.privateIpCount = std::stol(contentNode["PrivateIpCount"].asString()); + auto allErInfosNode = contentNode["ErInfos"]["ErInfo"]; + for (auto contentNodeErInfosErInfo : allErInfosNode) + { + Content::ErInfo erInfoObject; + if(!contentNodeErInfosErInfo["CreateTime"].isNull()) + erInfoObject.createTime = contentNodeErInfosErInfo["CreateTime"].asString(); + if(!contentNodeErInfosErInfo["GmtModified"].isNull()) + erInfoObject.gmtModified = contentNodeErInfosErInfo["GmtModified"].asString(); + if(!contentNodeErInfosErInfo["Message"].isNull()) + erInfoObject.message = contentNodeErInfosErInfo["Message"].asString(); + if(!contentNodeErInfosErInfo["ErId"].isNull()) + erInfoObject.erId = contentNodeErInfosErInfo["ErId"].asString(); + if(!contentNodeErInfosErInfo["RegionId"].isNull()) + erInfoObject.regionId = contentNodeErInfosErInfo["RegionId"].asString(); + if(!contentNodeErInfosErInfo["TenantId"].isNull()) + erInfoObject.tenantId = contentNodeErInfosErInfo["TenantId"].asString(); + if(!contentNodeErInfosErInfo["Status"].isNull()) + erInfoObject.status = contentNodeErInfosErInfo["Status"].asString(); + if(!contentNodeErInfosErInfo["ErName"].isNull()) + erInfoObject.erName = contentNodeErInfosErInfo["ErName"].asString(); + if(!contentNodeErInfosErInfo["MasterZoneId"].isNull()) + erInfoObject.masterZoneId = contentNodeErInfosErInfo["MasterZoneId"].asString(); + if(!contentNodeErInfosErInfo["Description"].isNull()) + erInfoObject.description = contentNodeErInfosErInfo["Description"].asString(); + if(!contentNodeErInfosErInfo["Connections"].isNull()) + erInfoObject.connections = std::stol(contentNodeErInfosErInfo["Connections"].asString()); + if(!contentNodeErInfosErInfo["RouteMaps"].isNull()) + erInfoObject.routeMaps = std::stol(contentNodeErInfosErInfo["RouteMaps"].asString()); + content_.erInfos.push_back(erInfoObject); + } + auto allTagsNode = contentNode["Tags"]["Tag"]; + for (auto contentNodeTagsTag : allTagsNode) + { + Content::Tag tagObject; + if(!contentNodeTagsTag["TagKey"].isNull()) + tagObject.tagKey = contentNodeTagsTag["TagKey"].asString(); + if(!contentNodeTagsTag["TagValue"].isNull()) + tagObject.tagValue = contentNodeTagsTag["TagValue"].asString(); + content_.tags.push_back(tagObject); + } + auto allSecondaryCidrBlocks = contentNode["SecondaryCidrBlocks"]["SecondaryCidrBlock"]; + for (auto value : allSecondaryCidrBlocks) + content_.secondaryCidrBlocks.push_back(value.asString()); if(!value["Code"].isNull()) code_ = std::stoi(value["Code"].asString()); if(!value["Message"].isNull()) diff --git a/eflo/src/model/GetVpdRouteEntryRequest.cc b/eflo/src/model/GetVpdRouteEntryRequest.cc new file mode 100644 index 000000000..c587afdb1 --- /dev/null +++ b/eflo/src/model/GetVpdRouteEntryRequest.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::Eflo::Model::GetVpdRouteEntryRequest; + +GetVpdRouteEntryRequest::GetVpdRouteEntryRequest() + : RpcServiceRequest("eflo", "2022-05-30", "GetVpdRouteEntry") { + setMethod(HttpRequest::Method::Post); +} + +GetVpdRouteEntryRequest::~GetVpdRouteEntryRequest() {} + +std::string GetVpdRouteEntryRequest::getVpdRouteEntryId() const { + return vpdRouteEntryId_; +} + +void GetVpdRouteEntryRequest::setVpdRouteEntryId(const std::string &vpdRouteEntryId) { + vpdRouteEntryId_ = vpdRouteEntryId; + setBodyParameter(std::string("VpdRouteEntryId"), vpdRouteEntryId); +} + +std::string GetVpdRouteEntryRequest::getRegionId() const { + return regionId_; +} + +void GetVpdRouteEntryRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +std::string GetVpdRouteEntryRequest::getVpdId() const { + return vpdId_; +} + +void GetVpdRouteEntryRequest::setVpdId(const std::string &vpdId) { + vpdId_ = vpdId; + setBodyParameter(std::string("VpdId"), vpdId); +} + diff --git a/eflo/src/model/GetVpdRouteEntryResult.cc b/eflo/src/model/GetVpdRouteEntryResult.cc new file mode 100644 index 000000000..573c067bf --- /dev/null +++ b/eflo/src/model/GetVpdRouteEntryResult.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +GetVpdRouteEntryResult::GetVpdRouteEntryResult() : + ServiceResult() +{} + +GetVpdRouteEntryResult::GetVpdRouteEntryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetVpdRouteEntryResult::~GetVpdRouteEntryResult() +{} + +void GetVpdRouteEntryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["RegionId"].isNull()) + content_.regionId = contentNode["RegionId"].asString(); + if(!contentNode["VpdRouteEntryId"].isNull()) + content_.vpdRouteEntryId = contentNode["VpdRouteEntryId"].asString(); + if(!contentNode["TenantId"].isNull()) + content_.tenantId = contentNode["TenantId"].asString(); + if(!contentNode["VpdId"].isNull()) + content_.vpdId = contentNode["VpdId"].asString(); + if(!contentNode["DestinationCidrBlock"].isNull()) + content_.destinationCidrBlock = contentNode["DestinationCidrBlock"].asString(); + if(!contentNode["NextHopType"].isNull()) + content_.nextHopType = contentNode["NextHopType"].asString(); + if(!contentNode["NextHopId"].isNull()) + content_.nextHopId = contentNode["NextHopId"].asString(); + if(!contentNode["RouteType"].isNull()) + content_.routeType = contentNode["RouteType"].asString(); + if(!contentNode["Status"].isNull()) + content_.status = contentNode["Status"].asString(); + if(!contentNode["GmtModified"].isNull()) + content_.gmtModified = contentNode["GmtModified"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string GetVpdRouteEntryResult::getMessage()const +{ + return message_; +} + +GetVpdRouteEntryResult::Content GetVpdRouteEntryResult::getContent()const +{ + return content_; +} + +int GetVpdRouteEntryResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/InitializeVccRequest.cc b/eflo/src/model/InitializeVccRequest.cc index 0ed98c6a0..18879728a 100644 --- a/eflo/src/model/InitializeVccRequest.cc +++ b/eflo/src/model/InitializeVccRequest.cc @@ -25,3 +25,12 @@ InitializeVccRequest::InitializeVccRequest() InitializeVccRequest::~InitializeVccRequest() {} +std::string InitializeVccRequest::getResourceGroupId() const { + return resourceGroupId_; +} + +void InitializeVccRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setBodyParameter(std::string("ResourceGroupId"), resourceGroupId); +} + diff --git a/eflo/src/model/ListElasticNetworkInterfacesRequest.cc b/eflo/src/model/ListElasticNetworkInterfacesRequest.cc new file mode 100644 index 000000000..61fecc004 --- /dev/null +++ b/eflo/src/model/ListElasticNetworkInterfacesRequest.cc @@ -0,0 +1,135 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Eflo::Model::ListElasticNetworkInterfacesRequest; + +ListElasticNetworkInterfacesRequest::ListElasticNetworkInterfacesRequest() + : RpcServiceRequest("eflo", "2022-05-30", "ListElasticNetworkInterfaces") { + setMethod(HttpRequest::Method::Post); +} + +ListElasticNetworkInterfacesRequest::~ListElasticNetworkInterfacesRequest() {} + +std::string ListElasticNetworkInterfacesRequest::getNetworkType() const { + return networkType_; +} + +void ListElasticNetworkInterfacesRequest::setNetworkType(const std::string &networkType) { + networkType_ = networkType; + setBodyParameter(std::string("NetworkType"), networkType); +} + +std::string ListElasticNetworkInterfacesRequest::getType() const { + return type_; +} + +void ListElasticNetworkInterfacesRequest::setType(const std::string &type) { + type_ = type; + setBodyParameter(std::string("Type"), type); +} + +int ListElasticNetworkInterfacesRequest::getPageNumber() const { + return pageNumber_; +} + +void ListElasticNetworkInterfacesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListElasticNetworkInterfacesRequest::getRegionId() const { + return regionId_; +} + +void ListElasticNetworkInterfacesRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +int ListElasticNetworkInterfacesRequest::getPageSize() const { + return pageSize_; +} + +void ListElasticNetworkInterfacesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListElasticNetworkInterfacesRequest::getNodeId() const { + return nodeId_; +} + +void ListElasticNetworkInterfacesRequest::setNodeId(const std::string &nodeId) { + nodeId_ = nodeId; + setBodyParameter(std::string("NodeId"), nodeId); +} + +std::string ListElasticNetworkInterfacesRequest::getIp() const { + return ip_; +} + +void ListElasticNetworkInterfacesRequest::setIp(const std::string &ip) { + ip_ = ip; + setBodyParameter(std::string("Ip"), ip); +} + +std::string ListElasticNetworkInterfacesRequest::getVSwitchId() const { + return vSwitchId_; +} + +void ListElasticNetworkInterfacesRequest::setVSwitchId(const std::string &vSwitchId) { + vSwitchId_ = vSwitchId; + setBodyParameter(std::string("VSwitchId"), vSwitchId); +} + +std::string ListElasticNetworkInterfacesRequest::getVpcId() const { + return vpcId_; +} + +void ListElasticNetworkInterfacesRequest::setVpcId(const std::string &vpcId) { + vpcId_ = vpcId; + setBodyParameter(std::string("VpcId"), vpcId); +} + +std::string ListElasticNetworkInterfacesRequest::getZoneId() const { + return zoneId_; +} + +void ListElasticNetworkInterfacesRequest::setZoneId(const std::string &zoneId) { + zoneId_ = zoneId; + setBodyParameter(std::string("ZoneId"), zoneId); +} + +std::string ListElasticNetworkInterfacesRequest::getElasticNetworkInterfaceId() const { + return elasticNetworkInterfaceId_; +} + +void ListElasticNetworkInterfacesRequest::setElasticNetworkInterfaceId(const std::string &elasticNetworkInterfaceId) { + elasticNetworkInterfaceId_ = elasticNetworkInterfaceId; + setBodyParameter(std::string("ElasticNetworkInterfaceId"), elasticNetworkInterfaceId); +} + +std::string ListElasticNetworkInterfacesRequest::getStatus() const { + return status_; +} + +void ListElasticNetworkInterfacesRequest::setStatus(const std::string &status) { + status_ = status; + setBodyParameter(std::string("Status"), status); +} + diff --git a/eflo/src/model/ListElasticNetworkInterfacesResult.cc b/eflo/src/model/ListElasticNetworkInterfacesResult.cc new file mode 100644 index 000000000..4adc4a1d4 --- /dev/null +++ b/eflo/src/model/ListElasticNetworkInterfacesResult.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +ListElasticNetworkInterfacesResult::ListElasticNetworkInterfacesResult() : + ServiceResult() +{} + +ListElasticNetworkInterfacesResult::ListElasticNetworkInterfacesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListElasticNetworkInterfacesResult::~ListElasticNetworkInterfacesResult() +{} + +void ListElasticNetworkInterfacesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["Total"].isNull()) + content_.total = std::stol(contentNode["Total"].asString()); + auto allDataNode = contentNode["Data"]["DataItem"]; + for (auto contentNodeDataDataItem : allDataNode) + { + Content::DataItem dataItemObject; + if(!contentNodeDataDataItem["RegionId"].isNull()) + dataItemObject.regionId = contentNodeDataDataItem["RegionId"].asString(); + if(!contentNodeDataDataItem["ZoneId"].isNull()) + dataItemObject.zoneId = contentNodeDataDataItem["ZoneId"].asString(); + if(!contentNodeDataDataItem["ElasticNetworkInterfaceId"].isNull()) + dataItemObject.elasticNetworkInterfaceId = contentNodeDataDataItem["ElasticNetworkInterfaceId"].asString(); + if(!contentNodeDataDataItem["NodeId"].isNull()) + dataItemObject.nodeId = contentNodeDataDataItem["NodeId"].asString(); + if(!contentNodeDataDataItem["Status"].isNull()) + dataItemObject.status = contentNodeDataDataItem["Status"].asString(); + if(!contentNodeDataDataItem["Ip"].isNull()) + dataItemObject.ip = contentNodeDataDataItem["Ip"].asString(); + if(!contentNodeDataDataItem["VpcId"].isNull()) + dataItemObject.vpcId = contentNodeDataDataItem["VpcId"].asString(); + if(!contentNodeDataDataItem["VSwitchId"].isNull()) + dataItemObject.vSwitchId = contentNodeDataDataItem["VSwitchId"].asString(); + if(!contentNodeDataDataItem["Message"].isNull()) + dataItemObject.message = contentNodeDataDataItem["Message"].asString(); + if(!contentNodeDataDataItem["Mac"].isNull()) + dataItemObject.mac = contentNodeDataDataItem["Mac"].asString(); + if(!contentNodeDataDataItem["Type"].isNull()) + dataItemObject.type = contentNodeDataDataItem["Type"].asString(); + if(!contentNodeDataDataItem["Gateway"].isNull()) + dataItemObject.gateway = contentNodeDataDataItem["Gateway"].asString(); + if(!contentNodeDataDataItem["Mask"].isNull()) + dataItemObject.mask = contentNodeDataDataItem["Mask"].asString(); + if(!contentNodeDataDataItem["CreateTime"].isNull()) + dataItemObject.createTime = contentNodeDataDataItem["CreateTime"].asString(); + if(!contentNodeDataDataItem["GmtModified"].isNull()) + dataItemObject.gmtModified = contentNodeDataDataItem["GmtModified"].asString(); + if(!contentNodeDataDataItem["Description"].isNull()) + dataItemObject.description = contentNodeDataDataItem["Description"].asString(); + content_.data.push_back(dataItemObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string ListElasticNetworkInterfacesResult::getMessage()const +{ + return message_; +} + +ListElasticNetworkInterfacesResult::Content ListElasticNetworkInterfacesResult::getContent()const +{ + return content_; +} + +int ListElasticNetworkInterfacesResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/ListErAttachmentsRequest.cc b/eflo/src/model/ListErAttachmentsRequest.cc new file mode 100644 index 000000000..de6ac167a --- /dev/null +++ b/eflo/src/model/ListErAttachmentsRequest.cc @@ -0,0 +1,135 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Eflo::Model::ListErAttachmentsRequest; + +ListErAttachmentsRequest::ListErAttachmentsRequest() + : RpcServiceRequest("eflo", "2022-05-30", "ListErAttachments") { + setMethod(HttpRequest::Method::Post); +} + +ListErAttachmentsRequest::~ListErAttachmentsRequest() {} + +int ListErAttachmentsRequest::getPageNumber() const { + return pageNumber_; +} + +void ListErAttachmentsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListErAttachmentsRequest::getResourceTenantId() const { + return resourceTenantId_; +} + +void ListErAttachmentsRequest::setResourceTenantId(const std::string &resourceTenantId) { + resourceTenantId_ = resourceTenantId; + setBodyParameter(std::string("ResourceTenantId"), resourceTenantId); +} + +std::string ListErAttachmentsRequest::getRegionId() const { + return regionId_; +} + +void ListErAttachmentsRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +bool ListErAttachmentsRequest::getAutoReceiveAllRoute() const { + return autoReceiveAllRoute_; +} + +void ListErAttachmentsRequest::setAutoReceiveAllRoute(bool autoReceiveAllRoute) { + autoReceiveAllRoute_ = autoReceiveAllRoute; + setBodyParameter(std::string("AutoReceiveAllRoute"), autoReceiveAllRoute ? "true" : "false"); +} + +int ListErAttachmentsRequest::getPageSize() const { + return pageSize_; +} + +void ListErAttachmentsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListErAttachmentsRequest::getInstanceType() const { + return instanceType_; +} + +void ListErAttachmentsRequest::setInstanceType(const std::string &instanceType) { + instanceType_ = instanceType; + setBodyParameter(std::string("InstanceType"), instanceType); +} + +std::string ListErAttachmentsRequest::getErAttachmentName() const { + return erAttachmentName_; +} + +void ListErAttachmentsRequest::setErAttachmentName(const std::string &erAttachmentName) { + erAttachmentName_ = erAttachmentName; + setBodyParameter(std::string("ErAttachmentName"), erAttachmentName); +} + +std::string ListErAttachmentsRequest::getErId() const { + return erId_; +} + +void ListErAttachmentsRequest::setErId(const std::string &erId) { + erId_ = erId; + setBodyParameter(std::string("ErId"), erId); +} + +std::string ListErAttachmentsRequest::getInstanceId() const { + return instanceId_; +} + +void ListErAttachmentsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setBodyParameter(std::string("InstanceId"), instanceId); +} + +std::string ListErAttachmentsRequest::getErAttachmentId() const { + return erAttachmentId_; +} + +void ListErAttachmentsRequest::setErAttachmentId(const std::string &erAttachmentId) { + erAttachmentId_ = erAttachmentId; + setBodyParameter(std::string("ErAttachmentId"), erAttachmentId); +} + +bool ListErAttachmentsRequest::getEnablePage() const { + return enablePage_; +} + +void ListErAttachmentsRequest::setEnablePage(bool enablePage) { + enablePage_ = enablePage; + setBodyParameter(std::string("EnablePage"), enablePage ? "true" : "false"); +} + +std::string ListErAttachmentsRequest::getStatus() const { + return status_; +} + +void ListErAttachmentsRequest::setStatus(const std::string &status) { + status_ = status; + setBodyParameter(std::string("Status"), status); +} + diff --git a/eflo/src/model/ListErAttachmentsResult.cc b/eflo/src/model/ListErAttachmentsResult.cc new file mode 100644 index 000000000..1ca88098e --- /dev/null +++ b/eflo/src/model/ListErAttachmentsResult.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::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +ListErAttachmentsResult::ListErAttachmentsResult() : + ServiceResult() +{} + +ListErAttachmentsResult::ListErAttachmentsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListErAttachmentsResult::~ListErAttachmentsResult() +{} + +void ListErAttachmentsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["Total"].isNull()) + content_.total = std::stol(contentNode["Total"].asString()); + auto allDataNode = contentNode["Data"]["DataItem"]; + for (auto contentNodeDataDataItem : allDataNode) + { + Content::DataItem dataItemObject; + if(!contentNodeDataDataItem["CreateTime"].isNull()) + dataItemObject.createTime = contentNodeDataDataItem["CreateTime"].asString(); + if(!contentNodeDataDataItem["GmtModified"].isNull()) + dataItemObject.gmtModified = contentNodeDataDataItem["GmtModified"].asString(); + if(!contentNodeDataDataItem["Message"].isNull()) + dataItemObject.message = contentNodeDataDataItem["Message"].asString(); + if(!contentNodeDataDataItem["Status"].isNull()) + dataItemObject.status = contentNodeDataDataItem["Status"].asString(); + if(!contentNodeDataDataItem["RegionId"].isNull()) + dataItemObject.regionId = contentNodeDataDataItem["RegionId"].asString(); + if(!contentNodeDataDataItem["TenantId"].isNull()) + dataItemObject.tenantId = contentNodeDataDataItem["TenantId"].asString(); + if(!contentNodeDataDataItem["ErAttachmentName"].isNull()) + dataItemObject.erAttachmentName = contentNodeDataDataItem["ErAttachmentName"].asString(); + if(!contentNodeDataDataItem["ErAttachmentId"].isNull()) + dataItemObject.erAttachmentId = contentNodeDataDataItem["ErAttachmentId"].asString(); + if(!contentNodeDataDataItem["ErId"].isNull()) + dataItemObject.erId = contentNodeDataDataItem["ErId"].asString(); + if(!contentNodeDataDataItem["InstanceType"].isNull()) + dataItemObject.instanceType = contentNodeDataDataItem["InstanceType"].asString(); + if(!contentNodeDataDataItem["InstanceId"].isNull()) + dataItemObject.instanceId = contentNodeDataDataItem["InstanceId"].asString(); + if(!contentNodeDataDataItem["InstanceName"].isNull()) + dataItemObject.instanceName = contentNodeDataDataItem["InstanceName"].asString(); + if(!contentNodeDataDataItem["AutoReceiveAllRoute"].isNull()) + dataItemObject.autoReceiveAllRoute = contentNodeDataDataItem["AutoReceiveAllRoute"].asString() == "true"; + if(!contentNodeDataDataItem["Across"].isNull()) + dataItemObject.across = contentNodeDataDataItem["Across"].asString() == "true"; + if(!contentNodeDataDataItem["ResourceTenantId"].isNull()) + dataItemObject.resourceTenantId = contentNodeDataDataItem["ResourceTenantId"].asString(); + content_.data.push_back(dataItemObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string ListErAttachmentsResult::getMessage()const +{ + return message_; +} + +ListErAttachmentsResult::Content ListErAttachmentsResult::getContent()const +{ + return content_; +} + +int ListErAttachmentsResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/ListErRouteEntriesRequest.cc b/eflo/src/model/ListErRouteEntriesRequest.cc new file mode 100644 index 000000000..ffc093fda --- /dev/null +++ b/eflo/src/model/ListErRouteEntriesRequest.cc @@ -0,0 +1,135 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Eflo::Model::ListErRouteEntriesRequest; + +ListErRouteEntriesRequest::ListErRouteEntriesRequest() + : RpcServiceRequest("eflo", "2022-05-30", "ListErRouteEntries") { + setMethod(HttpRequest::Method::Post); +} + +ListErRouteEntriesRequest::~ListErRouteEntriesRequest() {} + +bool ListErRouteEntriesRequest::getIgnoreDetailedRouteEntry() const { + return ignoreDetailedRouteEntry_; +} + +void ListErRouteEntriesRequest::setIgnoreDetailedRouteEntry(bool ignoreDetailedRouteEntry) { + ignoreDetailedRouteEntry_ = ignoreDetailedRouteEntry; + setBodyParameter(std::string("IgnoreDetailedRouteEntry"), ignoreDetailedRouteEntry ? "true" : "false"); +} + +int ListErRouteEntriesRequest::getPageNumber() const { + return pageNumber_; +} + +void ListErRouteEntriesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListErRouteEntriesRequest::getRouteType() const { + return routeType_; +} + +void ListErRouteEntriesRequest::setRouteType(const std::string &routeType) { + routeType_ = routeType; + setBodyParameter(std::string("RouteType"), routeType); +} + +std::string ListErRouteEntriesRequest::getRegionId() const { + return regionId_; +} + +void ListErRouteEntriesRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +int ListErRouteEntriesRequest::getPageSize() const { + return pageSize_; +} + +void ListErRouteEntriesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListErRouteEntriesRequest::getNextHopId() const { + return nextHopId_; +} + +void ListErRouteEntriesRequest::setNextHopId(const std::string &nextHopId) { + nextHopId_ = nextHopId; + setBodyParameter(std::string("NextHopId"), nextHopId); +} + +std::string ListErRouteEntriesRequest::getNextHopType() const { + return nextHopType_; +} + +void ListErRouteEntriesRequest::setNextHopType(const std::string &nextHopType) { + nextHopType_ = nextHopType; + setBodyParameter(std::string("NextHopType"), nextHopType); +} + +std::string ListErRouteEntriesRequest::getDestinationCidrBlock() const { + return destinationCidrBlock_; +} + +void ListErRouteEntriesRequest::setDestinationCidrBlock(const std::string &destinationCidrBlock) { + destinationCidrBlock_ = destinationCidrBlock; + setBodyParameter(std::string("DestinationCidrBlock"), destinationCidrBlock); +} + +std::string ListErRouteEntriesRequest::getErId() const { + return erId_; +} + +void ListErRouteEntriesRequest::setErId(const std::string &erId) { + erId_ = erId; + setBodyParameter(std::string("ErId"), erId); +} + +std::string ListErRouteEntriesRequest::getInstanceId() const { + return instanceId_; +} + +void ListErRouteEntriesRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setBodyParameter(std::string("InstanceId"), instanceId); +} + +bool ListErRouteEntriesRequest::getEnablePage() const { + return enablePage_; +} + +void ListErRouteEntriesRequest::setEnablePage(bool enablePage) { + enablePage_ = enablePage; + setBodyParameter(std::string("EnablePage"), enablePage ? "true" : "false"); +} + +std::string ListErRouteEntriesRequest::getStatus() const { + return status_; +} + +void ListErRouteEntriesRequest::setStatus(const std::string &status) { + status_ = status; + setBodyParameter(std::string("Status"), status); +} + diff --git a/eflo/src/model/ListErRouteEntriesResult.cc b/eflo/src/model/ListErRouteEntriesResult.cc new file mode 100644 index 000000000..bc220024f --- /dev/null +++ b/eflo/src/model/ListErRouteEntriesResult.cc @@ -0,0 +1,94 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +ListErRouteEntriesResult::ListErRouteEntriesResult() : + ServiceResult() +{} + +ListErRouteEntriesResult::ListErRouteEntriesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListErRouteEntriesResult::~ListErRouteEntriesResult() +{} + +void ListErRouteEntriesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["Total"].isNull()) + content_.total = std::stol(contentNode["Total"].asString()); + auto allDataNode = contentNode["Data"]["DataItem"]; + for (auto contentNodeDataDataItem : allDataNode) + { + Content::DataItem dataItemObject; + if(!contentNodeDataDataItem["ErId"].isNull()) + dataItemObject.erId = contentNodeDataDataItem["ErId"].asString(); + if(!contentNodeDataDataItem["TenantId"].isNull()) + dataItemObject.tenantId = contentNodeDataDataItem["TenantId"].asString(); + if(!contentNodeDataDataItem["ResourceTenantId"].isNull()) + dataItemObject.resourceTenantId = contentNodeDataDataItem["ResourceTenantId"].asString(); + if(!contentNodeDataDataItem["RegionId"].isNull()) + dataItemObject.regionId = contentNodeDataDataItem["RegionId"].asString(); + if(!contentNodeDataDataItem["ErRouteEntryId"].isNull()) + dataItemObject.erRouteEntryId = contentNodeDataDataItem["ErRouteEntryId"].asString(); + if(!contentNodeDataDataItem["DestinationCidrBlock"].isNull()) + dataItemObject.destinationCidrBlock = contentNodeDataDataItem["DestinationCidrBlock"].asString(); + if(!contentNodeDataDataItem["NextHopType"].isNull()) + dataItemObject.nextHopType = contentNodeDataDataItem["NextHopType"].asString(); + if(!contentNodeDataDataItem["NextHopId"].isNull()) + dataItemObject.nextHopId = contentNodeDataDataItem["NextHopId"].asString(); + if(!contentNodeDataDataItem["RouteType"].isNull()) + dataItemObject.routeType = contentNodeDataDataItem["RouteType"].asString(); + if(!contentNodeDataDataItem["Status"].isNull()) + dataItemObject.status = contentNodeDataDataItem["Status"].asString(); + if(!contentNodeDataDataItem["GmtModified"].isNull()) + dataItemObject.gmtModified = contentNodeDataDataItem["GmtModified"].asString(); + content_.data.push_back(dataItemObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string ListErRouteEntriesResult::getMessage()const +{ + return message_; +} + +ListErRouteEntriesResult::Content ListErRouteEntriesResult::getContent()const +{ + return content_; +} + +int ListErRouteEntriesResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/ListErRouteMapsRequest.cc b/eflo/src/model/ListErRouteMapsRequest.cc new file mode 100644 index 000000000..782616041 --- /dev/null +++ b/eflo/src/model/ListErRouteMapsRequest.cc @@ -0,0 +1,162 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Eflo::Model::ListErRouteMapsRequest; + +ListErRouteMapsRequest::ListErRouteMapsRequest() + : RpcServiceRequest("eflo", "2022-05-30", "ListErRouteMaps") { + setMethod(HttpRequest::Method::Post); +} + +ListErRouteMapsRequest::~ListErRouteMapsRequest() {} + +std::string ListErRouteMapsRequest::getReceptionInstanceType() const { + return receptionInstanceType_; +} + +void ListErRouteMapsRequest::setReceptionInstanceType(const std::string &receptionInstanceType) { + receptionInstanceType_ = receptionInstanceType; + setBodyParameter(std::string("ReceptionInstanceType"), receptionInstanceType); +} + +std::string ListErRouteMapsRequest::getReceptionInstanceId() const { + return receptionInstanceId_; +} + +void ListErRouteMapsRequest::setReceptionInstanceId(const std::string &receptionInstanceId) { + receptionInstanceId_ = receptionInstanceId; + setBodyParameter(std::string("ReceptionInstanceId"), receptionInstanceId); +} + +int ListErRouteMapsRequest::getErRouteMapNum() const { + return erRouteMapNum_; +} + +void ListErRouteMapsRequest::setErRouteMapNum(int erRouteMapNum) { + erRouteMapNum_ = erRouteMapNum; + setBodyParameter(std::string("ErRouteMapNum"), std::to_string(erRouteMapNum)); +} + +int ListErRouteMapsRequest::getPageNumber() const { + return pageNumber_; +} + +void ListErRouteMapsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListErRouteMapsRequest::getRouteMapAction() const { + return routeMapAction_; +} + +void ListErRouteMapsRequest::setRouteMapAction(const std::string &routeMapAction) { + routeMapAction_ = routeMapAction; + setBodyParameter(std::string("RouteMapAction"), routeMapAction); +} + +std::string ListErRouteMapsRequest::getTransmissionInstanceType() const { + return transmissionInstanceType_; +} + +void ListErRouteMapsRequest::setTransmissionInstanceType(const std::string &transmissionInstanceType) { + transmissionInstanceType_ = transmissionInstanceType; + setBodyParameter(std::string("TransmissionInstanceType"), transmissionInstanceType); +} + +std::string ListErRouteMapsRequest::getRegionId() const { + return regionId_; +} + +void ListErRouteMapsRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +int ListErRouteMapsRequest::getPageSize() const { + return pageSize_; +} + +void ListErRouteMapsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListErRouteMapsRequest::getTransmissionInstanceName() const { + return transmissionInstanceName_; +} + +void ListErRouteMapsRequest::setTransmissionInstanceName(const std::string &transmissionInstanceName) { + transmissionInstanceName_ = transmissionInstanceName; + setBodyParameter(std::string("TransmissionInstanceName"), transmissionInstanceName); +} + +std::string ListErRouteMapsRequest::getDestinationCidrBlock() const { + return destinationCidrBlock_; +} + +void ListErRouteMapsRequest::setDestinationCidrBlock(const std::string &destinationCidrBlock) { + destinationCidrBlock_ = destinationCidrBlock; + setBodyParameter(std::string("DestinationCidrBlock"), destinationCidrBlock); +} + +std::string ListErRouteMapsRequest::getErId() const { + return erId_; +} + +void ListErRouteMapsRequest::setErId(const std::string &erId) { + erId_ = erId; + setBodyParameter(std::string("ErId"), erId); +} + +std::string ListErRouteMapsRequest::getErRouteMapId() const { + return erRouteMapId_; +} + +void ListErRouteMapsRequest::setErRouteMapId(const std::string &erRouteMapId) { + erRouteMapId_ = erRouteMapId; + setBodyParameter(std::string("ErRouteMapId"), erRouteMapId); +} + +std::string ListErRouteMapsRequest::getReceptionInstanceName() const { + return receptionInstanceName_; +} + +void ListErRouteMapsRequest::setReceptionInstanceName(const std::string &receptionInstanceName) { + receptionInstanceName_ = receptionInstanceName; + setBodyParameter(std::string("ReceptionInstanceName"), receptionInstanceName); +} + +bool ListErRouteMapsRequest::getEnablePage() const { + return enablePage_; +} + +void ListErRouteMapsRequest::setEnablePage(bool enablePage) { + enablePage_ = enablePage; + setBodyParameter(std::string("EnablePage"), enablePage ? "true" : "false"); +} + +std::string ListErRouteMapsRequest::getTransmissionInstanceId() const { + return transmissionInstanceId_; +} + +void ListErRouteMapsRequest::setTransmissionInstanceId(const std::string &transmissionInstanceId) { + transmissionInstanceId_ = transmissionInstanceId; + setBodyParameter(std::string("TransmissionInstanceId"), transmissionInstanceId); +} + diff --git a/eflo/src/model/ListErRouteMapsResult.cc b/eflo/src/model/ListErRouteMapsResult.cc new file mode 100644 index 000000000..e41996c43 --- /dev/null +++ b/eflo/src/model/ListErRouteMapsResult.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::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +ListErRouteMapsResult::ListErRouteMapsResult() : + ServiceResult() +{} + +ListErRouteMapsResult::ListErRouteMapsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListErRouteMapsResult::~ListErRouteMapsResult() +{} + +void ListErRouteMapsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["Total"].isNull()) + content_.total = std::stol(contentNode["Total"].asString()); + auto allDataNode = contentNode["Data"]["DataItem"]; + for (auto contentNodeDataDataItem : allDataNode) + { + Content::DataItem dataItemObject; + if(!contentNodeDataDataItem["RegionId"].isNull()) + dataItemObject.regionId = contentNodeDataDataItem["RegionId"].asString(); + if(!contentNodeDataDataItem["TenantId"].isNull()) + dataItemObject.tenantId = contentNodeDataDataItem["TenantId"].asString(); + if(!contentNodeDataDataItem["CreateTime"].isNull()) + dataItemObject.createTime = contentNodeDataDataItem["CreateTime"].asString(); + if(!contentNodeDataDataItem["GmtModified"].isNull()) + dataItemObject.gmtModified = contentNodeDataDataItem["GmtModified"].asString(); + if(!contentNodeDataDataItem["Message"].isNull()) + dataItemObject.message = contentNodeDataDataItem["Message"].asString(); + if(!contentNodeDataDataItem["Status"].isNull()) + dataItemObject.status = contentNodeDataDataItem["Status"].asString(); + if(!contentNodeDataDataItem["ErRouteMapId"].isNull()) + dataItemObject.erRouteMapId = contentNodeDataDataItem["ErRouteMapId"].asString(); + if(!contentNodeDataDataItem["ErId"].isNull()) + dataItemObject.erId = contentNodeDataDataItem["ErId"].asString(); + if(!contentNodeDataDataItem["RouteMapNum"].isNull()) + dataItemObject.routeMapNum = std::stoi(contentNodeDataDataItem["RouteMapNum"].asString()); + if(!contentNodeDataDataItem["Description"].isNull()) + dataItemObject.description = contentNodeDataDataItem["Description"].asString(); + if(!contentNodeDataDataItem["DestinationCidrBlock"].isNull()) + dataItemObject.destinationCidrBlock = contentNodeDataDataItem["DestinationCidrBlock"].asString(); + if(!contentNodeDataDataItem["TransmissionInstanceName"].isNull()) + dataItemObject.transmissionInstanceName = contentNodeDataDataItem["TransmissionInstanceName"].asString(); + if(!contentNodeDataDataItem["TransmissionInstanceId"].isNull()) + dataItemObject.transmissionInstanceId = contentNodeDataDataItem["TransmissionInstanceId"].asString(); + if(!contentNodeDataDataItem["TransmissionInstanceType"].isNull()) + dataItemObject.transmissionInstanceType = contentNodeDataDataItem["TransmissionInstanceType"].asString(); + if(!contentNodeDataDataItem["ReceptionInstanceName"].isNull()) + dataItemObject.receptionInstanceName = contentNodeDataDataItem["ReceptionInstanceName"].asString(); + if(!contentNodeDataDataItem["ReceptionInstanceId"].isNull()) + dataItemObject.receptionInstanceId = contentNodeDataDataItem["ReceptionInstanceId"].asString(); + if(!contentNodeDataDataItem["ReceptionInstanceType"].isNull()) + dataItemObject.receptionInstanceType = contentNodeDataDataItem["ReceptionInstanceType"].asString(); + if(!contentNodeDataDataItem["Action"].isNull()) + dataItemObject.action = contentNodeDataDataItem["Action"].asString(); + if(!contentNodeDataDataItem["TransmissionInstanceOwner"].isNull()) + dataItemObject.transmissionInstanceOwner = contentNodeDataDataItem["TransmissionInstanceOwner"].asString(); + if(!contentNodeDataDataItem["ReceptionInstanceOwner"].isNull()) + dataItemObject.receptionInstanceOwner = contentNodeDataDataItem["ReceptionInstanceOwner"].asString(); + content_.data.push_back(dataItemObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string ListErRouteMapsResult::getMessage()const +{ + return message_; +} + +ListErRouteMapsResult::Content ListErRouteMapsResult::getContent()const +{ + return content_; +} + +int ListErRouteMapsResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/ListErsRequest.cc b/eflo/src/model/ListErsRequest.cc new file mode 100644 index 000000000..77afcbfdc --- /dev/null +++ b/eflo/src/model/ListErsRequest.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Eflo::Model::ListErsRequest; + +ListErsRequest::ListErsRequest() + : RpcServiceRequest("eflo", "2022-05-30", "ListErs") { + setMethod(HttpRequest::Method::Post); +} + +ListErsRequest::~ListErsRequest() {} + +std::string ListErsRequest::getMasterZoneId() const { + return masterZoneId_; +} + +void ListErsRequest::setMasterZoneId(const std::string &masterZoneId) { + masterZoneId_ = masterZoneId; + setBodyParameter(std::string("MasterZoneId"), masterZoneId); +} + +int ListErsRequest::getPageNumber() const { + return pageNumber_; +} + +void ListErsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListErsRequest::getRegionId() const { + return regionId_; +} + +void ListErsRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +int ListErsRequest::getPageSize() const { + return pageSize_; +} + +void ListErsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListErsRequest::getInstanceType() const { + return instanceType_; +} + +void ListErsRequest::setInstanceType(const std::string &instanceType) { + instanceType_ = instanceType; + setBodyParameter(std::string("InstanceType"), instanceType); +} + +std::string ListErsRequest::getErId() const { + return erId_; +} + +void ListErsRequest::setErId(const std::string &erId) { + erId_ = erId; + setBodyParameter(std::string("ErId"), erId); +} + +std::string ListErsRequest::getErName() const { + return erName_; +} + +void ListErsRequest::setErName(const std::string &erName) { + erName_ = erName; + setBodyParameter(std::string("ErName"), erName); +} + +std::string ListErsRequest::getInstanceId() const { + return instanceId_; +} + +void ListErsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setBodyParameter(std::string("InstanceId"), instanceId); +} + +bool ListErsRequest::getEnablePage() const { + return enablePage_; +} + +void ListErsRequest::setEnablePage(bool enablePage) { + enablePage_ = enablePage; + setBodyParameter(std::string("EnablePage"), enablePage ? "true" : "false"); +} + diff --git a/eflo/src/model/ListErsResult.cc b/eflo/src/model/ListErsResult.cc new file mode 100644 index 000000000..b16b26609 --- /dev/null +++ b/eflo/src/model/ListErsResult.cc @@ -0,0 +1,96 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +ListErsResult::ListErsResult() : + ServiceResult() +{} + +ListErsResult::ListErsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListErsResult::~ListErsResult() +{} + +void ListErsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["Total"].isNull()) + content_.total = std::stol(contentNode["Total"].asString()); + auto allDataNode = contentNode["Data"]["DataItem"]; + for (auto contentNodeDataDataItem : allDataNode) + { + Content::DataItem dataItemObject; + if(!contentNodeDataDataItem["CreateTime"].isNull()) + dataItemObject.createTime = contentNodeDataDataItem["CreateTime"].asString(); + if(!contentNodeDataDataItem["GmtModified"].isNull()) + dataItemObject.gmtModified = contentNodeDataDataItem["GmtModified"].asString(); + if(!contentNodeDataDataItem["Message"].isNull()) + dataItemObject.message = contentNodeDataDataItem["Message"].asString(); + if(!contentNodeDataDataItem["ErId"].isNull()) + dataItemObject.erId = contentNodeDataDataItem["ErId"].asString(); + if(!contentNodeDataDataItem["RegionId"].isNull()) + dataItemObject.regionId = contentNodeDataDataItem["RegionId"].asString(); + if(!contentNodeDataDataItem["TenantId"].isNull()) + dataItemObject.tenantId = contentNodeDataDataItem["TenantId"].asString(); + if(!contentNodeDataDataItem["Status"].isNull()) + dataItemObject.status = contentNodeDataDataItem["Status"].asString(); + if(!contentNodeDataDataItem["ErName"].isNull()) + dataItemObject.erName = contentNodeDataDataItem["ErName"].asString(); + if(!contentNodeDataDataItem["MasterZoneId"].isNull()) + dataItemObject.masterZoneId = contentNodeDataDataItem["MasterZoneId"].asString(); + if(!contentNodeDataDataItem["Description"].isNull()) + dataItemObject.description = contentNodeDataDataItem["Description"].asString(); + if(!contentNodeDataDataItem["Connections"].isNull()) + dataItemObject.connections = std::stol(contentNodeDataDataItem["Connections"].asString()); + if(!contentNodeDataDataItem["RouteMaps"].isNull()) + dataItemObject.routeMaps = std::stol(contentNodeDataDataItem["RouteMaps"].asString()); + content_.data.push_back(dataItemObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string ListErsResult::getMessage()const +{ + return message_; +} + +ListErsResult::Content ListErsResult::getContent()const +{ + return content_; +} + +int ListErsResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/ListInstancesByNcdRequest.cc b/eflo/src/model/ListInstancesByNcdRequest.cc new file mode 100644 index 000000000..115f3d0b6 --- /dev/null +++ b/eflo/src/model/ListInstancesByNcdRequest.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::Eflo::Model::ListInstancesByNcdRequest; + +ListInstancesByNcdRequest::ListInstancesByNcdRequest() + : RpcServiceRequest("eflo", "2022-05-30", "ListInstancesByNcd") { + setMethod(HttpRequest::Method::Post); +} + +ListInstancesByNcdRequest::~ListInstancesByNcdRequest() {} + +int ListInstancesByNcdRequest::getMaxNcd() const { + return maxNcd_; +} + +void ListInstancesByNcdRequest::setMaxNcd(int maxNcd) { + maxNcd_ = maxNcd; + setBodyParameter(std::string("MaxNcd"), std::to_string(maxNcd)); +} + +std::string ListInstancesByNcdRequest::getInstanceId() const { + return instanceId_; +} + +void ListInstancesByNcdRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setBodyParameter(std::string("InstanceId"), instanceId); +} + +std::string ListInstancesByNcdRequest::getRegionId() const { + return regionId_; +} + +void ListInstancesByNcdRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +std::string ListInstancesByNcdRequest::getInstanceType() const { + return instanceType_; +} + +void ListInstancesByNcdRequest::setInstanceType(const std::string &instanceType) { + instanceType_ = instanceType; + setBodyParameter(std::string("InstanceType"), instanceType); +} + diff --git a/eflo/src/model/ListInstancesByNcdResult.cc b/eflo/src/model/ListInstancesByNcdResult.cc new file mode 100644 index 000000000..18e3553b2 --- /dev/null +++ b/eflo/src/model/ListInstancesByNcdResult.cc @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +ListInstancesByNcdResult::ListInstancesByNcdResult() : + ServiceResult() +{} + +ListInstancesByNcdResult::ListInstancesByNcdResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListInstancesByNcdResult::~ListInstancesByNcdResult() +{} + +void ListInstancesByNcdResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["MaxNcd"].isNull()) + content_.maxNcd = std::stoi(contentNode["MaxNcd"].asString()); + if(!contentNode["InstanceType"].isNull()) + content_.instanceType = contentNode["InstanceType"].asString(); + if(!contentNode["SourceInstanceId"].isNull()) + content_.sourceInstanceId = contentNode["SourceInstanceId"].asString(); + auto allInstanceInfosNode = contentNode["InstanceInfos"]["InstanceInfo"]; + for (auto contentNodeInstanceInfosInstanceInfo : allInstanceInfosNode) + { + Content::InstanceInfo instanceInfoObject; + if(!contentNodeInstanceInfosInstanceInfo["InstanceId"].isNull()) + instanceInfoObject.instanceId = contentNodeInstanceInfosInstanceInfo["InstanceId"].asString(); + if(!contentNodeInstanceInfosInstanceInfo["Ncd"].isNull()) + instanceInfoObject.ncd = std::stoi(contentNodeInstanceInfosInstanceInfo["Ncd"].asString()); + content_.instanceInfos.push_back(instanceInfoObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string ListInstancesByNcdResult::getMessage()const +{ + return message_; +} + +ListInstancesByNcdResult::Content ListInstancesByNcdResult::getContent()const +{ + return content_; +} + +int ListInstancesByNcdResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/ListLniPrivateIpAddressRequest.cc b/eflo/src/model/ListLniPrivateIpAddressRequest.cc new file mode 100644 index 000000000..3568b0049 --- /dev/null +++ b/eflo/src/model/ListLniPrivateIpAddressRequest.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::Eflo::Model::ListLniPrivateIpAddressRequest; + +ListLniPrivateIpAddressRequest::ListLniPrivateIpAddressRequest() + : RpcServiceRequest("eflo", "2022-05-30", "ListLniPrivateIpAddress") { + setMethod(HttpRequest::Method::Post); +} + +ListLniPrivateIpAddressRequest::~ListLniPrivateIpAddressRequest() {} + +std::string ListLniPrivateIpAddressRequest::getDescription() const { + return description_; +} + +void ListLniPrivateIpAddressRequest::setDescription(const std::string &description) { + description_ = description; + setBodyParameter(std::string("Description"), description); +} + +int ListLniPrivateIpAddressRequest::getPageNumber() const { + return pageNumber_; +} + +void ListLniPrivateIpAddressRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListLniPrivateIpAddressRequest::getRegionId() const { + return regionId_; +} + +void ListLniPrivateIpAddressRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +int ListLniPrivateIpAddressRequest::getPageSize() const { + return pageSize_; +} + +void ListLniPrivateIpAddressRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListLniPrivateIpAddressRequest::getIp() const { + return ip_; +} + +void ListLniPrivateIpAddressRequest::setIp(const std::string &ip) { + ip_ = ip; + setBodyParameter(std::string("Ip"), ip); +} + +bool ListLniPrivateIpAddressRequest::getEnablePage() const { + return enablePage_; +} + +void ListLniPrivateIpAddressRequest::setEnablePage(bool enablePage) { + enablePage_ = enablePage; + setBodyParameter(std::string("EnablePage"), enablePage ? "true" : "false"); +} + +std::string ListLniPrivateIpAddressRequest::getIpName() const { + return ipName_; +} + +void ListLniPrivateIpAddressRequest::setIpName(const std::string &ipName) { + ipName_ = ipName; + setBodyParameter(std::string("IpName"), ipName); +} + +std::string ListLniPrivateIpAddressRequest::getNetworkInterfaceId() const { + return networkInterfaceId_; +} + +void ListLniPrivateIpAddressRequest::setNetworkInterfaceId(const std::string &networkInterfaceId) { + networkInterfaceId_ = networkInterfaceId; + setBodyParameter(std::string("NetworkInterfaceId"), networkInterfaceId); +} + diff --git a/eflo/src/model/ListLniPrivateIpAddressResult.cc b/eflo/src/model/ListLniPrivateIpAddressResult.cc new file mode 100644 index 000000000..0e2f2ca8f --- /dev/null +++ b/eflo/src/model/ListLniPrivateIpAddressResult.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 +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +ListLniPrivateIpAddressResult::ListLniPrivateIpAddressResult() : + ServiceResult() +{} + +ListLniPrivateIpAddressResult::ListLniPrivateIpAddressResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListLniPrivateIpAddressResult::~ListLniPrivateIpAddressResult() +{} + +void ListLniPrivateIpAddressResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["Total"].isNull()) + content_.total = std::stol(contentNode["Total"].asString()); + auto allDataNode = contentNode["Data"]["DataItem"]; + for (auto contentNodeDataDataItem : allDataNode) + { + Content::DataItem dataItemObject; + if(!contentNodeDataDataItem["RegionId"].isNull()) + dataItemObject.regionId = contentNodeDataDataItem["RegionId"].asString(); + if(!contentNodeDataDataItem["GmtCreate"].isNull()) + dataItemObject.gmtCreate = contentNodeDataDataItem["GmtCreate"].asString(); + if(!contentNodeDataDataItem["NetworkInterfaceId"].isNull()) + dataItemObject.networkInterfaceId = contentNodeDataDataItem["NetworkInterfaceId"].asString(); + if(!contentNodeDataDataItem["IpName"].isNull()) + dataItemObject.ipName = contentNodeDataDataItem["IpName"].asString(); + if(!contentNodeDataDataItem["PrivateIpAddress"].isNull()) + dataItemObject.privateIpAddress = contentNodeDataDataItem["PrivateIpAddress"].asString(); + if(!contentNodeDataDataItem["IpAddressMac"].isNull()) + dataItemObject.ipAddressMac = contentNodeDataDataItem["IpAddressMac"].asString(); + if(!contentNodeDataDataItem["Status"].isNull()) + dataItemObject.status = contentNodeDataDataItem["Status"].asString(); + if(!contentNodeDataDataItem["Description"].isNull()) + dataItemObject.description = contentNodeDataDataItem["Description"].asString(); + if(!contentNodeDataDataItem["Message"].isNull()) + dataItemObject.message = contentNodeDataDataItem["Message"].asString(); + content_.data.push_back(dataItemObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string ListLniPrivateIpAddressResult::getMessage()const +{ + return message_; +} + +ListLniPrivateIpAddressResult::Content ListLniPrivateIpAddressResult::getContent()const +{ + return content_; +} + +int ListLniPrivateIpAddressResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/ListNetworkInterfacesRequest.cc b/eflo/src/model/ListNetworkInterfacesRequest.cc new file mode 100644 index 000000000..1459599dd --- /dev/null +++ b/eflo/src/model/ListNetworkInterfacesRequest.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Eflo::Model::ListNetworkInterfacesRequest; + +ListNetworkInterfacesRequest::ListNetworkInterfacesRequest() + : RpcServiceRequest("eflo", "2022-05-30", "ListNetworkInterfaces") { + setMethod(HttpRequest::Method::Post); +} + +ListNetworkInterfacesRequest::~ListNetworkInterfacesRequest() {} + +int ListNetworkInterfacesRequest::getPageNumber() const { + return pageNumber_; +} + +void ListNetworkInterfacesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListNetworkInterfacesRequest::getRegionId() const { + return regionId_; +} + +void ListNetworkInterfacesRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +int ListNetworkInterfacesRequest::getPageSize() const { + return pageSize_; +} + +void ListNetworkInterfacesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListNetworkInterfacesRequest::getNodeId() const { + return nodeId_; +} + +void ListNetworkInterfacesRequest::setNodeId(const std::string &nodeId) { + nodeId_ = nodeId; + setBodyParameter(std::string("NodeId"), nodeId); +} + +std::string ListNetworkInterfacesRequest::getSubnetId() const { + return subnetId_; +} + +void ListNetworkInterfacesRequest::setSubnetId(const std::string &subnetId) { + subnetId_ = subnetId; + setBodyParameter(std::string("SubnetId"), subnetId); +} + +std::string ListNetworkInterfacesRequest::getIp() const { + return ip_; +} + +void ListNetworkInterfacesRequest::setIp(const std::string &ip) { + ip_ = ip; + setBodyParameter(std::string("Ip"), ip); +} + +std::string ListNetworkInterfacesRequest::getVpdId() const { + return vpdId_; +} + +void ListNetworkInterfacesRequest::setVpdId(const std::string &vpdId) { + vpdId_ = vpdId; + setBodyParameter(std::string("VpdId"), vpdId); +} + +bool ListNetworkInterfacesRequest::getEnablePage() const { + return enablePage_; +} + +void ListNetworkInterfacesRequest::setEnablePage(bool enablePage) { + enablePage_ = enablePage; + setBodyParameter(std::string("EnablePage"), enablePage ? "true" : "false"); +} + +std::string ListNetworkInterfacesRequest::getNetworkInterfaceId() const { + return networkInterfaceId_; +} + +void ListNetworkInterfacesRequest::setNetworkInterfaceId(const std::string &networkInterfaceId) { + networkInterfaceId_ = networkInterfaceId; + setBodyParameter(std::string("NetworkInterfaceId"), networkInterfaceId); +} + diff --git a/eflo/src/model/ListNetworkInterfacesResult.cc b/eflo/src/model/ListNetworkInterfacesResult.cc new file mode 100644 index 000000000..4565aa8b5 --- /dev/null +++ b/eflo/src/model/ListNetworkInterfacesResult.cc @@ -0,0 +1,137 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +ListNetworkInterfacesResult::ListNetworkInterfacesResult() : + ServiceResult() +{} + +ListNetworkInterfacesResult::ListNetworkInterfacesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListNetworkInterfacesResult::~ListNetworkInterfacesResult() +{} + +void ListNetworkInterfacesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["Total"].isNull()) + content_.total = std::stol(contentNode["Total"].asString()); + auto allDataNode = contentNode["Data"]["DataItem"]; + for (auto contentNodeDataDataItem : allDataNode) + { + Content::DataItem dataItemObject; + if(!contentNodeDataDataItem["TenantId"].isNull()) + dataItemObject.tenantId = contentNodeDataDataItem["TenantId"].asString(); + if(!contentNodeDataDataItem["RegionId"].isNull()) + dataItemObject.regionId = contentNodeDataDataItem["RegionId"].asString(); + if(!contentNodeDataDataItem["NetworkInterfaceId"].isNull()) + dataItemObject.networkInterfaceId = contentNodeDataDataItem["NetworkInterfaceId"].asString(); + if(!contentNodeDataDataItem["NodeId"].isNull()) + dataItemObject.nodeId = contentNodeDataDataItem["NodeId"].asString(); + if(!contentNodeDataDataItem["ZoneId"].isNull()) + dataItemObject.zoneId = contentNodeDataDataItem["ZoneId"].asString(); + if(!contentNodeDataDataItem["Ip"].isNull()) + dataItemObject.ip = contentNodeDataDataItem["Ip"].asString(); + if(!contentNodeDataDataItem["ServiceMac"].isNull()) + dataItemObject.serviceMac = contentNodeDataDataItem["ServiceMac"].asString(); + if(!contentNodeDataDataItem["Status"].isNull()) + dataItemObject.status = contentNodeDataDataItem["Status"].asString(); + if(!contentNodeDataDataItem["Gateway"].isNull()) + dataItemObject.gateway = contentNodeDataDataItem["Gateway"].asString(); + if(!contentNodeDataDataItem["CreateTime"].isNull()) + dataItemObject.createTime = contentNodeDataDataItem["CreateTime"].asString(); + if(!contentNodeDataDataItem["Quota"].isNull()) + dataItemObject.quota = std::stoi(contentNodeDataDataItem["Quota"].asString()); + if(!contentNodeDataDataItem["NcType"].isNull()) + dataItemObject.ncType = contentNodeDataDataItem["NcType"].asString(); + if(!contentNodeDataDataItem["NetworkInterfaceName"].isNull()) + dataItemObject.networkInterfaceName = contentNodeDataDataItem["NetworkInterfaceName"].asString(); + auto allPrivateIpAddressMacGroupNode = contentNodeDataDataItem["PrivateIpAddressMacGroup"]["PrivateIpAddressMacGroupItem"]; + for (auto contentNodeDataDataItemPrivateIpAddressMacGroupPrivateIpAddressMacGroupItem : allPrivateIpAddressMacGroupNode) + { + Content::DataItem::PrivateIpAddressMacGroupItem privateIpAddressMacGroupObject; + if(!contentNodeDataDataItemPrivateIpAddressMacGroupPrivateIpAddressMacGroupItem["IpName"].isNull()) + privateIpAddressMacGroupObject.ipName = contentNodeDataDataItemPrivateIpAddressMacGroupPrivateIpAddressMacGroupItem["IpName"].asString(); + if(!contentNodeDataDataItemPrivateIpAddressMacGroupPrivateIpAddressMacGroupItem["PrivateIpAddress"].isNull()) + privateIpAddressMacGroupObject.privateIpAddress = contentNodeDataDataItemPrivateIpAddressMacGroupPrivateIpAddressMacGroupItem["PrivateIpAddress"].asString(); + if(!contentNodeDataDataItemPrivateIpAddressMacGroupPrivateIpAddressMacGroupItem["IpAddressMac"].isNull()) + privateIpAddressMacGroupObject.ipAddressMac = contentNodeDataDataItemPrivateIpAddressMacGroupPrivateIpAddressMacGroupItem["IpAddressMac"].asString(); + if(!contentNodeDataDataItemPrivateIpAddressMacGroupPrivateIpAddressMacGroupItem["Status"].isNull()) + privateIpAddressMacGroupObject.status = contentNodeDataDataItemPrivateIpAddressMacGroupPrivateIpAddressMacGroupItem["Status"].asString(); + if(!contentNodeDataDataItemPrivateIpAddressMacGroupPrivateIpAddressMacGroupItem["Description"].isNull()) + privateIpAddressMacGroupObject.description = contentNodeDataDataItemPrivateIpAddressMacGroupPrivateIpAddressMacGroupItem["Description"].asString(); + if(!contentNodeDataDataItemPrivateIpAddressMacGroupPrivateIpAddressMacGroupItem["Message"].isNull()) + privateIpAddressMacGroupObject.message = contentNodeDataDataItemPrivateIpAddressMacGroupPrivateIpAddressMacGroupItem["Message"].asString(); + dataItemObject.privateIpAddressMacGroup.push_back(privateIpAddressMacGroupObject); + } + auto vpdBaseInfoNode = value["VpdBaseInfo"]; + if(!vpdBaseInfoNode["VpdId"].isNull()) + dataItemObject.vpdBaseInfo.vpdId = vpdBaseInfoNode["VpdId"].asString(); + if(!vpdBaseInfoNode["VpdName"].isNull()) + dataItemObject.vpdBaseInfo.vpdName = vpdBaseInfoNode["VpdName"].asString(); + if(!vpdBaseInfoNode["Cidr"].isNull()) + dataItemObject.vpdBaseInfo.cidr = vpdBaseInfoNode["Cidr"].asString(); + if(!vpdBaseInfoNode["CreateTime"].isNull()) + dataItemObject.vpdBaseInfo.createTime = vpdBaseInfoNode["CreateTime"].asString(); + auto subnetBaseInfoNode = value["SubnetBaseInfo"]; + if(!subnetBaseInfoNode["SubnetId"].isNull()) + dataItemObject.subnetBaseInfo.subnetId = subnetBaseInfoNode["SubnetId"].asString(); + if(!subnetBaseInfoNode["SubnetName"].isNull()) + dataItemObject.subnetBaseInfo.subnetName = subnetBaseInfoNode["SubnetName"].asString(); + if(!subnetBaseInfoNode["Cidr"].isNull()) + dataItemObject.subnetBaseInfo.cidr = subnetBaseInfoNode["Cidr"].asString(); + if(!subnetBaseInfoNode["CreateTime"].isNull()) + dataItemObject.subnetBaseInfo.createTime = subnetBaseInfoNode["CreateTime"].asString(); + auto allEthernet = value["Ethernet"]["Ethernet"]; + for (auto value : allEthernet) + dataItemObject.ethernet.push_back(value.asString()); + content_.data.push_back(dataItemObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string ListNetworkInterfacesResult::getMessage()const +{ + return message_; +} + +ListNetworkInterfacesResult::Content ListNetworkInterfacesResult::getContent()const +{ + return content_; +} + +int ListNetworkInterfacesResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/ListSubnetsRequest.cc b/eflo/src/model/ListSubnetsRequest.cc index f51cf6492..54e7bbf9f 100644 --- a/eflo/src/model/ListSubnetsRequest.cc +++ b/eflo/src/model/ListSubnetsRequest.cc @@ -43,6 +43,15 @@ void ListSubnetsRequest::setPageNumber(int pageNumber) { setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); } +std::string ListSubnetsRequest::getResourceGroupId() const { + return resourceGroupId_; +} + +void ListSubnetsRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setBodyParameter(std::string("ResourceGroupId"), resourceGroupId); +} + std::string ListSubnetsRequest::getRegionId() const { return regionId_; } @@ -61,6 +70,20 @@ void ListSubnetsRequest::setPageSize(int pageSize) { setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } +std::vector ListSubnetsRequest::getTag() const { + return tag_; +} + +void ListSubnetsRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setBodyParameter(tagObjStr + ".Value", tagObj.value); + setBodyParameter(tagObjStr + ".Key", tagObj.key); + } +} + std::string ListSubnetsRequest::getSubnetId() const { return subnetId_; } @@ -88,15 +111,6 @@ void ListSubnetsRequest::setEnablePage(bool enablePage) { setBodyParameter(std::string("EnablePage"), enablePage ? "true" : "false"); } -std::string ListSubnetsRequest::getName() const { - return name_; -} - -void ListSubnetsRequest::setName(const std::string &name) { - name_ = name; - setBodyParameter(std::string("Name"), name); -} - std::string ListSubnetsRequest::getZoneId() const { return zoneId_; } @@ -106,6 +120,15 @@ void ListSubnetsRequest::setZoneId(const std::string &zoneId) { setBodyParameter(std::string("ZoneId"), zoneId); } +std::string ListSubnetsRequest::getSubnetName() const { + return subnetName_; +} + +void ListSubnetsRequest::setSubnetName(const std::string &subnetName) { + subnetName_ = subnetName; + setBodyParameter(std::string("SubnetName"), subnetName); +} + std::string ListSubnetsRequest::getStatus() const { return status_; } diff --git a/eflo/src/model/ListSubnetsResult.cc b/eflo/src/model/ListSubnetsResult.cc index 2534ed69a..df1c056bc 100644 --- a/eflo/src/model/ListSubnetsResult.cc +++ b/eflo/src/model/ListSubnetsResult.cc @@ -46,10 +46,8 @@ void ListSubnetsResult::parse(const std::string &payload) for (auto contentNodeDataDataItem : allDataNode) { Content::DataItem dataItemObject; - if(!contentNodeDataDataItem["Id"].isNull()) - dataItemObject.id = std::stol(contentNodeDataDataItem["Id"].asString()); - if(!contentNodeDataDataItem["GmtCreate"].isNull()) - dataItemObject.gmtCreate = contentNodeDataDataItem["GmtCreate"].asString(); + if(!contentNodeDataDataItem["CreateTime"].isNull()) + dataItemObject.createTime = contentNodeDataDataItem["CreateTime"].asString(); if(!contentNodeDataDataItem["GmtModified"].isNull()) dataItemObject.gmtModified = contentNodeDataDataItem["GmtModified"].asString(); if(!contentNodeDataDataItem["TenantId"].isNull()) @@ -62,8 +60,8 @@ void ListSubnetsResult::parse(const std::string &payload) dataItemObject.type = contentNodeDataDataItem["Type"].asString(); if(!contentNodeDataDataItem["SubnetId"].isNull()) dataItemObject.subnetId = contentNodeDataDataItem["SubnetId"].asString(); - if(!contentNodeDataDataItem["Name"].isNull()) - dataItemObject.name = contentNodeDataDataItem["Name"].asString(); + if(!contentNodeDataDataItem["SubnetName"].isNull()) + dataItemObject.subnetName = contentNodeDataDataItem["SubnetName"].asString(); if(!contentNodeDataDataItem["Cidr"].isNull()) dataItemObject.cidr = contentNodeDataDataItem["Cidr"].asString(); if(!contentNodeDataDataItem["VpdId"].isNull()) @@ -73,16 +71,30 @@ void ListSubnetsResult::parse(const std::string &payload) if(!contentNodeDataDataItem["Message"].isNull()) dataItemObject.message = contentNodeDataDataItem["Message"].asString(); if(!contentNodeDataDataItem["NcCount"].isNull()) - dataItemObject.ncCount = std::stol(contentNodeDataDataItem["NcCount"].asString()); + dataItemObject.ncCount = std::stoi(contentNodeDataDataItem["NcCount"].asString()); + if(!contentNodeDataDataItem["NetworkInterfaceCount"].isNull()) + dataItemObject.networkInterfaceCount = std::stoi(contentNodeDataDataItem["NetworkInterfaceCount"].asString()); + if(!contentNodeDataDataItem["ResourceGroupId"].isNull()) + dataItemObject.resourceGroupId = contentNodeDataDataItem["ResourceGroupId"].asString(); + auto allTagsNode = contentNodeDataDataItem["Tags"]["Tag"]; + for (auto contentNodeDataDataItemTagsTag : allTagsNode) + { + Content::DataItem::Tag tagsObject; + if(!contentNodeDataDataItemTagsTag["TagKey"].isNull()) + tagsObject.tagKey = contentNodeDataDataItemTagsTag["TagKey"].asString(); + if(!contentNodeDataDataItemTagsTag["TagValue"].isNull()) + tagsObject.tagValue = contentNodeDataDataItemTagsTag["TagValue"].asString(); + dataItemObject.tags.push_back(tagsObject); + } auto vpdBaseInfoNode = value["VpdBaseInfo"]; if(!vpdBaseInfoNode["VpdId"].isNull()) dataItemObject.vpdBaseInfo.vpdId = vpdBaseInfoNode["VpdId"].asString(); - if(!vpdBaseInfoNode["Name"].isNull()) - dataItemObject.vpdBaseInfo.name = vpdBaseInfoNode["Name"].asString(); + if(!vpdBaseInfoNode["VpdName"].isNull()) + dataItemObject.vpdBaseInfo.vpdName = vpdBaseInfoNode["VpdName"].asString(); if(!vpdBaseInfoNode["Cidr"].isNull()) dataItemObject.vpdBaseInfo.cidr = vpdBaseInfoNode["Cidr"].asString(); - if(!vpdBaseInfoNode["GmtCreate"].isNull()) - dataItemObject.vpdBaseInfo.gmtCreate = vpdBaseInfoNode["GmtCreate"].asString(); + if(!vpdBaseInfoNode["CreateTime"].isNull()) + dataItemObject.vpdBaseInfo.createTime = vpdBaseInfoNode["CreateTime"].asString(); content_.data.push_back(dataItemObject); } if(!value["Code"].isNull()) diff --git a/eflo/src/model/ListVccGrantRulesRequest.cc b/eflo/src/model/ListVccGrantRulesRequest.cc new file mode 100644 index 000000000..5954ad774 --- /dev/null +++ b/eflo/src/model/ListVccGrantRulesRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Eflo::Model::ListVccGrantRulesRequest; + +ListVccGrantRulesRequest::ListVccGrantRulesRequest() + : RpcServiceRequest("eflo", "2022-05-30", "ListVccGrantRules") { + setMethod(HttpRequest::Method::Post); +} + +ListVccGrantRulesRequest::~ListVccGrantRulesRequest() {} + +std::string ListVccGrantRulesRequest::getGrantTenantId() const { + return grantTenantId_; +} + +void ListVccGrantRulesRequest::setGrantTenantId(const std::string &grantTenantId) { + grantTenantId_ = grantTenantId; + setBodyParameter(std::string("GrantTenantId"), grantTenantId); +} + +int ListVccGrantRulesRequest::getPageNumber() const { + return pageNumber_; +} + +void ListVccGrantRulesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListVccGrantRulesRequest::getRegionId() const { + return regionId_; +} + +void ListVccGrantRulesRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +std::string ListVccGrantRulesRequest::getGrantRuleId() const { + return grantRuleId_; +} + +void ListVccGrantRulesRequest::setGrantRuleId(const std::string &grantRuleId) { + grantRuleId_ = grantRuleId; + setBodyParameter(std::string("GrantRuleId"), grantRuleId); +} + +int ListVccGrantRulesRequest::getPageSize() const { + return pageSize_; +} + +void ListVccGrantRulesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListVccGrantRulesRequest::getErId() const { + return erId_; +} + +void ListVccGrantRulesRequest::setErId(const std::string &erId) { + erId_ = erId; + setBodyParameter(std::string("ErId"), erId); +} + +bool ListVccGrantRulesRequest::getForSelect() const { + return forSelect_; +} + +void ListVccGrantRulesRequest::setForSelect(bool forSelect) { + forSelect_ = forSelect; + setBodyParameter(std::string("ForSelect"), forSelect ? "true" : "false"); +} + +std::string ListVccGrantRulesRequest::getInstanceId() const { + return instanceId_; +} + +void ListVccGrantRulesRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setBodyParameter(std::string("InstanceId"), instanceId); +} + +std::string ListVccGrantRulesRequest::getInstanceName() const { + return instanceName_; +} + +void ListVccGrantRulesRequest::setInstanceName(const std::string &instanceName) { + instanceName_ = instanceName; + setBodyParameter(std::string("InstanceName"), instanceName); +} + +bool ListVccGrantRulesRequest::getEnablePage() const { + return enablePage_; +} + +void ListVccGrantRulesRequest::setEnablePage(bool enablePage) { + enablePage_ = enablePage; + setBodyParameter(std::string("EnablePage"), enablePage ? "true" : "false"); +} + diff --git a/eflo/src/model/ListVccGrantRulesResult.cc b/eflo/src/model/ListVccGrantRulesResult.cc new file mode 100644 index 000000000..e3926cd6d --- /dev/null +++ b/eflo/src/model/ListVccGrantRulesResult.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::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +ListVccGrantRulesResult::ListVccGrantRulesResult() : + ServiceResult() +{} + +ListVccGrantRulesResult::ListVccGrantRulesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListVccGrantRulesResult::~ListVccGrantRulesResult() +{} + +void ListVccGrantRulesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["Total"].isNull()) + content_.total = std::stol(contentNode["Total"].asString()); + auto allDataNode = contentNode["Data"]["DataItem"]; + for (auto contentNodeDataDataItem : allDataNode) + { + Content::DataItem dataItemObject; + if(!contentNodeDataDataItem["RegionId"].isNull()) + dataItemObject.regionId = contentNodeDataDataItem["RegionId"].asString(); + if(!contentNodeDataDataItem["TenantId"].isNull()) + dataItemObject.tenantId = contentNodeDataDataItem["TenantId"].asString(); + if(!contentNodeDataDataItem["InstanceId"].isNull()) + dataItemObject.instanceId = contentNodeDataDataItem["InstanceId"].asString(); + if(!contentNodeDataDataItem["InstanceName"].isNull()) + dataItemObject.instanceName = contentNodeDataDataItem["InstanceName"].asString(); + if(!contentNodeDataDataItem["Product"].isNull()) + dataItemObject.product = contentNodeDataDataItem["Product"].asString(); + if(!contentNodeDataDataItem["ErId"].isNull()) + dataItemObject.erId = contentNodeDataDataItem["ErId"].asString(); + if(!contentNodeDataDataItem["GrantTenantId"].isNull()) + dataItemObject.grantTenantId = contentNodeDataDataItem["GrantTenantId"].asString(); + if(!contentNodeDataDataItem["Used"].isNull()) + dataItemObject.used = contentNodeDataDataItem["Used"].asString() == "true"; + if(!contentNodeDataDataItem["CreateTime"].isNull()) + dataItemObject.createTime = contentNodeDataDataItem["CreateTime"].asString(); + if(!contentNodeDataDataItem["GrantRuleId"].isNull()) + dataItemObject.grantRuleId = contentNodeDataDataItem["GrantRuleId"].asString(); + content_.data.push_back(dataItemObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string ListVccGrantRulesResult::getMessage()const +{ + return message_; +} + +ListVccGrantRulesResult::Content ListVccGrantRulesResult::getContent()const +{ + return content_; +} + +int ListVccGrantRulesResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/ListVccRouteEntriesRequest.cc b/eflo/src/model/ListVccRouteEntriesRequest.cc new file mode 100644 index 000000000..8fa766908 --- /dev/null +++ b/eflo/src/model/ListVccRouteEntriesRequest.cc @@ -0,0 +1,135 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Eflo::Model::ListVccRouteEntriesRequest; + +ListVccRouteEntriesRequest::ListVccRouteEntriesRequest() + : RpcServiceRequest("eflo", "2022-05-30", "ListVccRouteEntries") { + setMethod(HttpRequest::Method::Post); +} + +ListVccRouteEntriesRequest::~ListVccRouteEntriesRequest() {} + +bool ListVccRouteEntriesRequest::getIgnoreDetailedRouteEntry() const { + return ignoreDetailedRouteEntry_; +} + +void ListVccRouteEntriesRequest::setIgnoreDetailedRouteEntry(bool ignoreDetailedRouteEntry) { + ignoreDetailedRouteEntry_ = ignoreDetailedRouteEntry; + setBodyParameter(std::string("IgnoreDetailedRouteEntry"), ignoreDetailedRouteEntry ? "true" : "false"); +} + +int ListVccRouteEntriesRequest::getPageNumber() const { + return pageNumber_; +} + +void ListVccRouteEntriesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListVccRouteEntriesRequest::getRouteType() const { + return routeType_; +} + +void ListVccRouteEntriesRequest::setRouteType(const std::string &routeType) { + routeType_ = routeType; + setBodyParameter(std::string("RouteType"), routeType); +} + +std::string ListVccRouteEntriesRequest::getRegionId() const { + return regionId_; +} + +void ListVccRouteEntriesRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +int ListVccRouteEntriesRequest::getPageSize() const { + return pageSize_; +} + +void ListVccRouteEntriesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListVccRouteEntriesRequest::getNextHopId() const { + return nextHopId_; +} + +void ListVccRouteEntriesRequest::setNextHopId(const std::string &nextHopId) { + nextHopId_ = nextHopId; + setBodyParameter(std::string("NextHopId"), nextHopId); +} + +std::string ListVccRouteEntriesRequest::getVccId() const { + return vccId_; +} + +void ListVccRouteEntriesRequest::setVccId(const std::string &vccId) { + vccId_ = vccId; + setBodyParameter(std::string("VccId"), vccId); +} + +std::string ListVccRouteEntriesRequest::getNextHopType() const { + return nextHopType_; +} + +void ListVccRouteEntriesRequest::setNextHopType(const std::string &nextHopType) { + nextHopType_ = nextHopType; + setBodyParameter(std::string("NextHopType"), nextHopType); +} + +std::string ListVccRouteEntriesRequest::getVpdRouteEntryId() const { + return vpdRouteEntryId_; +} + +void ListVccRouteEntriesRequest::setVpdRouteEntryId(const std::string &vpdRouteEntryId) { + vpdRouteEntryId_ = vpdRouteEntryId; + setBodyParameter(std::string("VpdRouteEntryId"), vpdRouteEntryId); +} + +std::string ListVccRouteEntriesRequest::getDestinationCidrBlock() const { + return destinationCidrBlock_; +} + +void ListVccRouteEntriesRequest::setDestinationCidrBlock(const std::string &destinationCidrBlock) { + destinationCidrBlock_ = destinationCidrBlock; + setBodyParameter(std::string("DestinationCidrBlock"), destinationCidrBlock); +} + +bool ListVccRouteEntriesRequest::getEnablePage() const { + return enablePage_; +} + +void ListVccRouteEntriesRequest::setEnablePage(bool enablePage) { + enablePage_ = enablePage; + setBodyParameter(std::string("EnablePage"), enablePage ? "true" : "false"); +} + +std::string ListVccRouteEntriesRequest::getStatus() const { + return status_; +} + +void ListVccRouteEntriesRequest::setStatus(const std::string &status) { + status_ = status; + setBodyParameter(std::string("Status"), status); +} + diff --git a/eflo/src/model/ListVccRouteEntriesResult.cc b/eflo/src/model/ListVccRouteEntriesResult.cc new file mode 100644 index 000000000..dd385ee3a --- /dev/null +++ b/eflo/src/model/ListVccRouteEntriesResult.cc @@ -0,0 +1,94 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +ListVccRouteEntriesResult::ListVccRouteEntriesResult() : + ServiceResult() +{} + +ListVccRouteEntriesResult::ListVccRouteEntriesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListVccRouteEntriesResult::~ListVccRouteEntriesResult() +{} + +void ListVccRouteEntriesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["Total"].isNull()) + content_.total = std::stol(contentNode["Total"].asString()); + auto allDataNode = contentNode["Data"]["DataItem"]; + for (auto contentNodeDataDataItem : allDataNode) + { + Content::DataItem dataItemObject; + if(!contentNodeDataDataItem["VccId"].isNull()) + dataItemObject.vccId = contentNodeDataDataItem["VccId"].asString(); + if(!contentNodeDataDataItem["TenantId"].isNull()) + dataItemObject.tenantId = contentNodeDataDataItem["TenantId"].asString(); + if(!contentNodeDataDataItem["ResourceTenantId"].isNull()) + dataItemObject.resourceTenantId = contentNodeDataDataItem["ResourceTenantId"].asString(); + if(!contentNodeDataDataItem["RegionId"].isNull()) + dataItemObject.regionId = contentNodeDataDataItem["RegionId"].asString(); + if(!contentNodeDataDataItem["VccRouteEntryId"].isNull()) + dataItemObject.vccRouteEntryId = contentNodeDataDataItem["VccRouteEntryId"].asString(); + if(!contentNodeDataDataItem["DestinationCidrBlock"].isNull()) + dataItemObject.destinationCidrBlock = contentNodeDataDataItem["DestinationCidrBlock"].asString(); + if(!contentNodeDataDataItem["NextHopType"].isNull()) + dataItemObject.nextHopType = contentNodeDataDataItem["NextHopType"].asString(); + if(!contentNodeDataDataItem["NextHopId"].isNull()) + dataItemObject.nextHopId = contentNodeDataDataItem["NextHopId"].asString(); + if(!contentNodeDataDataItem["RouteType"].isNull()) + dataItemObject.routeType = contentNodeDataDataItem["RouteType"].asString(); + if(!contentNodeDataDataItem["Status"].isNull()) + dataItemObject.status = contentNodeDataDataItem["Status"].asString(); + if(!contentNodeDataDataItem["GmtModified"].isNull()) + dataItemObject.gmtModified = contentNodeDataDataItem["GmtModified"].asString(); + content_.data.push_back(dataItemObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string ListVccRouteEntriesResult::getMessage()const +{ + return message_; +} + +ListVccRouteEntriesResult::Content ListVccRouteEntriesResult::getContent()const +{ + return content_; +} + +int ListVccRouteEntriesResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/ListVccsRequest.cc b/eflo/src/model/ListVccsRequest.cc index 4580afdb3..d228518a1 100644 --- a/eflo/src/model/ListVccsRequest.cc +++ b/eflo/src/model/ListVccsRequest.cc @@ -43,6 +43,15 @@ void ListVccsRequest::setPageNumber(int pageNumber) { setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); } +std::string ListVccsRequest::getResourceGroupId() const { + return resourceGroupId_; +} + +void ListVccsRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setBodyParameter(std::string("ResourceGroupId"), resourceGroupId); +} + std::string ListVccsRequest::getRegionId() const { return regionId_; } @@ -61,6 +70,20 @@ void ListVccsRequest::setPageSize(int pageSize) { setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } +std::vector ListVccsRequest::getTag() const { + return tag_; +} + +void ListVccsRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setBodyParameter(tagObjStr + ".Value", tagObj.value); + setBodyParameter(tagObjStr + ".Key", tagObj.key); + } +} + std::string ListVccsRequest::getVccId() const { return vccId_; } @@ -88,6 +111,15 @@ void ListVccsRequest::setExStatus(const std::string &exStatus) { setBodyParameter(std::string("ExStatus"), exStatus); } +std::string ListVccsRequest::getFilterErId() const { + return filterErId_; +} + +void ListVccsRequest::setFilterErId(const std::string &filterErId) { + filterErId_ = filterErId; + setBodyParameter(std::string("FilterErId"), filterErId); +} + std::string ListVccsRequest::getVpdId() const { return vpdId_; } diff --git a/eflo/src/model/ListVccsResult.cc b/eflo/src/model/ListVccsResult.cc index 9cf9cdae8..e2273f47a 100644 --- a/eflo/src/model/ListVccsResult.cc +++ b/eflo/src/model/ListVccsResult.cc @@ -50,6 +50,8 @@ void ListVccsResult::parse(const std::string &payload) dataItemObject.tenantId = contentNodeDataDataItem["TenantId"].asString(); if(!contentNodeDataDataItem["RegionId"].isNull()) dataItemObject.regionId = contentNodeDataDataItem["RegionId"].asString(); + if(!contentNodeDataDataItem["ZoneId"].isNull()) + dataItemObject.zoneId = contentNodeDataDataItem["ZoneId"].asString(); if(!contentNodeDataDataItem["VccId"].isNull()) dataItemObject.vccId = contentNodeDataDataItem["VccId"].asString(); if(!contentNodeDataDataItem["VpdId"].isNull()) @@ -70,27 +72,81 @@ void ListVccsResult::parse(const std::string &payload) dataItemObject.portType = contentNodeDataDataItem["PortType"].asString(); if(!contentNodeDataDataItem["Status"].isNull()) dataItemObject.status = contentNodeDataDataItem["Status"].asString(); + if(!contentNodeDataDataItem["CurrentNode"].isNull()) + dataItemObject.currentNode = contentNodeDataDataItem["CurrentNode"].asString(); if(!contentNodeDataDataItem["Message"].isNull()) dataItemObject.message = contentNodeDataDataItem["Message"].asString(); if(!contentNodeDataDataItem["CreateTime"].isNull()) dataItemObject.createTime = contentNodeDataDataItem["CreateTime"].asString(); if(!contentNodeDataDataItem["GmtModified"].isNull()) dataItemObject.gmtModified = contentNodeDataDataItem["GmtModified"].asString(); + if(!contentNodeDataDataItem["TaskId"].isNull()) + dataItemObject.taskId = contentNodeDataDataItem["TaskId"].asString(); if(!contentNodeDataDataItem["Rate"].isNull()) dataItemObject.rate = contentNodeDataDataItem["Rate"].asString(); if(!contentNodeDataDataItem["BandwidthStr"].isNull()) dataItemObject.bandwidthStr = contentNodeDataDataItem["BandwidthStr"].asString(); + if(!contentNodeDataDataItem["CommodityCode"].isNull()) + dataItemObject.commodityCode = contentNodeDataDataItem["CommodityCode"].asString(); if(!contentNodeDataDataItem["BgpCidr"].isNull()) dataItemObject.bgpCidr = contentNodeDataDataItem["BgpCidr"].asString(); + if(!contentNodeDataDataItem["ExpirationDate"].isNull()) + dataItemObject.expirationDate = contentNodeDataDataItem["ExpirationDate"].asString(); + if(!contentNodeDataDataItem["ResourceGroupId"].isNull()) + dataItemObject.resourceGroupId = contentNodeDataDataItem["ResourceGroupId"].asString(); + if(!contentNodeDataDataItem["ConnectionType"].isNull()) + dataItemObject.connectionType = contentNodeDataDataItem["ConnectionType"].asString(); + if(!contentNodeDataDataItem["CenOwnerId"].isNull()) + dataItemObject.cenOwnerId = contentNodeDataDataItem["CenOwnerId"].asString(); + auto allErInfosNode = contentNodeDataDataItem["ErInfos"]["ErInfo"]; + for (auto contentNodeDataDataItemErInfosErInfo : allErInfosNode) + { + Content::DataItem::ErInfo erInfosObject; + if(!contentNodeDataDataItemErInfosErInfo["CreateTime"].isNull()) + erInfosObject.createTime = contentNodeDataDataItemErInfosErInfo["CreateTime"].asString(); + if(!contentNodeDataDataItemErInfosErInfo["GmtModified"].isNull()) + erInfosObject.gmtModified = contentNodeDataDataItemErInfosErInfo["GmtModified"].asString(); + if(!contentNodeDataDataItemErInfosErInfo["Message"].isNull()) + erInfosObject.message = contentNodeDataDataItemErInfosErInfo["Message"].asString(); + if(!contentNodeDataDataItemErInfosErInfo["ErId"].isNull()) + erInfosObject.erId = contentNodeDataDataItemErInfosErInfo["ErId"].asString(); + if(!contentNodeDataDataItemErInfosErInfo["RegionId"].isNull()) + erInfosObject.regionId = contentNodeDataDataItemErInfosErInfo["RegionId"].asString(); + if(!contentNodeDataDataItemErInfosErInfo["TenantId"].isNull()) + erInfosObject.tenantId = contentNodeDataDataItemErInfosErInfo["TenantId"].asString(); + if(!contentNodeDataDataItemErInfosErInfo["Status"].isNull()) + erInfosObject.status = contentNodeDataDataItemErInfosErInfo["Status"].asString(); + if(!contentNodeDataDataItemErInfosErInfo["ErName"].isNull()) + erInfosObject.erName = contentNodeDataDataItemErInfosErInfo["ErName"].asString(); + if(!contentNodeDataDataItemErInfosErInfo["MasterZoneId"].isNull()) + erInfosObject.masterZoneId = contentNodeDataDataItemErInfosErInfo["MasterZoneId"].asString(); + if(!contentNodeDataDataItemErInfosErInfo["Description"].isNull()) + erInfosObject.description = contentNodeDataDataItemErInfosErInfo["Description"].asString(); + if(!contentNodeDataDataItemErInfosErInfo["Connections"].isNull()) + erInfosObject.connections = std::stol(contentNodeDataDataItemErInfosErInfo["Connections"].asString()); + if(!contentNodeDataDataItemErInfosErInfo["RouteMaps"].isNull()) + erInfosObject.routeMaps = std::stol(contentNodeDataDataItemErInfosErInfo["RouteMaps"].asString()); + dataItemObject.erInfos.push_back(erInfosObject); + } + auto allTagsNode = contentNodeDataDataItem["Tags"]["Tag"]; + for (auto contentNodeDataDataItemTagsTag : allTagsNode) + { + Content::DataItem::Tag tagsObject; + if(!contentNodeDataDataItemTagsTag["TagKey"].isNull()) + tagsObject.tagKey = contentNodeDataDataItemTagsTag["TagKey"].asString(); + if(!contentNodeDataDataItemTagsTag["TagValue"].isNull()) + tagsObject.tagValue = contentNodeDataDataItemTagsTag["TagValue"].asString(); + dataItemObject.tags.push_back(tagsObject); + } auto vpdBaseInfoNode = value["VpdBaseInfo"]; if(!vpdBaseInfoNode["VpdId"].isNull()) dataItemObject.vpdBaseInfo.vpdId = vpdBaseInfoNode["VpdId"].asString(); - if(!vpdBaseInfoNode["Name"].isNull()) - dataItemObject.vpdBaseInfo.name = vpdBaseInfoNode["Name"].asString(); + if(!vpdBaseInfoNode["VpdName"].isNull()) + dataItemObject.vpdBaseInfo.vpdName = vpdBaseInfoNode["VpdName"].asString(); if(!vpdBaseInfoNode["Cidr"].isNull()) dataItemObject.vpdBaseInfo.cidr = vpdBaseInfoNode["Cidr"].asString(); - if(!vpdBaseInfoNode["GmtCreate"].isNull()) - dataItemObject.vpdBaseInfo.gmtCreate = vpdBaseInfoNode["GmtCreate"].asString(); + if(!vpdBaseInfoNode["CreateTime"].isNull()) + dataItemObject.vpdBaseInfo.createTime = vpdBaseInfoNode["CreateTime"].asString(); content_.data.push_back(dataItemObject); } if(!value["Code"].isNull()) diff --git a/eflo/src/model/ListVpdGrantRulesRequest.cc b/eflo/src/model/ListVpdGrantRulesRequest.cc new file mode 100644 index 000000000..93a7ab94d --- /dev/null +++ b/eflo/src/model/ListVpdGrantRulesRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Eflo::Model::ListVpdGrantRulesRequest; + +ListVpdGrantRulesRequest::ListVpdGrantRulesRequest() + : RpcServiceRequest("eflo", "2022-05-30", "ListVpdGrantRules") { + setMethod(HttpRequest::Method::Post); +} + +ListVpdGrantRulesRequest::~ListVpdGrantRulesRequest() {} + +std::string ListVpdGrantRulesRequest::getGrantTenantId() const { + return grantTenantId_; +} + +void ListVpdGrantRulesRequest::setGrantTenantId(const std::string &grantTenantId) { + grantTenantId_ = grantTenantId; + setBodyParameter(std::string("GrantTenantId"), grantTenantId); +} + +int ListVpdGrantRulesRequest::getPageNumber() const { + return pageNumber_; +} + +void ListVpdGrantRulesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListVpdGrantRulesRequest::getRegionId() const { + return regionId_; +} + +void ListVpdGrantRulesRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +std::string ListVpdGrantRulesRequest::getGrantRuleId() const { + return grantRuleId_; +} + +void ListVpdGrantRulesRequest::setGrantRuleId(const std::string &grantRuleId) { + grantRuleId_ = grantRuleId; + setBodyParameter(std::string("GrantRuleId"), grantRuleId); +} + +int ListVpdGrantRulesRequest::getPageSize() const { + return pageSize_; +} + +void ListVpdGrantRulesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListVpdGrantRulesRequest::getErId() const { + return erId_; +} + +void ListVpdGrantRulesRequest::setErId(const std::string &erId) { + erId_ = erId; + setBodyParameter(std::string("ErId"), erId); +} + +bool ListVpdGrantRulesRequest::getForSelect() const { + return forSelect_; +} + +void ListVpdGrantRulesRequest::setForSelect(bool forSelect) { + forSelect_ = forSelect; + setBodyParameter(std::string("ForSelect"), forSelect ? "true" : "false"); +} + +std::string ListVpdGrantRulesRequest::getInstanceId() const { + return instanceId_; +} + +void ListVpdGrantRulesRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setBodyParameter(std::string("InstanceId"), instanceId); +} + +std::string ListVpdGrantRulesRequest::getInstanceName() const { + return instanceName_; +} + +void ListVpdGrantRulesRequest::setInstanceName(const std::string &instanceName) { + instanceName_ = instanceName; + setBodyParameter(std::string("InstanceName"), instanceName); +} + +bool ListVpdGrantRulesRequest::getEnablePage() const { + return enablePage_; +} + +void ListVpdGrantRulesRequest::setEnablePage(bool enablePage) { + enablePage_ = enablePage; + setBodyParameter(std::string("EnablePage"), enablePage ? "true" : "false"); +} + diff --git a/eflo/src/model/ListVpdGrantRulesResult.cc b/eflo/src/model/ListVpdGrantRulesResult.cc new file mode 100644 index 000000000..54932c414 --- /dev/null +++ b/eflo/src/model/ListVpdGrantRulesResult.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::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +ListVpdGrantRulesResult::ListVpdGrantRulesResult() : + ServiceResult() +{} + +ListVpdGrantRulesResult::ListVpdGrantRulesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListVpdGrantRulesResult::~ListVpdGrantRulesResult() +{} + +void ListVpdGrantRulesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["Total"].isNull()) + content_.total = std::stol(contentNode["Total"].asString()); + auto allDataNode = contentNode["Data"]["DataItem"]; + for (auto contentNodeDataDataItem : allDataNode) + { + Content::DataItem dataItemObject; + if(!contentNodeDataDataItem["RegionId"].isNull()) + dataItemObject.regionId = contentNodeDataDataItem["RegionId"].asString(); + if(!contentNodeDataDataItem["TenantId"].isNull()) + dataItemObject.tenantId = contentNodeDataDataItem["TenantId"].asString(); + if(!contentNodeDataDataItem["InstanceId"].isNull()) + dataItemObject.instanceId = contentNodeDataDataItem["InstanceId"].asString(); + if(!contentNodeDataDataItem["InstanceName"].isNull()) + dataItemObject.instanceName = contentNodeDataDataItem["InstanceName"].asString(); + if(!contentNodeDataDataItem["Product"].isNull()) + dataItemObject.product = contentNodeDataDataItem["Product"].asString(); + if(!contentNodeDataDataItem["ErId"].isNull()) + dataItemObject.erId = contentNodeDataDataItem["ErId"].asString(); + if(!contentNodeDataDataItem["GrantTenantId"].isNull()) + dataItemObject.grantTenantId = contentNodeDataDataItem["GrantTenantId"].asString(); + if(!contentNodeDataDataItem["Used"].isNull()) + dataItemObject.used = contentNodeDataDataItem["Used"].asString() == "true"; + if(!contentNodeDataDataItem["CreateTime"].isNull()) + dataItemObject.createTime = contentNodeDataDataItem["CreateTime"].asString(); + if(!contentNodeDataDataItem["GrantRuleId"].isNull()) + dataItemObject.grantRuleId = contentNodeDataDataItem["GrantRuleId"].asString(); + content_.data.push_back(dataItemObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string ListVpdGrantRulesResult::getMessage()const +{ + return message_; +} + +ListVpdGrantRulesResult::Content ListVpdGrantRulesResult::getContent()const +{ + return content_; +} + +int ListVpdGrantRulesResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/ListVpdRouteEntriesRequest.cc b/eflo/src/model/ListVpdRouteEntriesRequest.cc new file mode 100644 index 000000000..1342ff04c --- /dev/null +++ b/eflo/src/model/ListVpdRouteEntriesRequest.cc @@ -0,0 +1,135 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Eflo::Model::ListVpdRouteEntriesRequest; + +ListVpdRouteEntriesRequest::ListVpdRouteEntriesRequest() + : RpcServiceRequest("eflo", "2022-05-30", "ListVpdRouteEntries") { + setMethod(HttpRequest::Method::Post); +} + +ListVpdRouteEntriesRequest::~ListVpdRouteEntriesRequest() {} + +bool ListVpdRouteEntriesRequest::getIgnoreDetailedRouteEntry() const { + return ignoreDetailedRouteEntry_; +} + +void ListVpdRouteEntriesRequest::setIgnoreDetailedRouteEntry(bool ignoreDetailedRouteEntry) { + ignoreDetailedRouteEntry_ = ignoreDetailedRouteEntry; + setBodyParameter(std::string("IgnoreDetailedRouteEntry"), ignoreDetailedRouteEntry ? "true" : "false"); +} + +int ListVpdRouteEntriesRequest::getPageNumber() const { + return pageNumber_; +} + +void ListVpdRouteEntriesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListVpdRouteEntriesRequest::getRouteType() const { + return routeType_; +} + +void ListVpdRouteEntriesRequest::setRouteType(const std::string &routeType) { + routeType_ = routeType; + setBodyParameter(std::string("RouteType"), routeType); +} + +std::string ListVpdRouteEntriesRequest::getRegionId() const { + return regionId_; +} + +void ListVpdRouteEntriesRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +int ListVpdRouteEntriesRequest::getPageSize() const { + return pageSize_; +} + +void ListVpdRouteEntriesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListVpdRouteEntriesRequest::getNextHopId() const { + return nextHopId_; +} + +void ListVpdRouteEntriesRequest::setNextHopId(const std::string &nextHopId) { + nextHopId_ = nextHopId; + setBodyParameter(std::string("NextHopId"), nextHopId); +} + +std::string ListVpdRouteEntriesRequest::getNextHopType() const { + return nextHopType_; +} + +void ListVpdRouteEntriesRequest::setNextHopType(const std::string &nextHopType) { + nextHopType_ = nextHopType; + setBodyParameter(std::string("NextHopType"), nextHopType); +} + +std::string ListVpdRouteEntriesRequest::getVpdRouteEntryId() const { + return vpdRouteEntryId_; +} + +void ListVpdRouteEntriesRequest::setVpdRouteEntryId(const std::string &vpdRouteEntryId) { + vpdRouteEntryId_ = vpdRouteEntryId; + setBodyParameter(std::string("VpdRouteEntryId"), vpdRouteEntryId); +} + +std::string ListVpdRouteEntriesRequest::getDestinationCidrBlock() const { + return destinationCidrBlock_; +} + +void ListVpdRouteEntriesRequest::setDestinationCidrBlock(const std::string &destinationCidrBlock) { + destinationCidrBlock_ = destinationCidrBlock; + setBodyParameter(std::string("DestinationCidrBlock"), destinationCidrBlock); +} + +std::string ListVpdRouteEntriesRequest::getVpdId() const { + return vpdId_; +} + +void ListVpdRouteEntriesRequest::setVpdId(const std::string &vpdId) { + vpdId_ = vpdId; + setBodyParameter(std::string("VpdId"), vpdId); +} + +bool ListVpdRouteEntriesRequest::getEnablePage() const { + return enablePage_; +} + +void ListVpdRouteEntriesRequest::setEnablePage(bool enablePage) { + enablePage_ = enablePage; + setBodyParameter(std::string("EnablePage"), enablePage ? "true" : "false"); +} + +std::string ListVpdRouteEntriesRequest::getStatus() const { + return status_; +} + +void ListVpdRouteEntriesRequest::setStatus(const std::string &status) { + status_ = status; + setBodyParameter(std::string("Status"), status); +} + diff --git a/eflo/src/model/ListVpdRouteEntriesResult.cc b/eflo/src/model/ListVpdRouteEntriesResult.cc new file mode 100644 index 000000000..4629ca808 --- /dev/null +++ b/eflo/src/model/ListVpdRouteEntriesResult.cc @@ -0,0 +1,94 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +ListVpdRouteEntriesResult::ListVpdRouteEntriesResult() : + ServiceResult() +{} + +ListVpdRouteEntriesResult::ListVpdRouteEntriesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListVpdRouteEntriesResult::~ListVpdRouteEntriesResult() +{} + +void ListVpdRouteEntriesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["Total"].isNull()) + content_.total = std::stol(contentNode["Total"].asString()); + auto allDataNode = contentNode["Data"]["DataItem"]; + for (auto contentNodeDataDataItem : allDataNode) + { + Content::DataItem dataItemObject; + if(!contentNodeDataDataItem["VpdId"].isNull()) + dataItemObject.vpdId = contentNodeDataDataItem["VpdId"].asString(); + if(!contentNodeDataDataItem["TenantId"].isNull()) + dataItemObject.tenantId = contentNodeDataDataItem["TenantId"].asString(); + if(!contentNodeDataDataItem["ResourceTenantId"].isNull()) + dataItemObject.resourceTenantId = contentNodeDataDataItem["ResourceTenantId"].asString(); + if(!contentNodeDataDataItem["RegionId"].isNull()) + dataItemObject.regionId = contentNodeDataDataItem["RegionId"].asString(); + if(!contentNodeDataDataItem["VpdRouteEntryId"].isNull()) + dataItemObject.vpdRouteEntryId = contentNodeDataDataItem["VpdRouteEntryId"].asString(); + if(!contentNodeDataDataItem["DestinationCidrBlock"].isNull()) + dataItemObject.destinationCidrBlock = contentNodeDataDataItem["DestinationCidrBlock"].asString(); + if(!contentNodeDataDataItem["NextHopType"].isNull()) + dataItemObject.nextHopType = contentNodeDataDataItem["NextHopType"].asString(); + if(!contentNodeDataDataItem["NextHopId"].isNull()) + dataItemObject.nextHopId = contentNodeDataDataItem["NextHopId"].asString(); + if(!contentNodeDataDataItem["RouteType"].isNull()) + dataItemObject.routeType = contentNodeDataDataItem["RouteType"].asString(); + if(!contentNodeDataDataItem["Status"].isNull()) + dataItemObject.status = contentNodeDataDataItem["Status"].asString(); + if(!contentNodeDataDataItem["GmtModified"].isNull()) + dataItemObject.gmtModified = contentNodeDataDataItem["GmtModified"].asString(); + content_.data.push_back(dataItemObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string ListVpdRouteEntriesResult::getMessage()const +{ + return message_; +} + +ListVpdRouteEntriesResult::Content ListVpdRouteEntriesResult::getContent()const +{ + return content_; +} + +int ListVpdRouteEntriesResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/ListVpdsRequest.cc b/eflo/src/model/ListVpdsRequest.cc index fbccedcd2..b414dd9c0 100644 --- a/eflo/src/model/ListVpdsRequest.cc +++ b/eflo/src/model/ListVpdsRequest.cc @@ -25,6 +25,15 @@ ListVpdsRequest::ListVpdsRequest() ListVpdsRequest::~ListVpdsRequest() {} +std::string ListVpdsRequest::getVpdName() const { + return vpdName_; +} + +void ListVpdsRequest::setVpdName(const std::string &vpdName) { + vpdName_ = vpdName; + setBodyParameter(std::string("VpdName"), vpdName); +} + int ListVpdsRequest::getPageNumber() const { return pageNumber_; } @@ -43,6 +52,15 @@ void ListVpdsRequest::setWithDependence(bool withDependence) { setBodyParameter(std::string("WithDependence"), withDependence ? "true" : "false"); } +std::string ListVpdsRequest::getResourceGroupId() const { + return resourceGroupId_; +} + +void ListVpdsRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setBodyParameter(std::string("ResourceGroupId"), resourceGroupId); +} + std::string ListVpdsRequest::getRegionId() const { return regionId_; } @@ -70,6 +88,20 @@ void ListVpdsRequest::setPageSize(int pageSize) { setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } +std::vector ListVpdsRequest::getTag() const { + return tag_; +} + +void ListVpdsRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setBodyParameter(tagObjStr + ".Value", tagObj.value); + setBodyParameter(tagObjStr + ".Key", tagObj.key); + } +} + bool ListVpdsRequest::getForSelect() const { return forSelect_; } @@ -106,15 +138,6 @@ void ListVpdsRequest::setEnablePage(bool enablePage) { setBodyParameter(std::string("EnablePage"), enablePage ? "true" : "false"); } -std::string ListVpdsRequest::getName() const { - return name_; -} - -void ListVpdsRequest::setName(const std::string &name) { - name_ = name; - setBodyParameter(std::string("Name"), name); -} - std::string ListVpdsRequest::getStatus() const { return status_; } diff --git a/eflo/src/model/ListVpdsResult.cc b/eflo/src/model/ListVpdsResult.cc index b1e41dcf1..afb33e6d1 100644 --- a/eflo/src/model/ListVpdsResult.cc +++ b/eflo/src/model/ListVpdsResult.cc @@ -46,12 +46,14 @@ void ListVpdsResult::parse(const std::string &payload) for (auto contentNodeDataDataItem : allDataNode) { Content::DataItem dataItemObject; + if(!contentNodeDataDataItem["TenantId"].isNull()) + dataItemObject.tenantId = contentNodeDataDataItem["TenantId"].asString(); if(!contentNodeDataDataItem["RegionId"].isNull()) dataItemObject.regionId = contentNodeDataDataItem["RegionId"].asString(); if(!contentNodeDataDataItem["VpdId"].isNull()) dataItemObject.vpdId = contentNodeDataDataItem["VpdId"].asString(); - if(!contentNodeDataDataItem["Name"].isNull()) - dataItemObject.name = contentNodeDataDataItem["Name"].asString(); + if(!contentNodeDataDataItem["VpdName"].isNull()) + dataItemObject.vpdName = contentNodeDataDataItem["VpdName"].asString(); if(!contentNodeDataDataItem["Cidr"].isNull()) dataItemObject.cidr = contentNodeDataDataItem["Cidr"].asString(); if(!contentNodeDataDataItem["ServiceCidr"].isNull()) @@ -60,18 +62,63 @@ void ListVpdsResult::parse(const std::string &payload) dataItemObject.status = contentNodeDataDataItem["Status"].asString(); if(!contentNodeDataDataItem["Message"].isNull()) dataItemObject.message = contentNodeDataDataItem["Message"].asString(); - if(!contentNodeDataDataItem["Route"].isNull()) - dataItemObject.route = std::stoi(contentNodeDataDataItem["Route"].asString()); if(!contentNodeDataDataItem["NcCount"].isNull()) dataItemObject.ncCount = std::stoi(contentNodeDataDataItem["NcCount"].asString()); + if(!contentNodeDataDataItem["NetworkInterfaceCount"].isNull()) + dataItemObject.networkInterfaceCount = std::stoi(contentNodeDataDataItem["NetworkInterfaceCount"].asString()); if(!contentNodeDataDataItem["SubnetCount"].isNull()) dataItemObject.subnetCount = std::stoi(contentNodeDataDataItem["SubnetCount"].asString()); - if(!contentNodeDataDataItem["GmtCreate"].isNull()) - dataItemObject.gmtCreate = contentNodeDataDataItem["GmtCreate"].asString(); + if(!contentNodeDataDataItem["CreateTime"].isNull()) + dataItemObject.createTime = contentNodeDataDataItem["CreateTime"].asString(); if(!contentNodeDataDataItem["GmtModified"].isNull()) dataItemObject.gmtModified = contentNodeDataDataItem["GmtModified"].asString(); if(!contentNodeDataDataItem["Dependence"].isNull()) dataItemObject.dependence = contentNodeDataDataItem["Dependence"].asString(); + if(!contentNodeDataDataItem["ResourceGroupId"].isNull()) + dataItemObject.resourceGroupId = contentNodeDataDataItem["ResourceGroupId"].asString(); + auto allErInfosNode = contentNodeDataDataItem["ErInfos"]["ErInfo"]; + for (auto contentNodeDataDataItemErInfosErInfo : allErInfosNode) + { + Content::DataItem::ErInfo erInfosObject; + if(!contentNodeDataDataItemErInfosErInfo["CreateTime"].isNull()) + erInfosObject.createTime = contentNodeDataDataItemErInfosErInfo["CreateTime"].asString(); + if(!contentNodeDataDataItemErInfosErInfo["GmtModified"].isNull()) + erInfosObject.gmtModified = contentNodeDataDataItemErInfosErInfo["GmtModified"].asString(); + if(!contentNodeDataDataItemErInfosErInfo["Message"].isNull()) + erInfosObject.message = contentNodeDataDataItemErInfosErInfo["Message"].asString(); + if(!contentNodeDataDataItemErInfosErInfo["ErId"].isNull()) + erInfosObject.erId = contentNodeDataDataItemErInfosErInfo["ErId"].asString(); + if(!contentNodeDataDataItemErInfosErInfo["RegionId"].isNull()) + erInfosObject.regionId = contentNodeDataDataItemErInfosErInfo["RegionId"].asString(); + if(!contentNodeDataDataItemErInfosErInfo["TenantId"].isNull()) + erInfosObject.tenantId = contentNodeDataDataItemErInfosErInfo["TenantId"].asString(); + if(!contentNodeDataDataItemErInfosErInfo["Status"].isNull()) + erInfosObject.status = contentNodeDataDataItemErInfosErInfo["Status"].asString(); + if(!contentNodeDataDataItemErInfosErInfo["ErName"].isNull()) + erInfosObject.erName = contentNodeDataDataItemErInfosErInfo["ErName"].asString(); + if(!contentNodeDataDataItemErInfosErInfo["MasterZoneId"].isNull()) + erInfosObject.masterZoneId = contentNodeDataDataItemErInfosErInfo["MasterZoneId"].asString(); + if(!contentNodeDataDataItemErInfosErInfo["Description"].isNull()) + erInfosObject.description = contentNodeDataDataItemErInfosErInfo["Description"].asString(); + if(!contentNodeDataDataItemErInfosErInfo["Connections"].isNull()) + erInfosObject.connections = std::stol(contentNodeDataDataItemErInfosErInfo["Connections"].asString()); + if(!contentNodeDataDataItemErInfosErInfo["RouteMaps"].isNull()) + erInfosObject.routeMaps = std::stol(contentNodeDataDataItemErInfosErInfo["RouteMaps"].asString()); + dataItemObject.erInfos.push_back(erInfosObject); + } + auto allTagsNode = contentNodeDataDataItem["Tags"]["Tag"]; + for (auto contentNodeDataDataItemTagsTag : allTagsNode) + { + Content::DataItem::Tag tagsObject; + if(!contentNodeDataDataItemTagsTag["TagKey"].isNull()) + tagsObject.tagKey = contentNodeDataDataItemTagsTag["TagKey"].asString(); + if(!contentNodeDataDataItemTagsTag["TagValue"].isNull()) + tagsObject.tagValue = contentNodeDataDataItemTagsTag["TagValue"].asString(); + dataItemObject.tags.push_back(tagsObject); + } + auto allSecondaryCidrBlocks = value["SecondaryCidrBlocks"]["SecondaryCidrBlock"]; + for (auto value : allSecondaryCidrBlocks) + dataItemObject.secondaryCidrBlocks.push_back(value.asString()); content_.data.push_back(dataItemObject); } if(!value["Code"].isNull()) diff --git a/eflo/src/model/QueryInstanceNcdRequest.cc b/eflo/src/model/QueryInstanceNcdRequest.cc new file mode 100644 index 000000000..2096c7419 --- /dev/null +++ b/eflo/src/model/QueryInstanceNcdRequest.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::Eflo::Model::QueryInstanceNcdRequest; + +QueryInstanceNcdRequest::QueryInstanceNcdRequest() + : RpcServiceRequest("eflo", "2022-05-30", "QueryInstanceNcd") { + setMethod(HttpRequest::Method::Post); +} + +QueryInstanceNcdRequest::~QueryInstanceNcdRequest() {} + +std::string QueryInstanceNcdRequest::getInstanceId2() const { + return instanceId2_; +} + +void QueryInstanceNcdRequest::setInstanceId2(const std::string &instanceId2) { + instanceId2_ = instanceId2; + setBodyParameter(std::string("InstanceId2"), instanceId2); +} + +std::string QueryInstanceNcdRequest::getRegionId() const { + return regionId_; +} + +void QueryInstanceNcdRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +std::string QueryInstanceNcdRequest::getInstanceId1() const { + return instanceId1_; +} + +void QueryInstanceNcdRequest::setInstanceId1(const std::string &instanceId1) { + instanceId1_ = instanceId1; + setBodyParameter(std::string("InstanceId1"), instanceId1); +} + +std::string QueryInstanceNcdRequest::getInstanceType() const { + return instanceType_; +} + +void QueryInstanceNcdRequest::setInstanceType(const std::string &instanceType) { + instanceType_ = instanceType; + setBodyParameter(std::string("InstanceType"), instanceType); +} + diff --git a/eflo/src/model/QueryInstanceNcdResult.cc b/eflo/src/model/QueryInstanceNcdResult.cc new file mode 100644 index 000000000..d233d0e77 --- /dev/null +++ b/eflo/src/model/QueryInstanceNcdResult.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::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +QueryInstanceNcdResult::QueryInstanceNcdResult() : + ServiceResult() +{} + +QueryInstanceNcdResult::QueryInstanceNcdResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryInstanceNcdResult::~QueryInstanceNcdResult() +{} + +void QueryInstanceNcdResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["Ncd"].isNull()) + content_.ncd = std::stoi(contentNode["Ncd"].asString()); + if(!contentNode["InstanceId1"].isNull()) + content_.instanceId1 = contentNode["InstanceId1"].asString(); + if(!contentNode["InstanceId2"].isNull()) + content_.instanceId2 = contentNode["InstanceId2"].asString(); + if(!contentNode["InstanceType"].isNull()) + content_.instanceType = contentNode["InstanceType"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string QueryInstanceNcdResult::getMessage()const +{ + return message_; +} + +QueryInstanceNcdResult::Content QueryInstanceNcdResult::getContent()const +{ + return content_; +} + +int QueryInstanceNcdResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/UnAssignPrivateIpAddressRequest.cc b/eflo/src/model/UnAssignPrivateIpAddressRequest.cc new file mode 100644 index 000000000..3956a32b6 --- /dev/null +++ b/eflo/src/model/UnAssignPrivateIpAddressRequest.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::Eflo::Model::UnAssignPrivateIpAddressRequest; + +UnAssignPrivateIpAddressRequest::UnAssignPrivateIpAddressRequest() + : RpcServiceRequest("eflo", "2022-05-30", "UnAssignPrivateIpAddress") { + setMethod(HttpRequest::Method::Post); +} + +UnAssignPrivateIpAddressRequest::~UnAssignPrivateIpAddressRequest() {} + +std::string UnAssignPrivateIpAddressRequest::getSubnetId() const { + return subnetId_; +} + +void UnAssignPrivateIpAddressRequest::setSubnetId(const std::string &subnetId) { + subnetId_ = subnetId; + setBodyParameter(std::string("SubnetId"), subnetId); +} + +std::string UnAssignPrivateIpAddressRequest::getPrivateIpAddress() const { + return privateIpAddress_; +} + +void UnAssignPrivateIpAddressRequest::setPrivateIpAddress(const std::string &privateIpAddress) { + privateIpAddress_ = privateIpAddress; + setBodyParameter(std::string("PrivateIpAddress"), privateIpAddress); +} + +std::string UnAssignPrivateIpAddressRequest::getRegionId() const { + return regionId_; +} + +void UnAssignPrivateIpAddressRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +std::string UnAssignPrivateIpAddressRequest::getIpName() const { + return ipName_; +} + +void UnAssignPrivateIpAddressRequest::setIpName(const std::string &ipName) { + ipName_ = ipName; + setBodyParameter(std::string("IpName"), ipName); +} + +std::string UnAssignPrivateIpAddressRequest::getNetworkInterfaceId() const { + return networkInterfaceId_; +} + +void UnAssignPrivateIpAddressRequest::setNetworkInterfaceId(const std::string &networkInterfaceId) { + networkInterfaceId_ = networkInterfaceId; + setBodyParameter(std::string("NetworkInterfaceId"), networkInterfaceId); +} + diff --git a/eflo/src/model/UnAssignPrivateIpAddressResult.cc b/eflo/src/model/UnAssignPrivateIpAddressResult.cc new file mode 100644 index 000000000..7debc5bba --- /dev/null +++ b/eflo/src/model/UnAssignPrivateIpAddressResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +UnAssignPrivateIpAddressResult::UnAssignPrivateIpAddressResult() : + ServiceResult() +{} + +UnAssignPrivateIpAddressResult::UnAssignPrivateIpAddressResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UnAssignPrivateIpAddressResult::~UnAssignPrivateIpAddressResult() +{} + +void UnAssignPrivateIpAddressResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["NetworkInterfaceId"].isNull()) + content_.networkInterfaceId = contentNode["NetworkInterfaceId"].asString(); + if(!contentNode["IpName"].isNull()) + content_.ipName = contentNode["IpName"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string UnAssignPrivateIpAddressResult::getMessage()const +{ + return message_; +} + +UnAssignPrivateIpAddressResult::Content UnAssignPrivateIpAddressResult::getContent()const +{ + return content_; +} + +int UnAssignPrivateIpAddressResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/UnAssociateVpdCidrBlockRequest.cc b/eflo/src/model/UnAssociateVpdCidrBlockRequest.cc new file mode 100644 index 000000000..39cf5442a --- /dev/null +++ b/eflo/src/model/UnAssociateVpdCidrBlockRequest.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::Eflo::Model::UnAssociateVpdCidrBlockRequest; + +UnAssociateVpdCidrBlockRequest::UnAssociateVpdCidrBlockRequest() + : RpcServiceRequest("eflo", "2022-05-30", "UnAssociateVpdCidrBlock") { + setMethod(HttpRequest::Method::Post); +} + +UnAssociateVpdCidrBlockRequest::~UnAssociateVpdCidrBlockRequest() {} + +std::string UnAssociateVpdCidrBlockRequest::getRegionId() const { + return regionId_; +} + +void UnAssociateVpdCidrBlockRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +std::string UnAssociateVpdCidrBlockRequest::getVpdId() const { + return vpdId_; +} + +void UnAssociateVpdCidrBlockRequest::setVpdId(const std::string &vpdId) { + vpdId_ = vpdId; + setBodyParameter(std::string("VpdId"), vpdId); +} + +std::string UnAssociateVpdCidrBlockRequest::getSecondaryCidrBlock() const { + return secondaryCidrBlock_; +} + +void UnAssociateVpdCidrBlockRequest::setSecondaryCidrBlock(const std::string &secondaryCidrBlock) { + secondaryCidrBlock_ = secondaryCidrBlock; + setBodyParameter(std::string("SecondaryCidrBlock"), secondaryCidrBlock); +} + diff --git a/eflo/src/model/UnAssociateVpdCidrBlockResult.cc b/eflo/src/model/UnAssociateVpdCidrBlockResult.cc new file mode 100644 index 000000000..93b79d7cb --- /dev/null +++ b/eflo/src/model/UnAssociateVpdCidrBlockResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +UnAssociateVpdCidrBlockResult::UnAssociateVpdCidrBlockResult() : + ServiceResult() +{} + +UnAssociateVpdCidrBlockResult::UnAssociateVpdCidrBlockResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UnAssociateVpdCidrBlockResult::~UnAssociateVpdCidrBlockResult() +{} + +void UnAssociateVpdCidrBlockResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["VpdId"].isNull()) + content_.vpdId = contentNode["VpdId"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string UnAssociateVpdCidrBlockResult::getMessage()const +{ + return message_; +} + +UnAssociateVpdCidrBlockResult::Content UnAssociateVpdCidrBlockResult::getContent()const +{ + return content_; +} + +int UnAssociateVpdCidrBlockResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/UpdateElasticNetworkInterfaceRequest.cc b/eflo/src/model/UpdateElasticNetworkInterfaceRequest.cc new file mode 100644 index 000000000..fab99d5a4 --- /dev/null +++ b/eflo/src/model/UpdateElasticNetworkInterfaceRequest.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::Eflo::Model::UpdateElasticNetworkInterfaceRequest; + +UpdateElasticNetworkInterfaceRequest::UpdateElasticNetworkInterfaceRequest() + : RpcServiceRequest("eflo", "2022-05-30", "UpdateElasticNetworkInterface") { + setMethod(HttpRequest::Method::Post); +} + +UpdateElasticNetworkInterfaceRequest::~UpdateElasticNetworkInterfaceRequest() {} + +std::string UpdateElasticNetworkInterfaceRequest::getDescription() const { + return description_; +} + +void UpdateElasticNetworkInterfaceRequest::setDescription(const std::string &description) { + description_ = description; + setBodyParameter(std::string("Description"), description); +} + +std::string UpdateElasticNetworkInterfaceRequest::getRegionId() const { + return regionId_; +} + +void UpdateElasticNetworkInterfaceRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +std::string UpdateElasticNetworkInterfaceRequest::getElasticNetworkInterfaceId() const { + return elasticNetworkInterfaceId_; +} + +void UpdateElasticNetworkInterfaceRequest::setElasticNetworkInterfaceId(const std::string &elasticNetworkInterfaceId) { + elasticNetworkInterfaceId_ = elasticNetworkInterfaceId; + setBodyParameter(std::string("ElasticNetworkInterfaceId"), elasticNetworkInterfaceId); +} + diff --git a/eflo/src/model/UpdateElasticNetworkInterfaceResult.cc b/eflo/src/model/UpdateElasticNetworkInterfaceResult.cc new file mode 100644 index 000000000..56dcd95be --- /dev/null +++ b/eflo/src/model/UpdateElasticNetworkInterfaceResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +UpdateElasticNetworkInterfaceResult::UpdateElasticNetworkInterfaceResult() : + ServiceResult() +{} + +UpdateElasticNetworkInterfaceResult::UpdateElasticNetworkInterfaceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateElasticNetworkInterfaceResult::~UpdateElasticNetworkInterfaceResult() +{} + +void UpdateElasticNetworkInterfaceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["NodeId"].isNull()) + content_.nodeId = contentNode["NodeId"].asString(); + if(!contentNode["ElasticNetworkInterfaceId"].isNull()) + content_.elasticNetworkInterfaceId = contentNode["ElasticNetworkInterfaceId"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string UpdateElasticNetworkInterfaceResult::getMessage()const +{ + return message_; +} + +UpdateElasticNetworkInterfaceResult::Content UpdateElasticNetworkInterfaceResult::getContent()const +{ + return content_; +} + +int UpdateElasticNetworkInterfaceResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/UpdateErAttachmentRequest.cc b/eflo/src/model/UpdateErAttachmentRequest.cc new file mode 100644 index 000000000..7cafc9a05 --- /dev/null +++ b/eflo/src/model/UpdateErAttachmentRequest.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::Eflo::Model::UpdateErAttachmentRequest; + +UpdateErAttachmentRequest::UpdateErAttachmentRequest() + : RpcServiceRequest("eflo", "2022-05-30", "UpdateErAttachment") { + setMethod(HttpRequest::Method::Post); +} + +UpdateErAttachmentRequest::~UpdateErAttachmentRequest() {} + +std::string UpdateErAttachmentRequest::getErId() const { + return erId_; +} + +void UpdateErAttachmentRequest::setErId(const std::string &erId) { + erId_ = erId; + setBodyParameter(std::string("ErId"), erId); +} + +std::string UpdateErAttachmentRequest::getErAttachmentId() const { + return erAttachmentId_; +} + +void UpdateErAttachmentRequest::setErAttachmentId(const std::string &erAttachmentId) { + erAttachmentId_ = erAttachmentId; + setBodyParameter(std::string("ErAttachmentId"), erAttachmentId); +} + +std::string UpdateErAttachmentRequest::getRegionId() const { + return regionId_; +} + +void UpdateErAttachmentRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + +std::string UpdateErAttachmentRequest::getErAttachmentName() const { + return erAttachmentName_; +} + +void UpdateErAttachmentRequest::setErAttachmentName(const std::string &erAttachmentName) { + erAttachmentName_ = erAttachmentName; + setBodyParameter(std::string("ErAttachmentName"), erAttachmentName); +} + diff --git a/eflo/src/model/UpdateErAttachmentResult.cc b/eflo/src/model/UpdateErAttachmentResult.cc new file mode 100644 index 000000000..15d3c6439 --- /dev/null +++ b/eflo/src/model/UpdateErAttachmentResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +UpdateErAttachmentResult::UpdateErAttachmentResult() : + ServiceResult() +{} + +UpdateErAttachmentResult::UpdateErAttachmentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateErAttachmentResult::~UpdateErAttachmentResult() +{} + +void UpdateErAttachmentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Content"].isNull()) + content_ = value["Content"].asString(); + +} + +std::string UpdateErAttachmentResult::getMessage()const +{ + return message_; +} + +std::string UpdateErAttachmentResult::getContent()const +{ + return content_; +} + +int UpdateErAttachmentResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/UpdateErRequest.cc b/eflo/src/model/UpdateErRequest.cc new file mode 100644 index 000000000..0a05bec0e --- /dev/null +++ b/eflo/src/model/UpdateErRequest.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::Eflo::Model::UpdateErRequest; + +UpdateErRequest::UpdateErRequest() + : RpcServiceRequest("eflo", "2022-05-30", "UpdateEr") { + setMethod(HttpRequest::Method::Post); +} + +UpdateErRequest::~UpdateErRequest() {} + +std::string UpdateErRequest::getErId() const { + return erId_; +} + +void UpdateErRequest::setErId(const std::string &erId) { + erId_ = erId; + setBodyParameter(std::string("ErId"), erId); +} + +std::string UpdateErRequest::getDescription() const { + return description_; +} + +void UpdateErRequest::setDescription(const std::string &description) { + description_ = description; + setBodyParameter(std::string("Description"), description); +} + +std::string UpdateErRequest::getErName() const { + return erName_; +} + +void UpdateErRequest::setErName(const std::string &erName) { + erName_ = erName; + setBodyParameter(std::string("ErName"), erName); +} + +std::string UpdateErRequest::getRegionId() const { + return regionId_; +} + +void UpdateErRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + diff --git a/eflo/src/model/UpdateErResult.cc b/eflo/src/model/UpdateErResult.cc new file mode 100644 index 000000000..690c1dd43 --- /dev/null +++ b/eflo/src/model/UpdateErResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +UpdateErResult::UpdateErResult() : + ServiceResult() +{} + +UpdateErResult::UpdateErResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateErResult::~UpdateErResult() +{} + +void UpdateErResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Content"].isNull()) + content_ = value["Content"].asString(); + +} + +std::string UpdateErResult::getMessage()const +{ + return message_; +} + +std::string UpdateErResult::getContent()const +{ + return content_; +} + +int UpdateErResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/UpdateErRouteMapRequest.cc b/eflo/src/model/UpdateErRouteMapRequest.cc new file mode 100644 index 000000000..9155baa93 --- /dev/null +++ b/eflo/src/model/UpdateErRouteMapRequest.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::Eflo::Model::UpdateErRouteMapRequest; + +UpdateErRouteMapRequest::UpdateErRouteMapRequest() + : RpcServiceRequest("eflo", "2022-05-30", "UpdateErRouteMap") { + setMethod(HttpRequest::Method::Post); +} + +UpdateErRouteMapRequest::~UpdateErRouteMapRequest() {} + +std::string UpdateErRouteMapRequest::getErId() const { + return erId_; +} + +void UpdateErRouteMapRequest::setErId(const std::string &erId) { + erId_ = erId; + setBodyParameter(std::string("ErId"), erId); +} + +std::string UpdateErRouteMapRequest::getDescription() const { + return description_; +} + +void UpdateErRouteMapRequest::setDescription(const std::string &description) { + description_ = description; + setBodyParameter(std::string("Description"), description); +} + +std::string UpdateErRouteMapRequest::getErRouteMapId() const { + return erRouteMapId_; +} + +void UpdateErRouteMapRequest::setErRouteMapId(const std::string &erRouteMapId) { + erRouteMapId_ = erRouteMapId; + setBodyParameter(std::string("ErRouteMapId"), erRouteMapId); +} + +std::string UpdateErRouteMapRequest::getRegionId() const { + return regionId_; +} + +void UpdateErRouteMapRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); +} + diff --git a/eflo/src/model/UpdateErRouteMapResult.cc b/eflo/src/model/UpdateErRouteMapResult.cc new file mode 100644 index 000000000..5f13325d3 --- /dev/null +++ b/eflo/src/model/UpdateErRouteMapResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Eflo; +using namespace AlibabaCloud::Eflo::Model; + +UpdateErRouteMapResult::UpdateErRouteMapResult() : + ServiceResult() +{} + +UpdateErRouteMapResult::UpdateErRouteMapResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateErRouteMapResult::~UpdateErRouteMapResult() +{} + +void UpdateErRouteMapResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Content"].isNull()) + content_ = value["Content"].asString(); + +} + +std::string UpdateErRouteMapResult::getMessage()const +{ + return message_; +} + +std::string UpdateErRouteMapResult::getContent()const +{ + return content_; +} + +int UpdateErRouteMapResult::getCode()const +{ + return code_; +} + diff --git a/eflo/src/model/UpdateSubnetRequest.cc b/eflo/src/model/UpdateSubnetRequest.cc index 75c27aeef..20b8dbe81 100644 --- a/eflo/src/model/UpdateSubnetRequest.cc +++ b/eflo/src/model/UpdateSubnetRequest.cc @@ -34,15 +34,6 @@ void UpdateSubnetRequest::setSubnetId(const std::string &subnetId) { setBodyParameter(std::string("SubnetId"), subnetId); } -std::string UpdateSubnetRequest::getDescription() const { - return description_; -} - -void UpdateSubnetRequest::setDescription(const std::string &description) { - description_ = description; - setBodyParameter(std::string("Description"), description); -} - std::string UpdateSubnetRequest::getRegionId() const { return regionId_; } @@ -61,15 +52,6 @@ void UpdateSubnetRequest::setVpdId(const std::string &vpdId) { setBodyParameter(std::string("VpdId"), vpdId); } -std::string UpdateSubnetRequest::getName() const { - return name_; -} - -void UpdateSubnetRequest::setName(const std::string &name) { - name_ = name; - setBodyParameter(std::string("Name"), name); -} - std::string UpdateSubnetRequest::getZoneId() const { return zoneId_; } @@ -79,3 +61,12 @@ void UpdateSubnetRequest::setZoneId(const std::string &zoneId) { setBodyParameter(std::string("ZoneId"), zoneId); } +std::string UpdateSubnetRequest::getSubnetName() const { + return subnetName_; +} + +void UpdateSubnetRequest::setSubnetName(const std::string &subnetName) { + subnetName_ = subnetName; + setBodyParameter(std::string("SubnetName"), subnetName); +} + diff --git a/eflo/src/model/UpdateVpdRequest.cc b/eflo/src/model/UpdateVpdRequest.cc index 1417b5cb7..5821eca66 100644 --- a/eflo/src/model/UpdateVpdRequest.cc +++ b/eflo/src/model/UpdateVpdRequest.cc @@ -25,13 +25,13 @@ UpdateVpdRequest::UpdateVpdRequest() UpdateVpdRequest::~UpdateVpdRequest() {} -std::string UpdateVpdRequest::getDescription() const { - return description_; +std::string UpdateVpdRequest::getVpdName() const { + return vpdName_; } -void UpdateVpdRequest::setDescription(const std::string &description) { - description_ = description; - setBodyParameter(std::string("Description"), description); +void UpdateVpdRequest::setVpdName(const std::string &vpdName) { + vpdName_ = vpdName; + setBodyParameter(std::string("VpdName"), vpdName); } std::string UpdateVpdRequest::getRegionId() const { @@ -52,12 +52,3 @@ void UpdateVpdRequest::setVpdId(const std::string &vpdId) { setBodyParameter(std::string("VpdId"), vpdId); } -std::string UpdateVpdRequest::getName() const { - return name_; -} - -void UpdateVpdRequest::setName(const std::string &name) { - name_ = name; - setBodyParameter(std::string("Name"), name); -} -