Support API ARMInstance.

This commit is contained in:
sdk-team
2022-07-26 06:15:45 +00:00
parent acb3224329
commit 4ff92e0924
161 changed files with 6076 additions and 2701 deletions

View File

@@ -27,10 +27,8 @@ set(ens_public_header_model
include/alibabacloud/ens/model/AddDeviceInternetPortResult.h
include/alibabacloud/ens/model/AddNetworkInterfaceToInstanceRequest.h
include/alibabacloud/ens/model/AddNetworkInterfaceToInstanceResult.h
include/alibabacloud/ens/model/AllocateEipAddressRequest.h
include/alibabacloud/ens/model/AllocateEipAddressResult.h
include/alibabacloud/ens/model/AssociateEipAddressRequest.h
include/alibabacloud/ens/model/AssociateEipAddressResult.h
include/alibabacloud/ens/model/AssignPrivateIpAddressesRequest.h
include/alibabacloud/ens/model/AssignPrivateIpAddressesResult.h
include/alibabacloud/ens/model/AssociateEnsEipAddressRequest.h
include/alibabacloud/ens/model/AssociateEnsEipAddressResult.h
include/alibabacloud/ens/model/AttachDiskRequest.h
@@ -41,26 +39,24 @@ set(ens_public_header_model
include/alibabacloud/ens/model/AuthorizeSecurityGroupResult.h
include/alibabacloud/ens/model/AuthorizeSecurityGroupEgressRequest.h
include/alibabacloud/ens/model/AuthorizeSecurityGroupEgressResult.h
include/alibabacloud/ens/model/CheckQuotaRequest.h
include/alibabacloud/ens/model/CheckQuotaResult.h
include/alibabacloud/ens/model/ConfigureSecurityGroupPermissionsRequest.h
include/alibabacloud/ens/model/ConfigureSecurityGroupPermissionsResult.h
include/alibabacloud/ens/model/CreateARMServerInstancesRequest.h
include/alibabacloud/ens/model/CreateARMServerInstancesResult.h
include/alibabacloud/ens/model/CreateApplicationRequest.h
include/alibabacloud/ens/model/CreateApplicationResult.h
include/alibabacloud/ens/model/CreateClassicNetworkRequest.h
include/alibabacloud/ens/model/CreateClassicNetworkResult.h
include/alibabacloud/ens/model/CreateDiskRequest.h
include/alibabacloud/ens/model/CreateDiskResult.h
include/alibabacloud/ens/model/CreateDiskBuyOrderRequest.h
include/alibabacloud/ens/model/CreateDiskBuyOrderResult.h
include/alibabacloud/ens/model/CreateEPInstanceRequest.h
include/alibabacloud/ens/model/CreateEPInstanceResult.h
include/alibabacloud/ens/model/CreateEipInstanceRequest.h
include/alibabacloud/ens/model/CreateEipInstanceResult.h
include/alibabacloud/ens/model/CreateElbBuyOrderRequest.h
include/alibabacloud/ens/model/CreateElbBuyOrderResult.h
include/alibabacloud/ens/model/CreateEnsRouteEntryRequest.h
include/alibabacloud/ens/model/CreateEnsRouteEntryResult.h
include/alibabacloud/ens/model/CreateEnsServiceRequest.h
include/alibabacloud/ens/model/CreateEnsServiceResult.h
include/alibabacloud/ens/model/CreateEpnInstanceRequest.h
include/alibabacloud/ens/model/CreateEpnInstanceResult.h
include/alibabacloud/ens/model/CreateForwardEntryRequest.h
include/alibabacloud/ens/model/CreateForwardEntryResult.h
include/alibabacloud/ens/model/CreateImageRequest.h
include/alibabacloud/ens/model/CreateImageResult.h
include/alibabacloud/ens/model/CreateInstanceRequest.h
@@ -77,32 +73,44 @@ set(ens_public_header_model
include/alibabacloud/ens/model/CreateLoadBalancerTCPListenerResult.h
include/alibabacloud/ens/model/CreateLoadBalancerUDPListenerRequest.h
include/alibabacloud/ens/model/CreateLoadBalancerUDPListenerResult.h
include/alibabacloud/ens/model/CreateNatGatewayRequest.h
include/alibabacloud/ens/model/CreateNatGatewayResult.h
include/alibabacloud/ens/model/CreateNetworkRequest.h
include/alibabacloud/ens/model/CreateNetworkResult.h
include/alibabacloud/ens/model/CreateSecurityGroupRequest.h
include/alibabacloud/ens/model/CreateSecurityGroupResult.h
include/alibabacloud/ens/model/CreateSnatEntryRequest.h
include/alibabacloud/ens/model/CreateSnatEntryResult.h
include/alibabacloud/ens/model/CreateVSwitchRequest.h
include/alibabacloud/ens/model/CreateVSwitchResult.h
include/alibabacloud/ens/model/CreateVmAndSaveStockRequest.h
include/alibabacloud/ens/model/CreateVmAndSaveStockResult.h
include/alibabacloud/ens/model/DeleteApplicationRequest.h
include/alibabacloud/ens/model/DeleteApplicationResult.h
include/alibabacloud/ens/model/DeleteDeviceInternetPortRequest.h
include/alibabacloud/ens/model/DeleteDeviceInternetPortResult.h
include/alibabacloud/ens/model/DeleteEnsRouteEntryRequest.h
include/alibabacloud/ens/model/DeleteEnsRouteEntryResult.h
include/alibabacloud/ens/model/DeleteEpnInstanceRequest.h
include/alibabacloud/ens/model/DeleteEpnInstanceResult.h
include/alibabacloud/ens/model/DeleteForwardEntryRequest.h
include/alibabacloud/ens/model/DeleteForwardEntryResult.h
include/alibabacloud/ens/model/DeleteImageRequest.h
include/alibabacloud/ens/model/DeleteImageResult.h
include/alibabacloud/ens/model/DeleteKeyPairsRequest.h
include/alibabacloud/ens/model/DeleteKeyPairsResult.h
include/alibabacloud/ens/model/DeleteLoadBalancerListenerRequest.h
include/alibabacloud/ens/model/DeleteLoadBalancerListenerResult.h
include/alibabacloud/ens/model/DeleteNatGatewayRequest.h
include/alibabacloud/ens/model/DeleteNatGatewayResult.h
include/alibabacloud/ens/model/DeleteNetworkRequest.h
include/alibabacloud/ens/model/DeleteNetworkResult.h
include/alibabacloud/ens/model/DeleteSecurityGroupRequest.h
include/alibabacloud/ens/model/DeleteSecurityGroupResult.h
include/alibabacloud/ens/model/DeleteSnatEntryRequest.h
include/alibabacloud/ens/model/DeleteSnatEntryResult.h
include/alibabacloud/ens/model/DeleteVSwitchRequest.h
include/alibabacloud/ens/model/DeleteVSwitchResult.h
include/alibabacloud/ens/model/DeleteVmRequest.h
include/alibabacloud/ens/model/DeleteVmResult.h
include/alibabacloud/ens/model/DescribeARMServerInstancesRequest.h
include/alibabacloud/ens/model/DescribeARMServerInstancesResult.h
include/alibabacloud/ens/model/DescribeApplicationRequest.h
include/alibabacloud/ens/model/DescribeApplicationResult.h
include/alibabacloud/ens/model/DescribeApplicationResourceSummaryRequest.h
@@ -151,6 +159,8 @@ set(ens_public_header_model
include/alibabacloud/ens/model/DescribeEnsRegionsResult.h
include/alibabacloud/ens/model/DescribeEnsResourceUsageRequest.h
include/alibabacloud/ens/model/DescribeEnsResourceUsageResult.h
include/alibabacloud/ens/model/DescribeEnsRouteEntryListRequest.h
include/alibabacloud/ens/model/DescribeEnsRouteEntryListResult.h
include/alibabacloud/ens/model/DescribeEpnBandWidthDataRequest.h
include/alibabacloud/ens/model/DescribeEpnBandWidthDataResult.h
include/alibabacloud/ens/model/DescribeEpnBandwitdhByInternetChargeTypeRequest.h
@@ -165,6 +175,8 @@ set(ens_public_header_model
include/alibabacloud/ens/model/DescribeExportImageInfoResult.h
include/alibabacloud/ens/model/DescribeExportImageStatusRequest.h
include/alibabacloud/ens/model/DescribeExportImageStatusResult.h
include/alibabacloud/ens/model/DescribeForwardTableEntriesRequest.h
include/alibabacloud/ens/model/DescribeForwardTableEntriesResult.h
include/alibabacloud/ens/model/DescribeImageInfosRequest.h
include/alibabacloud/ens/model/DescribeImageInfosResult.h
include/alibabacloud/ens/model/DescribeImageSharePermissionRequest.h
@@ -201,6 +213,8 @@ set(ens_public_header_model
include/alibabacloud/ens/model/DescribeLoadBalancersResult.h
include/alibabacloud/ens/model/DescribeMeasurementDataRequest.h
include/alibabacloud/ens/model/DescribeMeasurementDataResult.h
include/alibabacloud/ens/model/DescribeNatGatewaysRequest.h
include/alibabacloud/ens/model/DescribeNatGatewaysResult.h
include/alibabacloud/ens/model/DescribeNetworkAttributeRequest.h
include/alibabacloud/ens/model/DescribeNetworkAttributeResult.h
include/alibabacloud/ens/model/DescribeNetworkInterfacesRequest.h
@@ -221,6 +235,8 @@ set(ens_public_header_model
include/alibabacloud/ens/model/DescribeSecurityGroupsResult.h
include/alibabacloud/ens/model/DescribeServcieScheduleRequest.h
include/alibabacloud/ens/model/DescribeServcieScheduleResult.h
include/alibabacloud/ens/model/DescribeSnatTableEntriesRequest.h
include/alibabacloud/ens/model/DescribeSnatTableEntriesResult.h
include/alibabacloud/ens/model/DescribeUserBandWidthDataRequest.h
include/alibabacloud/ens/model/DescribeUserBandWidthDataResult.h
include/alibabacloud/ens/model/DescribeVSwitchesRequest.h
@@ -237,8 +253,6 @@ set(ens_public_header_model
include/alibabacloud/ens/model/ExportMeasurementDataResult.h
include/alibabacloud/ens/model/GetDeviceInternetPortRequest.h
include/alibabacloud/ens/model/GetDeviceInternetPortResult.h
include/alibabacloud/ens/model/GetVmListRequest.h
include/alibabacloud/ens/model/GetVmListResult.h
include/alibabacloud/ens/model/ImportKeyPairRequest.h
include/alibabacloud/ens/model/ImportKeyPairResult.h
include/alibabacloud/ens/model/JoinPublicIpsToEpnInstanceRequest.h
@@ -251,12 +265,12 @@ set(ens_public_header_model
include/alibabacloud/ens/model/LeaveSecurityGroupResult.h
include/alibabacloud/ens/model/ListApplicationsRequest.h
include/alibabacloud/ens/model/ListApplicationsResult.h
include/alibabacloud/ens/model/MigrateVmRequest.h
include/alibabacloud/ens/model/MigrateVmResult.h
include/alibabacloud/ens/model/ModifyEnsEipAddressAttributeRequest.h
include/alibabacloud/ens/model/ModifyEnsEipAddressAttributeResult.h
include/alibabacloud/ens/model/ModifyEpnInstanceRequest.h
include/alibabacloud/ens/model/ModifyEpnInstanceResult.h
include/alibabacloud/ens/model/ModifyForwardEntryRequest.h
include/alibabacloud/ens/model/ModifyForwardEntryResult.h
include/alibabacloud/ens/model/ModifyImageAttributeRequest.h
include/alibabacloud/ens/model/ModifyImageAttributeResult.h
include/alibabacloud/ens/model/ModifyImageSharePermissionRequest.h
@@ -269,6 +283,8 @@ set(ens_public_header_model
include/alibabacloud/ens/model/ModifyLoadBalancerAttributeResult.h
include/alibabacloud/ens/model/ModifyNetworkAttributeRequest.h
include/alibabacloud/ens/model/ModifyNetworkAttributeResult.h
include/alibabacloud/ens/model/ModifyPrepayInstanceSpecRequest.h
include/alibabacloud/ens/model/ModifyPrepayInstanceSpecResult.h
include/alibabacloud/ens/model/ModifySecurityGroupAttributeRequest.h
include/alibabacloud/ens/model/ModifySecurityGroupAttributeResult.h
include/alibabacloud/ens/model/ModifyVSwitchAttributeRequest.h
@@ -279,10 +295,14 @@ set(ens_public_header_model
include/alibabacloud/ens/model/PushApplicationDataResult.h
include/alibabacloud/ens/model/ReInitDiskRequest.h
include/alibabacloud/ens/model/ReInitDiskResult.h
include/alibabacloud/ens/model/RebootAICInstanceRequest.h
include/alibabacloud/ens/model/RebootAICInstanceResult.h
include/alibabacloud/ens/model/RebootARMServerInstanceRequest.h
include/alibabacloud/ens/model/RebootARMServerInstanceResult.h
include/alibabacloud/ens/model/RebootInstanceRequest.h
include/alibabacloud/ens/model/RebootInstanceResult.h
include/alibabacloud/ens/model/ReleaseEipAddressRequest.h
include/alibabacloud/ens/model/ReleaseEipAddressResult.h
include/alibabacloud/ens/model/ReleaseARMServerInstanceRequest.h
include/alibabacloud/ens/model/ReleaseARMServerInstanceResult.h
include/alibabacloud/ens/model/ReleaseInstanceRequest.h
include/alibabacloud/ens/model/ReleaseInstanceResult.h
include/alibabacloud/ens/model/ReleasePostPaidInstanceRequest.h
@@ -295,12 +315,16 @@ set(ens_public_header_model
include/alibabacloud/ens/model/RemovePublicIpsFromEpnInstanceResult.h
include/alibabacloud/ens/model/RemoveVSwitchesFromEpnInstanceRequest.h
include/alibabacloud/ens/model/RemoveVSwitchesFromEpnInstanceResult.h
include/alibabacloud/ens/model/RenewARMServerInstanceRequest.h
include/alibabacloud/ens/model/RenewARMServerInstanceResult.h
include/alibabacloud/ens/model/RenewInstanceRequest.h
include/alibabacloud/ens/model/RenewInstanceResult.h
include/alibabacloud/ens/model/RescaleApplicationRequest.h
include/alibabacloud/ens/model/RescaleApplicationResult.h
include/alibabacloud/ens/model/RescaleDeviceServiceRequest.h
include/alibabacloud/ens/model/RescaleDeviceServiceResult.h
include/alibabacloud/ens/model/ResetAICInstanceRequest.h
include/alibabacloud/ens/model/ResetAICInstanceResult.h
include/alibabacloud/ens/model/ResetDeviceInstanceRequest.h
include/alibabacloud/ens/model/ResetDeviceInstanceResult.h
include/alibabacloud/ens/model/RestartDeviceInstanceRequest.h
@@ -315,8 +339,6 @@ set(ens_public_header_model
include/alibabacloud/ens/model/RunInstancesResult.h
include/alibabacloud/ens/model/RunServiceScheduleRequest.h
include/alibabacloud/ens/model/RunServiceScheduleResult.h
include/alibabacloud/ens/model/SchedulePodRequest.h
include/alibabacloud/ens/model/SchedulePodResult.h
include/alibabacloud/ens/model/SetBackendServersRequest.h
include/alibabacloud/ens/model/SetBackendServersResult.h
include/alibabacloud/ens/model/SetLoadBalancerHTTPListenerAttributeRequest.h
@@ -343,8 +365,10 @@ set(ens_public_header_model
include/alibabacloud/ens/model/StopLoadBalancerListenerResult.h
include/alibabacloud/ens/model/UnAssociateEnsEipAddressRequest.h
include/alibabacloud/ens/model/UnAssociateEnsEipAddressResult.h
include/alibabacloud/ens/model/UnassociateEipAddressRequest.h
include/alibabacloud/ens/model/UnassociateEipAddressResult.h
include/alibabacloud/ens/model/UnassignPrivateIpAddressesRequest.h
include/alibabacloud/ens/model/UnassignPrivateIpAddressesResult.h
include/alibabacloud/ens/model/UpgradeAICInstanceImageRequest.h
include/alibabacloud/ens/model/UpgradeAICInstanceImageResult.h
include/alibabacloud/ens/model/UpgradeApplicationRequest.h
include/alibabacloud/ens/model/UpgradeApplicationResult.h )
@@ -356,10 +380,8 @@ set(ens_src
src/model/AddDeviceInternetPortResult.cc
src/model/AddNetworkInterfaceToInstanceRequest.cc
src/model/AddNetworkInterfaceToInstanceResult.cc
src/model/AllocateEipAddressRequest.cc
src/model/AllocateEipAddressResult.cc
src/model/AssociateEipAddressRequest.cc
src/model/AssociateEipAddressResult.cc
src/model/AssignPrivateIpAddressesRequest.cc
src/model/AssignPrivateIpAddressesResult.cc
src/model/AssociateEnsEipAddressRequest.cc
src/model/AssociateEnsEipAddressResult.cc
src/model/AttachDiskRequest.cc
@@ -370,26 +392,24 @@ set(ens_src
src/model/AuthorizeSecurityGroupResult.cc
src/model/AuthorizeSecurityGroupEgressRequest.cc
src/model/AuthorizeSecurityGroupEgressResult.cc
src/model/CheckQuotaRequest.cc
src/model/CheckQuotaResult.cc
src/model/ConfigureSecurityGroupPermissionsRequest.cc
src/model/ConfigureSecurityGroupPermissionsResult.cc
src/model/CreateARMServerInstancesRequest.cc
src/model/CreateARMServerInstancesResult.cc
src/model/CreateApplicationRequest.cc
src/model/CreateApplicationResult.cc
src/model/CreateClassicNetworkRequest.cc
src/model/CreateClassicNetworkResult.cc
src/model/CreateDiskRequest.cc
src/model/CreateDiskResult.cc
src/model/CreateDiskBuyOrderRequest.cc
src/model/CreateDiskBuyOrderResult.cc
src/model/CreateEPInstanceRequest.cc
src/model/CreateEPInstanceResult.cc
src/model/CreateEipInstanceRequest.cc
src/model/CreateEipInstanceResult.cc
src/model/CreateElbBuyOrderRequest.cc
src/model/CreateElbBuyOrderResult.cc
src/model/CreateEnsRouteEntryRequest.cc
src/model/CreateEnsRouteEntryResult.cc
src/model/CreateEnsServiceRequest.cc
src/model/CreateEnsServiceResult.cc
src/model/CreateEpnInstanceRequest.cc
src/model/CreateEpnInstanceResult.cc
src/model/CreateForwardEntryRequest.cc
src/model/CreateForwardEntryResult.cc
src/model/CreateImageRequest.cc
src/model/CreateImageResult.cc
src/model/CreateInstanceRequest.cc
@@ -406,32 +426,44 @@ set(ens_src
src/model/CreateLoadBalancerTCPListenerResult.cc
src/model/CreateLoadBalancerUDPListenerRequest.cc
src/model/CreateLoadBalancerUDPListenerResult.cc
src/model/CreateNatGatewayRequest.cc
src/model/CreateNatGatewayResult.cc
src/model/CreateNetworkRequest.cc
src/model/CreateNetworkResult.cc
src/model/CreateSecurityGroupRequest.cc
src/model/CreateSecurityGroupResult.cc
src/model/CreateSnatEntryRequest.cc
src/model/CreateSnatEntryResult.cc
src/model/CreateVSwitchRequest.cc
src/model/CreateVSwitchResult.cc
src/model/CreateVmAndSaveStockRequest.cc
src/model/CreateVmAndSaveStockResult.cc
src/model/DeleteApplicationRequest.cc
src/model/DeleteApplicationResult.cc
src/model/DeleteDeviceInternetPortRequest.cc
src/model/DeleteDeviceInternetPortResult.cc
src/model/DeleteEnsRouteEntryRequest.cc
src/model/DeleteEnsRouteEntryResult.cc
src/model/DeleteEpnInstanceRequest.cc
src/model/DeleteEpnInstanceResult.cc
src/model/DeleteForwardEntryRequest.cc
src/model/DeleteForwardEntryResult.cc
src/model/DeleteImageRequest.cc
src/model/DeleteImageResult.cc
src/model/DeleteKeyPairsRequest.cc
src/model/DeleteKeyPairsResult.cc
src/model/DeleteLoadBalancerListenerRequest.cc
src/model/DeleteLoadBalancerListenerResult.cc
src/model/DeleteNatGatewayRequest.cc
src/model/DeleteNatGatewayResult.cc
src/model/DeleteNetworkRequest.cc
src/model/DeleteNetworkResult.cc
src/model/DeleteSecurityGroupRequest.cc
src/model/DeleteSecurityGroupResult.cc
src/model/DeleteSnatEntryRequest.cc
src/model/DeleteSnatEntryResult.cc
src/model/DeleteVSwitchRequest.cc
src/model/DeleteVSwitchResult.cc
src/model/DeleteVmRequest.cc
src/model/DeleteVmResult.cc
src/model/DescribeARMServerInstancesRequest.cc
src/model/DescribeARMServerInstancesResult.cc
src/model/DescribeApplicationRequest.cc
src/model/DescribeApplicationResult.cc
src/model/DescribeApplicationResourceSummaryRequest.cc
@@ -480,6 +512,8 @@ set(ens_src
src/model/DescribeEnsRegionsResult.cc
src/model/DescribeEnsResourceUsageRequest.cc
src/model/DescribeEnsResourceUsageResult.cc
src/model/DescribeEnsRouteEntryListRequest.cc
src/model/DescribeEnsRouteEntryListResult.cc
src/model/DescribeEpnBandWidthDataRequest.cc
src/model/DescribeEpnBandWidthDataResult.cc
src/model/DescribeEpnBandwitdhByInternetChargeTypeRequest.cc
@@ -494,6 +528,8 @@ set(ens_src
src/model/DescribeExportImageInfoResult.cc
src/model/DescribeExportImageStatusRequest.cc
src/model/DescribeExportImageStatusResult.cc
src/model/DescribeForwardTableEntriesRequest.cc
src/model/DescribeForwardTableEntriesResult.cc
src/model/DescribeImageInfosRequest.cc
src/model/DescribeImageInfosResult.cc
src/model/DescribeImageSharePermissionRequest.cc
@@ -530,6 +566,8 @@ set(ens_src
src/model/DescribeLoadBalancersResult.cc
src/model/DescribeMeasurementDataRequest.cc
src/model/DescribeMeasurementDataResult.cc
src/model/DescribeNatGatewaysRequest.cc
src/model/DescribeNatGatewaysResult.cc
src/model/DescribeNetworkAttributeRequest.cc
src/model/DescribeNetworkAttributeResult.cc
src/model/DescribeNetworkInterfacesRequest.cc
@@ -550,6 +588,8 @@ set(ens_src
src/model/DescribeSecurityGroupsResult.cc
src/model/DescribeServcieScheduleRequest.cc
src/model/DescribeServcieScheduleResult.cc
src/model/DescribeSnatTableEntriesRequest.cc
src/model/DescribeSnatTableEntriesResult.cc
src/model/DescribeUserBandWidthDataRequest.cc
src/model/DescribeUserBandWidthDataResult.cc
src/model/DescribeVSwitchesRequest.cc
@@ -566,8 +606,6 @@ set(ens_src
src/model/ExportMeasurementDataResult.cc
src/model/GetDeviceInternetPortRequest.cc
src/model/GetDeviceInternetPortResult.cc
src/model/GetVmListRequest.cc
src/model/GetVmListResult.cc
src/model/ImportKeyPairRequest.cc
src/model/ImportKeyPairResult.cc
src/model/JoinPublicIpsToEpnInstanceRequest.cc
@@ -580,12 +618,12 @@ set(ens_src
src/model/LeaveSecurityGroupResult.cc
src/model/ListApplicationsRequest.cc
src/model/ListApplicationsResult.cc
src/model/MigrateVmRequest.cc
src/model/MigrateVmResult.cc
src/model/ModifyEnsEipAddressAttributeRequest.cc
src/model/ModifyEnsEipAddressAttributeResult.cc
src/model/ModifyEpnInstanceRequest.cc
src/model/ModifyEpnInstanceResult.cc
src/model/ModifyForwardEntryRequest.cc
src/model/ModifyForwardEntryResult.cc
src/model/ModifyImageAttributeRequest.cc
src/model/ModifyImageAttributeResult.cc
src/model/ModifyImageSharePermissionRequest.cc
@@ -598,6 +636,8 @@ set(ens_src
src/model/ModifyLoadBalancerAttributeResult.cc
src/model/ModifyNetworkAttributeRequest.cc
src/model/ModifyNetworkAttributeResult.cc
src/model/ModifyPrepayInstanceSpecRequest.cc
src/model/ModifyPrepayInstanceSpecResult.cc
src/model/ModifySecurityGroupAttributeRequest.cc
src/model/ModifySecurityGroupAttributeResult.cc
src/model/ModifyVSwitchAttributeRequest.cc
@@ -608,10 +648,14 @@ set(ens_src
src/model/PushApplicationDataResult.cc
src/model/ReInitDiskRequest.cc
src/model/ReInitDiskResult.cc
src/model/RebootAICInstanceRequest.cc
src/model/RebootAICInstanceResult.cc
src/model/RebootARMServerInstanceRequest.cc
src/model/RebootARMServerInstanceResult.cc
src/model/RebootInstanceRequest.cc
src/model/RebootInstanceResult.cc
src/model/ReleaseEipAddressRequest.cc
src/model/ReleaseEipAddressResult.cc
src/model/ReleaseARMServerInstanceRequest.cc
src/model/ReleaseARMServerInstanceResult.cc
src/model/ReleaseInstanceRequest.cc
src/model/ReleaseInstanceResult.cc
src/model/ReleasePostPaidInstanceRequest.cc
@@ -624,12 +668,16 @@ set(ens_src
src/model/RemovePublicIpsFromEpnInstanceResult.cc
src/model/RemoveVSwitchesFromEpnInstanceRequest.cc
src/model/RemoveVSwitchesFromEpnInstanceResult.cc
src/model/RenewARMServerInstanceRequest.cc
src/model/RenewARMServerInstanceResult.cc
src/model/RenewInstanceRequest.cc
src/model/RenewInstanceResult.cc
src/model/RescaleApplicationRequest.cc
src/model/RescaleApplicationResult.cc
src/model/RescaleDeviceServiceRequest.cc
src/model/RescaleDeviceServiceResult.cc
src/model/ResetAICInstanceRequest.cc
src/model/ResetAICInstanceResult.cc
src/model/ResetDeviceInstanceRequest.cc
src/model/ResetDeviceInstanceResult.cc
src/model/RestartDeviceInstanceRequest.cc
@@ -644,8 +692,6 @@ set(ens_src
src/model/RunInstancesResult.cc
src/model/RunServiceScheduleRequest.cc
src/model/RunServiceScheduleResult.cc
src/model/SchedulePodRequest.cc
src/model/SchedulePodResult.cc
src/model/SetBackendServersRequest.cc
src/model/SetBackendServersResult.cc
src/model/SetLoadBalancerHTTPListenerAttributeRequest.cc
@@ -672,8 +718,10 @@ set(ens_src
src/model/StopLoadBalancerListenerResult.cc
src/model/UnAssociateEnsEipAddressRequest.cc
src/model/UnAssociateEnsEipAddressResult.cc
src/model/UnassociateEipAddressRequest.cc
src/model/UnassociateEipAddressResult.cc
src/model/UnassignPrivateIpAddressesRequest.cc
src/model/UnassignPrivateIpAddressesResult.cc
src/model/UpgradeAICInstanceImageRequest.cc
src/model/UpgradeAICInstanceImageResult.cc
src/model/UpgradeApplicationRequest.cc
src/model/UpgradeApplicationResult.cc )

View File

@@ -28,10 +28,8 @@
#include "model/AddDeviceInternetPortResult.h"
#include "model/AddNetworkInterfaceToInstanceRequest.h"
#include "model/AddNetworkInterfaceToInstanceResult.h"
#include "model/AllocateEipAddressRequest.h"
#include "model/AllocateEipAddressResult.h"
#include "model/AssociateEipAddressRequest.h"
#include "model/AssociateEipAddressResult.h"
#include "model/AssignPrivateIpAddressesRequest.h"
#include "model/AssignPrivateIpAddressesResult.h"
#include "model/AssociateEnsEipAddressRequest.h"
#include "model/AssociateEnsEipAddressResult.h"
#include "model/AttachDiskRequest.h"
@@ -42,26 +40,24 @@
#include "model/AuthorizeSecurityGroupResult.h"
#include "model/AuthorizeSecurityGroupEgressRequest.h"
#include "model/AuthorizeSecurityGroupEgressResult.h"
#include "model/CheckQuotaRequest.h"
#include "model/CheckQuotaResult.h"
#include "model/ConfigureSecurityGroupPermissionsRequest.h"
#include "model/ConfigureSecurityGroupPermissionsResult.h"
#include "model/CreateARMServerInstancesRequest.h"
#include "model/CreateARMServerInstancesResult.h"
#include "model/CreateApplicationRequest.h"
#include "model/CreateApplicationResult.h"
#include "model/CreateClassicNetworkRequest.h"
#include "model/CreateClassicNetworkResult.h"
#include "model/CreateDiskRequest.h"
#include "model/CreateDiskResult.h"
#include "model/CreateDiskBuyOrderRequest.h"
#include "model/CreateDiskBuyOrderResult.h"
#include "model/CreateEPInstanceRequest.h"
#include "model/CreateEPInstanceResult.h"
#include "model/CreateEipInstanceRequest.h"
#include "model/CreateEipInstanceResult.h"
#include "model/CreateElbBuyOrderRequest.h"
#include "model/CreateElbBuyOrderResult.h"
#include "model/CreateEnsRouteEntryRequest.h"
#include "model/CreateEnsRouteEntryResult.h"
#include "model/CreateEnsServiceRequest.h"
#include "model/CreateEnsServiceResult.h"
#include "model/CreateEpnInstanceRequest.h"
#include "model/CreateEpnInstanceResult.h"
#include "model/CreateForwardEntryRequest.h"
#include "model/CreateForwardEntryResult.h"
#include "model/CreateImageRequest.h"
#include "model/CreateImageResult.h"
#include "model/CreateInstanceRequest.h"
@@ -78,32 +74,44 @@
#include "model/CreateLoadBalancerTCPListenerResult.h"
#include "model/CreateLoadBalancerUDPListenerRequest.h"
#include "model/CreateLoadBalancerUDPListenerResult.h"
#include "model/CreateNatGatewayRequest.h"
#include "model/CreateNatGatewayResult.h"
#include "model/CreateNetworkRequest.h"
#include "model/CreateNetworkResult.h"
#include "model/CreateSecurityGroupRequest.h"
#include "model/CreateSecurityGroupResult.h"
#include "model/CreateSnatEntryRequest.h"
#include "model/CreateSnatEntryResult.h"
#include "model/CreateVSwitchRequest.h"
#include "model/CreateVSwitchResult.h"
#include "model/CreateVmAndSaveStockRequest.h"
#include "model/CreateVmAndSaveStockResult.h"
#include "model/DeleteApplicationRequest.h"
#include "model/DeleteApplicationResult.h"
#include "model/DeleteDeviceInternetPortRequest.h"
#include "model/DeleteDeviceInternetPortResult.h"
#include "model/DeleteEnsRouteEntryRequest.h"
#include "model/DeleteEnsRouteEntryResult.h"
#include "model/DeleteEpnInstanceRequest.h"
#include "model/DeleteEpnInstanceResult.h"
#include "model/DeleteForwardEntryRequest.h"
#include "model/DeleteForwardEntryResult.h"
#include "model/DeleteImageRequest.h"
#include "model/DeleteImageResult.h"
#include "model/DeleteKeyPairsRequest.h"
#include "model/DeleteKeyPairsResult.h"
#include "model/DeleteLoadBalancerListenerRequest.h"
#include "model/DeleteLoadBalancerListenerResult.h"
#include "model/DeleteNatGatewayRequest.h"
#include "model/DeleteNatGatewayResult.h"
#include "model/DeleteNetworkRequest.h"
#include "model/DeleteNetworkResult.h"
#include "model/DeleteSecurityGroupRequest.h"
#include "model/DeleteSecurityGroupResult.h"
#include "model/DeleteSnatEntryRequest.h"
#include "model/DeleteSnatEntryResult.h"
#include "model/DeleteVSwitchRequest.h"
#include "model/DeleteVSwitchResult.h"
#include "model/DeleteVmRequest.h"
#include "model/DeleteVmResult.h"
#include "model/DescribeARMServerInstancesRequest.h"
#include "model/DescribeARMServerInstancesResult.h"
#include "model/DescribeApplicationRequest.h"
#include "model/DescribeApplicationResult.h"
#include "model/DescribeApplicationResourceSummaryRequest.h"
@@ -152,6 +160,8 @@
#include "model/DescribeEnsRegionsResult.h"
#include "model/DescribeEnsResourceUsageRequest.h"
#include "model/DescribeEnsResourceUsageResult.h"
#include "model/DescribeEnsRouteEntryListRequest.h"
#include "model/DescribeEnsRouteEntryListResult.h"
#include "model/DescribeEpnBandWidthDataRequest.h"
#include "model/DescribeEpnBandWidthDataResult.h"
#include "model/DescribeEpnBandwitdhByInternetChargeTypeRequest.h"
@@ -166,6 +176,8 @@
#include "model/DescribeExportImageInfoResult.h"
#include "model/DescribeExportImageStatusRequest.h"
#include "model/DescribeExportImageStatusResult.h"
#include "model/DescribeForwardTableEntriesRequest.h"
#include "model/DescribeForwardTableEntriesResult.h"
#include "model/DescribeImageInfosRequest.h"
#include "model/DescribeImageInfosResult.h"
#include "model/DescribeImageSharePermissionRequest.h"
@@ -202,6 +214,8 @@
#include "model/DescribeLoadBalancersResult.h"
#include "model/DescribeMeasurementDataRequest.h"
#include "model/DescribeMeasurementDataResult.h"
#include "model/DescribeNatGatewaysRequest.h"
#include "model/DescribeNatGatewaysResult.h"
#include "model/DescribeNetworkAttributeRequest.h"
#include "model/DescribeNetworkAttributeResult.h"
#include "model/DescribeNetworkInterfacesRequest.h"
@@ -222,6 +236,8 @@
#include "model/DescribeSecurityGroupsResult.h"
#include "model/DescribeServcieScheduleRequest.h"
#include "model/DescribeServcieScheduleResult.h"
#include "model/DescribeSnatTableEntriesRequest.h"
#include "model/DescribeSnatTableEntriesResult.h"
#include "model/DescribeUserBandWidthDataRequest.h"
#include "model/DescribeUserBandWidthDataResult.h"
#include "model/DescribeVSwitchesRequest.h"
@@ -238,8 +254,6 @@
#include "model/ExportMeasurementDataResult.h"
#include "model/GetDeviceInternetPortRequest.h"
#include "model/GetDeviceInternetPortResult.h"
#include "model/GetVmListRequest.h"
#include "model/GetVmListResult.h"
#include "model/ImportKeyPairRequest.h"
#include "model/ImportKeyPairResult.h"
#include "model/JoinPublicIpsToEpnInstanceRequest.h"
@@ -252,12 +266,12 @@
#include "model/LeaveSecurityGroupResult.h"
#include "model/ListApplicationsRequest.h"
#include "model/ListApplicationsResult.h"
#include "model/MigrateVmRequest.h"
#include "model/MigrateVmResult.h"
#include "model/ModifyEnsEipAddressAttributeRequest.h"
#include "model/ModifyEnsEipAddressAttributeResult.h"
#include "model/ModifyEpnInstanceRequest.h"
#include "model/ModifyEpnInstanceResult.h"
#include "model/ModifyForwardEntryRequest.h"
#include "model/ModifyForwardEntryResult.h"
#include "model/ModifyImageAttributeRequest.h"
#include "model/ModifyImageAttributeResult.h"
#include "model/ModifyImageSharePermissionRequest.h"
@@ -270,6 +284,8 @@
#include "model/ModifyLoadBalancerAttributeResult.h"
#include "model/ModifyNetworkAttributeRequest.h"
#include "model/ModifyNetworkAttributeResult.h"
#include "model/ModifyPrepayInstanceSpecRequest.h"
#include "model/ModifyPrepayInstanceSpecResult.h"
#include "model/ModifySecurityGroupAttributeRequest.h"
#include "model/ModifySecurityGroupAttributeResult.h"
#include "model/ModifyVSwitchAttributeRequest.h"
@@ -280,10 +296,14 @@
#include "model/PushApplicationDataResult.h"
#include "model/ReInitDiskRequest.h"
#include "model/ReInitDiskResult.h"
#include "model/RebootAICInstanceRequest.h"
#include "model/RebootAICInstanceResult.h"
#include "model/RebootARMServerInstanceRequest.h"
#include "model/RebootARMServerInstanceResult.h"
#include "model/RebootInstanceRequest.h"
#include "model/RebootInstanceResult.h"
#include "model/ReleaseEipAddressRequest.h"
#include "model/ReleaseEipAddressResult.h"
#include "model/ReleaseARMServerInstanceRequest.h"
#include "model/ReleaseARMServerInstanceResult.h"
#include "model/ReleaseInstanceRequest.h"
#include "model/ReleaseInstanceResult.h"
#include "model/ReleasePostPaidInstanceRequest.h"
@@ -296,12 +316,16 @@
#include "model/RemovePublicIpsFromEpnInstanceResult.h"
#include "model/RemoveVSwitchesFromEpnInstanceRequest.h"
#include "model/RemoveVSwitchesFromEpnInstanceResult.h"
#include "model/RenewARMServerInstanceRequest.h"
#include "model/RenewARMServerInstanceResult.h"
#include "model/RenewInstanceRequest.h"
#include "model/RenewInstanceResult.h"
#include "model/RescaleApplicationRequest.h"
#include "model/RescaleApplicationResult.h"
#include "model/RescaleDeviceServiceRequest.h"
#include "model/RescaleDeviceServiceResult.h"
#include "model/ResetAICInstanceRequest.h"
#include "model/ResetAICInstanceResult.h"
#include "model/ResetDeviceInstanceRequest.h"
#include "model/ResetDeviceInstanceResult.h"
#include "model/RestartDeviceInstanceRequest.h"
@@ -316,8 +340,6 @@
#include "model/RunInstancesResult.h"
#include "model/RunServiceScheduleRequest.h"
#include "model/RunServiceScheduleResult.h"
#include "model/SchedulePodRequest.h"
#include "model/SchedulePodResult.h"
#include "model/SetBackendServersRequest.h"
#include "model/SetBackendServersResult.h"
#include "model/SetLoadBalancerHTTPListenerAttributeRequest.h"
@@ -344,8 +366,10 @@
#include "model/StopLoadBalancerListenerResult.h"
#include "model/UnAssociateEnsEipAddressRequest.h"
#include "model/UnAssociateEnsEipAddressResult.h"
#include "model/UnassociateEipAddressRequest.h"
#include "model/UnassociateEipAddressResult.h"
#include "model/UnassignPrivateIpAddressesRequest.h"
#include "model/UnassignPrivateIpAddressesResult.h"
#include "model/UpgradeAICInstanceImageRequest.h"
#include "model/UpgradeAICInstanceImageResult.h"
#include "model/UpgradeApplicationRequest.h"
#include "model/UpgradeApplicationResult.h"
@@ -366,12 +390,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::AddNetworkInterfaceToInstanceResult> AddNetworkInterfaceToInstanceOutcome;
typedef std::future<AddNetworkInterfaceToInstanceOutcome> AddNetworkInterfaceToInstanceOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::AddNetworkInterfaceToInstanceRequest&, const AddNetworkInterfaceToInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddNetworkInterfaceToInstanceAsyncHandler;
typedef Outcome<Error, Model::AllocateEipAddressResult> AllocateEipAddressOutcome;
typedef std::future<AllocateEipAddressOutcome> AllocateEipAddressOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::AllocateEipAddressRequest&, const AllocateEipAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AllocateEipAddressAsyncHandler;
typedef Outcome<Error, Model::AssociateEipAddressResult> AssociateEipAddressOutcome;
typedef std::future<AssociateEipAddressOutcome> AssociateEipAddressOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::AssociateEipAddressRequest&, const AssociateEipAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AssociateEipAddressAsyncHandler;
typedef Outcome<Error, Model::AssignPrivateIpAddressesResult> AssignPrivateIpAddressesOutcome;
typedef std::future<AssignPrivateIpAddressesOutcome> AssignPrivateIpAddressesOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::AssignPrivateIpAddressesRequest&, const AssignPrivateIpAddressesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AssignPrivateIpAddressesAsyncHandler;
typedef Outcome<Error, Model::AssociateEnsEipAddressResult> AssociateEnsEipAddressOutcome;
typedef std::future<AssociateEnsEipAddressOutcome> AssociateEnsEipAddressOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::AssociateEnsEipAddressRequest&, const AssociateEnsEipAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AssociateEnsEipAddressAsyncHandler;
@@ -387,36 +408,33 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::AuthorizeSecurityGroupEgressResult> AuthorizeSecurityGroupEgressOutcome;
typedef std::future<AuthorizeSecurityGroupEgressOutcome> AuthorizeSecurityGroupEgressOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::AuthorizeSecurityGroupEgressRequest&, const AuthorizeSecurityGroupEgressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AuthorizeSecurityGroupEgressAsyncHandler;
typedef Outcome<Error, Model::CheckQuotaResult> CheckQuotaOutcome;
typedef std::future<CheckQuotaOutcome> CheckQuotaOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CheckQuotaRequest&, const CheckQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckQuotaAsyncHandler;
typedef Outcome<Error, Model::ConfigureSecurityGroupPermissionsResult> ConfigureSecurityGroupPermissionsOutcome;
typedef std::future<ConfigureSecurityGroupPermissionsOutcome> ConfigureSecurityGroupPermissionsOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ConfigureSecurityGroupPermissionsRequest&, const ConfigureSecurityGroupPermissionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureSecurityGroupPermissionsAsyncHandler;
typedef Outcome<Error, Model::CreateARMServerInstancesResult> CreateARMServerInstancesOutcome;
typedef std::future<CreateARMServerInstancesOutcome> CreateARMServerInstancesOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CreateARMServerInstancesRequest&, const CreateARMServerInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateARMServerInstancesAsyncHandler;
typedef Outcome<Error, Model::CreateApplicationResult> CreateApplicationOutcome;
typedef std::future<CreateApplicationOutcome> CreateApplicationOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CreateApplicationRequest&, const CreateApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateApplicationAsyncHandler;
typedef Outcome<Error, Model::CreateClassicNetworkResult> CreateClassicNetworkOutcome;
typedef std::future<CreateClassicNetworkOutcome> CreateClassicNetworkOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CreateClassicNetworkRequest&, const CreateClassicNetworkOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateClassicNetworkAsyncHandler;
typedef Outcome<Error, Model::CreateDiskResult> CreateDiskOutcome;
typedef std::future<CreateDiskOutcome> CreateDiskOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CreateDiskRequest&, const CreateDiskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDiskAsyncHandler;
typedef Outcome<Error, Model::CreateDiskBuyOrderResult> CreateDiskBuyOrderOutcome;
typedef std::future<CreateDiskBuyOrderOutcome> CreateDiskBuyOrderOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CreateDiskBuyOrderRequest&, const CreateDiskBuyOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDiskBuyOrderAsyncHandler;
typedef Outcome<Error, Model::CreateEPInstanceResult> CreateEPInstanceOutcome;
typedef std::future<CreateEPInstanceOutcome> CreateEPInstanceOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CreateEPInstanceRequest&, const CreateEPInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateEPInstanceAsyncHandler;
typedef Outcome<Error, Model::CreateEipInstanceResult> CreateEipInstanceOutcome;
typedef std::future<CreateEipInstanceOutcome> CreateEipInstanceOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CreateEipInstanceRequest&, const CreateEipInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateEipInstanceAsyncHandler;
typedef Outcome<Error, Model::CreateElbBuyOrderResult> CreateElbBuyOrderOutcome;
typedef std::future<CreateElbBuyOrderOutcome> CreateElbBuyOrderOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CreateElbBuyOrderRequest&, const CreateElbBuyOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateElbBuyOrderAsyncHandler;
typedef Outcome<Error, Model::CreateEnsRouteEntryResult> CreateEnsRouteEntryOutcome;
typedef std::future<CreateEnsRouteEntryOutcome> CreateEnsRouteEntryOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CreateEnsRouteEntryRequest&, const CreateEnsRouteEntryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateEnsRouteEntryAsyncHandler;
typedef Outcome<Error, Model::CreateEnsServiceResult> CreateEnsServiceOutcome;
typedef std::future<CreateEnsServiceOutcome> CreateEnsServiceOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CreateEnsServiceRequest&, const CreateEnsServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateEnsServiceAsyncHandler;
typedef Outcome<Error, Model::CreateEpnInstanceResult> CreateEpnInstanceOutcome;
typedef std::future<CreateEpnInstanceOutcome> CreateEpnInstanceOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CreateEpnInstanceRequest&, const CreateEpnInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateEpnInstanceAsyncHandler;
typedef Outcome<Error, Model::CreateForwardEntryResult> CreateForwardEntryOutcome;
typedef std::future<CreateForwardEntryOutcome> CreateForwardEntryOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CreateForwardEntryRequest&, const CreateForwardEntryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateForwardEntryAsyncHandler;
typedef Outcome<Error, Model::CreateImageResult> CreateImageOutcome;
typedef std::future<CreateImageOutcome> CreateImageOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CreateImageRequest&, const CreateImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateImageAsyncHandler;
@@ -441,45 +459,63 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateLoadBalancerUDPListenerResult> CreateLoadBalancerUDPListenerOutcome;
typedef std::future<CreateLoadBalancerUDPListenerOutcome> CreateLoadBalancerUDPListenerOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CreateLoadBalancerUDPListenerRequest&, const CreateLoadBalancerUDPListenerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateLoadBalancerUDPListenerAsyncHandler;
typedef Outcome<Error, Model::CreateNatGatewayResult> CreateNatGatewayOutcome;
typedef std::future<CreateNatGatewayOutcome> CreateNatGatewayOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CreateNatGatewayRequest&, const CreateNatGatewayOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateNatGatewayAsyncHandler;
typedef Outcome<Error, Model::CreateNetworkResult> CreateNetworkOutcome;
typedef std::future<CreateNetworkOutcome> CreateNetworkOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CreateNetworkRequest&, const CreateNetworkOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateNetworkAsyncHandler;
typedef Outcome<Error, Model::CreateSecurityGroupResult> CreateSecurityGroupOutcome;
typedef std::future<CreateSecurityGroupOutcome> CreateSecurityGroupOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CreateSecurityGroupRequest&, const CreateSecurityGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSecurityGroupAsyncHandler;
typedef Outcome<Error, Model::CreateSnatEntryResult> CreateSnatEntryOutcome;
typedef std::future<CreateSnatEntryOutcome> CreateSnatEntryOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CreateSnatEntryRequest&, const CreateSnatEntryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSnatEntryAsyncHandler;
typedef Outcome<Error, Model::CreateVSwitchResult> CreateVSwitchOutcome;
typedef std::future<CreateVSwitchOutcome> CreateVSwitchOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CreateVSwitchRequest&, const CreateVSwitchOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateVSwitchAsyncHandler;
typedef Outcome<Error, Model::CreateVmAndSaveStockResult> CreateVmAndSaveStockOutcome;
typedef std::future<CreateVmAndSaveStockOutcome> CreateVmAndSaveStockOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CreateVmAndSaveStockRequest&, const CreateVmAndSaveStockOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateVmAndSaveStockAsyncHandler;
typedef Outcome<Error, Model::DeleteApplicationResult> DeleteApplicationOutcome;
typedef std::future<DeleteApplicationOutcome> DeleteApplicationOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DeleteApplicationRequest&, const DeleteApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteApplicationAsyncHandler;
typedef Outcome<Error, Model::DeleteDeviceInternetPortResult> DeleteDeviceInternetPortOutcome;
typedef std::future<DeleteDeviceInternetPortOutcome> DeleteDeviceInternetPortOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DeleteDeviceInternetPortRequest&, const DeleteDeviceInternetPortOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDeviceInternetPortAsyncHandler;
typedef Outcome<Error, Model::DeleteEnsRouteEntryResult> DeleteEnsRouteEntryOutcome;
typedef std::future<DeleteEnsRouteEntryOutcome> DeleteEnsRouteEntryOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DeleteEnsRouteEntryRequest&, const DeleteEnsRouteEntryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteEnsRouteEntryAsyncHandler;
typedef Outcome<Error, Model::DeleteEpnInstanceResult> DeleteEpnInstanceOutcome;
typedef std::future<DeleteEpnInstanceOutcome> DeleteEpnInstanceOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DeleteEpnInstanceRequest&, const DeleteEpnInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteEpnInstanceAsyncHandler;
typedef Outcome<Error, Model::DeleteForwardEntryResult> DeleteForwardEntryOutcome;
typedef std::future<DeleteForwardEntryOutcome> DeleteForwardEntryOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DeleteForwardEntryRequest&, const DeleteForwardEntryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteForwardEntryAsyncHandler;
typedef Outcome<Error, Model::DeleteImageResult> DeleteImageOutcome;
typedef std::future<DeleteImageOutcome> DeleteImageOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DeleteImageRequest&, const DeleteImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteImageAsyncHandler;
typedef Outcome<Error, Model::DeleteKeyPairsResult> DeleteKeyPairsOutcome;
typedef std::future<DeleteKeyPairsOutcome> DeleteKeyPairsOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DeleteKeyPairsRequest&, const DeleteKeyPairsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteKeyPairsAsyncHandler;
typedef Outcome<Error, Model::DeleteLoadBalancerListenerResult> DeleteLoadBalancerListenerOutcome;
typedef std::future<DeleteLoadBalancerListenerOutcome> DeleteLoadBalancerListenerOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DeleteLoadBalancerListenerRequest&, const DeleteLoadBalancerListenerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLoadBalancerListenerAsyncHandler;
typedef Outcome<Error, Model::DeleteNatGatewayResult> DeleteNatGatewayOutcome;
typedef std::future<DeleteNatGatewayOutcome> DeleteNatGatewayOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DeleteNatGatewayRequest&, const DeleteNatGatewayOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteNatGatewayAsyncHandler;
typedef Outcome<Error, Model::DeleteNetworkResult> DeleteNetworkOutcome;
typedef std::future<DeleteNetworkOutcome> DeleteNetworkOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DeleteNetworkRequest&, const DeleteNetworkOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteNetworkAsyncHandler;
typedef Outcome<Error, Model::DeleteSecurityGroupResult> DeleteSecurityGroupOutcome;
typedef std::future<DeleteSecurityGroupOutcome> DeleteSecurityGroupOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DeleteSecurityGroupRequest&, const DeleteSecurityGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSecurityGroupAsyncHandler;
typedef Outcome<Error, Model::DeleteSnatEntryResult> DeleteSnatEntryOutcome;
typedef std::future<DeleteSnatEntryOutcome> DeleteSnatEntryOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DeleteSnatEntryRequest&, const DeleteSnatEntryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSnatEntryAsyncHandler;
typedef Outcome<Error, Model::DeleteVSwitchResult> DeleteVSwitchOutcome;
typedef std::future<DeleteVSwitchOutcome> DeleteVSwitchOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DeleteVSwitchRequest&, const DeleteVSwitchOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteVSwitchAsyncHandler;
typedef Outcome<Error, Model::DeleteVmResult> DeleteVmOutcome;
typedef std::future<DeleteVmOutcome> DeleteVmOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DeleteVmRequest&, const DeleteVmOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteVmAsyncHandler;
typedef Outcome<Error, Model::DescribeARMServerInstancesResult> DescribeARMServerInstancesOutcome;
typedef std::future<DescribeARMServerInstancesOutcome> DescribeARMServerInstancesOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeARMServerInstancesRequest&, const DescribeARMServerInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeARMServerInstancesAsyncHandler;
typedef Outcome<Error, Model::DescribeApplicationResult> DescribeApplicationOutcome;
typedef std::future<DescribeApplicationOutcome> DescribeApplicationOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeApplicationRequest&, const DescribeApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeApplicationAsyncHandler;
@@ -552,6 +588,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeEnsResourceUsageResult> DescribeEnsResourceUsageOutcome;
typedef std::future<DescribeEnsResourceUsageOutcome> DescribeEnsResourceUsageOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeEnsResourceUsageRequest&, const DescribeEnsResourceUsageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEnsResourceUsageAsyncHandler;
typedef Outcome<Error, Model::DescribeEnsRouteEntryListResult> DescribeEnsRouteEntryListOutcome;
typedef std::future<DescribeEnsRouteEntryListOutcome> DescribeEnsRouteEntryListOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeEnsRouteEntryListRequest&, const DescribeEnsRouteEntryListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEnsRouteEntryListAsyncHandler;
typedef Outcome<Error, Model::DescribeEpnBandWidthDataResult> DescribeEpnBandWidthDataOutcome;
typedef std::future<DescribeEpnBandWidthDataOutcome> DescribeEpnBandWidthDataOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeEpnBandWidthDataRequest&, const DescribeEpnBandWidthDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEpnBandWidthDataAsyncHandler;
@@ -573,6 +612,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeExportImageStatusResult> DescribeExportImageStatusOutcome;
typedef std::future<DescribeExportImageStatusOutcome> DescribeExportImageStatusOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeExportImageStatusRequest&, const DescribeExportImageStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeExportImageStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeForwardTableEntriesResult> DescribeForwardTableEntriesOutcome;
typedef std::future<DescribeForwardTableEntriesOutcome> DescribeForwardTableEntriesOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeForwardTableEntriesRequest&, const DescribeForwardTableEntriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeForwardTableEntriesAsyncHandler;
typedef Outcome<Error, Model::DescribeImageInfosResult> DescribeImageInfosOutcome;
typedef std::future<DescribeImageInfosOutcome> DescribeImageInfosOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeImageInfosRequest&, const DescribeImageInfosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeImageInfosAsyncHandler;
@@ -627,6 +669,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeMeasurementDataResult> DescribeMeasurementDataOutcome;
typedef std::future<DescribeMeasurementDataOutcome> DescribeMeasurementDataOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeMeasurementDataRequest&, const DescribeMeasurementDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMeasurementDataAsyncHandler;
typedef Outcome<Error, Model::DescribeNatGatewaysResult> DescribeNatGatewaysOutcome;
typedef std::future<DescribeNatGatewaysOutcome> DescribeNatGatewaysOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeNatGatewaysRequest&, const DescribeNatGatewaysOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNatGatewaysAsyncHandler;
typedef Outcome<Error, Model::DescribeNetworkAttributeResult> DescribeNetworkAttributeOutcome;
typedef std::future<DescribeNetworkAttributeOutcome> DescribeNetworkAttributeOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeNetworkAttributeRequest&, const DescribeNetworkAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNetworkAttributeAsyncHandler;
@@ -657,6 +702,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeServcieScheduleResult> DescribeServcieScheduleOutcome;
typedef std::future<DescribeServcieScheduleOutcome> DescribeServcieScheduleOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeServcieScheduleRequest&, const DescribeServcieScheduleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeServcieScheduleAsyncHandler;
typedef Outcome<Error, Model::DescribeSnatTableEntriesResult> DescribeSnatTableEntriesOutcome;
typedef std::future<DescribeSnatTableEntriesOutcome> DescribeSnatTableEntriesOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeSnatTableEntriesRequest&, const DescribeSnatTableEntriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSnatTableEntriesAsyncHandler;
typedef Outcome<Error, Model::DescribeUserBandWidthDataResult> DescribeUserBandWidthDataOutcome;
typedef std::future<DescribeUserBandWidthDataOutcome> DescribeUserBandWidthDataOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeUserBandWidthDataRequest&, const DescribeUserBandWidthDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserBandWidthDataAsyncHandler;
@@ -681,9 +729,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetDeviceInternetPortResult> GetDeviceInternetPortOutcome;
typedef std::future<GetDeviceInternetPortOutcome> GetDeviceInternetPortOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::GetDeviceInternetPortRequest&, const GetDeviceInternetPortOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceInternetPortAsyncHandler;
typedef Outcome<Error, Model::GetVmListResult> GetVmListOutcome;
typedef std::future<GetVmListOutcome> GetVmListOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::GetVmListRequest&, const GetVmListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetVmListAsyncHandler;
typedef Outcome<Error, Model::ImportKeyPairResult> ImportKeyPairOutcome;
typedef std::future<ImportKeyPairOutcome> ImportKeyPairOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ImportKeyPairRequest&, const ImportKeyPairOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ImportKeyPairAsyncHandler;
@@ -702,15 +747,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListApplicationsResult> ListApplicationsOutcome;
typedef std::future<ListApplicationsOutcome> ListApplicationsOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ListApplicationsRequest&, const ListApplicationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListApplicationsAsyncHandler;
typedef Outcome<Error, Model::MigrateVmResult> MigrateVmOutcome;
typedef std::future<MigrateVmOutcome> MigrateVmOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::MigrateVmRequest&, const MigrateVmOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MigrateVmAsyncHandler;
typedef Outcome<Error, Model::ModifyEnsEipAddressAttributeResult> ModifyEnsEipAddressAttributeOutcome;
typedef std::future<ModifyEnsEipAddressAttributeOutcome> ModifyEnsEipAddressAttributeOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ModifyEnsEipAddressAttributeRequest&, const ModifyEnsEipAddressAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyEnsEipAddressAttributeAsyncHandler;
typedef Outcome<Error, Model::ModifyEpnInstanceResult> ModifyEpnInstanceOutcome;
typedef std::future<ModifyEpnInstanceOutcome> ModifyEpnInstanceOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ModifyEpnInstanceRequest&, const ModifyEpnInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyEpnInstanceAsyncHandler;
typedef Outcome<Error, Model::ModifyForwardEntryResult> ModifyForwardEntryOutcome;
typedef std::future<ModifyForwardEntryOutcome> ModifyForwardEntryOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ModifyForwardEntryRequest&, const ModifyForwardEntryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyForwardEntryAsyncHandler;
typedef Outcome<Error, Model::ModifyImageAttributeResult> ModifyImageAttributeOutcome;
typedef std::future<ModifyImageAttributeOutcome> ModifyImageAttributeOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ModifyImageAttributeRequest&, const ModifyImageAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyImageAttributeAsyncHandler;
@@ -729,6 +774,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyNetworkAttributeResult> ModifyNetworkAttributeOutcome;
typedef std::future<ModifyNetworkAttributeOutcome> ModifyNetworkAttributeOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ModifyNetworkAttributeRequest&, const ModifyNetworkAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyNetworkAttributeAsyncHandler;
typedef Outcome<Error, Model::ModifyPrepayInstanceSpecResult> ModifyPrepayInstanceSpecOutcome;
typedef std::future<ModifyPrepayInstanceSpecOutcome> ModifyPrepayInstanceSpecOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ModifyPrepayInstanceSpecRequest&, const ModifyPrepayInstanceSpecOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyPrepayInstanceSpecAsyncHandler;
typedef Outcome<Error, Model::ModifySecurityGroupAttributeResult> ModifySecurityGroupAttributeOutcome;
typedef std::future<ModifySecurityGroupAttributeOutcome> ModifySecurityGroupAttributeOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ModifySecurityGroupAttributeRequest&, const ModifySecurityGroupAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySecurityGroupAttributeAsyncHandler;
@@ -744,12 +792,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ReInitDiskResult> ReInitDiskOutcome;
typedef std::future<ReInitDiskOutcome> ReInitDiskOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ReInitDiskRequest&, const ReInitDiskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReInitDiskAsyncHandler;
typedef Outcome<Error, Model::RebootAICInstanceResult> RebootAICInstanceOutcome;
typedef std::future<RebootAICInstanceOutcome> RebootAICInstanceOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::RebootAICInstanceRequest&, const RebootAICInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RebootAICInstanceAsyncHandler;
typedef Outcome<Error, Model::RebootARMServerInstanceResult> RebootARMServerInstanceOutcome;
typedef std::future<RebootARMServerInstanceOutcome> RebootARMServerInstanceOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::RebootARMServerInstanceRequest&, const RebootARMServerInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RebootARMServerInstanceAsyncHandler;
typedef Outcome<Error, Model::RebootInstanceResult> RebootInstanceOutcome;
typedef std::future<RebootInstanceOutcome> RebootInstanceOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::RebootInstanceRequest&, const RebootInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RebootInstanceAsyncHandler;
typedef Outcome<Error, Model::ReleaseEipAddressResult> ReleaseEipAddressOutcome;
typedef std::future<ReleaseEipAddressOutcome> ReleaseEipAddressOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ReleaseEipAddressRequest&, const ReleaseEipAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReleaseEipAddressAsyncHandler;
typedef Outcome<Error, Model::ReleaseARMServerInstanceResult> ReleaseARMServerInstanceOutcome;
typedef std::future<ReleaseARMServerInstanceOutcome> ReleaseARMServerInstanceOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ReleaseARMServerInstanceRequest&, const ReleaseARMServerInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReleaseARMServerInstanceAsyncHandler;
typedef Outcome<Error, Model::ReleaseInstanceResult> ReleaseInstanceOutcome;
typedef std::future<ReleaseInstanceOutcome> ReleaseInstanceOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ReleaseInstanceRequest&, const ReleaseInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReleaseInstanceAsyncHandler;
@@ -768,6 +822,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::RemoveVSwitchesFromEpnInstanceResult> RemoveVSwitchesFromEpnInstanceOutcome;
typedef std::future<RemoveVSwitchesFromEpnInstanceOutcome> RemoveVSwitchesFromEpnInstanceOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::RemoveVSwitchesFromEpnInstanceRequest&, const RemoveVSwitchesFromEpnInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveVSwitchesFromEpnInstanceAsyncHandler;
typedef Outcome<Error, Model::RenewARMServerInstanceResult> RenewARMServerInstanceOutcome;
typedef std::future<RenewARMServerInstanceOutcome> RenewARMServerInstanceOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::RenewARMServerInstanceRequest&, const RenewARMServerInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewARMServerInstanceAsyncHandler;
typedef Outcome<Error, Model::RenewInstanceResult> RenewInstanceOutcome;
typedef std::future<RenewInstanceOutcome> RenewInstanceOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::RenewInstanceRequest&, const RenewInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewInstanceAsyncHandler;
@@ -777,6 +834,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::RescaleDeviceServiceResult> RescaleDeviceServiceOutcome;
typedef std::future<RescaleDeviceServiceOutcome> RescaleDeviceServiceOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::RescaleDeviceServiceRequest&, const RescaleDeviceServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RescaleDeviceServiceAsyncHandler;
typedef Outcome<Error, Model::ResetAICInstanceResult> ResetAICInstanceOutcome;
typedef std::future<ResetAICInstanceOutcome> ResetAICInstanceOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ResetAICInstanceRequest&, const ResetAICInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetAICInstanceAsyncHandler;
typedef Outcome<Error, Model::ResetDeviceInstanceResult> ResetDeviceInstanceOutcome;
typedef std::future<ResetDeviceInstanceOutcome> ResetDeviceInstanceOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ResetDeviceInstanceRequest&, const ResetDeviceInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetDeviceInstanceAsyncHandler;
@@ -798,9 +858,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::RunServiceScheduleResult> RunServiceScheduleOutcome;
typedef std::future<RunServiceScheduleOutcome> RunServiceScheduleOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::RunServiceScheduleRequest&, const RunServiceScheduleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RunServiceScheduleAsyncHandler;
typedef Outcome<Error, Model::SchedulePodResult> SchedulePodOutcome;
typedef std::future<SchedulePodOutcome> SchedulePodOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::SchedulePodRequest&, const SchedulePodOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SchedulePodAsyncHandler;
typedef Outcome<Error, Model::SetBackendServersResult> SetBackendServersOutcome;
typedef std::future<SetBackendServersOutcome> SetBackendServersOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::SetBackendServersRequest&, const SetBackendServersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetBackendServersAsyncHandler;
@@ -840,9 +897,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UnAssociateEnsEipAddressResult> UnAssociateEnsEipAddressOutcome;
typedef std::future<UnAssociateEnsEipAddressOutcome> UnAssociateEnsEipAddressOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::UnAssociateEnsEipAddressRequest&, const UnAssociateEnsEipAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnAssociateEnsEipAddressAsyncHandler;
typedef Outcome<Error, Model::UnassociateEipAddressResult> UnassociateEipAddressOutcome;
typedef std::future<UnassociateEipAddressOutcome> UnassociateEipAddressOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::UnassociateEipAddressRequest&, const UnassociateEipAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnassociateEipAddressAsyncHandler;
typedef Outcome<Error, Model::UnassignPrivateIpAddressesResult> UnassignPrivateIpAddressesOutcome;
typedef std::future<UnassignPrivateIpAddressesOutcome> UnassignPrivateIpAddressesOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::UnassignPrivateIpAddressesRequest&, const UnassignPrivateIpAddressesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnassignPrivateIpAddressesAsyncHandler;
typedef Outcome<Error, Model::UpgradeAICInstanceImageResult> UpgradeAICInstanceImageOutcome;
typedef std::future<UpgradeAICInstanceImageOutcome> UpgradeAICInstanceImageOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::UpgradeAICInstanceImageRequest&, const UpgradeAICInstanceImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeAICInstanceImageAsyncHandler;
typedef Outcome<Error, Model::UpgradeApplicationResult> UpgradeApplicationOutcome;
typedef std::future<UpgradeApplicationOutcome> UpgradeApplicationOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::UpgradeApplicationRequest&, const UpgradeApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeApplicationAsyncHandler;
@@ -860,12 +920,9 @@ namespace AlibabaCloud
AddNetworkInterfaceToInstanceOutcome addNetworkInterfaceToInstance(const Model::AddNetworkInterfaceToInstanceRequest &request)const;
void addNetworkInterfaceToInstanceAsync(const Model::AddNetworkInterfaceToInstanceRequest& request, const AddNetworkInterfaceToInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddNetworkInterfaceToInstanceOutcomeCallable addNetworkInterfaceToInstanceCallable(const Model::AddNetworkInterfaceToInstanceRequest& request) const;
AllocateEipAddressOutcome allocateEipAddress(const Model::AllocateEipAddressRequest &request)const;
void allocateEipAddressAsync(const Model::AllocateEipAddressRequest& request, const AllocateEipAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AllocateEipAddressOutcomeCallable allocateEipAddressCallable(const Model::AllocateEipAddressRequest& request) const;
AssociateEipAddressOutcome associateEipAddress(const Model::AssociateEipAddressRequest &request)const;
void associateEipAddressAsync(const Model::AssociateEipAddressRequest& request, const AssociateEipAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AssociateEipAddressOutcomeCallable associateEipAddressCallable(const Model::AssociateEipAddressRequest& request) const;
AssignPrivateIpAddressesOutcome assignPrivateIpAddresses(const Model::AssignPrivateIpAddressesRequest &request)const;
void assignPrivateIpAddressesAsync(const Model::AssignPrivateIpAddressesRequest& request, const AssignPrivateIpAddressesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AssignPrivateIpAddressesOutcomeCallable assignPrivateIpAddressesCallable(const Model::AssignPrivateIpAddressesRequest& request) const;
AssociateEnsEipAddressOutcome associateEnsEipAddress(const Model::AssociateEnsEipAddressRequest &request)const;
void associateEnsEipAddressAsync(const Model::AssociateEnsEipAddressRequest& request, const AssociateEnsEipAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AssociateEnsEipAddressOutcomeCallable associateEnsEipAddressCallable(const Model::AssociateEnsEipAddressRequest& request) const;
@@ -881,36 +938,33 @@ namespace AlibabaCloud
AuthorizeSecurityGroupEgressOutcome authorizeSecurityGroupEgress(const Model::AuthorizeSecurityGroupEgressRequest &request)const;
void authorizeSecurityGroupEgressAsync(const Model::AuthorizeSecurityGroupEgressRequest& request, const AuthorizeSecurityGroupEgressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AuthorizeSecurityGroupEgressOutcomeCallable authorizeSecurityGroupEgressCallable(const Model::AuthorizeSecurityGroupEgressRequest& request) const;
CheckQuotaOutcome checkQuota(const Model::CheckQuotaRequest &request)const;
void checkQuotaAsync(const Model::CheckQuotaRequest& request, const CheckQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CheckQuotaOutcomeCallable checkQuotaCallable(const Model::CheckQuotaRequest& request) const;
ConfigureSecurityGroupPermissionsOutcome configureSecurityGroupPermissions(const Model::ConfigureSecurityGroupPermissionsRequest &request)const;
void configureSecurityGroupPermissionsAsync(const Model::ConfigureSecurityGroupPermissionsRequest& request, const ConfigureSecurityGroupPermissionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ConfigureSecurityGroupPermissionsOutcomeCallable configureSecurityGroupPermissionsCallable(const Model::ConfigureSecurityGroupPermissionsRequest& request) const;
CreateARMServerInstancesOutcome createARMServerInstances(const Model::CreateARMServerInstancesRequest &request)const;
void createARMServerInstancesAsync(const Model::CreateARMServerInstancesRequest& request, const CreateARMServerInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateARMServerInstancesOutcomeCallable createARMServerInstancesCallable(const Model::CreateARMServerInstancesRequest& request) const;
CreateApplicationOutcome createApplication(const Model::CreateApplicationRequest &request)const;
void createApplicationAsync(const Model::CreateApplicationRequest& request, const CreateApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateApplicationOutcomeCallable createApplicationCallable(const Model::CreateApplicationRequest& request) const;
CreateClassicNetworkOutcome createClassicNetwork(const Model::CreateClassicNetworkRequest &request)const;
void createClassicNetworkAsync(const Model::CreateClassicNetworkRequest& request, const CreateClassicNetworkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateClassicNetworkOutcomeCallable createClassicNetworkCallable(const Model::CreateClassicNetworkRequest& request) const;
CreateDiskOutcome createDisk(const Model::CreateDiskRequest &request)const;
void createDiskAsync(const Model::CreateDiskRequest& request, const CreateDiskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDiskOutcomeCallable createDiskCallable(const Model::CreateDiskRequest& request) const;
CreateDiskBuyOrderOutcome createDiskBuyOrder(const Model::CreateDiskBuyOrderRequest &request)const;
void createDiskBuyOrderAsync(const Model::CreateDiskBuyOrderRequest& request, const CreateDiskBuyOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDiskBuyOrderOutcomeCallable createDiskBuyOrderCallable(const Model::CreateDiskBuyOrderRequest& request) const;
CreateEPInstanceOutcome createEPInstance(const Model::CreateEPInstanceRequest &request)const;
void createEPInstanceAsync(const Model::CreateEPInstanceRequest& request, const CreateEPInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateEPInstanceOutcomeCallable createEPInstanceCallable(const Model::CreateEPInstanceRequest& request) const;
CreateEipInstanceOutcome createEipInstance(const Model::CreateEipInstanceRequest &request)const;
void createEipInstanceAsync(const Model::CreateEipInstanceRequest& request, const CreateEipInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateEipInstanceOutcomeCallable createEipInstanceCallable(const Model::CreateEipInstanceRequest& request) const;
CreateElbBuyOrderOutcome createElbBuyOrder(const Model::CreateElbBuyOrderRequest &request)const;
void createElbBuyOrderAsync(const Model::CreateElbBuyOrderRequest& request, const CreateElbBuyOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateElbBuyOrderOutcomeCallable createElbBuyOrderCallable(const Model::CreateElbBuyOrderRequest& request) const;
CreateEnsRouteEntryOutcome createEnsRouteEntry(const Model::CreateEnsRouteEntryRequest &request)const;
void createEnsRouteEntryAsync(const Model::CreateEnsRouteEntryRequest& request, const CreateEnsRouteEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateEnsRouteEntryOutcomeCallable createEnsRouteEntryCallable(const Model::CreateEnsRouteEntryRequest& request) const;
CreateEnsServiceOutcome createEnsService(const Model::CreateEnsServiceRequest &request)const;
void createEnsServiceAsync(const Model::CreateEnsServiceRequest& request, const CreateEnsServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateEnsServiceOutcomeCallable createEnsServiceCallable(const Model::CreateEnsServiceRequest& request) const;
CreateEpnInstanceOutcome createEpnInstance(const Model::CreateEpnInstanceRequest &request)const;
void createEpnInstanceAsync(const Model::CreateEpnInstanceRequest& request, const CreateEpnInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateEpnInstanceOutcomeCallable createEpnInstanceCallable(const Model::CreateEpnInstanceRequest& request) const;
CreateForwardEntryOutcome createForwardEntry(const Model::CreateForwardEntryRequest &request)const;
void createForwardEntryAsync(const Model::CreateForwardEntryRequest& request, const CreateForwardEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateForwardEntryOutcomeCallable createForwardEntryCallable(const Model::CreateForwardEntryRequest& request) const;
CreateImageOutcome createImage(const Model::CreateImageRequest &request)const;
void createImageAsync(const Model::CreateImageRequest& request, const CreateImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateImageOutcomeCallable createImageCallable(const Model::CreateImageRequest& request) const;
@@ -935,45 +989,63 @@ namespace AlibabaCloud
CreateLoadBalancerUDPListenerOutcome createLoadBalancerUDPListener(const Model::CreateLoadBalancerUDPListenerRequest &request)const;
void createLoadBalancerUDPListenerAsync(const Model::CreateLoadBalancerUDPListenerRequest& request, const CreateLoadBalancerUDPListenerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateLoadBalancerUDPListenerOutcomeCallable createLoadBalancerUDPListenerCallable(const Model::CreateLoadBalancerUDPListenerRequest& request) const;
CreateNatGatewayOutcome createNatGateway(const Model::CreateNatGatewayRequest &request)const;
void createNatGatewayAsync(const Model::CreateNatGatewayRequest& request, const CreateNatGatewayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateNatGatewayOutcomeCallable createNatGatewayCallable(const Model::CreateNatGatewayRequest& request) const;
CreateNetworkOutcome createNetwork(const Model::CreateNetworkRequest &request)const;
void createNetworkAsync(const Model::CreateNetworkRequest& request, const CreateNetworkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateNetworkOutcomeCallable createNetworkCallable(const Model::CreateNetworkRequest& request) const;
CreateSecurityGroupOutcome createSecurityGroup(const Model::CreateSecurityGroupRequest &request)const;
void createSecurityGroupAsync(const Model::CreateSecurityGroupRequest& request, const CreateSecurityGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSecurityGroupOutcomeCallable createSecurityGroupCallable(const Model::CreateSecurityGroupRequest& request) const;
CreateSnatEntryOutcome createSnatEntry(const Model::CreateSnatEntryRequest &request)const;
void createSnatEntryAsync(const Model::CreateSnatEntryRequest& request, const CreateSnatEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSnatEntryOutcomeCallable createSnatEntryCallable(const Model::CreateSnatEntryRequest& request) const;
CreateVSwitchOutcome createVSwitch(const Model::CreateVSwitchRequest &request)const;
void createVSwitchAsync(const Model::CreateVSwitchRequest& request, const CreateVSwitchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateVSwitchOutcomeCallable createVSwitchCallable(const Model::CreateVSwitchRequest& request) const;
CreateVmAndSaveStockOutcome createVmAndSaveStock(const Model::CreateVmAndSaveStockRequest &request)const;
void createVmAndSaveStockAsync(const Model::CreateVmAndSaveStockRequest& request, const CreateVmAndSaveStockAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateVmAndSaveStockOutcomeCallable createVmAndSaveStockCallable(const Model::CreateVmAndSaveStockRequest& request) const;
DeleteApplicationOutcome deleteApplication(const Model::DeleteApplicationRequest &request)const;
void deleteApplicationAsync(const Model::DeleteApplicationRequest& request, const DeleteApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteApplicationOutcomeCallable deleteApplicationCallable(const Model::DeleteApplicationRequest& request) const;
DeleteDeviceInternetPortOutcome deleteDeviceInternetPort(const Model::DeleteDeviceInternetPortRequest &request)const;
void deleteDeviceInternetPortAsync(const Model::DeleteDeviceInternetPortRequest& request, const DeleteDeviceInternetPortAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDeviceInternetPortOutcomeCallable deleteDeviceInternetPortCallable(const Model::DeleteDeviceInternetPortRequest& request) const;
DeleteEnsRouteEntryOutcome deleteEnsRouteEntry(const Model::DeleteEnsRouteEntryRequest &request)const;
void deleteEnsRouteEntryAsync(const Model::DeleteEnsRouteEntryRequest& request, const DeleteEnsRouteEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteEnsRouteEntryOutcomeCallable deleteEnsRouteEntryCallable(const Model::DeleteEnsRouteEntryRequest& request) const;
DeleteEpnInstanceOutcome deleteEpnInstance(const Model::DeleteEpnInstanceRequest &request)const;
void deleteEpnInstanceAsync(const Model::DeleteEpnInstanceRequest& request, const DeleteEpnInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteEpnInstanceOutcomeCallable deleteEpnInstanceCallable(const Model::DeleteEpnInstanceRequest& request) const;
DeleteForwardEntryOutcome deleteForwardEntry(const Model::DeleteForwardEntryRequest &request)const;
void deleteForwardEntryAsync(const Model::DeleteForwardEntryRequest& request, const DeleteForwardEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteForwardEntryOutcomeCallable deleteForwardEntryCallable(const Model::DeleteForwardEntryRequest& request) const;
DeleteImageOutcome deleteImage(const Model::DeleteImageRequest &request)const;
void deleteImageAsync(const Model::DeleteImageRequest& request, const DeleteImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteImageOutcomeCallable deleteImageCallable(const Model::DeleteImageRequest& request) const;
DeleteKeyPairsOutcome deleteKeyPairs(const Model::DeleteKeyPairsRequest &request)const;
void deleteKeyPairsAsync(const Model::DeleteKeyPairsRequest& request, const DeleteKeyPairsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteKeyPairsOutcomeCallable deleteKeyPairsCallable(const Model::DeleteKeyPairsRequest& request) const;
DeleteLoadBalancerListenerOutcome deleteLoadBalancerListener(const Model::DeleteLoadBalancerListenerRequest &request)const;
void deleteLoadBalancerListenerAsync(const Model::DeleteLoadBalancerListenerRequest& request, const DeleteLoadBalancerListenerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteLoadBalancerListenerOutcomeCallable deleteLoadBalancerListenerCallable(const Model::DeleteLoadBalancerListenerRequest& request) const;
DeleteNatGatewayOutcome deleteNatGateway(const Model::DeleteNatGatewayRequest &request)const;
void deleteNatGatewayAsync(const Model::DeleteNatGatewayRequest& request, const DeleteNatGatewayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteNatGatewayOutcomeCallable deleteNatGatewayCallable(const Model::DeleteNatGatewayRequest& request) const;
DeleteNetworkOutcome deleteNetwork(const Model::DeleteNetworkRequest &request)const;
void deleteNetworkAsync(const Model::DeleteNetworkRequest& request, const DeleteNetworkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteNetworkOutcomeCallable deleteNetworkCallable(const Model::DeleteNetworkRequest& request) const;
DeleteSecurityGroupOutcome deleteSecurityGroup(const Model::DeleteSecurityGroupRequest &request)const;
void deleteSecurityGroupAsync(const Model::DeleteSecurityGroupRequest& request, const DeleteSecurityGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSecurityGroupOutcomeCallable deleteSecurityGroupCallable(const Model::DeleteSecurityGroupRequest& request) const;
DeleteSnatEntryOutcome deleteSnatEntry(const Model::DeleteSnatEntryRequest &request)const;
void deleteSnatEntryAsync(const Model::DeleteSnatEntryRequest& request, const DeleteSnatEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSnatEntryOutcomeCallable deleteSnatEntryCallable(const Model::DeleteSnatEntryRequest& request) const;
DeleteVSwitchOutcome deleteVSwitch(const Model::DeleteVSwitchRequest &request)const;
void deleteVSwitchAsync(const Model::DeleteVSwitchRequest& request, const DeleteVSwitchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteVSwitchOutcomeCallable deleteVSwitchCallable(const Model::DeleteVSwitchRequest& request) const;
DeleteVmOutcome deleteVm(const Model::DeleteVmRequest &request)const;
void deleteVmAsync(const Model::DeleteVmRequest& request, const DeleteVmAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteVmOutcomeCallable deleteVmCallable(const Model::DeleteVmRequest& request) const;
DescribeARMServerInstancesOutcome describeARMServerInstances(const Model::DescribeARMServerInstancesRequest &request)const;
void describeARMServerInstancesAsync(const Model::DescribeARMServerInstancesRequest& request, const DescribeARMServerInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeARMServerInstancesOutcomeCallable describeARMServerInstancesCallable(const Model::DescribeARMServerInstancesRequest& request) const;
DescribeApplicationOutcome describeApplication(const Model::DescribeApplicationRequest &request)const;
void describeApplicationAsync(const Model::DescribeApplicationRequest& request, const DescribeApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeApplicationOutcomeCallable describeApplicationCallable(const Model::DescribeApplicationRequest& request) const;
@@ -1046,6 +1118,9 @@ namespace AlibabaCloud
DescribeEnsResourceUsageOutcome describeEnsResourceUsage(const Model::DescribeEnsResourceUsageRequest &request)const;
void describeEnsResourceUsageAsync(const Model::DescribeEnsResourceUsageRequest& request, const DescribeEnsResourceUsageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeEnsResourceUsageOutcomeCallable describeEnsResourceUsageCallable(const Model::DescribeEnsResourceUsageRequest& request) const;
DescribeEnsRouteEntryListOutcome describeEnsRouteEntryList(const Model::DescribeEnsRouteEntryListRequest &request)const;
void describeEnsRouteEntryListAsync(const Model::DescribeEnsRouteEntryListRequest& request, const DescribeEnsRouteEntryListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeEnsRouteEntryListOutcomeCallable describeEnsRouteEntryListCallable(const Model::DescribeEnsRouteEntryListRequest& request) const;
DescribeEpnBandWidthDataOutcome describeEpnBandWidthData(const Model::DescribeEpnBandWidthDataRequest &request)const;
void describeEpnBandWidthDataAsync(const Model::DescribeEpnBandWidthDataRequest& request, const DescribeEpnBandWidthDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeEpnBandWidthDataOutcomeCallable describeEpnBandWidthDataCallable(const Model::DescribeEpnBandWidthDataRequest& request) const;
@@ -1067,6 +1142,9 @@ namespace AlibabaCloud
DescribeExportImageStatusOutcome describeExportImageStatus(const Model::DescribeExportImageStatusRequest &request)const;
void describeExportImageStatusAsync(const Model::DescribeExportImageStatusRequest& request, const DescribeExportImageStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeExportImageStatusOutcomeCallable describeExportImageStatusCallable(const Model::DescribeExportImageStatusRequest& request) const;
DescribeForwardTableEntriesOutcome describeForwardTableEntries(const Model::DescribeForwardTableEntriesRequest &request)const;
void describeForwardTableEntriesAsync(const Model::DescribeForwardTableEntriesRequest& request, const DescribeForwardTableEntriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeForwardTableEntriesOutcomeCallable describeForwardTableEntriesCallable(const Model::DescribeForwardTableEntriesRequest& request) const;
DescribeImageInfosOutcome describeImageInfos(const Model::DescribeImageInfosRequest &request)const;
void describeImageInfosAsync(const Model::DescribeImageInfosRequest& request, const DescribeImageInfosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeImageInfosOutcomeCallable describeImageInfosCallable(const Model::DescribeImageInfosRequest& request) const;
@@ -1121,6 +1199,9 @@ namespace AlibabaCloud
DescribeMeasurementDataOutcome describeMeasurementData(const Model::DescribeMeasurementDataRequest &request)const;
void describeMeasurementDataAsync(const Model::DescribeMeasurementDataRequest& request, const DescribeMeasurementDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeMeasurementDataOutcomeCallable describeMeasurementDataCallable(const Model::DescribeMeasurementDataRequest& request) const;
DescribeNatGatewaysOutcome describeNatGateways(const Model::DescribeNatGatewaysRequest &request)const;
void describeNatGatewaysAsync(const Model::DescribeNatGatewaysRequest& request, const DescribeNatGatewaysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeNatGatewaysOutcomeCallable describeNatGatewaysCallable(const Model::DescribeNatGatewaysRequest& request) const;
DescribeNetworkAttributeOutcome describeNetworkAttribute(const Model::DescribeNetworkAttributeRequest &request)const;
void describeNetworkAttributeAsync(const Model::DescribeNetworkAttributeRequest& request, const DescribeNetworkAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeNetworkAttributeOutcomeCallable describeNetworkAttributeCallable(const Model::DescribeNetworkAttributeRequest& request) const;
@@ -1151,6 +1232,9 @@ namespace AlibabaCloud
DescribeServcieScheduleOutcome describeServcieSchedule(const Model::DescribeServcieScheduleRequest &request)const;
void describeServcieScheduleAsync(const Model::DescribeServcieScheduleRequest& request, const DescribeServcieScheduleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeServcieScheduleOutcomeCallable describeServcieScheduleCallable(const Model::DescribeServcieScheduleRequest& request) const;
DescribeSnatTableEntriesOutcome describeSnatTableEntries(const Model::DescribeSnatTableEntriesRequest &request)const;
void describeSnatTableEntriesAsync(const Model::DescribeSnatTableEntriesRequest& request, const DescribeSnatTableEntriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSnatTableEntriesOutcomeCallable describeSnatTableEntriesCallable(const Model::DescribeSnatTableEntriesRequest& request) const;
DescribeUserBandWidthDataOutcome describeUserBandWidthData(const Model::DescribeUserBandWidthDataRequest &request)const;
void describeUserBandWidthDataAsync(const Model::DescribeUserBandWidthDataRequest& request, const DescribeUserBandWidthDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeUserBandWidthDataOutcomeCallable describeUserBandWidthDataCallable(const Model::DescribeUserBandWidthDataRequest& request) const;
@@ -1175,9 +1259,6 @@ namespace AlibabaCloud
GetDeviceInternetPortOutcome getDeviceInternetPort(const Model::GetDeviceInternetPortRequest &request)const;
void getDeviceInternetPortAsync(const Model::GetDeviceInternetPortRequest& request, const GetDeviceInternetPortAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDeviceInternetPortOutcomeCallable getDeviceInternetPortCallable(const Model::GetDeviceInternetPortRequest& request) const;
GetVmListOutcome getVmList(const Model::GetVmListRequest &request)const;
void getVmListAsync(const Model::GetVmListRequest& request, const GetVmListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetVmListOutcomeCallable getVmListCallable(const Model::GetVmListRequest& request) const;
ImportKeyPairOutcome importKeyPair(const Model::ImportKeyPairRequest &request)const;
void importKeyPairAsync(const Model::ImportKeyPairRequest& request, const ImportKeyPairAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ImportKeyPairOutcomeCallable importKeyPairCallable(const Model::ImportKeyPairRequest& request) const;
@@ -1196,15 +1277,15 @@ namespace AlibabaCloud
ListApplicationsOutcome listApplications(const Model::ListApplicationsRequest &request)const;
void listApplicationsAsync(const Model::ListApplicationsRequest& request, const ListApplicationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListApplicationsOutcomeCallable listApplicationsCallable(const Model::ListApplicationsRequest& request) const;
MigrateVmOutcome migrateVm(const Model::MigrateVmRequest &request)const;
void migrateVmAsync(const Model::MigrateVmRequest& request, const MigrateVmAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
MigrateVmOutcomeCallable migrateVmCallable(const Model::MigrateVmRequest& request) const;
ModifyEnsEipAddressAttributeOutcome modifyEnsEipAddressAttribute(const Model::ModifyEnsEipAddressAttributeRequest &request)const;
void modifyEnsEipAddressAttributeAsync(const Model::ModifyEnsEipAddressAttributeRequest& request, const ModifyEnsEipAddressAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyEnsEipAddressAttributeOutcomeCallable modifyEnsEipAddressAttributeCallable(const Model::ModifyEnsEipAddressAttributeRequest& request) const;
ModifyEpnInstanceOutcome modifyEpnInstance(const Model::ModifyEpnInstanceRequest &request)const;
void modifyEpnInstanceAsync(const Model::ModifyEpnInstanceRequest& request, const ModifyEpnInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyEpnInstanceOutcomeCallable modifyEpnInstanceCallable(const Model::ModifyEpnInstanceRequest& request) const;
ModifyForwardEntryOutcome modifyForwardEntry(const Model::ModifyForwardEntryRequest &request)const;
void modifyForwardEntryAsync(const Model::ModifyForwardEntryRequest& request, const ModifyForwardEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyForwardEntryOutcomeCallable modifyForwardEntryCallable(const Model::ModifyForwardEntryRequest& request) const;
ModifyImageAttributeOutcome modifyImageAttribute(const Model::ModifyImageAttributeRequest &request)const;
void modifyImageAttributeAsync(const Model::ModifyImageAttributeRequest& request, const ModifyImageAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyImageAttributeOutcomeCallable modifyImageAttributeCallable(const Model::ModifyImageAttributeRequest& request) const;
@@ -1223,6 +1304,9 @@ namespace AlibabaCloud
ModifyNetworkAttributeOutcome modifyNetworkAttribute(const Model::ModifyNetworkAttributeRequest &request)const;
void modifyNetworkAttributeAsync(const Model::ModifyNetworkAttributeRequest& request, const ModifyNetworkAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyNetworkAttributeOutcomeCallable modifyNetworkAttributeCallable(const Model::ModifyNetworkAttributeRequest& request) const;
ModifyPrepayInstanceSpecOutcome modifyPrepayInstanceSpec(const Model::ModifyPrepayInstanceSpecRequest &request)const;
void modifyPrepayInstanceSpecAsync(const Model::ModifyPrepayInstanceSpecRequest& request, const ModifyPrepayInstanceSpecAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyPrepayInstanceSpecOutcomeCallable modifyPrepayInstanceSpecCallable(const Model::ModifyPrepayInstanceSpecRequest& request) const;
ModifySecurityGroupAttributeOutcome modifySecurityGroupAttribute(const Model::ModifySecurityGroupAttributeRequest &request)const;
void modifySecurityGroupAttributeAsync(const Model::ModifySecurityGroupAttributeRequest& request, const ModifySecurityGroupAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifySecurityGroupAttributeOutcomeCallable modifySecurityGroupAttributeCallable(const Model::ModifySecurityGroupAttributeRequest& request) const;
@@ -1238,12 +1322,18 @@ namespace AlibabaCloud
ReInitDiskOutcome reInitDisk(const Model::ReInitDiskRequest &request)const;
void reInitDiskAsync(const Model::ReInitDiskRequest& request, const ReInitDiskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReInitDiskOutcomeCallable reInitDiskCallable(const Model::ReInitDiskRequest& request) const;
RebootAICInstanceOutcome rebootAICInstance(const Model::RebootAICInstanceRequest &request)const;
void rebootAICInstanceAsync(const Model::RebootAICInstanceRequest& request, const RebootAICInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RebootAICInstanceOutcomeCallable rebootAICInstanceCallable(const Model::RebootAICInstanceRequest& request) const;
RebootARMServerInstanceOutcome rebootARMServerInstance(const Model::RebootARMServerInstanceRequest &request)const;
void rebootARMServerInstanceAsync(const Model::RebootARMServerInstanceRequest& request, const RebootARMServerInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RebootARMServerInstanceOutcomeCallable rebootARMServerInstanceCallable(const Model::RebootARMServerInstanceRequest& request) const;
RebootInstanceOutcome rebootInstance(const Model::RebootInstanceRequest &request)const;
void rebootInstanceAsync(const Model::RebootInstanceRequest& request, const RebootInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RebootInstanceOutcomeCallable rebootInstanceCallable(const Model::RebootInstanceRequest& request) const;
ReleaseEipAddressOutcome releaseEipAddress(const Model::ReleaseEipAddressRequest &request)const;
void releaseEipAddressAsync(const Model::ReleaseEipAddressRequest& request, const ReleaseEipAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReleaseEipAddressOutcomeCallable releaseEipAddressCallable(const Model::ReleaseEipAddressRequest& request) const;
ReleaseARMServerInstanceOutcome releaseARMServerInstance(const Model::ReleaseARMServerInstanceRequest &request)const;
void releaseARMServerInstanceAsync(const Model::ReleaseARMServerInstanceRequest& request, const ReleaseARMServerInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReleaseARMServerInstanceOutcomeCallable releaseARMServerInstanceCallable(const Model::ReleaseARMServerInstanceRequest& request) const;
ReleaseInstanceOutcome releaseInstance(const Model::ReleaseInstanceRequest &request)const;
void releaseInstanceAsync(const Model::ReleaseInstanceRequest& request, const ReleaseInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReleaseInstanceOutcomeCallable releaseInstanceCallable(const Model::ReleaseInstanceRequest& request) const;
@@ -1262,6 +1352,9 @@ namespace AlibabaCloud
RemoveVSwitchesFromEpnInstanceOutcome removeVSwitchesFromEpnInstance(const Model::RemoveVSwitchesFromEpnInstanceRequest &request)const;
void removeVSwitchesFromEpnInstanceAsync(const Model::RemoveVSwitchesFromEpnInstanceRequest& request, const RemoveVSwitchesFromEpnInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveVSwitchesFromEpnInstanceOutcomeCallable removeVSwitchesFromEpnInstanceCallable(const Model::RemoveVSwitchesFromEpnInstanceRequest& request) const;
RenewARMServerInstanceOutcome renewARMServerInstance(const Model::RenewARMServerInstanceRequest &request)const;
void renewARMServerInstanceAsync(const Model::RenewARMServerInstanceRequest& request, const RenewARMServerInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RenewARMServerInstanceOutcomeCallable renewARMServerInstanceCallable(const Model::RenewARMServerInstanceRequest& request) const;
RenewInstanceOutcome renewInstance(const Model::RenewInstanceRequest &request)const;
void renewInstanceAsync(const Model::RenewInstanceRequest& request, const RenewInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RenewInstanceOutcomeCallable renewInstanceCallable(const Model::RenewInstanceRequest& request) const;
@@ -1271,6 +1364,9 @@ namespace AlibabaCloud
RescaleDeviceServiceOutcome rescaleDeviceService(const Model::RescaleDeviceServiceRequest &request)const;
void rescaleDeviceServiceAsync(const Model::RescaleDeviceServiceRequest& request, const RescaleDeviceServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RescaleDeviceServiceOutcomeCallable rescaleDeviceServiceCallable(const Model::RescaleDeviceServiceRequest& request) const;
ResetAICInstanceOutcome resetAICInstance(const Model::ResetAICInstanceRequest &request)const;
void resetAICInstanceAsync(const Model::ResetAICInstanceRequest& request, const ResetAICInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResetAICInstanceOutcomeCallable resetAICInstanceCallable(const Model::ResetAICInstanceRequest& request) const;
ResetDeviceInstanceOutcome resetDeviceInstance(const Model::ResetDeviceInstanceRequest &request)const;
void resetDeviceInstanceAsync(const Model::ResetDeviceInstanceRequest& request, const ResetDeviceInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResetDeviceInstanceOutcomeCallable resetDeviceInstanceCallable(const Model::ResetDeviceInstanceRequest& request) const;
@@ -1292,9 +1388,6 @@ namespace AlibabaCloud
RunServiceScheduleOutcome runServiceSchedule(const Model::RunServiceScheduleRequest &request)const;
void runServiceScheduleAsync(const Model::RunServiceScheduleRequest& request, const RunServiceScheduleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RunServiceScheduleOutcomeCallable runServiceScheduleCallable(const Model::RunServiceScheduleRequest& request) const;
SchedulePodOutcome schedulePod(const Model::SchedulePodRequest &request)const;
void schedulePodAsync(const Model::SchedulePodRequest& request, const SchedulePodAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SchedulePodOutcomeCallable schedulePodCallable(const Model::SchedulePodRequest& request) const;
SetBackendServersOutcome setBackendServers(const Model::SetBackendServersRequest &request)const;
void setBackendServersAsync(const Model::SetBackendServersRequest& request, const SetBackendServersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetBackendServersOutcomeCallable setBackendServersCallable(const Model::SetBackendServersRequest& request) const;
@@ -1334,9 +1427,12 @@ namespace AlibabaCloud
UnAssociateEnsEipAddressOutcome unAssociateEnsEipAddress(const Model::UnAssociateEnsEipAddressRequest &request)const;
void unAssociateEnsEipAddressAsync(const Model::UnAssociateEnsEipAddressRequest& request, const UnAssociateEnsEipAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UnAssociateEnsEipAddressOutcomeCallable unAssociateEnsEipAddressCallable(const Model::UnAssociateEnsEipAddressRequest& request) const;
UnassociateEipAddressOutcome unassociateEipAddress(const Model::UnassociateEipAddressRequest &request)const;
void unassociateEipAddressAsync(const Model::UnassociateEipAddressRequest& request, const UnassociateEipAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UnassociateEipAddressOutcomeCallable unassociateEipAddressCallable(const Model::UnassociateEipAddressRequest& request) const;
UnassignPrivateIpAddressesOutcome unassignPrivateIpAddresses(const Model::UnassignPrivateIpAddressesRequest &request)const;
void unassignPrivateIpAddressesAsync(const Model::UnassignPrivateIpAddressesRequest& request, const UnassignPrivateIpAddressesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UnassignPrivateIpAddressesOutcomeCallable unassignPrivateIpAddressesCallable(const Model::UnassignPrivateIpAddressesRequest& request) const;
UpgradeAICInstanceImageOutcome upgradeAICInstanceImage(const Model::UpgradeAICInstanceImageRequest &request)const;
void upgradeAICInstanceImageAsync(const Model::UpgradeAICInstanceImageRequest& request, const UpgradeAICInstanceImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpgradeAICInstanceImageOutcomeCallable upgradeAICInstanceImageCallable(const Model::UpgradeAICInstanceImageRequest& request) const;
UpgradeApplicationOutcome upgradeApplication(const Model::UpgradeApplicationRequest &request)const;
void upgradeApplicationAsync(const Model::UpgradeApplicationRequest& request, const UpgradeApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpgradeApplicationOutcomeCallable upgradeApplicationCallable(const Model::UpgradeApplicationRequest& request) const;

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_CHECKQUOTAREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_CHECKQUOTAREQUEST_H_
#ifndef ALIBABACLOUD_ENS_MODEL_ASSIGNPRIVATEIPADDRESSESREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_ASSIGNPRIVATEIPADDRESSESREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,23 +26,20 @@
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT CheckQuotaRequest : public RpcServiceRequest {
class ALIBABACLOUD_ENS_EXPORT AssignPrivateIpAddressesRequest : public RpcServiceRequest {
public:
CheckQuotaRequest();
~CheckQuotaRequest();
std::string getGroupUuid() const;
void setGroupUuid(const std::string &groupUuid);
std::string getResourceAttribute() const;
void setResourceAttribute(const std::string &resourceAttribute);
long getAliUid() const;
void setAliUid(long aliUid);
AssignPrivateIpAddressesRequest();
~AssignPrivateIpAddressesRequest();
std::string getVSwitchId() const;
void setVSwitchId(const std::string &vSwitchId);
std::string getNetworkInterfaceId() const;
void setNetworkInterfaceId(const std::string &networkInterfaceId);
private:
std::string groupUuid_;
std::string resourceAttribute_;
long aliUid_;
std::string vSwitchId_;
std::string networkInterfaceId_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_CHECKQUOTAREQUEST_H_
#endif // !ALIBABACLOUD_ENS_MODEL_ASSIGNPRIVATEIPADDRESSESREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_ALLOCATEEIPADDRESSRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_ALLOCATEEIPADDRESSRESULT_H_
#ifndef ALIBABACLOUD_ENS_MODEL_ASSIGNPRIVATEIPADDRESSESRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_ASSIGNPRIVATEIPADDRESSESRESULT_H_
#include <string>
#include <vector>
@@ -29,29 +29,28 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT AllocateEipAddressResult : public ServiceResult
class ALIBABACLOUD_ENS_EXPORT AssignPrivateIpAddressesResult : public ServiceResult
{
public:
struct EipAddress
struct AssignedPrivateIpAddressesSet
{
std::string eip;
std::vector<std::string> privateIpSet;
std::string networkInterfaceId;
};
AllocateEipAddressResult();
explicit AllocateEipAddressResult(const std::string &payload);
~AllocateEipAddressResult();
std::vector<EipAddress> getEipAddresses()const;
std::string getBizStatusCode()const;
AssignPrivateIpAddressesResult();
explicit AssignPrivateIpAddressesResult(const std::string &payload);
~AssignPrivateIpAddressesResult();
AssignedPrivateIpAddressesSet getAssignedPrivateIpAddressesSet()const;
protected:
void parse(const std::string &payload);
private:
std::vector<EipAddress> eipAddresses_;
std::string bizStatusCode_;
AssignedPrivateIpAddressesSet assignedPrivateIpAddressesSet_;
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_ALLOCATEEIPADDRESSRESULT_H_
#endif // !ALIBABACLOUD_ENS_MODEL_ASSIGNPRIVATEIPADDRESSESRESULT_H_

View File

@@ -1,69 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_CONFIGURESECURITYGROUPPERMISSIONSREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_CONFIGURESECURITYGROUPPERMISSIONSREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT ConfigureSecurityGroupPermissionsRequest : public RpcServiceRequest {
public:
struct RevokePermissions {
std::string sourcePortRange;
std::string portRange;
std::string ipProtocol;
std::string sourceCidrIp;
int priority;
std::string destCidrIp;
std::string direction;
std::string policy;
};
struct AuthorizePermissions {
std::string sourcePortRange;
std::string portRange;
std::string ipProtocol;
std::string sourceCidrIp;
std::string description;
int priority;
std::string destCidrIp;
std::string direction;
std::string policy;
};
ConfigureSecurityGroupPermissionsRequest();
~ConfigureSecurityGroupPermissionsRequest();
std::string getSecurityGroupId() const;
void setSecurityGroupId(const std::string &securityGroupId);
std::vector<RevokePermissions> getRevokePermissions() const;
void setRevokePermissions(const std::vector<RevokePermissions> &revokePermissions);
std::vector<AuthorizePermissions> getAuthorizePermissions() const;
void setAuthorizePermissions(const std::vector<AuthorizePermissions> &authorizePermissions);
private:
std::string securityGroupId_;
std::vector<RevokePermissions> revokePermissions_;
std::vector<AuthorizePermissions> authorizePermissions_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_CONFIGURESECURITYGROUPPERMISSIONSREQUEST_H_

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_CREATEARMSERVERINSTANCESREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_CREATEARMSERVERINSTANCESREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT CreateARMServerInstancesRequest : public RpcServiceRequest {
public:
CreateARMServerInstancesRequest();
~CreateARMServerInstancesRequest();
std::string getKeyPairName() const;
void setKeyPairName(const std::string &keyPairName);
std::string getResolution() const;
void setResolution(const std::string &resolution);
int getFrequency() const;
void setFrequency(int frequency);
std::string getEnsRegionId() const;
void setEnsRegionId(const std::string &ensRegionId);
int getPeriod() const;
void setPeriod(int period);
std::string getPeriodUnit() const;
void setPeriodUnit(const std::string &periodUnit);
bool getAutoRenew() const;
void setAutoRenew(bool autoRenew);
std::string getImageId() const;
void setImageId(const std::string &imageId);
std::string getServerType() const;
void setServerType(const std::string &serverType);
std::string getInstanceType() const;
void setInstanceType(const std::string &instanceType);
int getAmount() const;
void setAmount(int amount);
std::string getPayType() const;
void setPayType(const std::string &payType);
private:
std::string keyPairName_;
std::string resolution_;
int frequency_;
std::string ensRegionId_;
int period_;
std::string periodUnit_;
bool autoRenew_;
std::string imageId_;
std::string serverType_;
std::string instanceType_;
int amount_;
std::string payType_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_CREATEARMSERVERINSTANCESREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_CHECKQUOTARESULT_H_
#define ALIBABACLOUD_ENS_MODEL_CHECKQUOTARESULT_H_
#ifndef ALIBABACLOUD_ENS_MODEL_CREATEARMSERVERINSTANCESRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_CREATEARMSERVERINSTANCESRESULT_H_
#include <string>
#include <vector>
@@ -29,29 +29,25 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT CheckQuotaResult : public ServiceResult
class ALIBABACLOUD_ENS_EXPORT CreateARMServerInstancesResult : public ServiceResult
{
public:
CheckQuotaResult();
explicit CheckQuotaResult(const std::string &payload);
~CheckQuotaResult();
std::string getMsg()const;
std::string getDesc()const;
std::string getData()const;
int getCode()const;
CreateARMServerInstancesResult();
explicit CreateARMServerInstancesResult(const std::string &payload);
~CreateARMServerInstancesResult();
std::vector<std::string> getInstanceIds()const;
std::string getOrderId()const;
protected:
void parse(const std::string &payload);
private:
std::string msg_;
std::string desc_;
std::string data_;
int code_;
std::vector<std::string> instanceIds_;
std::string orderId_;
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_CHECKQUOTARESULT_H_
#endif // !ALIBABACLOUD_ENS_MODEL_CREATEARMSERVERINSTANCESRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_UNASSOCIATEEIPADDRESSREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_UNASSOCIATEEIPADDRESSREQUEST_H_
#ifndef ALIBABACLOUD_ENS_MODEL_CREATECLASSICNETWORKREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_CREATECLASSICNETWORKREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,23 +26,29 @@
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT UnassociateEipAddressRequest : public RpcServiceRequest {
class ALIBABACLOUD_ENS_EXPORT CreateClassicNetworkRequest : public RpcServiceRequest {
public:
UnassociateEipAddressRequest();
~UnassociateEipAddressRequest();
std::string getEip() const;
void setEip(const std::string &eip);
CreateClassicNetworkRequest();
~CreateClassicNetworkRequest();
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getNetworkType() const;
void setNetworkType(const std::string &networkType);
std::string getEnsRegionId() const;
void setEnsRegionId(const std::string &ensRegionId);
std::string getInstanceIdInternetIp() const;
void setInstanceIdInternetIp(const std::string &instanceIdInternetIp);
std::string getNetworkName() const;
void setNetworkName(const std::string &networkName);
std::string getCidrBlock() const;
void setCidrBlock(const std::string &cidrBlock);
private:
std::string eip_;
std::string description_;
std::string networkType_;
std::string ensRegionId_;
std::string instanceIdInternetIp_;
std::string networkName_;
std::string cidrBlock_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_UNASSOCIATEEIPADDRESSREQUEST_H_
#endif // !ALIBABACLOUD_ENS_MODEL_CREATECLASSICNETWORKREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_CREATECLASSICNETWORKRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_CREATECLASSICNETWORKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT CreateClassicNetworkResult : public ServiceResult
{
public:
CreateClassicNetworkResult();
explicit CreateClassicNetworkResult(const std::string &payload);
~CreateClassicNetworkResult();
std::string getNetworkId()const;
protected:
void parse(const std::string &payload);
private:
std::string networkId_;
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_CREATECLASSICNETWORKRESULT_H_

View File

@@ -1,54 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_CREATEEPINSTANCEREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_CREATEEPINSTANCEREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT CreateEPInstanceRequest : public RpcServiceRequest {
public:
CreateEPInstanceRequest();
~CreateEPInstanceRequest();
std::string getNetworkingModel() const;
void setNetworkingModel(const std::string &networkingModel);
int getInternetMaxBandwidthOut() const;
void setInternetMaxBandwidthOut(int internetMaxBandwidthOut);
std::string getEPNInstanceType() const;
void setEPNInstanceType(const std::string &ePNInstanceType);
std::string getInternetChargeType() const;
void setInternetChargeType(const std::string &internetChargeType);
std::string getEPNInstanceName() const;
void setEPNInstanceName(const std::string &ePNInstanceName);
private:
std::string networkingModel_;
int internetMaxBandwidthOut_;
std::string ePNInstanceType_;
std::string internetChargeType_;
std::string ePNInstanceName_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_CREATEEPINSTANCEREQUEST_H_

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_CREATEELBBUYORDERRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_CREATEELBBUYORDERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT CreateElbBuyOrderResult : public ServiceResult
{
public:
CreateElbBuyOrderResult();
explicit CreateElbBuyOrderResult(const std::string &payload);
~CreateElbBuyOrderResult();
std::vector<std::string> getLoadBalancerIds()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> loadBalancerIds_;
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_CREATEELBBUYORDERRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_CREATEENSROUTEENTRYREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_CREATEENSROUTEENTRYREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT CreateEnsRouteEntryRequest : public RpcServiceRequest {
public:
CreateEnsRouteEntryRequest();
~CreateEnsRouteEntryRequest();
std::string getRouteEntryName() const;
void setRouteEntryName(const std::string &routeEntryName);
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getNextHopId() const;
void setNextHopId(const std::string &nextHopId);
std::string getNextHopType() const;
void setNextHopType(const std::string &nextHopType);
std::string getRouteTableId() const;
void setRouteTableId(const std::string &routeTableId);
std::string getDestinationCidrBlock() const;
void setDestinationCidrBlock(const std::string &destinationCidrBlock);
private:
std::string routeEntryName_;
std::string description_;
std::string nextHopId_;
std::string nextHopType_;
std::string routeTableId_;
std::string destinationCidrBlock_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_CREATEENSROUTEENTRYREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_CREATEENSROUTEENTRYRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_CREATEENSROUTEENTRYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT CreateEnsRouteEntryResult : public ServiceResult
{
public:
CreateEnsRouteEntryResult();
explicit CreateEnsRouteEntryResult(const std::string &payload);
~CreateEnsRouteEntryResult();
std::string getRouteEntryId()const;
protected:
void parse(const std::string &payload);
private:
std::string routeEntryId_;
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_CREATEENSROUTEENTRYRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_CREATEFORWARDENTRYREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_CREATEFORWARDENTRYREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT CreateForwardEntryRequest : public RpcServiceRequest {
public:
CreateForwardEntryRequest();
~CreateForwardEntryRequest();
std::string getInternalIp() const;
void setInternalIp(const std::string &internalIp);
std::string getExternalIp() const;
void setExternalIp(const std::string &externalIp);
std::string getIpProtocol() const;
void setIpProtocol(const std::string &ipProtocol);
int getHealthCheckPort() const;
void setHealthCheckPort(int healthCheckPort);
std::string getExternalPort() const;
void setExternalPort(const std::string &externalPort);
std::string getNatGatewayId() const;
void setNatGatewayId(const std::string &natGatewayId);
std::string getForwardEntryName() const;
void setForwardEntryName(const std::string &forwardEntryName);
std::string getInternalPort() const;
void setInternalPort(const std::string &internalPort);
private:
std::string internalIp_;
std::string externalIp_;
std::string ipProtocol_;
int healthCheckPort_;
std::string externalPort_;
std::string natGatewayId_;
std::string forwardEntryName_;
std::string internalPort_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_CREATEFORWARDENTRYREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_CREATEFORWARDENTRYRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_CREATEFORWARDENTRYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT CreateForwardEntryResult : public ServiceResult
{
public:
CreateForwardEntryResult();
explicit CreateForwardEntryResult(const std::string &payload);
~CreateForwardEntryResult();
std::string getForwardEntryId()const;
protected:
void parse(const std::string &payload);
private:
std::string forwardEntryId_;
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_CREATEFORWARDENTRYRESULT_H_

View File

@@ -62,6 +62,8 @@ public:
void setImageId(const std::string &imageId);
std::string getUserData() const;
void setUserData(const std::string &userData);
bool getPasswordInherit() const;
void setPasswordInherit(bool passwordInherit);
std::string getInstanceType() const;
void setInstanceType(const std::string &instanceType);
std::string getDataDisk1Size() const;
@@ -92,6 +94,7 @@ private:
std::string internetChargeType_;
std::string imageId_;
std::string userData_;
bool passwordInherit_;
std::string instanceType_;
std::string dataDisk1Size_;
std::string quantity_;

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_ALLOCATEEIPADDRESSREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_ALLOCATEEIPADDRESSREQUEST_H_
#ifndef ALIBABACLOUD_ENS_MODEL_CREATENATGATEWAYREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_CREATENATGATEWAYREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,23 +26,26 @@
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT AllocateEipAddressRequest : public RpcServiceRequest {
class ALIBABACLOUD_ENS_EXPORT CreateNatGatewayRequest : public RpcServiceRequest {
public:
AllocateEipAddressRequest();
~AllocateEipAddressRequest();
int getMinCount() const;
void setMinCount(int minCount);
CreateNatGatewayRequest();
~CreateNatGatewayRequest();
std::string getEnsRegionId() const;
void setEnsRegionId(const std::string &ensRegionId);
int getCount() const;
void setCount(int count);
std::string getVSwitchId() const;
void setVSwitchId(const std::string &vSwitchId);
std::string getName() const;
void setName(const std::string &name);
std::string getNetworkId() const;
void setNetworkId(const std::string &networkId);
private:
int minCount_;
std::string ensRegionId_;
int count_;
std::string vSwitchId_;
std::string name_;
std::string networkId_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_ALLOCATEEIPADDRESSREQUEST_H_
#endif // !ALIBABACLOUD_ENS_MODEL_CREATENATGATEWAYREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_CREATEEPINSTANCERESULT_H_
#define ALIBABACLOUD_ENS_MODEL_CREATEEPINSTANCERESULT_H_
#ifndef ALIBABACLOUD_ENS_MODEL_CREATENATGATEWAYRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_CREATENATGATEWAYRESULT_H_
#include <string>
#include <vector>
@@ -29,23 +29,23 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT CreateEPInstanceResult : public ServiceResult
class ALIBABACLOUD_ENS_EXPORT CreateNatGatewayResult : public ServiceResult
{
public:
CreateEPInstanceResult();
explicit CreateEPInstanceResult(const std::string &payload);
~CreateEPInstanceResult();
std::string getEPNInstanceId()const;
CreateNatGatewayResult();
explicit CreateNatGatewayResult(const std::string &payload);
~CreateNatGatewayResult();
std::string getNatGatewayId()const;
protected:
void parse(const std::string &payload);
private:
std::string ePNInstanceId_;
std::string natGatewayId_;
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_CREATEEPINSTANCERESULT_H_
#endif // !ALIBABACLOUD_ENS_MODEL_CREATENATGATEWAYRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_CREATESNATENTRYREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_CREATESNATENTRYREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT CreateSnatEntryRequest : public RpcServiceRequest {
public:
CreateSnatEntryRequest();
~CreateSnatEntryRequest();
std::string getSourceCIDR() const;
void setSourceCIDR(const std::string &sourceCIDR);
std::string getSnatIp() const;
void setSnatIp(const std::string &snatIp);
std::string getSourceVSwitchId() const;
void setSourceVSwitchId(const std::string &sourceVSwitchId);
std::string getNatGatewayId() const;
void setNatGatewayId(const std::string &natGatewayId);
std::string getSnatEntryName() const;
void setSnatEntryName(const std::string &snatEntryName);
private:
std::string sourceCIDR_;
std::string snatIp_;
std::string sourceVSwitchId_;
std::string natGatewayId_;
std::string snatEntryName_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_CREATESNATENTRYREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_CREATESNATENTRYRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_CREATESNATENTRYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT CreateSnatEntryResult : public ServiceResult
{
public:
CreateSnatEntryResult();
explicit CreateSnatEntryResult(const std::string &payload);
~CreateSnatEntryResult();
std::string getSnatEntryId()const;
protected:
void parse(const std::string &payload);
private:
std::string snatEntryId_;
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_CREATESNATENTRYRESULT_H_

View File

@@ -1,54 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_CREATEVMANDSAVESTOCKREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_CREATEVMANDSAVESTOCKREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT CreateVmAndSaveStockRequest : public RpcServiceRequest {
public:
CreateVmAndSaveStockRequest();
~CreateVmAndSaveStockRequest();
std::string getGroupUuid() const;
void setGroupUuid(const std::string &groupUuid);
std::string getResourceAttribute() const;
void setResourceAttribute(const std::string &resourceAttribute);
long getAliUid() const;
void setAliUid(long aliUid);
std::string getTenant() const;
void setTenant(const std::string &tenant);
std::string getWorkloadUuid() const;
void setWorkloadUuid(const std::string &workloadUuid);
private:
std::string groupUuid_;
std::string resourceAttribute_;
long aliUid_;
std::string tenant_;
std::string workloadUuid_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_CREATEVMANDSAVESTOCKREQUEST_H_

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_CREATEVMANDSAVESTOCKRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_CREATEVMANDSAVESTOCKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT CreateVmAndSaveStockResult : public ServiceResult
{
public:
CreateVmAndSaveStockResult();
explicit CreateVmAndSaveStockResult(const std::string &payload);
~CreateVmAndSaveStockResult();
std::string getMsg()const;
std::string getDesc()const;
std::string getData()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string msg_;
std::string desc_;
std::string data_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_CREATEVMANDSAVESTOCKRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_DELETEVMREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_DELETEVMREQUEST_H_
#ifndef ALIBABACLOUD_ENS_MODEL_DELETEENSROUTEENTRYREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_DELETEENSROUTEENTRYREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,20 +26,17 @@
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT DeleteVmRequest : public RpcServiceRequest {
class ALIBABACLOUD_ENS_EXPORT DeleteEnsRouteEntryRequest : public RpcServiceRequest {
public:
DeleteVmRequest();
~DeleteVmRequest();
long getAliUid() const;
void setAliUid(long aliUid);
std::string getWorkloadUuid() const;
void setWorkloadUuid(const std::string &workloadUuid);
DeleteEnsRouteEntryRequest();
~DeleteEnsRouteEntryRequest();
std::string getRouteEntryId() const;
void setRouteEntryId(const std::string &routeEntryId);
private:
long aliUid_;
std::string workloadUuid_;
std::string routeEntryId_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_DELETEVMREQUEST_H_
#endif // !ALIBABACLOUD_ENS_MODEL_DELETEENSROUTEENTRYREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_ASSOCIATEEIPADDRESSRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_ASSOCIATEEIPADDRESSRESULT_H_
#ifndef ALIBABACLOUD_ENS_MODEL_DELETEENSROUTEENTRYRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_DELETEENSROUTEENTRYRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT AssociateEipAddressResult : public ServiceResult
class ALIBABACLOUD_ENS_EXPORT DeleteEnsRouteEntryResult : public ServiceResult
{
public:
AssociateEipAddressResult();
explicit AssociateEipAddressResult(const std::string &payload);
~AssociateEipAddressResult();
DeleteEnsRouteEntryResult();
explicit DeleteEnsRouteEntryResult(const std::string &payload);
~DeleteEnsRouteEntryResult();
protected:
void parse(const std::string &payload);
@@ -46,4 +46,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_ASSOCIATEEIPADDRESSRESULT_H_
#endif // !ALIBABACLOUD_ENS_MODEL_DELETEENSROUTEENTRYRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_CREATEDISKBUYORDERREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_CREATEDISKBUYORDERREQUEST_H_
#ifndef ALIBABACLOUD_ENS_MODEL_DELETEFORWARDENTRYREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_DELETEFORWARDENTRYREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,17 +26,17 @@
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT CreateDiskBuyOrderRequest : public RpcServiceRequest {
class ALIBABACLOUD_ENS_EXPORT DeleteForwardEntryRequest : public RpcServiceRequest {
public:
CreateDiskBuyOrderRequest();
~CreateDiskBuyOrderRequest();
std::string getOrderDetails() const;
void setOrderDetails(const std::string &orderDetails);
DeleteForwardEntryRequest();
~DeleteForwardEntryRequest();
std::string getForwardEntryId() const;
void setForwardEntryId(const std::string &forwardEntryId);
private:
std::string orderDetails_;
std::string forwardEntryId_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_CREATEDISKBUYORDERREQUEST_H_
#endif // !ALIBABACLOUD_ENS_MODEL_DELETEFORWARDENTRYREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_UNASSOCIATEEIPADDRESSRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_UNASSOCIATEEIPADDRESSRESULT_H_
#ifndef ALIBABACLOUD_ENS_MODEL_DELETEFORWARDENTRYRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_DELETEFORWARDENTRYRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT UnassociateEipAddressResult : public ServiceResult
class ALIBABACLOUD_ENS_EXPORT DeleteForwardEntryResult : public ServiceResult
{
public:
UnassociateEipAddressResult();
explicit UnassociateEipAddressResult(const std::string &payload);
~UnassociateEipAddressResult();
DeleteForwardEntryResult();
explicit DeleteForwardEntryResult(const std::string &payload);
~DeleteForwardEntryResult();
protected:
void parse(const std::string &payload);
@@ -46,4 +46,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_UNASSOCIATEEIPADDRESSRESULT_H_
#endif // !ALIBABACLOUD_ENS_MODEL_DELETEFORWARDENTRYRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_CREATEELBBUYORDERREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_CREATEELBBUYORDERREQUEST_H_
#ifndef ALIBABACLOUD_ENS_MODEL_DELETEIMAGEREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_DELETEIMAGEREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,17 +26,17 @@
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT CreateElbBuyOrderRequest : public RpcServiceRequest {
class ALIBABACLOUD_ENS_EXPORT DeleteImageRequest : public RpcServiceRequest {
public:
CreateElbBuyOrderRequest();
~CreateElbBuyOrderRequest();
std::string getOrderDetails() const;
void setOrderDetails(const std::string &orderDetails);
DeleteImageRequest();
~DeleteImageRequest();
std::string getImageId() const;
void setImageId(const std::string &imageId);
private:
std::string orderDetails_;
std::string imageId_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_CREATEELBBUYORDERREQUEST_H_
#endif // !ALIBABACLOUD_ENS_MODEL_DELETEIMAGEREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_DELETEIMAGERESULT_H_
#define ALIBABACLOUD_ENS_MODEL_DELETEIMAGERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT DeleteImageResult : public ServiceResult
{
public:
DeleteImageResult();
explicit DeleteImageResult(const std::string &payload);
~DeleteImageResult();
int getCode()const;
protected:
void parse(const std::string &payload);
private:
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_DELETEIMAGERESULT_H_

View File

@@ -32,11 +32,14 @@ public:
~DeleteLoadBalancerListenerRequest();
int getListenerPort() const;
void setListenerPort(int listenerPort);
std::string getListenerProtocol() const;
void setListenerProtocol(const std::string &listenerProtocol);
std::string getLoadBalancerId() const;
void setLoadBalancerId(const std::string &loadBalancerId);
private:
int listenerPort_;
std::string listenerProtocol_;
std::string loadBalancerId_;
};
} // namespace Model

View File

@@ -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_ENS_MODEL_DELETENATGATEWAYREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_DELETENATGATEWAYREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT DeleteNatGatewayRequest : public RpcServiceRequest {
public:
DeleteNatGatewayRequest();
~DeleteNatGatewayRequest();
std::string getNatGatewayId() const;
void setNatGatewayId(const std::string &natGatewayId);
private:
std::string natGatewayId_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_DELETENATGATEWAYREQUEST_H_

View File

@@ -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_ENS_MODEL_DELETENATGATEWAYRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_DELETENATGATEWAYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT DeleteNatGatewayResult : public ServiceResult
{
public:
DeleteNatGatewayResult();
explicit DeleteNatGatewayResult(const std::string &payload);
~DeleteNatGatewayResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_DELETENATGATEWAYRESULT_H_

View File

@@ -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_ENS_MODEL_DELETESNATENTRYREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_DELETESNATENTRYREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT DeleteSnatEntryRequest : public RpcServiceRequest {
public:
DeleteSnatEntryRequest();
~DeleteSnatEntryRequest();
std::string getSnatEntryId() const;
void setSnatEntryId(const std::string &snatEntryId);
private:
std::string snatEntryId_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_DELETESNATENTRYREQUEST_H_

View File

@@ -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_ENS_MODEL_DELETESNATENTRYRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_DELETESNATENTRYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT DeleteSnatEntryResult : public ServiceResult
{
public:
DeleteSnatEntryResult();
explicit DeleteSnatEntryResult(const std::string &payload);
~DeleteSnatEntryResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_DELETESNATENTRYRESULT_H_

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_DELETEVMRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_DELETEVMRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT DeleteVmResult : public ServiceResult
{
public:
DeleteVmResult();
explicit DeleteVmResult(const std::string &payload);
~DeleteVmResult();
std::string getMsg()const;
std::string getDesc()const;
std::string getData()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string msg_;
std::string desc_;
std::string data_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_DELETEVMRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_GETVMLISTREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_GETVMLISTREQUEST_H_
#ifndef ALIBABACLOUD_ENS_MODEL_DESCRIBEARMSERVERINSTANCESREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_DESCRIBEARMSERVERINSTANCESREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,32 +26,26 @@
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT GetVmListRequest : public RpcServiceRequest {
class ALIBABACLOUD_ENS_EXPORT DescribeARMServerInstancesRequest : public RpcServiceRequest {
public:
GetVmListRequest();
~GetVmListRequest();
std::string getInstanceUuid() const;
void setInstanceUuid(const std::string &instanceUuid);
DescribeARMServerInstancesRequest();
~DescribeARMServerInstancesRequest();
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getGroupUuid() const;
void setGroupUuid(const std::string &groupUuid);
int getPageSize() const;
void setPageSize(int pageSize);
long getAliUid() const;
void setAliUid(long aliUid);
std::string getWorkloadUuid() const;
void setWorkloadUuid(const std::string &workloadUuid);
std::vector<std::string> getEnsRegionIds() const;
void setEnsRegionIds(const std::vector<std::string> &ensRegionIds);
std::vector<std::string> getServerIds() const;
void setServerIds(const std::vector<std::string> &serverIds);
private:
std::string instanceUuid_;
int pageNumber_;
std::string groupUuid_;
int pageSize_;
long aliUid_;
std::string workloadUuid_;
std::vector<std::string> ensRegionIds_;
std::vector<std::string> serverIds_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_GETVMLISTREQUEST_H_
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBEARMSERVERINSTANCESREQUEST_H_

View File

@@ -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_ENS_MODEL_DESCRIBEARMSERVERINSTANCESRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_DESCRIBEARMSERVERINSTANCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT DescribeARMServerInstancesResult : public ServiceResult
{
public:
struct ServersItem
{
struct AICInstancesItem
{
struct NetworkAttributes
{
std::string vSwitchId;
std::string ipAddress;
std::string networkId;
};
std::string status;
NetworkAttributes networkAttributes;
std::string instanceId;
std::string state;
std::string imageId;
long frequency;
std::string spec;
std::string resolution;
};
std::string status;
std::string serverId;
std::string state;
std::string expiredTime;
std::string creationTime;
std::string specName;
std::vector<ServersItem::AICInstancesItem> aICInstances;
std::string ensRegionId;
};
DescribeARMServerInstancesResult();
explicit DescribeARMServerInstancesResult(const std::string &payload);
~DescribeARMServerInstancesResult();
std::vector<ServersItem> getServers()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ServersItem> servers_;
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBEARMSERVERINSTANCESRESULT_H_

View File

@@ -32,6 +32,8 @@ public:
~DescribeEnsEipAddressesRequest();
std::string getEipAddress() const;
void setEipAddress(const std::string &eipAddress);
std::string getEnsRegionId() const;
void setEnsRegionId(const std::string &ensRegionId);
std::string getStatus() const;
void setStatus(const std::string &status);
std::string getAllocationId() const;
@@ -47,6 +49,7 @@ public:
private:
std::string eipAddress_;
std::string ensRegionId_;
std::string status_;
std::string allocationId_;
int pageNumber_;

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_DESCRIBEENSROUTEENTRYLISTREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_DESCRIBEENSROUTEENTRYLISTREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT DescribeEnsRouteEntryListRequest : public RpcServiceRequest {
public:
DescribeEnsRouteEntryListRequest();
~DescribeEnsRouteEntryListRequest();
std::string getRouteEntryName() const;
void setRouteEntryName(const std::string &routeEntryName);
std::string getNextHopId() const;
void setNextHopId(const std::string &nextHopId);
std::string getNextHopType() const;
void setNextHopType(const std::string &nextHopType);
std::string getRouteTableId() const;
void setRouteTableId(const std::string &routeTableId);
std::string getDestinationCidrBlock() const;
void setDestinationCidrBlock(const std::string &destinationCidrBlock);
int getPageNumber() const;
void setPageNumber(int pageNumber);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getRouteEntryType() const;
void setRouteEntryType(const std::string &routeEntryType);
std::string getRouteEntryId() const;
void setRouteEntryId(const std::string &routeEntryId);
private:
std::string routeEntryName_;
std::string nextHopId_;
std::string nextHopType_;
std::string routeTableId_;
std::string destinationCidrBlock_;
int pageNumber_;
int pageSize_;
std::string routeEntryType_;
std::string routeEntryId_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBEENSROUTEENTRYLISTREQUEST_H_

View File

@@ -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_ENS_MODEL_DESCRIBEENSROUTEENTRYLISTRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_DESCRIBEENSROUTEENTRYLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT DescribeEnsRouteEntryListResult : public ServiceResult
{
public:
struct RouteEntry
{
struct NextHop
{
std::string nextHopType;
std::string nextHopId;
};
std::string status;
std::string routeEntryId;
std::string type;
std::string description;
std::string routeTableId;
std::vector<RouteEntry::NextHop> nextHops;
std::string routeEntryName;
std::string destinationCidrBlock;
};
DescribeEnsRouteEntryListResult();
explicit DescribeEnsRouteEntryListResult(const std::string &payload);
~DescribeEnsRouteEntryListResult();
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<RouteEntry> getRouteEntrys()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<RouteEntry> routeEntrys_;
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBEENSROUTEENTRYLISTRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_DESCRIBEFORWARDTABLEENTRIESREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_DESCRIBEFORWARDTABLEENTRIESREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT DescribeForwardTableEntriesRequest : public RpcServiceRequest {
public:
DescribeForwardTableEntriesRequest();
~DescribeForwardTableEntriesRequest();
std::string getInternalIp() const;
void setInternalIp(const std::string &internalIp);
std::string getExternalIp() const;
void setExternalIp(const std::string &externalIp);
std::string getIpProtocol() const;
void setIpProtocol(const std::string &ipProtocol);
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getForwardEntryId() const;
void setForwardEntryId(const std::string &forwardEntryId);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getNatGatewayId() const;
void setNatGatewayId(const std::string &natGatewayId);
std::string getForwardEntryName() const;
void setForwardEntryName(const std::string &forwardEntryName);
private:
std::string internalIp_;
std::string externalIp_;
std::string ipProtocol_;
int pageNumber_;
std::string forwardEntryId_;
int pageSize_;
std::string natGatewayId_;
std::string forwardEntryName_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBEFORWARDTABLEENTRIESREQUEST_H_

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_DESCRIBEFORWARDTABLEENTRIESRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_DESCRIBEFORWARDTABLEENTRIESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT DescribeForwardTableEntriesResult : public ServiceResult
{
public:
struct ForwardTableEntry
{
std::string status;
std::string externalPort;
std::string externalIp;
std::string forwardEntryId;
std::string ipProtocol;
std::string internalPort;
std::string healthCheckPort;
std::string natGatewayId;
std::string forwardEntryName;
std::string internalIp;
};
DescribeForwardTableEntriesResult();
explicit DescribeForwardTableEntriesResult(const std::string &payload);
~DescribeForwardTableEntriesResult();
std::string getTotalCount()const;
std::string getPageSize()const;
std::string getPageNumber()const;
std::vector<ForwardTableEntry> getForwardTableEntries()const;
protected:
void parse(const std::string &payload);
private:
std::string totalCount_;
std::string pageSize_;
std::string pageNumber_;
std::vector<ForwardTableEntry> forwardTableEntries_;
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBEFORWARDTABLEENTRIESRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_DESCRIBENATGATEWAYSREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_DESCRIBENATGATEWAYSREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT DescribeNatGatewaysRequest : public RpcServiceRequest {
public:
DescribeNatGatewaysRequest();
~DescribeNatGatewaysRequest();
std::string getEnsRegionId() const;
void setEnsRegionId(const std::string &ensRegionId);
std::string getVSwitchId() const;
void setVSwitchId(const std::string &vSwitchId);
std::string getName() const;
void setName(const std::string &name);
std::string getNetworkId() const;
void setNetworkId(const std::string &networkId);
int getPageNumber() const;
void setPageNumber(int pageNumber);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getNatGatewayId() const;
void setNatGatewayId(const std::string &natGatewayId);
private:
std::string ensRegionId_;
std::string vSwitchId_;
std::string name_;
std::string networkId_;
int pageNumber_;
int pageSize_;
std::string natGatewayId_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBENATGATEWAYSREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_CONFIGURESECURITYGROUPPERMISSIONSRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_CONFIGURESECURITYGROUPPERMISSIONSRESULT_H_
#ifndef ALIBABACLOUD_ENS_MODEL_DESCRIBENATGATEWAYSRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_DESCRIBENATGATEWAYSRESULT_H_
#include <string>
#include <vector>
@@ -29,21 +29,38 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT ConfigureSecurityGroupPermissionsResult : public ServiceResult
class ALIBABACLOUD_ENS_EXPORT DescribeNatGatewaysResult : public ServiceResult
{
public:
struct NatGateway
{
std::string vSwitchId;
std::string creationTime;
std::string ensRegionId;
std::string networkId;
std::string natGatewayId;
std::string name;
};
ConfigureSecurityGroupPermissionsResult();
explicit ConfigureSecurityGroupPermissionsResult(const std::string &payload);
~ConfigureSecurityGroupPermissionsResult();
DescribeNatGatewaysResult();
explicit DescribeNatGatewaysResult(const std::string &payload);
~DescribeNatGatewaysResult();
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<NatGateway> getNatGateways()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<NatGateway> natGateways_;
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_CONFIGURESECURITYGROUPPERMISSIONSRESULT_H_
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBENATGATEWAYSRESULT_H_

View File

@@ -48,6 +48,7 @@ namespace AlibabaCloud
std::string getCreatedTime()const;
std::vector<std::string> getVSwitchIds()const;
std::string getCidrBlock()const;
std::string getRouterTableId()const;
std::string getEnsRegionId()const;
std::string getNetworkId()const;
std::vector<CloudResourceSetType> getCloudResources()const;
@@ -61,6 +62,7 @@ namespace AlibabaCloud
std::string createdTime_;
std::vector<std::string> vSwitchIds_;
std::string cidrBlock_;
std::string routerTableId_;
std::string ensRegionId_;
std::string networkId_;
std::vector<CloudResourceSetType> cloudResources_;

View File

@@ -30,25 +30,25 @@ class ALIBABACLOUD_ENS_EXPORT DescribeNetworkInterfacesRequest : public RpcServi
public:
DescribeNetworkInterfacesRequest();
~DescribeNetworkInterfacesRequest();
std::string getPageNumber() const;
void setPageNumber(const std::string &pageNumber);
std::string getEnsRegionId() const;
void setEnsRegionId(const std::string &ensRegionId);
std::string getPageSize() const;
void setPageSize(const std::string &pageSize);
std::string getVSwitchId() const;
void setVSwitchId(const std::string &vSwitchId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getPageNumber() const;
void setPageNumber(const std::string &pageNumber);
std::string getPageSize() const;
void setPageSize(const std::string &pageSize);
std::string getPrimaryIpAddress() const;
void setPrimaryIpAddress(const std::string &primaryIpAddress);
private:
std::string pageNumber_;
std::string ensRegionId_;
std::string pageSize_;
std::string vSwitchId_;
std::string instanceId_;
std::string pageNumber_;
std::string pageSize_;
std::string primaryIpAddress_;
};
} // namespace Model

View File

@@ -34,6 +34,11 @@ namespace AlibabaCloud
public:
struct NetworkInterfaceSet
{
struct PrivateIpSet
{
std::string privateIpAddress;
bool primary;
};
std::string status;
std::string instanceId;
std::string vSwitchId;
@@ -43,6 +48,7 @@ namespace AlibabaCloud
std::string ensRegionId;
std::string macAddress;
std::string networkInterfaceId;
std::vector<NetworkInterfaceSet::PrivateIpSet> privateIpSets;
};

View File

@@ -40,6 +40,7 @@ namespace AlibabaCloud
std::string createdTime;
std::vector<std::string> vSwitchIds;
std::string cidrBlock;
std::string routerTableId;
std::string ensRegionId;
std::string networkId;
};

View File

@@ -28,12 +28,20 @@ namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT DescribePriceRequest : public RpcServiceRequest {
public:
struct DataDisks {
long size;
std::string category;
};
DescribePriceRequest();
~DescribePriceRequest();
std::vector<DataDisks> getDataDisks() const;
void setDataDisks(const std::vector<DataDisks> &dataDisks);
std::string getEnsRegionId() const;
void setEnsRegionId(const std::string &ensRegionId);
int getPeriod() const;
void setPeriod(int period);
std::string getPeriodUnit() const;
void setPeriodUnit(const std::string &periodUnit);
std::string getInternetChargeType() const;
void setInternetChargeType(const std::string &internetChargeType);
std::string getInstanceType() const;
@@ -46,8 +54,10 @@ public:
void setSystemDiskSize(int systemDiskSize);
private:
std::vector<DataDisks> dataDisks_;
std::string ensRegionId_;
int period_;
std::string periodUnit_;
std::string internetChargeType_;
std::string instanceType_;
int dataDisk1Size_;

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_DESCRIBESNATTABLEENTRIESREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_DESCRIBESNATTABLEENTRIESREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT DescribeSnatTableEntriesRequest : public RpcServiceRequest {
public:
DescribeSnatTableEntriesRequest();
~DescribeSnatTableEntriesRequest();
std::string getSnatIp() const;
void setSnatIp(const std::string &snatIp);
std::string getSnatEntryId() const;
void setSnatEntryId(const std::string &snatEntryId);
std::string getSourceCIDR() const;
void setSourceCIDR(const std::string &sourceCIDR);
int getPageNumber() const;
void setPageNumber(int pageNumber);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getNatGatewayId() const;
void setNatGatewayId(const std::string &natGatewayId);
std::string getSnatEntryName() const;
void setSnatEntryName(const std::string &snatEntryName);
private:
std::string snatIp_;
std::string snatEntryId_;
std::string sourceCIDR_;
int pageNumber_;
int pageSize_;
std::string natGatewayId_;
std::string snatEntryName_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBESNATTABLEENTRIESREQUEST_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_DESCRIBESNATTABLEENTRIESRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_DESCRIBESNATTABLEENTRIESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT DescribeSnatTableEntriesResult : public ServiceResult
{
public:
struct SnatTableEntry
{
std::string status;
std::string snatEntryName;
std::string sourceCIDR;
std::string snatEntryId;
std::string snatIp;
std::string natGatewayId;
};
DescribeSnatTableEntriesResult();
explicit DescribeSnatTableEntriesResult(const std::string &payload);
~DescribeSnatTableEntriesResult();
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<SnatTableEntry> getSnatTableEntries()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<SnatTableEntry> snatTableEntries_;
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBESNATTABLEENTRIESRESULT_H_

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_GETVMLISTRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_GETVMLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT GetVmListResult : public ServiceResult
{
public:
GetVmListResult();
explicit GetVmListResult(const std::string &payload);
~GetVmListResult();
std::string getMsg()const;
std::string getDesc()const;
std::string getData()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string msg_;
std::string desc_;
std::string data_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_GETVMLISTRESULT_H_

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_MIGRATEVMREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_MIGRATEVMREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT MigrateVmRequest : public RpcServiceRequest {
public:
MigrateVmRequest();
~MigrateVmRequest();
std::string getInstances() const;
void setInstances(const std::string &instances);
std::string getGroupUuid() const;
void setGroupUuid(const std::string &groupUuid);
std::string getTenant() const;
void setTenant(const std::string &tenant);
std::string getInstanceIds() const;
void setInstanceIds(const std::string &instanceIds);
private:
std::string instances_;
std::string groupUuid_;
std::string tenant_;
std::string instanceIds_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_MIGRATEVMREQUEST_H_

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_MIGRATEVMRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_MIGRATEVMRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT MigrateVmResult : public ServiceResult
{
public:
MigrateVmResult();
explicit MigrateVmResult(const std::string &payload);
~MigrateVmResult();
std::string getMsg()const;
std::string getDesc()const;
std::string getData()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string msg_;
std::string desc_;
std::string data_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_MIGRATEVMRESULT_H_

View File

@@ -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_ENS_MODEL_MODIFYFORWARDENTRYREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_MODIFYFORWARDENTRYREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT ModifyForwardEntryRequest : public RpcServiceRequest {
public:
ModifyForwardEntryRequest();
~ModifyForwardEntryRequest();
std::string getForwardEntryId() const;
void setForwardEntryId(const std::string &forwardEntryId);
std::string getForwardEntryName() const;
void setForwardEntryName(const std::string &forwardEntryName);
int getHealthCheckPort() const;
void setHealthCheckPort(int healthCheckPort);
private:
std::string forwardEntryId_;
std::string forwardEntryName_;
int healthCheckPort_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_MODIFYFORWARDENTRYREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_CREATEDISKBUYORDERRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_CREATEDISKBUYORDERRESULT_H_
#ifndef ALIBABACLOUD_ENS_MODEL_MODIFYFORWARDENTRYRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_MODIFYFORWARDENTRYRESULT_H_
#include <string>
#include <vector>
@@ -29,23 +29,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT CreateDiskBuyOrderResult : public ServiceResult
class ALIBABACLOUD_ENS_EXPORT ModifyForwardEntryResult : public ServiceResult
{
public:
CreateDiskBuyOrderResult();
explicit CreateDiskBuyOrderResult(const std::string &payload);
~CreateDiskBuyOrderResult();
std::string getOrderId()const;
ModifyForwardEntryResult();
explicit ModifyForwardEntryResult(const std::string &payload);
~ModifyForwardEntryResult();
protected:
void parse(const std::string &payload);
private:
std::string orderId_;
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_CREATEDISKBUYORDERRESULT_H_
#endif // !ALIBABACLOUD_ENS_MODEL_MODIFYFORWARDENTRYRESULT_H_

View File

@@ -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_ENS_MODEL_MODIFYPREPAYINSTANCESPECREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_MODIFYPREPAYINSTANCESPECREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT ModifyPrepayInstanceSpecRequest : public RpcServiceRequest {
public:
ModifyPrepayInstanceSpecRequest();
~ModifyPrepayInstanceSpecRequest();
std::string getInstanceType() const;
void setInstanceType(const std::string &instanceType);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
private:
std::string instanceType_;
std::string instanceId_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_MODIFYPREPAYINSTANCESPECREQUEST_H_

View File

@@ -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_ENS_MODEL_MODIFYPREPAYINSTANCESPECRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_MODIFYPREPAYINSTANCESPECRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT ModifyPrepayInstanceSpecResult : public ServiceResult
{
public:
ModifyPrepayInstanceSpecResult();
explicit ModifyPrepayInstanceSpecResult(const std::string &payload);
~ModifyPrepayInstanceSpecResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_MODIFYPREPAYINSTANCESPECRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_RELEASEEIPADDRESSREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_RELEASEEIPADDRESSREQUEST_H_
#ifndef ALIBABACLOUD_ENS_MODEL_REBOOTAICINSTANCEREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_REBOOTAICINSTANCEREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,20 +26,20 @@
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT ReleaseEipAddressRequest : public RpcServiceRequest {
class ALIBABACLOUD_ENS_EXPORT RebootAICInstanceRequest : public RpcServiceRequest {
public:
ReleaseEipAddressRequest();
~ReleaseEipAddressRequest();
std::string getEips() const;
void setEips(const std::string &eips);
std::string getEnsRegionId() const;
void setEnsRegionId(const std::string &ensRegionId);
RebootAICInstanceRequest();
~RebootAICInstanceRequest();
std::string getServerId() const;
void setServerId(const std::string &serverId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
private:
std::string eips_;
std::string ensRegionId_;
std::string serverId_;
std::string instanceId_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_RELEASEEIPADDRESSREQUEST_H_
#endif // !ALIBABACLOUD_ENS_MODEL_REBOOTAICINSTANCEREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_RELEASEEIPADDRESSRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_RELEASEEIPADDRESSRESULT_H_
#ifndef ALIBABACLOUD_ENS_MODEL_REBOOTAICINSTANCERESULT_H_
#define ALIBABACLOUD_ENS_MODEL_REBOOTAICINSTANCERESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT ReleaseEipAddressResult : public ServiceResult
class ALIBABACLOUD_ENS_EXPORT RebootAICInstanceResult : public ServiceResult
{
public:
ReleaseEipAddressResult();
explicit ReleaseEipAddressResult(const std::string &payload);
~ReleaseEipAddressResult();
RebootAICInstanceResult();
explicit RebootAICInstanceResult(const std::string &payload);
~RebootAICInstanceResult();
protected:
void parse(const std::string &payload);
@@ -46,4 +46,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_RELEASEEIPADDRESSRESULT_H_
#endif // !ALIBABACLOUD_ENS_MODEL_REBOOTAICINSTANCERESULT_H_

View File

@@ -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_ENS_MODEL_REBOOTARMSERVERINSTANCEREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_REBOOTARMSERVERINSTANCEREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT RebootARMServerInstanceRequest : public RpcServiceRequest {
public:
RebootARMServerInstanceRequest();
~RebootARMServerInstanceRequest();
std::string getServerId() const;
void setServerId(const std::string &serverId);
private:
std::string serverId_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_REBOOTARMSERVERINSTANCEREQUEST_H_

View File

@@ -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_ENS_MODEL_REBOOTARMSERVERINSTANCERESULT_H_
#define ALIBABACLOUD_ENS_MODEL_REBOOTARMSERVERINSTANCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT RebootARMServerInstanceResult : public ServiceResult
{
public:
RebootARMServerInstanceResult();
explicit RebootARMServerInstanceResult(const std::string &payload);
~RebootARMServerInstanceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_REBOOTARMSERVERINSTANCERESULT_H_

View File

@@ -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_ENS_MODEL_RELEASEARMSERVERINSTANCEREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_RELEASEARMSERVERINSTANCEREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT ReleaseARMServerInstanceRequest : public RpcServiceRequest {
public:
ReleaseARMServerInstanceRequest();
~ReleaseARMServerInstanceRequest();
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
private:
std::string instanceId_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_RELEASEARMSERVERINSTANCEREQUEST_H_

View File

@@ -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_ENS_MODEL_RELEASEARMSERVERINSTANCERESULT_H_
#define ALIBABACLOUD_ENS_MODEL_RELEASEARMSERVERINSTANCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT ReleaseARMServerInstanceResult : public ServiceResult
{
public:
ReleaseARMServerInstanceResult();
explicit ReleaseARMServerInstanceResult(const std::string &payload);
~ReleaseARMServerInstanceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_RELEASEARMSERVERINSTANCERESULT_H_

View File

@@ -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_ENS_MODEL_RENEWARMSERVERINSTANCEREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_RENEWARMSERVERINSTANCEREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT RenewARMServerInstanceRequest : public RpcServiceRequest {
public:
RenewARMServerInstanceRequest();
~RenewARMServerInstanceRequest();
int getPeriod() const;
void setPeriod(int period);
std::string getPeriodUnit() const;
void setPeriodUnit(const std::string &periodUnit);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
private:
int period_;
std::string periodUnit_;
std::string instanceId_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_RENEWARMSERVERINSTANCEREQUEST_H_

View File

@@ -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_ENS_MODEL_RENEWARMSERVERINSTANCERESULT_H_
#define ALIBABACLOUD_ENS_MODEL_RENEWARMSERVERINSTANCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT RenewARMServerInstanceResult : public ServiceResult
{
public:
RenewARMServerInstanceResult();
explicit RenewARMServerInstanceResult(const std::string &payload);
~RenewARMServerInstanceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_RENEWARMSERVERINSTANCERESULT_H_

View File

@@ -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_ENS_MODEL_RESETAICINSTANCEREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_RESETAICINSTANCEREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT ResetAICInstanceRequest : public RpcServiceRequest {
public:
ResetAICInstanceRequest();
~ResetAICInstanceRequest();
std::string getServerId() const;
void setServerId(const std::string &serverId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
private:
std::string serverId_;
std::string instanceId_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_RESETAICINSTANCEREQUEST_H_

View File

@@ -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_ENS_MODEL_RESETAICINSTANCERESULT_H_
#define ALIBABACLOUD_ENS_MODEL_RESETAICINSTANCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT ResetAICInstanceResult : public ServiceResult
{
public:
ResetAICInstanceResult();
explicit ResetAICInstanceResult(const std::string &payload);
~ResetAICInstanceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_RESETAICINSTANCERESULT_H_

View File

@@ -57,10 +57,14 @@ public:
void setEnsRegionId(const std::string &ensRegionId);
long getPeriod() const;
void setPeriod(long period);
bool getPublicIpIdentification() const;
void setPublicIpIdentification(bool publicIpIdentification);
std::string getVSwitchId() const;
void setVSwitchId(const std::string &vSwitchId);
std::string getPrivateIpAddress() const;
void setPrivateIpAddress(const std::string &privateIpAddress);
std::string getPeriodUnit() const;
void setPeriodUnit(const std::string &periodUnit);
std::string getInstanceName() const;
void setInstanceName(const std::string &instanceName);
bool getAutoRenew() const;
@@ -101,8 +105,10 @@ private:
std::string netDistrictCode_;
std::string ensRegionId_;
long period_;
bool publicIpIdentification_;
std::string vSwitchId_;
std::string privateIpAddress_;
std::string periodUnit_;
std::string instanceName_;
bool autoRenew_;
std::string internetChargeType_;

View File

@@ -1,69 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_SCHEDULEPODREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_SCHEDULEPODREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT SchedulePodRequest : public RpcServiceRequest {
public:
SchedulePodRequest();
~SchedulePodRequest();
std::string getAreaCodes() const;
void setAreaCodes(const std::string &areaCodes);
std::string getGroupUuid() const;
void setGroupUuid(const std::string &groupUuid);
std::string getIsps() const;
void setIsps(const std::string &isps);
std::string getTenant() const;
void setTenant(const std::string &tenant);
std::string getWorkloadUuid() const;
void setWorkloadUuid(const std::string &workloadUuid);
std::string getLabels() const;
void setLabels(const std::string &labels);
std::string getRegions() const;
void setRegions(const std::string &regions);
std::string getResourceAttribute() const;
void setResourceAttribute(const std::string &resourceAttribute);
long getAliUid() const;
void setAliUid(long aliUid);
std::string getRequirements() const;
void setRequirements(const std::string &requirements);
private:
std::string areaCodes_;
std::string groupUuid_;
std::string isps_;
std::string tenant_;
std::string workloadUuid_;
std::string labels_;
std::string regions_;
std::string resourceAttribute_;
long aliUid_;
std::string requirements_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_SCHEDULEPODREQUEST_H_

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_SCHEDULEPODRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_SCHEDULEPODRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT SchedulePodResult : public ServiceResult
{
public:
SchedulePodResult();
explicit SchedulePodResult(const std::string &payload);
~SchedulePodResult();
std::string getMsg()const;
std::string getDesc()const;
std::string getData()const;
long getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string msg_;
std::string desc_;
std::string data_;
long code_;
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_SCHEDULEPODRESULT_H_

View File

@@ -32,11 +32,14 @@ public:
~StartLoadBalancerListenerRequest();
int getListenerPort() const;
void setListenerPort(int listenerPort);
std::string getListenerProtocol() const;
void setListenerProtocol(const std::string &listenerProtocol);
std::string getLoadBalancerId() const;
void setLoadBalancerId(const std::string &loadBalancerId);
private:
int listenerPort_;
std::string listenerProtocol_;
std::string loadBalancerId_;
};
} // namespace Model

View File

@@ -32,11 +32,14 @@ public:
~StopLoadBalancerListenerRequest();
int getListenerPort() const;
void setListenerPort(int listenerPort);
std::string getListenerProtocol() const;
void setListenerProtocol(const std::string &listenerProtocol);
std::string getLoadBalancerId() const;
void setLoadBalancerId(const std::string &loadBalancerId);
private:
int listenerPort_;
std::string listenerProtocol_;
std::string loadBalancerId_;
};
} // namespace Model

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_ASSOCIATEEIPADDRESSREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_ASSOCIATEEIPADDRESSREQUEST_H_
#ifndef ALIBABACLOUD_ENS_MODEL_UNASSIGNPRIVATEIPADDRESSESREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_UNASSIGNPRIVATEIPADDRESSESREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,23 +26,20 @@
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT AssociateEipAddressRequest : public RpcServiceRequest {
class ALIBABACLOUD_ENS_EXPORT UnassignPrivateIpAddressesRequest : public RpcServiceRequest {
public:
AssociateEipAddressRequest();
~AssociateEipAddressRequest();
std::string getEip() const;
void setEip(const std::string &eip);
std::string getEnsRegionId() const;
void setEnsRegionId(const std::string &ensRegionId);
std::string getInstanceIdInternetIp() const;
void setInstanceIdInternetIp(const std::string &instanceIdInternetIp);
UnassignPrivateIpAddressesRequest();
~UnassignPrivateIpAddressesRequest();
std::vector<std::string> getPrivateIpAddress() const;
void setPrivateIpAddress(const std::vector<std::string> &privateIpAddress);
std::string getNetworkInterfaceId() const;
void setNetworkInterfaceId(const std::string &networkInterfaceId);
private:
std::string eip_;
std::string ensRegionId_;
std::string instanceIdInternetIp_;
std::vector<std::string> privateIpAddress_;
std::string networkInterfaceId_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_ASSOCIATEEIPADDRESSREQUEST_H_
#endif // !ALIBABACLOUD_ENS_MODEL_UNASSIGNPRIVATEIPADDRESSESREQUEST_H_

View File

@@ -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_ENS_MODEL_UNASSIGNPRIVATEIPADDRESSESRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_UNASSIGNPRIVATEIPADDRESSESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT UnassignPrivateIpAddressesResult : public ServiceResult
{
public:
UnassignPrivateIpAddressesResult();
explicit UnassignPrivateIpAddressesResult(const std::string &payload);
~UnassignPrivateIpAddressesResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_UNASSIGNPRIVATEIPADDRESSESRESULT_H_

View File

@@ -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_ENS_MODEL_UPGRADEAICINSTANCEIMAGEREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_UPGRADEAICINSTANCEIMAGEREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT UpgradeAICInstanceImageRequest : public RpcServiceRequest {
public:
UpgradeAICInstanceImageRequest();
~UpgradeAICInstanceImageRequest();
std::string getImageId() const;
void setImageId(const std::string &imageId);
int getTimeout() const;
void setTimeout(int timeout);
std::vector<std::string> getServerIds() const;
void setServerIds(const std::vector<std::string> &serverIds);
private:
std::string imageId_;
int timeout_;
std::vector<std::string> serverIds_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_UPGRADEAICINSTANCEIMAGEREQUEST_H_

View File

@@ -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_ENS_MODEL_UPGRADEAICINSTANCEIMAGERESULT_H_
#define ALIBABACLOUD_ENS_MODEL_UPGRADEAICINSTANCEIMAGERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT UpgradeAICInstanceImageResult : public ServiceResult
{
public:
UpgradeAICInstanceImageResult();
explicit UpgradeAICInstanceImageResult(const std::string &payload);
~UpgradeAICInstanceImageResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_UPGRADEAICINSTANCEIMAGERESULT_H_

File diff suppressed because it is too large Load Diff

View File

@@ -1,54 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ens/model/AllocateEipAddressRequest.h>
using AlibabaCloud::Ens::Model::AllocateEipAddressRequest;
AllocateEipAddressRequest::AllocateEipAddressRequest()
: RpcServiceRequest("ens", "2017-11-10", "AllocateEipAddress") {
setMethod(HttpRequest::Method::Post);
}
AllocateEipAddressRequest::~AllocateEipAddressRequest() {}
int AllocateEipAddressRequest::getMinCount() const {
return minCount_;
}
void AllocateEipAddressRequest::setMinCount(int minCount) {
minCount_ = minCount;
setParameter(std::string("MinCount"), std::to_string(minCount));
}
std::string AllocateEipAddressRequest::getEnsRegionId() const {
return ensRegionId_;
}
void AllocateEipAddressRequest::setEnsRegionId(const std::string &ensRegionId) {
ensRegionId_ = ensRegionId;
setParameter(std::string("EnsRegionId"), ensRegionId);
}
int AllocateEipAddressRequest::getCount() const {
return count_;
}
void AllocateEipAddressRequest::setCount(int count) {
count_ = count;
setParameter(std::string("Count"), std::to_string(count));
}

View File

@@ -1,64 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ens/model/AllocateEipAddressResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ens;
using namespace AlibabaCloud::Ens::Model;
AllocateEipAddressResult::AllocateEipAddressResult() :
ServiceResult()
{}
AllocateEipAddressResult::AllocateEipAddressResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AllocateEipAddressResult::~AllocateEipAddressResult()
{}
void AllocateEipAddressResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allEipAddressesNode = value["EipAddresses"]["EipAddress"];
for (auto valueEipAddressesEipAddress : allEipAddressesNode)
{
EipAddress eipAddressesObject;
if(!valueEipAddressesEipAddress["Eip"].isNull())
eipAddressesObject.eip = valueEipAddressesEipAddress["Eip"].asString();
eipAddresses_.push_back(eipAddressesObject);
}
if(!value["BizStatusCode"].isNull())
bizStatusCode_ = value["BizStatusCode"].asString();
}
std::vector<AllocateEipAddressResult::EipAddress> AllocateEipAddressResult::getEipAddresses()const
{
return eipAddresses_;
}
std::string AllocateEipAddressResult::getBizStatusCode()const
{
return bizStatusCode_;
}

View File

@@ -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 <alibabacloud/ens/model/AssignPrivateIpAddressesRequest.h>
using AlibabaCloud::Ens::Model::AssignPrivateIpAddressesRequest;
AssignPrivateIpAddressesRequest::AssignPrivateIpAddressesRequest()
: RpcServiceRequest("ens", "2017-11-10", "AssignPrivateIpAddresses") {
setMethod(HttpRequest::Method::Post);
}
AssignPrivateIpAddressesRequest::~AssignPrivateIpAddressesRequest() {}
std::string AssignPrivateIpAddressesRequest::getVSwitchId() const {
return vSwitchId_;
}
void AssignPrivateIpAddressesRequest::setVSwitchId(const std::string &vSwitchId) {
vSwitchId_ = vSwitchId;
setParameter(std::string("VSwitchId"), vSwitchId);
}
std::string AssignPrivateIpAddressesRequest::getNetworkInterfaceId() const {
return networkInterfaceId_;
}
void AssignPrivateIpAddressesRequest::setNetworkInterfaceId(const std::string &networkInterfaceId) {
networkInterfaceId_ = networkInterfaceId;
setParameter(std::string("NetworkInterfaceId"), networkInterfaceId);
}

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ens/model/AssignPrivateIpAddressesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ens;
using namespace AlibabaCloud::Ens::Model;
AssignPrivateIpAddressesResult::AssignPrivateIpAddressesResult() :
ServiceResult()
{}
AssignPrivateIpAddressesResult::AssignPrivateIpAddressesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AssignPrivateIpAddressesResult::~AssignPrivateIpAddressesResult()
{}
void AssignPrivateIpAddressesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto assignedPrivateIpAddressesSetNode = value["AssignedPrivateIpAddressesSet"];
if(!assignedPrivateIpAddressesSetNode["NetworkInterfaceId"].isNull())
assignedPrivateIpAddressesSet_.networkInterfaceId = assignedPrivateIpAddressesSetNode["NetworkInterfaceId"].asString();
auto allPrivateIpSet = assignedPrivateIpAddressesSetNode["PrivateIpSet"]["PrivateIpSet"];
for (auto value : allPrivateIpSet)
assignedPrivateIpAddressesSet_.privateIpSet.push_back(value.asString());
}
AssignPrivateIpAddressesResult::AssignedPrivateIpAddressesSet AssignPrivateIpAddressesResult::getAssignedPrivateIpAddressesSet()const
{
return assignedPrivateIpAddressesSet_;
}

View File

@@ -1,54 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ens/model/AssociateEipAddressRequest.h>
using AlibabaCloud::Ens::Model::AssociateEipAddressRequest;
AssociateEipAddressRequest::AssociateEipAddressRequest()
: RpcServiceRequest("ens", "2017-11-10", "AssociateEipAddress") {
setMethod(HttpRequest::Method::Post);
}
AssociateEipAddressRequest::~AssociateEipAddressRequest() {}
std::string AssociateEipAddressRequest::getEip() const {
return eip_;
}
void AssociateEipAddressRequest::setEip(const std::string &eip) {
eip_ = eip;
setParameter(std::string("Eip"), eip);
}
std::string AssociateEipAddressRequest::getEnsRegionId() const {
return ensRegionId_;
}
void AssociateEipAddressRequest::setEnsRegionId(const std::string &ensRegionId) {
ensRegionId_ = ensRegionId;
setParameter(std::string("EnsRegionId"), ensRegionId);
}
std::string AssociateEipAddressRequest::getInstanceIdInternetIp() const {
return instanceIdInternetIp_;
}
void AssociateEipAddressRequest::setInstanceIdInternetIp(const std::string &instanceIdInternetIp) {
instanceIdInternetIp_ = instanceIdInternetIp;
setParameter(std::string("InstanceIdInternetIp"), instanceIdInternetIp);
}

View File

@@ -1,54 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ens/model/CheckQuotaRequest.h>
using AlibabaCloud::Ens::Model::CheckQuotaRequest;
CheckQuotaRequest::CheckQuotaRequest()
: RpcServiceRequest("ens", "2017-11-10", "CheckQuota") {
setMethod(HttpRequest::Method::Post);
}
CheckQuotaRequest::~CheckQuotaRequest() {}
std::string CheckQuotaRequest::getGroupUuid() const {
return groupUuid_;
}
void CheckQuotaRequest::setGroupUuid(const std::string &groupUuid) {
groupUuid_ = groupUuid;
setParameter(std::string("GroupUuid"), groupUuid);
}
std::string CheckQuotaRequest::getResourceAttribute() const {
return resourceAttribute_;
}
void CheckQuotaRequest::setResourceAttribute(const std::string &resourceAttribute) {
resourceAttribute_ = resourceAttribute;
setBodyParameter(std::string("ResourceAttribute"), resourceAttribute);
}
long CheckQuotaRequest::getAliUid() const {
return aliUid_;
}
void CheckQuotaRequest::setAliUid(long aliUid) {
aliUid_ = aliUid;
setParameter(std::string("AliUid"), std::to_string(aliUid));
}

View File

@@ -1,73 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ens/model/ConfigureSecurityGroupPermissionsRequest.h>
using AlibabaCloud::Ens::Model::ConfigureSecurityGroupPermissionsRequest;
ConfigureSecurityGroupPermissionsRequest::ConfigureSecurityGroupPermissionsRequest()
: RpcServiceRequest("ens", "2017-11-10", "ConfigureSecurityGroupPermissions") {
setMethod(HttpRequest::Method::Post);
}
ConfigureSecurityGroupPermissionsRequest::~ConfigureSecurityGroupPermissionsRequest() {}
std::string ConfigureSecurityGroupPermissionsRequest::getSecurityGroupId() const {
return securityGroupId_;
}
void ConfigureSecurityGroupPermissionsRequest::setSecurityGroupId(const std::string &securityGroupId) {
securityGroupId_ = securityGroupId;
setParameter(std::string("SecurityGroupId"), securityGroupId);
}
std::vector<ConfigureSecurityGroupPermissionsRequest::RevokePermissions> ConfigureSecurityGroupPermissionsRequest::getRevokePermissions() const {
return revokePermissions_;
}
void ConfigureSecurityGroupPermissionsRequest::setRevokePermissions(const std::vector<ConfigureSecurityGroupPermissionsRequest::RevokePermissions> &revokePermissions) {
revokePermissions_ = revokePermissions;
for(int dep1 = 0; dep1 != revokePermissions.size(); dep1++) {
setParameter(std::string("RevokePermissions") + "." + std::to_string(dep1 + 1) + ".SourcePortRange", revokePermissions[dep1].sourcePortRange);
setParameter(std::string("RevokePermissions") + "." + std::to_string(dep1 + 1) + ".PortRange", revokePermissions[dep1].portRange);
setParameter(std::string("RevokePermissions") + "." + std::to_string(dep1 + 1) + ".IpProtocol", revokePermissions[dep1].ipProtocol);
setParameter(std::string("RevokePermissions") + "." + std::to_string(dep1 + 1) + ".SourceCidrIp", revokePermissions[dep1].sourceCidrIp);
setParameter(std::string("RevokePermissions") + "." + std::to_string(dep1 + 1) + ".Priority", std::to_string(revokePermissions[dep1].priority));
setParameter(std::string("RevokePermissions") + "." + std::to_string(dep1 + 1) + ".DestCidrIp", revokePermissions[dep1].destCidrIp);
setParameter(std::string("RevokePermissions") + "." + std::to_string(dep1 + 1) + ".Direction", revokePermissions[dep1].direction);
setParameter(std::string("RevokePermissions") + "." + std::to_string(dep1 + 1) + ".Policy", revokePermissions[dep1].policy);
}
}
std::vector<ConfigureSecurityGroupPermissionsRequest::AuthorizePermissions> ConfigureSecurityGroupPermissionsRequest::getAuthorizePermissions() const {
return authorizePermissions_;
}
void ConfigureSecurityGroupPermissionsRequest::setAuthorizePermissions(const std::vector<ConfigureSecurityGroupPermissionsRequest::AuthorizePermissions> &authorizePermissions) {
authorizePermissions_ = authorizePermissions;
for(int dep1 = 0; dep1 != authorizePermissions.size(); dep1++) {
setParameter(std::string("AuthorizePermissions") + "." + std::to_string(dep1 + 1) + ".SourcePortRange", authorizePermissions[dep1].sourcePortRange);
setParameter(std::string("AuthorizePermissions") + "." + std::to_string(dep1 + 1) + ".PortRange", authorizePermissions[dep1].portRange);
setParameter(std::string("AuthorizePermissions") + "." + std::to_string(dep1 + 1) + ".IpProtocol", authorizePermissions[dep1].ipProtocol);
setParameter(std::string("AuthorizePermissions") + "." + std::to_string(dep1 + 1) + ".SourceCidrIp", authorizePermissions[dep1].sourceCidrIp);
setParameter(std::string("AuthorizePermissions") + "." + std::to_string(dep1 + 1) + ".Description", authorizePermissions[dep1].description);
setParameter(std::string("AuthorizePermissions") + "." + std::to_string(dep1 + 1) + ".Priority", std::to_string(authorizePermissions[dep1].priority));
setParameter(std::string("AuthorizePermissions") + "." + std::to_string(dep1 + 1) + ".DestCidrIp", authorizePermissions[dep1].destCidrIp);
setParameter(std::string("AuthorizePermissions") + "." + std::to_string(dep1 + 1) + ".Direction", authorizePermissions[dep1].direction);
setParameter(std::string("AuthorizePermissions") + "." + std::to_string(dep1 + 1) + ".Policy", authorizePermissions[dep1].policy);
}
}

View File

@@ -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 <alibabacloud/ens/model/CreateARMServerInstancesRequest.h>
using AlibabaCloud::Ens::Model::CreateARMServerInstancesRequest;
CreateARMServerInstancesRequest::CreateARMServerInstancesRequest()
: RpcServiceRequest("ens", "2017-11-10", "CreateARMServerInstances") {
setMethod(HttpRequest::Method::Post);
}
CreateARMServerInstancesRequest::~CreateARMServerInstancesRequest() {}
std::string CreateARMServerInstancesRequest::getKeyPairName() const {
return keyPairName_;
}
void CreateARMServerInstancesRequest::setKeyPairName(const std::string &keyPairName) {
keyPairName_ = keyPairName;
setParameter(std::string("KeyPairName"), keyPairName);
}
std::string CreateARMServerInstancesRequest::getResolution() const {
return resolution_;
}
void CreateARMServerInstancesRequest::setResolution(const std::string &resolution) {
resolution_ = resolution;
setParameter(std::string("Resolution"), resolution);
}
int CreateARMServerInstancesRequest::getFrequency() const {
return frequency_;
}
void CreateARMServerInstancesRequest::setFrequency(int frequency) {
frequency_ = frequency;
setParameter(std::string("Frequency"), std::to_string(frequency));
}
std::string CreateARMServerInstancesRequest::getEnsRegionId() const {
return ensRegionId_;
}
void CreateARMServerInstancesRequest::setEnsRegionId(const std::string &ensRegionId) {
ensRegionId_ = ensRegionId;
setParameter(std::string("EnsRegionId"), ensRegionId);
}
int CreateARMServerInstancesRequest::getPeriod() const {
return period_;
}
void CreateARMServerInstancesRequest::setPeriod(int period) {
period_ = period;
setParameter(std::string("Period"), std::to_string(period));
}
std::string CreateARMServerInstancesRequest::getPeriodUnit() const {
return periodUnit_;
}
void CreateARMServerInstancesRequest::setPeriodUnit(const std::string &periodUnit) {
periodUnit_ = periodUnit;
setParameter(std::string("PeriodUnit"), periodUnit);
}
bool CreateARMServerInstancesRequest::getAutoRenew() const {
return autoRenew_;
}
void CreateARMServerInstancesRequest::setAutoRenew(bool autoRenew) {
autoRenew_ = autoRenew;
setParameter(std::string("AutoRenew"), autoRenew ? "true" : "false");
}
std::string CreateARMServerInstancesRequest::getImageId() const {
return imageId_;
}
void CreateARMServerInstancesRequest::setImageId(const std::string &imageId) {
imageId_ = imageId;
setParameter(std::string("ImageId"), imageId);
}
std::string CreateARMServerInstancesRequest::getServerType() const {
return serverType_;
}
void CreateARMServerInstancesRequest::setServerType(const std::string &serverType) {
serverType_ = serverType;
setParameter(std::string("ServerType"), serverType);
}
std::string CreateARMServerInstancesRequest::getInstanceType() const {
return instanceType_;
}
void CreateARMServerInstancesRequest::setInstanceType(const std::string &instanceType) {
instanceType_ = instanceType;
setParameter(std::string("InstanceType"), instanceType);
}
int CreateARMServerInstancesRequest::getAmount() const {
return amount_;
}
void CreateARMServerInstancesRequest::setAmount(int amount) {
amount_ = amount;
setParameter(std::string("Amount"), std::to_string(amount));
}
std::string CreateARMServerInstancesRequest::getPayType() const {
return payType_;
}
void CreateARMServerInstancesRequest::setPayType(const std::string &payType) {
payType_ = payType;
setParameter(std::string("PayType"), payType);
}

View File

@@ -14,59 +14,46 @@
* limitations under the License.
*/
#include <alibabacloud/ens/model/CheckQuotaResult.h>
#include <alibabacloud/ens/model/CreateARMServerInstancesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ens;
using namespace AlibabaCloud::Ens::Model;
CheckQuotaResult::CheckQuotaResult() :
CreateARMServerInstancesResult::CreateARMServerInstancesResult() :
ServiceResult()
{}
CheckQuotaResult::CheckQuotaResult(const std::string &payload) :
CreateARMServerInstancesResult::CreateARMServerInstancesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CheckQuotaResult::~CheckQuotaResult()
CreateARMServerInstancesResult::~CreateARMServerInstancesResult()
{}
void CheckQuotaResult::parse(const std::string &payload)
void CreateARMServerInstancesResult::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["Data"].isNull())
data_ = value["Data"].asString();
if(!value["Msg"].isNull())
msg_ = value["Msg"].asString();
if(!value["Desc"].isNull())
desc_ = value["Desc"].asString();
auto allInstanceIds = value["InstanceIds"]["InstanceIds"];
for (const auto &item : allInstanceIds)
instanceIds_.push_back(item.asString());
if(!value["OrderId"].isNull())
orderId_ = value["OrderId"].asString();
}
std::string CheckQuotaResult::getMsg()const
std::vector<std::string> CreateARMServerInstancesResult::getInstanceIds()const
{
return msg_;
return instanceIds_;
}
std::string CheckQuotaResult::getDesc()const
std::string CreateARMServerInstancesResult::getOrderId()const
{
return desc_;
}
std::string CheckQuotaResult::getData()const
{
return data_;
}
int CheckQuotaResult::getCode()const
{
return code_;
return orderId_;
}

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ens/model/CreateClassicNetworkRequest.h>
using AlibabaCloud::Ens::Model::CreateClassicNetworkRequest;
CreateClassicNetworkRequest::CreateClassicNetworkRequest()
: RpcServiceRequest("ens", "2017-11-10", "CreateClassicNetwork") {
setMethod(HttpRequest::Method::Post);
}
CreateClassicNetworkRequest::~CreateClassicNetworkRequest() {}
std::string CreateClassicNetworkRequest::getDescription() const {
return description_;
}
void CreateClassicNetworkRequest::setDescription(const std::string &description) {
description_ = description;
setParameter(std::string("Description"), description);
}
std::string CreateClassicNetworkRequest::getNetworkType() const {
return networkType_;
}
void CreateClassicNetworkRequest::setNetworkType(const std::string &networkType) {
networkType_ = networkType;
setParameter(std::string("NetworkType"), networkType);
}
std::string CreateClassicNetworkRequest::getEnsRegionId() const {
return ensRegionId_;
}
void CreateClassicNetworkRequest::setEnsRegionId(const std::string &ensRegionId) {
ensRegionId_ = ensRegionId;
setParameter(std::string("EnsRegionId"), ensRegionId);
}
std::string CreateClassicNetworkRequest::getNetworkName() const {
return networkName_;
}
void CreateClassicNetworkRequest::setNetworkName(const std::string &networkName) {
networkName_ = networkName;
setParameter(std::string("NetworkName"), networkName);
}
std::string CreateClassicNetworkRequest::getCidrBlock() const {
return cidrBlock_;
}
void CreateClassicNetworkRequest::setCidrBlock(const std::string &cidrBlock) {
cidrBlock_ = cidrBlock;
setParameter(std::string("CidrBlock"), cidrBlock);
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ens/model/CreateClassicNetworkResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ens;
using namespace AlibabaCloud::Ens::Model;
CreateClassicNetworkResult::CreateClassicNetworkResult() :
ServiceResult()
{}
CreateClassicNetworkResult::CreateClassicNetworkResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateClassicNetworkResult::~CreateClassicNetworkResult()
{}
void CreateClassicNetworkResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["NetworkId"].isNull())
networkId_ = value["NetworkId"].asString();
}
std::string CreateClassicNetworkResult::getNetworkId()const
{
return networkId_;
}

View File

@@ -1,72 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ens/model/CreateEPInstanceRequest.h>
using AlibabaCloud::Ens::Model::CreateEPInstanceRequest;
CreateEPInstanceRequest::CreateEPInstanceRequest()
: RpcServiceRequest("ens", "2017-11-10", "CreateEPInstance") {
setMethod(HttpRequest::Method::Post);
}
CreateEPInstanceRequest::~CreateEPInstanceRequest() {}
std::string CreateEPInstanceRequest::getNetworkingModel() const {
return networkingModel_;
}
void CreateEPInstanceRequest::setNetworkingModel(const std::string &networkingModel) {
networkingModel_ = networkingModel;
setParameter(std::string("NetworkingModel"), networkingModel);
}
int CreateEPInstanceRequest::getInternetMaxBandwidthOut() const {
return internetMaxBandwidthOut_;
}
void CreateEPInstanceRequest::setInternetMaxBandwidthOut(int internetMaxBandwidthOut) {
internetMaxBandwidthOut_ = internetMaxBandwidthOut;
setParameter(std::string("InternetMaxBandwidthOut"), std::to_string(internetMaxBandwidthOut));
}
std::string CreateEPInstanceRequest::getEPNInstanceType() const {
return ePNInstanceType_;
}
void CreateEPInstanceRequest::setEPNInstanceType(const std::string &ePNInstanceType) {
ePNInstanceType_ = ePNInstanceType;
setParameter(std::string("EPNInstanceType"), ePNInstanceType);
}
std::string CreateEPInstanceRequest::getInternetChargeType() const {
return internetChargeType_;
}
void CreateEPInstanceRequest::setInternetChargeType(const std::string &internetChargeType) {
internetChargeType_ = internetChargeType;
setParameter(std::string("InternetChargeType"), internetChargeType);
}
std::string CreateEPInstanceRequest::getEPNInstanceName() const {
return ePNInstanceName_;
}
void CreateEPInstanceRequest::setEPNInstanceName(const std::string &ePNInstanceName) {
ePNInstanceName_ = ePNInstanceName;
setParameter(std::string("EPNInstanceName"), ePNInstanceName);
}

View File

@@ -1,52 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ens/model/CreateElbBuyOrderResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ens;
using namespace AlibabaCloud::Ens::Model;
CreateElbBuyOrderResult::CreateElbBuyOrderResult() :
ServiceResult()
{}
CreateElbBuyOrderResult::CreateElbBuyOrderResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateElbBuyOrderResult::~CreateElbBuyOrderResult()
{}
void CreateElbBuyOrderResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allLoadBalancerIds = value["LoadBalancerIds"]["LoadBalancerIds"];
for (const auto &item : allLoadBalancerIds)
loadBalancerIds_.push_back(item.asString());
}
std::vector<std::string> CreateElbBuyOrderResult::getLoadBalancerIds()const
{
return loadBalancerIds_;
}

View File

@@ -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 <alibabacloud/ens/model/CreateEnsRouteEntryRequest.h>
using AlibabaCloud::Ens::Model::CreateEnsRouteEntryRequest;
CreateEnsRouteEntryRequest::CreateEnsRouteEntryRequest()
: RpcServiceRequest("ens", "2017-11-10", "CreateEnsRouteEntry") {
setMethod(HttpRequest::Method::Post);
}
CreateEnsRouteEntryRequest::~CreateEnsRouteEntryRequest() {}
std::string CreateEnsRouteEntryRequest::getRouteEntryName() const {
return routeEntryName_;
}
void CreateEnsRouteEntryRequest::setRouteEntryName(const std::string &routeEntryName) {
routeEntryName_ = routeEntryName;
setParameter(std::string("RouteEntryName"), routeEntryName);
}
std::string CreateEnsRouteEntryRequest::getDescription() const {
return description_;
}
void CreateEnsRouteEntryRequest::setDescription(const std::string &description) {
description_ = description;
setParameter(std::string("Description"), description);
}
std::string CreateEnsRouteEntryRequest::getNextHopId() const {
return nextHopId_;
}
void CreateEnsRouteEntryRequest::setNextHopId(const std::string &nextHopId) {
nextHopId_ = nextHopId;
setParameter(std::string("NextHopId"), nextHopId);
}
std::string CreateEnsRouteEntryRequest::getNextHopType() const {
return nextHopType_;
}
void CreateEnsRouteEntryRequest::setNextHopType(const std::string &nextHopType) {
nextHopType_ = nextHopType;
setParameter(std::string("NextHopType"), nextHopType);
}
std::string CreateEnsRouteEntryRequest::getRouteTableId() const {
return routeTableId_;
}
void CreateEnsRouteEntryRequest::setRouteTableId(const std::string &routeTableId) {
routeTableId_ = routeTableId;
setParameter(std::string("RouteTableId"), routeTableId);
}
std::string CreateEnsRouteEntryRequest::getDestinationCidrBlock() const {
return destinationCidrBlock_;
}
void CreateEnsRouteEntryRequest::setDestinationCidrBlock(const std::string &destinationCidrBlock) {
destinationCidrBlock_ = destinationCidrBlock;
setParameter(std::string("DestinationCidrBlock"), destinationCidrBlock);
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ens/model/CreateEnsRouteEntryResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ens;
using namespace AlibabaCloud::Ens::Model;
CreateEnsRouteEntryResult::CreateEnsRouteEntryResult() :
ServiceResult()
{}
CreateEnsRouteEntryResult::CreateEnsRouteEntryResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateEnsRouteEntryResult::~CreateEnsRouteEntryResult()
{}
void CreateEnsRouteEntryResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["RouteEntryId"].isNull())
routeEntryId_ = value["RouteEntryId"].asString();
}
std::string CreateEnsRouteEntryResult::getRouteEntryId()const
{
return routeEntryId_;
}

View File

@@ -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 <alibabacloud/ens/model/CreateForwardEntryRequest.h>
using AlibabaCloud::Ens::Model::CreateForwardEntryRequest;
CreateForwardEntryRequest::CreateForwardEntryRequest()
: RpcServiceRequest("ens", "2017-11-10", "CreateForwardEntry") {
setMethod(HttpRequest::Method::Post);
}
CreateForwardEntryRequest::~CreateForwardEntryRequest() {}
std::string CreateForwardEntryRequest::getInternalIp() const {
return internalIp_;
}
void CreateForwardEntryRequest::setInternalIp(const std::string &internalIp) {
internalIp_ = internalIp;
setParameter(std::string("InternalIp"), internalIp);
}
std::string CreateForwardEntryRequest::getExternalIp() const {
return externalIp_;
}
void CreateForwardEntryRequest::setExternalIp(const std::string &externalIp) {
externalIp_ = externalIp;
setParameter(std::string("ExternalIp"), externalIp);
}
std::string CreateForwardEntryRequest::getIpProtocol() const {
return ipProtocol_;
}
void CreateForwardEntryRequest::setIpProtocol(const std::string &ipProtocol) {
ipProtocol_ = ipProtocol;
setParameter(std::string("IpProtocol"), ipProtocol);
}
int CreateForwardEntryRequest::getHealthCheckPort() const {
return healthCheckPort_;
}
void CreateForwardEntryRequest::setHealthCheckPort(int healthCheckPort) {
healthCheckPort_ = healthCheckPort;
setParameter(std::string("HealthCheckPort"), std::to_string(healthCheckPort));
}
std::string CreateForwardEntryRequest::getExternalPort() const {
return externalPort_;
}
void CreateForwardEntryRequest::setExternalPort(const std::string &externalPort) {
externalPort_ = externalPort;
setParameter(std::string("ExternalPort"), externalPort);
}
std::string CreateForwardEntryRequest::getNatGatewayId() const {
return natGatewayId_;
}
void CreateForwardEntryRequest::setNatGatewayId(const std::string &natGatewayId) {
natGatewayId_ = natGatewayId;
setParameter(std::string("NatGatewayId"), natGatewayId);
}
std::string CreateForwardEntryRequest::getForwardEntryName() const {
return forwardEntryName_;
}
void CreateForwardEntryRequest::setForwardEntryName(const std::string &forwardEntryName) {
forwardEntryName_ = forwardEntryName;
setParameter(std::string("ForwardEntryName"), forwardEntryName);
}
std::string CreateForwardEntryRequest::getInternalPort() const {
return internalPort_;
}
void CreateForwardEntryRequest::setInternalPort(const std::string &internalPort) {
internalPort_ = internalPort;
setParameter(std::string("InternalPort"), internalPort);
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ens/model/CreateForwardEntryResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ens;
using namespace AlibabaCloud::Ens::Model;
CreateForwardEntryResult::CreateForwardEntryResult() :
ServiceResult()
{}
CreateForwardEntryResult::CreateForwardEntryResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateForwardEntryResult::~CreateForwardEntryResult()
{}
void CreateForwardEntryResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ForwardEntryId"].isNull())
forwardEntryId_ = value["ForwardEntryId"].asString();
}
std::string CreateForwardEntryResult::getForwardEntryId()const
{
return forwardEntryId_;
}

View File

@@ -169,6 +169,15 @@ void CreateInstanceRequest::setUserData(const std::string &userData) {
setParameter(std::string("UserData"), userData);
}
bool CreateInstanceRequest::getPasswordInherit() const {
return passwordInherit_;
}
void CreateInstanceRequest::setPasswordInherit(bool passwordInherit) {
passwordInherit_ = passwordInherit;
setParameter(std::string("PasswordInherit"), passwordInherit ? "true" : "false");
}
std::string CreateInstanceRequest::getInstanceType() const {
return instanceType_;
}

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ens/model/CreateNatGatewayRequest.h>
using AlibabaCloud::Ens::Model::CreateNatGatewayRequest;
CreateNatGatewayRequest::CreateNatGatewayRequest()
: RpcServiceRequest("ens", "2017-11-10", "CreateNatGateway") {
setMethod(HttpRequest::Method::Post);
}
CreateNatGatewayRequest::~CreateNatGatewayRequest() {}
std::string CreateNatGatewayRequest::getEnsRegionId() const {
return ensRegionId_;
}
void CreateNatGatewayRequest::setEnsRegionId(const std::string &ensRegionId) {
ensRegionId_ = ensRegionId;
setParameter(std::string("EnsRegionId"), ensRegionId);
}
std::string CreateNatGatewayRequest::getVSwitchId() const {
return vSwitchId_;
}
void CreateNatGatewayRequest::setVSwitchId(const std::string &vSwitchId) {
vSwitchId_ = vSwitchId;
setParameter(std::string("VSwitchId"), vSwitchId);
}
std::string CreateNatGatewayRequest::getName() const {
return name_;
}
void CreateNatGatewayRequest::setName(const std::string &name) {
name_ = name;
setParameter(std::string("Name"), name);
}
std::string CreateNatGatewayRequest::getNetworkId() const {
return networkId_;
}
void CreateNatGatewayRequest::setNetworkId(const std::string &networkId) {
networkId_ = networkId;
setParameter(std::string("NetworkId"), networkId);
}

View File

@@ -14,38 +14,38 @@
* limitations under the License.
*/
#include <alibabacloud/ens/model/CreateEPInstanceResult.h>
#include <alibabacloud/ens/model/CreateNatGatewayResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ens;
using namespace AlibabaCloud::Ens::Model;
CreateEPInstanceResult::CreateEPInstanceResult() :
CreateNatGatewayResult::CreateNatGatewayResult() :
ServiceResult()
{}
CreateEPInstanceResult::CreateEPInstanceResult(const std::string &payload) :
CreateNatGatewayResult::CreateNatGatewayResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateEPInstanceResult::~CreateEPInstanceResult()
CreateNatGatewayResult::~CreateNatGatewayResult()
{}
void CreateEPInstanceResult::parse(const std::string &payload)
void CreateNatGatewayResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["EPNInstanceId"].isNull())
ePNInstanceId_ = value["EPNInstanceId"].asString();
if(!value["NatGatewayId"].isNull())
natGatewayId_ = value["NatGatewayId"].asString();
}
std::string CreateEPInstanceResult::getEPNInstanceId()const
std::string CreateNatGatewayResult::getNatGatewayId()const
{
return ePNInstanceId_;
return natGatewayId_;
}

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ens/model/CreateSnatEntryRequest.h>
using AlibabaCloud::Ens::Model::CreateSnatEntryRequest;
CreateSnatEntryRequest::CreateSnatEntryRequest()
: RpcServiceRequest("ens", "2017-11-10", "CreateSnatEntry") {
setMethod(HttpRequest::Method::Post);
}
CreateSnatEntryRequest::~CreateSnatEntryRequest() {}
std::string CreateSnatEntryRequest::getSourceCIDR() const {
return sourceCIDR_;
}
void CreateSnatEntryRequest::setSourceCIDR(const std::string &sourceCIDR) {
sourceCIDR_ = sourceCIDR;
setParameter(std::string("SourceCIDR"), sourceCIDR);
}
std::string CreateSnatEntryRequest::getSnatIp() const {
return snatIp_;
}
void CreateSnatEntryRequest::setSnatIp(const std::string &snatIp) {
snatIp_ = snatIp;
setParameter(std::string("SnatIp"), snatIp);
}
std::string CreateSnatEntryRequest::getSourceVSwitchId() const {
return sourceVSwitchId_;
}
void CreateSnatEntryRequest::setSourceVSwitchId(const std::string &sourceVSwitchId) {
sourceVSwitchId_ = sourceVSwitchId;
setParameter(std::string("SourceVSwitchId"), sourceVSwitchId);
}
std::string CreateSnatEntryRequest::getNatGatewayId() const {
return natGatewayId_;
}
void CreateSnatEntryRequest::setNatGatewayId(const std::string &natGatewayId) {
natGatewayId_ = natGatewayId;
setParameter(std::string("NatGatewayId"), natGatewayId);
}
std::string CreateSnatEntryRequest::getSnatEntryName() const {
return snatEntryName_;
}
void CreateSnatEntryRequest::setSnatEntryName(const std::string &snatEntryName) {
snatEntryName_ = snatEntryName;
setParameter(std::string("SnatEntryName"), snatEntryName);
}

View File

@@ -14,38 +14,38 @@
* limitations under the License.
*/
#include <alibabacloud/ens/model/CreateDiskBuyOrderResult.h>
#include <alibabacloud/ens/model/CreateSnatEntryResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ens;
using namespace AlibabaCloud::Ens::Model;
CreateDiskBuyOrderResult::CreateDiskBuyOrderResult() :
CreateSnatEntryResult::CreateSnatEntryResult() :
ServiceResult()
{}
CreateDiskBuyOrderResult::CreateDiskBuyOrderResult(const std::string &payload) :
CreateSnatEntryResult::CreateSnatEntryResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateDiskBuyOrderResult::~CreateDiskBuyOrderResult()
CreateSnatEntryResult::~CreateSnatEntryResult()
{}
void CreateDiskBuyOrderResult::parse(const std::string &payload)
void CreateSnatEntryResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["OrderId"].isNull())
orderId_ = value["OrderId"].asString();
if(!value["SnatEntryId"].isNull())
snatEntryId_ = value["SnatEntryId"].asString();
}
std::string CreateDiskBuyOrderResult::getOrderId()const
std::string CreateSnatEntryResult::getSnatEntryId()const
{
return orderId_;
return snatEntryId_;
}

View File

@@ -1,72 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ens/model/CreateVmAndSaveStockRequest.h>
using AlibabaCloud::Ens::Model::CreateVmAndSaveStockRequest;
CreateVmAndSaveStockRequest::CreateVmAndSaveStockRequest()
: RpcServiceRequest("ens", "2017-11-10", "CreateVmAndSaveStock") {
setMethod(HttpRequest::Method::Post);
}
CreateVmAndSaveStockRequest::~CreateVmAndSaveStockRequest() {}
std::string CreateVmAndSaveStockRequest::getGroupUuid() const {
return groupUuid_;
}
void CreateVmAndSaveStockRequest::setGroupUuid(const std::string &groupUuid) {
groupUuid_ = groupUuid;
setParameter(std::string("GroupUuid"), groupUuid);
}
std::string CreateVmAndSaveStockRequest::getResourceAttribute() const {
return resourceAttribute_;
}
void CreateVmAndSaveStockRequest::setResourceAttribute(const std::string &resourceAttribute) {
resourceAttribute_ = resourceAttribute;
setBodyParameter(std::string("ResourceAttribute"), resourceAttribute);
}
long CreateVmAndSaveStockRequest::getAliUid() const {
return aliUid_;
}
void CreateVmAndSaveStockRequest::setAliUid(long aliUid) {
aliUid_ = aliUid;
setParameter(std::string("AliUid"), std::to_string(aliUid));
}
std::string CreateVmAndSaveStockRequest::getTenant() const {
return tenant_;
}
void CreateVmAndSaveStockRequest::setTenant(const std::string &tenant) {
tenant_ = tenant;
setParameter(std::string("Tenant"), tenant);
}
std::string CreateVmAndSaveStockRequest::getWorkloadUuid() const {
return workloadUuid_;
}
void CreateVmAndSaveStockRequest::setWorkloadUuid(const std::string &workloadUuid) {
workloadUuid_ = workloadUuid;
setParameter(std::string("WorkloadUuid"), workloadUuid);
}

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