From 892b77665e093d88380b6617529ea126e9f4f1a2 Mon Sep 17 00:00:00 2001 From: "yixiong.jxy" Date: Thu, 22 Nov 2018 10:42:36 +0800 Subject: [PATCH] =?UTF-8?q?ECS=20SDK=20Auto=20Released=20By=20zhengguang.y?= =?UTF-8?q?zg,Version=EF=BC=9A1.33.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yixiong.jxy --- CHANGELOG | 4 + VERSION | 2 +- ecs/CMakeLists.txt | 124 -- ecs/include/alibabacloud/ecs/EcsClient.h | 248 ---- .../ecs/model/AddIpRangeRequest.h | 66 - .../alibabacloud/ecs/model/AddIpRangeResult.h | 49 - .../ecs/model/AttachVolumeRequest.h | 66 - .../ecs/model/AttachVolumeResult.h | 49 - .../ecs/model/BindIpRangeRequest.h | 63 - .../ecs/model/BindIpRangeResult.h | 49 - .../ecs/model/CancelAgreementRequest.h | 114 -- .../ecs/model/CancelAgreementResult.h | 49 - .../ecs/model/CancelUserEventRequest.h | 117 -- .../ecs/model/CancelUserEventResult.h | 51 - .../model/CheckAutoSnapshotPolicyRequest.h | 81 -- .../ecs/model/CheckAutoSnapshotPolicyResult.h | 53 - ...kDiskEnableAutoSnapshotValidationRequest.h | 60 - ...ckDiskEnableAutoSnapshotValidationResult.h | 53 - .../ecs/model/CreateInstanceRequest.h | 3 + .../ecs/model/CreateUserEventRequest.h | 123 -- .../ecs/model/CreateUserEventResult.h | 51 - .../ecs/model/CreateVolumeRequest.h | 92 -- .../ecs/model/CreateVolumeResult.h | 51 - .../ecs/model/DeleteRecycleBinRequest.h | 63 - .../ecs/model/DeleteRecycleBinResult.h | 49 - .../ecs/model/DeleteVolumeRequest.h | 63 - .../ecs/model/DeleteVolumeResult.h | 49 - .../model/DescribeAutoSnapshotPolicyRequest.h | 57 - .../model/DescribeAutoSnapshotPolicyResult.h | 71 -- .../DescribeDeploymentSetTopologyRequest.h | 75 -- .../DescribeDeploymentSetTopologyResult.h | 73 -- .../ecs/model/DescribeEventDetailRequest.h | 114 -- .../ecs/model/DescribeEventDetailResult.h | 75 -- .../ecs/model/DescribeEventsRequest.h | 135 -- .../ecs/model/DescribeEventsResult.h | 68 - .../model/DescribeInstanceTopologyRequest.h | 60 - .../model/DescribeInstanceTopologyResult.h | 56 - .../ecs/model/DescribeInstancesResult.h | 1 + .../DescribeIntranetAttributeKbRequest.h | 60 - .../model/DescribeIntranetAttributeKbResult.h | 59 - .../ecs/model/DescribeIpRangesRequest.h | 72 -- .../ecs/model/DescribeIpRangesResult.h | 66 - .../ecs/model/DescribeRecycleBinRequest.h | 72 -- .../ecs/model/DescribeRecycleBinResult.h | 67 - .../ecs/model/DescribeTagKeysRequest.h | 69 - .../ecs/model/DescribeTagKeysResult.h | 57 - .../ecs/model/DescribeVolumesRequest.h | 101 -- .../ecs/model/DescribeVolumesResult.h | 94 -- .../ecs/model/DetachVolumeRequest.h | 66 - .../ecs/model/DetachVolumeResult.h | 49 - .../model/ModifyInstanceAttributeRequest.h | 3 + .../model/ModifyIntranetBandwidthKbRequest.h | 66 - .../model/ModifyIntranetBandwidthKbResult.h | 49 - .../model/ModifyUserEventAttributeRequest.h | 123 -- .../model/ModifyUserEventAttributeResult.h | 51 - .../ecs/model/ModifyVolumeAttributeRequest.h | 69 - .../ecs/model/ModifyVolumeAttributeResult.h | 49 - .../ecs/model/ReInitVolumeRequest.h | 66 - .../ecs/model/ReInitVolumeResult.h | 49 - .../ecs/model/ResizeVolumeRequest.h | 69 - .../ecs/model/ResizeVolumeResult.h | 49 - .../ecs/model/RollbackVolumeRequest.h | 66 - .../ecs/model/RollbackVolumeResult.h | 49 - .../ecs/model/RunInstancesRequest.h | 3 + .../ecs/model/SignAgreementRequest.h | 114 -- .../ecs/model/SignAgreementResult.h | 49 - .../ecs/model/UnbindIpRangeRequest.h | 63 - .../ecs/model/UnbindIpRangeResult.h | 49 - .../ecs/model/ValidateSecurityGroupRequest.h | 138 -- .../ecs/model/ValidateSecurityGroupResult.h | 72 -- ecs/src/EcsClient.cc | 1116 ----------------- ecs/src/model/AddIpRangeRequest.cc | 104 -- ecs/src/model/AddIpRangeResult.cc | 45 - ecs/src/model/AttachVolumeRequest.cc | 104 -- ecs/src/model/AttachVolumeResult.cc | 45 - ecs/src/model/BindIpRangeRequest.cc | 93 -- ecs/src/model/BindIpRangeResult.cc | 45 - ecs/src/model/CancelAgreementRequest.cc | 280 ----- ecs/src/model/CancelAgreementResult.cc | 45 - ecs/src/model/CancelUserEventRequest.cc | 291 ----- ecs/src/model/CancelUserEventResult.cc | 52 - .../model/CheckAutoSnapshotPolicyRequest.cc | 159 --- .../model/CheckAutoSnapshotPolicyResult.cc | 59 - ...DiskEnableAutoSnapshotValidationRequest.cc | 82 -- ...kDiskEnableAutoSnapshotValidationResult.cc | 59 - ecs/src/model/CreateInstanceRequest.cc | 11 + ecs/src/model/CreateUserEventRequest.cc | 313 ----- ecs/src/model/CreateUserEventResult.cc | 52 - ecs/src/model/CreateVolumeRequest.cc | 187 --- ecs/src/model/CreateVolumeResult.cc | 52 - ecs/src/model/DeleteRecycleBinRequest.cc | 93 -- ecs/src/model/DeleteRecycleBinResult.cc | 45 - ecs/src/model/DeleteVolumeRequest.cc | 93 -- ecs/src/model/DeleteVolumeResult.cc | 45 - .../DescribeAutoSnapshotPolicyRequest.cc | 71 -- .../model/DescribeAutoSnapshotPolicyResult.cc | 84 -- .../DescribeDeploymentSetTopologyRequest.cc | 137 -- .../DescribeDeploymentSetTopologyResult.cc | 93 -- ecs/src/model/DescribeEventDetailRequest.cc | 280 ----- ecs/src/model/DescribeEventDetailResult.cc | 136 -- ecs/src/model/DescribeEventsRequest.cc | 357 ------ ecs/src/model/DescribeEventsResult.cc | 93 -- .../model/DescribeInstanceTopologyRequest.cc | 82 -- .../model/DescribeInstanceTopologyResult.cc | 60 - ecs/src/model/DescribeInstancesResult.cc | 2 + .../DescribeIntranetAttributeKbRequest.cc | 82 -- .../DescribeIntranetAttributeKbResult.cc | 80 -- ecs/src/model/DescribeIpRangesRequest.cc | 126 -- ecs/src/model/DescribeIpRangesResult.cc | 95 -- ecs/src/model/DescribeRecycleBinRequest.cc | 126 -- ecs/src/model/DescribeRecycleBinResult.cc | 83 -- ecs/src/model/DescribeTagKeysRequest.cc | 115 -- ecs/src/model/DescribeTagKeysResult.cc | 74 -- ecs/src/model/DescribeVolumesRequest.cc | 220 ---- ecs/src/model/DescribeVolumesResult.cc | 139 -- ecs/src/model/DetachVolumeRequest.cc | 104 -- ecs/src/model/DetachVolumeResult.cc | 45 - .../model/ModifyInstanceAttributeRequest.cc | 11 + .../model/ModifyIntranetBandwidthKbRequest.cc | 104 -- .../model/ModifyIntranetBandwidthKbResult.cc | 45 - .../model/ModifyUserEventAttributeRequest.cc | 313 ----- .../model/ModifyUserEventAttributeResult.cc | 52 - ecs/src/model/ModifyVolumeAttributeRequest.cc | 115 -- ecs/src/model/ModifyVolumeAttributeResult.cc | 45 - ecs/src/model/ReInitVolumeRequest.cc | 104 -- ecs/src/model/ReInitVolumeResult.cc | 45 - ecs/src/model/ResizeVolumeRequest.cc | 115 -- ecs/src/model/ResizeVolumeResult.cc | 45 - ecs/src/model/RollbackVolumeRequest.cc | 104 -- ecs/src/model/RollbackVolumeResult.cc | 45 - ecs/src/model/RunInstancesRequest.cc | 11 + ecs/src/model/SignAgreementRequest.cc | 280 ----- ecs/src/model/SignAgreementResult.cc | 45 - ecs/src/model/UnbindIpRangeRequest.cc | 93 -- ecs/src/model/UnbindIpRangeResult.cc | 45 - ecs/src/model/ValidateSecurityGroupRequest.cc | 368 ------ ecs/src/model/ValidateSecurityGroupResult.cc | 90 -- 137 files changed, 50 insertions(+), 12884 deletions(-) delete mode 100644 ecs/include/alibabacloud/ecs/model/AddIpRangeRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/AddIpRangeResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/AttachVolumeRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/AttachVolumeResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/BindIpRangeRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/BindIpRangeResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/CancelAgreementRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/CancelAgreementResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/CancelUserEventRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/CancelUserEventResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/CheckAutoSnapshotPolicyRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/CheckAutoSnapshotPolicyResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/CheckDiskEnableAutoSnapshotValidationRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/CheckDiskEnableAutoSnapshotValidationResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/CreateUserEventRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/CreateUserEventResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/CreateVolumeRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/CreateVolumeResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/DeleteRecycleBinRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/DeleteRecycleBinResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/DeleteVolumeRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/DeleteVolumeResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/DescribeAutoSnapshotPolicyRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/DescribeAutoSnapshotPolicyResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/DescribeDeploymentSetTopologyRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/DescribeDeploymentSetTopologyResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/DescribeEventDetailRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/DescribeEventDetailResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/DescribeEventsRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/DescribeEventsResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/DescribeInstanceTopologyRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/DescribeInstanceTopologyResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/DescribeIntranetAttributeKbRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/DescribeIntranetAttributeKbResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/DescribeIpRangesRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/DescribeIpRangesResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/DescribeRecycleBinRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/DescribeRecycleBinResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/DescribeTagKeysRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/DescribeTagKeysResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/DescribeVolumesRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/DescribeVolumesResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/DetachVolumeRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/DetachVolumeResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/ModifyIntranetBandwidthKbRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/ModifyIntranetBandwidthKbResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/ModifyUserEventAttributeRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/ModifyUserEventAttributeResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/ModifyVolumeAttributeRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/ModifyVolumeAttributeResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/ReInitVolumeRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/ReInitVolumeResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/ResizeVolumeRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/ResizeVolumeResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/RollbackVolumeRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/RollbackVolumeResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/SignAgreementRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/SignAgreementResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/UnbindIpRangeRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/UnbindIpRangeResult.h delete mode 100644 ecs/include/alibabacloud/ecs/model/ValidateSecurityGroupRequest.h delete mode 100644 ecs/include/alibabacloud/ecs/model/ValidateSecurityGroupResult.h delete mode 100644 ecs/src/model/AddIpRangeRequest.cc delete mode 100644 ecs/src/model/AddIpRangeResult.cc delete mode 100644 ecs/src/model/AttachVolumeRequest.cc delete mode 100644 ecs/src/model/AttachVolumeResult.cc delete mode 100644 ecs/src/model/BindIpRangeRequest.cc delete mode 100644 ecs/src/model/BindIpRangeResult.cc delete mode 100644 ecs/src/model/CancelAgreementRequest.cc delete mode 100644 ecs/src/model/CancelAgreementResult.cc delete mode 100644 ecs/src/model/CancelUserEventRequest.cc delete mode 100644 ecs/src/model/CancelUserEventResult.cc delete mode 100644 ecs/src/model/CheckAutoSnapshotPolicyRequest.cc delete mode 100644 ecs/src/model/CheckAutoSnapshotPolicyResult.cc delete mode 100644 ecs/src/model/CheckDiskEnableAutoSnapshotValidationRequest.cc delete mode 100644 ecs/src/model/CheckDiskEnableAutoSnapshotValidationResult.cc delete mode 100644 ecs/src/model/CreateUserEventRequest.cc delete mode 100644 ecs/src/model/CreateUserEventResult.cc delete mode 100644 ecs/src/model/CreateVolumeRequest.cc delete mode 100644 ecs/src/model/CreateVolumeResult.cc delete mode 100644 ecs/src/model/DeleteRecycleBinRequest.cc delete mode 100644 ecs/src/model/DeleteRecycleBinResult.cc delete mode 100644 ecs/src/model/DeleteVolumeRequest.cc delete mode 100644 ecs/src/model/DeleteVolumeResult.cc delete mode 100644 ecs/src/model/DescribeAutoSnapshotPolicyRequest.cc delete mode 100644 ecs/src/model/DescribeAutoSnapshotPolicyResult.cc delete mode 100644 ecs/src/model/DescribeDeploymentSetTopologyRequest.cc delete mode 100644 ecs/src/model/DescribeDeploymentSetTopologyResult.cc delete mode 100644 ecs/src/model/DescribeEventDetailRequest.cc delete mode 100644 ecs/src/model/DescribeEventDetailResult.cc delete mode 100644 ecs/src/model/DescribeEventsRequest.cc delete mode 100644 ecs/src/model/DescribeEventsResult.cc delete mode 100644 ecs/src/model/DescribeInstanceTopologyRequest.cc delete mode 100644 ecs/src/model/DescribeInstanceTopologyResult.cc delete mode 100644 ecs/src/model/DescribeIntranetAttributeKbRequest.cc delete mode 100644 ecs/src/model/DescribeIntranetAttributeKbResult.cc delete mode 100644 ecs/src/model/DescribeIpRangesRequest.cc delete mode 100644 ecs/src/model/DescribeIpRangesResult.cc delete mode 100644 ecs/src/model/DescribeRecycleBinRequest.cc delete mode 100644 ecs/src/model/DescribeRecycleBinResult.cc delete mode 100644 ecs/src/model/DescribeTagKeysRequest.cc delete mode 100644 ecs/src/model/DescribeTagKeysResult.cc delete mode 100644 ecs/src/model/DescribeVolumesRequest.cc delete mode 100644 ecs/src/model/DescribeVolumesResult.cc delete mode 100644 ecs/src/model/DetachVolumeRequest.cc delete mode 100644 ecs/src/model/DetachVolumeResult.cc delete mode 100644 ecs/src/model/ModifyIntranetBandwidthKbRequest.cc delete mode 100644 ecs/src/model/ModifyIntranetBandwidthKbResult.cc delete mode 100644 ecs/src/model/ModifyUserEventAttributeRequest.cc delete mode 100644 ecs/src/model/ModifyUserEventAttributeResult.cc delete mode 100644 ecs/src/model/ModifyVolumeAttributeRequest.cc delete mode 100644 ecs/src/model/ModifyVolumeAttributeResult.cc delete mode 100644 ecs/src/model/ReInitVolumeRequest.cc delete mode 100644 ecs/src/model/ReInitVolumeResult.cc delete mode 100644 ecs/src/model/ResizeVolumeRequest.cc delete mode 100644 ecs/src/model/ResizeVolumeResult.cc delete mode 100644 ecs/src/model/RollbackVolumeRequest.cc delete mode 100644 ecs/src/model/RollbackVolumeResult.cc delete mode 100644 ecs/src/model/SignAgreementRequest.cc delete mode 100644 ecs/src/model/SignAgreementResult.cc delete mode 100644 ecs/src/model/UnbindIpRangeRequest.cc delete mode 100644 ecs/src/model/UnbindIpRangeResult.cc delete mode 100644 ecs/src/model/ValidateSecurityGroupRequest.cc delete mode 100644 ecs/src/model/ValidateSecurityGroupResult.cc diff --git a/CHANGELOG b/CHANGELOG index 9aa637a4e..a6631fe03 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +2018-11-22 Version: 1.33.3 +1, Add parameter DeletionProtection when creating instance and modifying instance attribute + + 2018-11-21 Version: 1.33.2 1, Add new apis called AddWatermark, UpdateWatermark, DeleteWatermark, ListWatermarks, GetWatermark and SetDefaultWatermark which support watermark feature. 2, Add a new api called RegisterMedia which supports registration of audio and video media files that already exist in the OSS bucket. diff --git a/VERSION b/VERSION index a5167eb8e..a64287c73 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.33.2 \ No newline at end of file +1.33.3 \ No newline at end of file diff --git a/ecs/CMakeLists.txt b/ecs/CMakeLists.txt index e49e6d512..95592b9de 100644 --- a/ecs/CMakeLists.txt +++ b/ecs/CMakeLists.txt @@ -61,14 +61,10 @@ set(ecs_public_header_model include/alibabacloud/ecs/model/StopInstanceResult.h include/alibabacloud/ecs/model/DescribeInstanceHistoryEventsRequest.h include/alibabacloud/ecs/model/DescribeInstanceHistoryEventsResult.h - include/alibabacloud/ecs/model/DescribeInstanceTopologyRequest.h - include/alibabacloud/ecs/model/DescribeInstanceTopologyResult.h include/alibabacloud/ecs/model/DeletePhysicalConnectionRequest.h include/alibabacloud/ecs/model/DeletePhysicalConnectionResult.h include/alibabacloud/ecs/model/RevokeSecurityGroupRequest.h include/alibabacloud/ecs/model/RevokeSecurityGroupResult.h - include/alibabacloud/ecs/model/CheckAutoSnapshotPolicyRequest.h - include/alibabacloud/ecs/model/CheckAutoSnapshotPolicyResult.h include/alibabacloud/ecs/model/DescribeTaskAttributeRequest.h include/alibabacloud/ecs/model/DescribeTaskAttributeResult.h include/alibabacloud/ecs/model/CreateAutoSnapshotPolicyRequest.h @@ -89,8 +85,6 @@ set(ecs_public_header_model include/alibabacloud/ecs/model/DetachInstanceRamRoleResult.h include/alibabacloud/ecs/model/AllocatePublicIpAddressRequest.h include/alibabacloud/ecs/model/AllocatePublicIpAddressResult.h - include/alibabacloud/ecs/model/AttachVolumeRequest.h - include/alibabacloud/ecs/model/AttachVolumeResult.h include/alibabacloud/ecs/model/ModifyDedicatedHostAutoRenewAttributeRequest.h include/alibabacloud/ecs/model/ModifyDedicatedHostAutoRenewAttributeResult.h include/alibabacloud/ecs/model/DescribeEipMonitorDataRequest.h @@ -117,8 +111,6 @@ set(ecs_public_header_model include/alibabacloud/ecs/model/DescribeSnapshotMonitorDataResult.h include/alibabacloud/ecs/model/ConnectRouterInterfaceRequest.h include/alibabacloud/ecs/model/ConnectRouterInterfaceResult.h - include/alibabacloud/ecs/model/AddIpRangeRequest.h - include/alibabacloud/ecs/model/AddIpRangeResult.h include/alibabacloud/ecs/model/GetInstanceConsoleOutputRequest.h include/alibabacloud/ecs/model/GetInstanceConsoleOutputResult.h include/alibabacloud/ecs/model/CreateSimulatedSystemEventsRequest.h @@ -139,8 +131,6 @@ set(ecs_public_header_model include/alibabacloud/ecs/model/DescribeSecurityGroupsResult.h include/alibabacloud/ecs/model/ResizeDiskRequest.h include/alibabacloud/ecs/model/ResizeDiskResult.h - include/alibabacloud/ecs/model/ResizeVolumeRequest.h - include/alibabacloud/ecs/model/ResizeVolumeResult.h include/alibabacloud/ecs/model/ModifyDedicatedHostAttributeRequest.h include/alibabacloud/ecs/model/ModifyDedicatedHostAttributeResult.h include/alibabacloud/ecs/model/CreateRouteEntryRequest.h @@ -151,10 +141,6 @@ set(ecs_public_header_model include/alibabacloud/ecs/model/AttachKeyPairResult.h include/alibabacloud/ecs/model/CreateRouterInterfaceRequest.h include/alibabacloud/ecs/model/CreateRouterInterfaceResult.h - include/alibabacloud/ecs/model/ModifyVolumeAttributeRequest.h - include/alibabacloud/ecs/model/ModifyVolumeAttributeResult.h - include/alibabacloud/ecs/model/CheckDiskEnableAutoSnapshotValidationRequest.h - include/alibabacloud/ecs/model/CheckDiskEnableAutoSnapshotValidationResult.h include/alibabacloud/ecs/model/RunInstancesRequest.h include/alibabacloud/ecs/model/RunInstancesResult.h include/alibabacloud/ecs/model/ModifyLaunchTemplateDefaultVersionRequest.h @@ -229,12 +215,8 @@ set(ecs_public_header_model include/alibabacloud/ecs/model/DescribeInstanceTypesResult.h include/alibabacloud/ecs/model/DescribeSnapshotPackageRequest.h include/alibabacloud/ecs/model/DescribeSnapshotPackageResult.h - include/alibabacloud/ecs/model/ReInitVolumeRequest.h - include/alibabacloud/ecs/model/ReInitVolumeResult.h include/alibabacloud/ecs/model/RebootInstanceRequest.h include/alibabacloud/ecs/model/RebootInstanceResult.h - include/alibabacloud/ecs/model/BindIpRangeRequest.h - include/alibabacloud/ecs/model/BindIpRangeResult.h include/alibabacloud/ecs/model/InvokeCommandRequest.h include/alibabacloud/ecs/model/InvokeCommandResult.h include/alibabacloud/ecs/model/ModifyUserBusinessBehaviorRequest.h @@ -243,8 +225,6 @@ set(ecs_public_header_model include/alibabacloud/ecs/model/DeleteForwardEntryResult.h include/alibabacloud/ecs/model/DescribeHpcClustersRequest.h include/alibabacloud/ecs/model/DescribeHpcClustersResult.h - include/alibabacloud/ecs/model/CancelAgreementRequest.h - include/alibabacloud/ecs/model/CancelAgreementResult.h include/alibabacloud/ecs/model/ModifyInstanceChargeTypeRequest.h include/alibabacloud/ecs/model/ModifyInstanceChargeTypeResult.h include/alibabacloud/ecs/model/ModifyInstanceAutoRenewAttributeRequest.h @@ -261,16 +241,12 @@ set(ecs_public_header_model include/alibabacloud/ecs/model/DescribePriceResult.h include/alibabacloud/ecs/model/DeleteDeploymentSetRequest.h include/alibabacloud/ecs/model/DeleteDeploymentSetResult.h - include/alibabacloud/ecs/model/DescribeDeploymentSetTopologyRequest.h - include/alibabacloud/ecs/model/DescribeDeploymentSetTopologyResult.h include/alibabacloud/ecs/model/ModifyInstanceVpcAttributeRequest.h include/alibabacloud/ecs/model/ModifyInstanceVpcAttributeResult.h include/alibabacloud/ecs/model/ReleaseDedicatedHostRequest.h include/alibabacloud/ecs/model/ReleaseDedicatedHostResult.h include/alibabacloud/ecs/model/AddTagsRequest.h include/alibabacloud/ecs/model/AddTagsResult.h - include/alibabacloud/ecs/model/CancelUserEventRequest.h - include/alibabacloud/ecs/model/CancelUserEventResult.h include/alibabacloud/ecs/model/CreateHpcClusterRequest.h include/alibabacloud/ecs/model/CreateHpcClusterResult.h include/alibabacloud/ecs/model/DescribeUserBusinessBehaviorRequest.h @@ -311,8 +287,6 @@ set(ecs_public_header_model include/alibabacloud/ecs/model/DescribeImagesResult.h include/alibabacloud/ecs/model/AuthorizeSecurityGroupEgressRequest.h include/alibabacloud/ecs/model/AuthorizeSecurityGroupEgressResult.h - include/alibabacloud/ecs/model/SignAgreementRequest.h - include/alibabacloud/ecs/model/SignAgreementResult.h include/alibabacloud/ecs/model/ImportImageRequest.h include/alibabacloud/ecs/model/ImportImageResult.h include/alibabacloud/ecs/model/ModifyForwardEntryRequest.h @@ -355,10 +329,6 @@ set(ecs_public_header_model include/alibabacloud/ecs/model/DeleteLaunchTemplateResult.h include/alibabacloud/ecs/model/DescribeNewProjectEipMonitorDataRequest.h include/alibabacloud/ecs/model/DescribeNewProjectEipMonitorDataResult.h - include/alibabacloud/ecs/model/UnbindIpRangeRequest.h - include/alibabacloud/ecs/model/UnbindIpRangeResult.h - include/alibabacloud/ecs/model/DeleteRecycleBinRequest.h - include/alibabacloud/ecs/model/DeleteRecycleBinResult.h include/alibabacloud/ecs/model/DescribeInstanceRamRoleRequest.h include/alibabacloud/ecs/model/DescribeInstanceRamRoleResult.h include/alibabacloud/ecs/model/CreateImageRequest.h @@ -383,10 +353,6 @@ set(ecs_public_header_model include/alibabacloud/ecs/model/ResetDiskResult.h include/alibabacloud/ecs/model/ModifyDiskChargeTypeRequest.h include/alibabacloud/ecs/model/ModifyDiskChargeTypeResult.h - include/alibabacloud/ecs/model/DescribeVolumesRequest.h - include/alibabacloud/ecs/model/DescribeVolumesResult.h - include/alibabacloud/ecs/model/ModifyIntranetBandwidthKbRequest.h - include/alibabacloud/ecs/model/ModifyIntranetBandwidthKbResult.h include/alibabacloud/ecs/model/DescribeBandwidthPackagesRequest.h include/alibabacloud/ecs/model/DescribeBandwidthPackagesResult.h include/alibabacloud/ecs/model/ApplyAutoSnapshotPolicyRequest.h @@ -395,24 +361,16 @@ set(ecs_public_header_model include/alibabacloud/ecs/model/CreateSecurityGroupResult.h include/alibabacloud/ecs/model/DescribeSnapshotLinksRequest.h include/alibabacloud/ecs/model/DescribeSnapshotLinksResult.h - include/alibabacloud/ecs/model/DescribeEventDetailRequest.h - include/alibabacloud/ecs/model/DescribeEventDetailResult.h include/alibabacloud/ecs/model/DescribeInvocationResultsRequest.h include/alibabacloud/ecs/model/DescribeInvocationResultsResult.h include/alibabacloud/ecs/model/DescribeRecommendInstanceTypeRequest.h include/alibabacloud/ecs/model/DescribeRecommendInstanceTypeResult.h - include/alibabacloud/ecs/model/DescribeTagKeysRequest.h - include/alibabacloud/ecs/model/DescribeTagKeysResult.h - include/alibabacloud/ecs/model/CreateVolumeRequest.h - include/alibabacloud/ecs/model/CreateVolumeResult.h include/alibabacloud/ecs/model/DescribeDedicatedHostAutoRenewRequest.h include/alibabacloud/ecs/model/DescribeDedicatedHostAutoRenewResult.h include/alibabacloud/ecs/model/DeleteInstanceRequest.h include/alibabacloud/ecs/model/DeleteInstanceResult.h include/alibabacloud/ecs/model/CreateLaunchTemplateRequest.h include/alibabacloud/ecs/model/CreateLaunchTemplateResult.h - include/alibabacloud/ecs/model/DescribeIntranetAttributeKbRequest.h - include/alibabacloud/ecs/model/DescribeIntranetAttributeKbResult.h include/alibabacloud/ecs/model/CreateNetworkInterfacePermissionRequest.h include/alibabacloud/ecs/model/CreateNetworkInterfacePermissionResult.h include/alibabacloud/ecs/model/RemoveBandwidthPackageIpsRequest.h @@ -431,10 +389,6 @@ set(ecs_public_header_model include/alibabacloud/ecs/model/EnablePhysicalConnectionResult.h include/alibabacloud/ecs/model/DescribeInstanceTypeFamiliesRequest.h include/alibabacloud/ecs/model/DescribeInstanceTypeFamiliesResult.h - include/alibabacloud/ecs/model/RollbackVolumeRequest.h - include/alibabacloud/ecs/model/RollbackVolumeResult.h - include/alibabacloud/ecs/model/DeleteVolumeRequest.h - include/alibabacloud/ecs/model/DeleteVolumeResult.h include/alibabacloud/ecs/model/CreateForwardEntryRequest.h include/alibabacloud/ecs/model/CreateForwardEntryResult.h include/alibabacloud/ecs/model/DescribeRouterInterfacesRequest.h @@ -465,8 +419,6 @@ set(ecs_public_header_model include/alibabacloud/ecs/model/ModifyAutoSnapshotPolicyExResult.h include/alibabacloud/ecs/model/CreatePhysicalConnectionRequest.h include/alibabacloud/ecs/model/CreatePhysicalConnectionResult.h - include/alibabacloud/ecs/model/ModifyUserEventAttributeRequest.h - include/alibabacloud/ecs/model/ModifyUserEventAttributeResult.h include/alibabacloud/ecs/model/DescribeKeyPairsRequest.h include/alibabacloud/ecs/model/DescribeKeyPairsResult.h include/alibabacloud/ecs/model/ModifySecurityGroupPolicyRequest.h @@ -487,8 +439,6 @@ set(ecs_public_header_model include/alibabacloud/ecs/model/UnassignIpv6AddressesResult.h include/alibabacloud/ecs/model/DescribeInstancePhysicalAttributeRequest.h include/alibabacloud/ecs/model/DescribeInstancePhysicalAttributeResult.h - include/alibabacloud/ecs/model/ValidateSecurityGroupRequest.h - include/alibabacloud/ecs/model/ValidateSecurityGroupResult.h include/alibabacloud/ecs/model/TerminatePhysicalConnectionRequest.h include/alibabacloud/ecs/model/TerminatePhysicalConnectionResult.h include/alibabacloud/ecs/model/AttachNetworkInterfaceRequest.h @@ -511,20 +461,10 @@ set(ecs_public_header_model include/alibabacloud/ecs/model/DescribeRegionsResult.h include/alibabacloud/ecs/model/DescribeClassicLinkInstancesRequest.h include/alibabacloud/ecs/model/DescribeClassicLinkInstancesResult.h - include/alibabacloud/ecs/model/CreateUserEventRequest.h - include/alibabacloud/ecs/model/CreateUserEventResult.h - include/alibabacloud/ecs/model/DescribeAutoSnapshotPolicyRequest.h - include/alibabacloud/ecs/model/DescribeAutoSnapshotPolicyResult.h include/alibabacloud/ecs/model/DescribePhysicalConnectionsRequest.h include/alibabacloud/ecs/model/DescribePhysicalConnectionsResult.h - include/alibabacloud/ecs/model/DescribeRecycleBinRequest.h - include/alibabacloud/ecs/model/DescribeRecycleBinResult.h - include/alibabacloud/ecs/model/DetachVolumeRequest.h - include/alibabacloud/ecs/model/DetachVolumeResult.h include/alibabacloud/ecs/model/CreateNetworkInterfaceRequest.h include/alibabacloud/ecs/model/CreateNetworkInterfaceResult.h - include/alibabacloud/ecs/model/DescribeIpRangesRequest.h - include/alibabacloud/ecs/model/DescribeIpRangesResult.h include/alibabacloud/ecs/model/DeleteNetworkInterfacePermissionRequest.h include/alibabacloud/ecs/model/DeleteNetworkInterfacePermissionResult.h include/alibabacloud/ecs/model/CancelPhysicalConnectionRequest.h @@ -543,8 +483,6 @@ set(ecs_public_header_model include/alibabacloud/ecs/model/AllocateEipAddressResult.h include/alibabacloud/ecs/model/DeleteDiskRequest.h include/alibabacloud/ecs/model/DeleteDiskResult.h - include/alibabacloud/ecs/model/DescribeEventsRequest.h - include/alibabacloud/ecs/model/DescribeEventsResult.h include/alibabacloud/ecs/model/UnassociateHaVipRequest.h include/alibabacloud/ecs/model/UnassociateHaVipResult.h include/alibabacloud/ecs/model/ModifyHaVipAttributeRequest.h @@ -606,14 +544,10 @@ set(ecs_src src/model/StopInstanceResult.cc src/model/DescribeInstanceHistoryEventsRequest.cc src/model/DescribeInstanceHistoryEventsResult.cc - src/model/DescribeInstanceTopologyRequest.cc - src/model/DescribeInstanceTopologyResult.cc src/model/DeletePhysicalConnectionRequest.cc src/model/DeletePhysicalConnectionResult.cc src/model/RevokeSecurityGroupRequest.cc src/model/RevokeSecurityGroupResult.cc - src/model/CheckAutoSnapshotPolicyRequest.cc - src/model/CheckAutoSnapshotPolicyResult.cc src/model/DescribeTaskAttributeRequest.cc src/model/DescribeTaskAttributeResult.cc src/model/CreateAutoSnapshotPolicyRequest.cc @@ -634,8 +568,6 @@ set(ecs_src src/model/DetachInstanceRamRoleResult.cc src/model/AllocatePublicIpAddressRequest.cc src/model/AllocatePublicIpAddressResult.cc - src/model/AttachVolumeRequest.cc - src/model/AttachVolumeResult.cc src/model/ModifyDedicatedHostAutoRenewAttributeRequest.cc src/model/ModifyDedicatedHostAutoRenewAttributeResult.cc src/model/DescribeEipMonitorDataRequest.cc @@ -662,8 +594,6 @@ set(ecs_src src/model/DescribeSnapshotMonitorDataResult.cc src/model/ConnectRouterInterfaceRequest.cc src/model/ConnectRouterInterfaceResult.cc - src/model/AddIpRangeRequest.cc - src/model/AddIpRangeResult.cc src/model/GetInstanceConsoleOutputRequest.cc src/model/GetInstanceConsoleOutputResult.cc src/model/CreateSimulatedSystemEventsRequest.cc @@ -684,8 +614,6 @@ set(ecs_src src/model/DescribeSecurityGroupsResult.cc src/model/ResizeDiskRequest.cc src/model/ResizeDiskResult.cc - src/model/ResizeVolumeRequest.cc - src/model/ResizeVolumeResult.cc src/model/ModifyDedicatedHostAttributeRequest.cc src/model/ModifyDedicatedHostAttributeResult.cc src/model/CreateRouteEntryRequest.cc @@ -696,10 +624,6 @@ set(ecs_src src/model/AttachKeyPairResult.cc src/model/CreateRouterInterfaceRequest.cc src/model/CreateRouterInterfaceResult.cc - src/model/ModifyVolumeAttributeRequest.cc - src/model/ModifyVolumeAttributeResult.cc - src/model/CheckDiskEnableAutoSnapshotValidationRequest.cc - src/model/CheckDiskEnableAutoSnapshotValidationResult.cc src/model/RunInstancesRequest.cc src/model/RunInstancesResult.cc src/model/ModifyLaunchTemplateDefaultVersionRequest.cc @@ -774,12 +698,8 @@ set(ecs_src src/model/DescribeInstanceTypesResult.cc src/model/DescribeSnapshotPackageRequest.cc src/model/DescribeSnapshotPackageResult.cc - src/model/ReInitVolumeRequest.cc - src/model/ReInitVolumeResult.cc src/model/RebootInstanceRequest.cc src/model/RebootInstanceResult.cc - src/model/BindIpRangeRequest.cc - src/model/BindIpRangeResult.cc src/model/InvokeCommandRequest.cc src/model/InvokeCommandResult.cc src/model/ModifyUserBusinessBehaviorRequest.cc @@ -788,8 +708,6 @@ set(ecs_src src/model/DeleteForwardEntryResult.cc src/model/DescribeHpcClustersRequest.cc src/model/DescribeHpcClustersResult.cc - src/model/CancelAgreementRequest.cc - src/model/CancelAgreementResult.cc src/model/ModifyInstanceChargeTypeRequest.cc src/model/ModifyInstanceChargeTypeResult.cc src/model/ModifyInstanceAutoRenewAttributeRequest.cc @@ -806,16 +724,12 @@ set(ecs_src src/model/DescribePriceResult.cc src/model/DeleteDeploymentSetRequest.cc src/model/DeleteDeploymentSetResult.cc - src/model/DescribeDeploymentSetTopologyRequest.cc - src/model/DescribeDeploymentSetTopologyResult.cc src/model/ModifyInstanceVpcAttributeRequest.cc src/model/ModifyInstanceVpcAttributeResult.cc src/model/ReleaseDedicatedHostRequest.cc src/model/ReleaseDedicatedHostResult.cc src/model/AddTagsRequest.cc src/model/AddTagsResult.cc - src/model/CancelUserEventRequest.cc - src/model/CancelUserEventResult.cc src/model/CreateHpcClusterRequest.cc src/model/CreateHpcClusterResult.cc src/model/DescribeUserBusinessBehaviorRequest.cc @@ -856,8 +770,6 @@ set(ecs_src src/model/DescribeImagesResult.cc src/model/AuthorizeSecurityGroupEgressRequest.cc src/model/AuthorizeSecurityGroupEgressResult.cc - src/model/SignAgreementRequest.cc - src/model/SignAgreementResult.cc src/model/ImportImageRequest.cc src/model/ImportImageResult.cc src/model/ModifyForwardEntryRequest.cc @@ -900,10 +812,6 @@ set(ecs_src src/model/DeleteLaunchTemplateResult.cc src/model/DescribeNewProjectEipMonitorDataRequest.cc src/model/DescribeNewProjectEipMonitorDataResult.cc - src/model/UnbindIpRangeRequest.cc - src/model/UnbindIpRangeResult.cc - src/model/DeleteRecycleBinRequest.cc - src/model/DeleteRecycleBinResult.cc src/model/DescribeInstanceRamRoleRequest.cc src/model/DescribeInstanceRamRoleResult.cc src/model/CreateImageRequest.cc @@ -928,10 +836,6 @@ set(ecs_src src/model/ResetDiskResult.cc src/model/ModifyDiskChargeTypeRequest.cc src/model/ModifyDiskChargeTypeResult.cc - src/model/DescribeVolumesRequest.cc - src/model/DescribeVolumesResult.cc - src/model/ModifyIntranetBandwidthKbRequest.cc - src/model/ModifyIntranetBandwidthKbResult.cc src/model/DescribeBandwidthPackagesRequest.cc src/model/DescribeBandwidthPackagesResult.cc src/model/ApplyAutoSnapshotPolicyRequest.cc @@ -940,24 +844,16 @@ set(ecs_src src/model/CreateSecurityGroupResult.cc src/model/DescribeSnapshotLinksRequest.cc src/model/DescribeSnapshotLinksResult.cc - src/model/DescribeEventDetailRequest.cc - src/model/DescribeEventDetailResult.cc src/model/DescribeInvocationResultsRequest.cc src/model/DescribeInvocationResultsResult.cc src/model/DescribeRecommendInstanceTypeRequest.cc src/model/DescribeRecommendInstanceTypeResult.cc - src/model/DescribeTagKeysRequest.cc - src/model/DescribeTagKeysResult.cc - src/model/CreateVolumeRequest.cc - src/model/CreateVolumeResult.cc src/model/DescribeDedicatedHostAutoRenewRequest.cc src/model/DescribeDedicatedHostAutoRenewResult.cc src/model/DeleteInstanceRequest.cc src/model/DeleteInstanceResult.cc src/model/CreateLaunchTemplateRequest.cc src/model/CreateLaunchTemplateResult.cc - src/model/DescribeIntranetAttributeKbRequest.cc - src/model/DescribeIntranetAttributeKbResult.cc src/model/CreateNetworkInterfacePermissionRequest.cc src/model/CreateNetworkInterfacePermissionResult.cc src/model/RemoveBandwidthPackageIpsRequest.cc @@ -976,10 +872,6 @@ set(ecs_src src/model/EnablePhysicalConnectionResult.cc src/model/DescribeInstanceTypeFamiliesRequest.cc src/model/DescribeInstanceTypeFamiliesResult.cc - src/model/RollbackVolumeRequest.cc - src/model/RollbackVolumeResult.cc - src/model/DeleteVolumeRequest.cc - src/model/DeleteVolumeResult.cc src/model/CreateForwardEntryRequest.cc src/model/CreateForwardEntryResult.cc src/model/DescribeRouterInterfacesRequest.cc @@ -1010,8 +902,6 @@ set(ecs_src src/model/ModifyAutoSnapshotPolicyExResult.cc src/model/CreatePhysicalConnectionRequest.cc src/model/CreatePhysicalConnectionResult.cc - src/model/ModifyUserEventAttributeRequest.cc - src/model/ModifyUserEventAttributeResult.cc src/model/DescribeKeyPairsRequest.cc src/model/DescribeKeyPairsResult.cc src/model/ModifySecurityGroupPolicyRequest.cc @@ -1032,8 +922,6 @@ set(ecs_src src/model/UnassignIpv6AddressesResult.cc src/model/DescribeInstancePhysicalAttributeRequest.cc src/model/DescribeInstancePhysicalAttributeResult.cc - src/model/ValidateSecurityGroupRequest.cc - src/model/ValidateSecurityGroupResult.cc src/model/TerminatePhysicalConnectionRequest.cc src/model/TerminatePhysicalConnectionResult.cc src/model/AttachNetworkInterfaceRequest.cc @@ -1056,20 +944,10 @@ set(ecs_src src/model/DescribeRegionsResult.cc src/model/DescribeClassicLinkInstancesRequest.cc src/model/DescribeClassicLinkInstancesResult.cc - src/model/CreateUserEventRequest.cc - src/model/CreateUserEventResult.cc - src/model/DescribeAutoSnapshotPolicyRequest.cc - src/model/DescribeAutoSnapshotPolicyResult.cc src/model/DescribePhysicalConnectionsRequest.cc src/model/DescribePhysicalConnectionsResult.cc - src/model/DescribeRecycleBinRequest.cc - src/model/DescribeRecycleBinResult.cc - src/model/DetachVolumeRequest.cc - src/model/DetachVolumeResult.cc src/model/CreateNetworkInterfaceRequest.cc src/model/CreateNetworkInterfaceResult.cc - src/model/DescribeIpRangesRequest.cc - src/model/DescribeIpRangesResult.cc src/model/DeleteNetworkInterfacePermissionRequest.cc src/model/DeleteNetworkInterfacePermissionResult.cc src/model/CancelPhysicalConnectionRequest.cc @@ -1088,8 +966,6 @@ set(ecs_src src/model/AllocateEipAddressResult.cc src/model/DeleteDiskRequest.cc src/model/DeleteDiskResult.cc - src/model/DescribeEventsRequest.cc - src/model/DescribeEventsResult.cc src/model/UnassociateHaVipRequest.cc src/model/UnassociateHaVipResult.cc src/model/ModifyHaVipAttributeRequest.cc diff --git a/ecs/include/alibabacloud/ecs/EcsClient.h b/ecs/include/alibabacloud/ecs/EcsClient.h index d4635ebd3..d07ac628c 100644 --- a/ecs/include/alibabacloud/ecs/EcsClient.h +++ b/ecs/include/alibabacloud/ecs/EcsClient.h @@ -62,14 +62,10 @@ #include "model/StopInstanceResult.h" #include "model/DescribeInstanceHistoryEventsRequest.h" #include "model/DescribeInstanceHistoryEventsResult.h" -#include "model/DescribeInstanceTopologyRequest.h" -#include "model/DescribeInstanceTopologyResult.h" #include "model/DeletePhysicalConnectionRequest.h" #include "model/DeletePhysicalConnectionResult.h" #include "model/RevokeSecurityGroupRequest.h" #include "model/RevokeSecurityGroupResult.h" -#include "model/CheckAutoSnapshotPolicyRequest.h" -#include "model/CheckAutoSnapshotPolicyResult.h" #include "model/DescribeTaskAttributeRequest.h" #include "model/DescribeTaskAttributeResult.h" #include "model/CreateAutoSnapshotPolicyRequest.h" @@ -90,8 +86,6 @@ #include "model/DetachInstanceRamRoleResult.h" #include "model/AllocatePublicIpAddressRequest.h" #include "model/AllocatePublicIpAddressResult.h" -#include "model/AttachVolumeRequest.h" -#include "model/AttachVolumeResult.h" #include "model/ModifyDedicatedHostAutoRenewAttributeRequest.h" #include "model/ModifyDedicatedHostAutoRenewAttributeResult.h" #include "model/DescribeEipMonitorDataRequest.h" @@ -118,8 +112,6 @@ #include "model/DescribeSnapshotMonitorDataResult.h" #include "model/ConnectRouterInterfaceRequest.h" #include "model/ConnectRouterInterfaceResult.h" -#include "model/AddIpRangeRequest.h" -#include "model/AddIpRangeResult.h" #include "model/GetInstanceConsoleOutputRequest.h" #include "model/GetInstanceConsoleOutputResult.h" #include "model/CreateSimulatedSystemEventsRequest.h" @@ -140,8 +132,6 @@ #include "model/DescribeSecurityGroupsResult.h" #include "model/ResizeDiskRequest.h" #include "model/ResizeDiskResult.h" -#include "model/ResizeVolumeRequest.h" -#include "model/ResizeVolumeResult.h" #include "model/ModifyDedicatedHostAttributeRequest.h" #include "model/ModifyDedicatedHostAttributeResult.h" #include "model/CreateRouteEntryRequest.h" @@ -152,10 +142,6 @@ #include "model/AttachKeyPairResult.h" #include "model/CreateRouterInterfaceRequest.h" #include "model/CreateRouterInterfaceResult.h" -#include "model/ModifyVolumeAttributeRequest.h" -#include "model/ModifyVolumeAttributeResult.h" -#include "model/CheckDiskEnableAutoSnapshotValidationRequest.h" -#include "model/CheckDiskEnableAutoSnapshotValidationResult.h" #include "model/RunInstancesRequest.h" #include "model/RunInstancesResult.h" #include "model/ModifyLaunchTemplateDefaultVersionRequest.h" @@ -230,12 +216,8 @@ #include "model/DescribeInstanceTypesResult.h" #include "model/DescribeSnapshotPackageRequest.h" #include "model/DescribeSnapshotPackageResult.h" -#include "model/ReInitVolumeRequest.h" -#include "model/ReInitVolumeResult.h" #include "model/RebootInstanceRequest.h" #include "model/RebootInstanceResult.h" -#include "model/BindIpRangeRequest.h" -#include "model/BindIpRangeResult.h" #include "model/InvokeCommandRequest.h" #include "model/InvokeCommandResult.h" #include "model/ModifyUserBusinessBehaviorRequest.h" @@ -244,8 +226,6 @@ #include "model/DeleteForwardEntryResult.h" #include "model/DescribeHpcClustersRequest.h" #include "model/DescribeHpcClustersResult.h" -#include "model/CancelAgreementRequest.h" -#include "model/CancelAgreementResult.h" #include "model/ModifyInstanceChargeTypeRequest.h" #include "model/ModifyInstanceChargeTypeResult.h" #include "model/ModifyInstanceAutoRenewAttributeRequest.h" @@ -262,16 +242,12 @@ #include "model/DescribePriceResult.h" #include "model/DeleteDeploymentSetRequest.h" #include "model/DeleteDeploymentSetResult.h" -#include "model/DescribeDeploymentSetTopologyRequest.h" -#include "model/DescribeDeploymentSetTopologyResult.h" #include "model/ModifyInstanceVpcAttributeRequest.h" #include "model/ModifyInstanceVpcAttributeResult.h" #include "model/ReleaseDedicatedHostRequest.h" #include "model/ReleaseDedicatedHostResult.h" #include "model/AddTagsRequest.h" #include "model/AddTagsResult.h" -#include "model/CancelUserEventRequest.h" -#include "model/CancelUserEventResult.h" #include "model/CreateHpcClusterRequest.h" #include "model/CreateHpcClusterResult.h" #include "model/DescribeUserBusinessBehaviorRequest.h" @@ -312,8 +288,6 @@ #include "model/DescribeImagesResult.h" #include "model/AuthorizeSecurityGroupEgressRequest.h" #include "model/AuthorizeSecurityGroupEgressResult.h" -#include "model/SignAgreementRequest.h" -#include "model/SignAgreementResult.h" #include "model/ImportImageRequest.h" #include "model/ImportImageResult.h" #include "model/ModifyForwardEntryRequest.h" @@ -356,10 +330,6 @@ #include "model/DeleteLaunchTemplateResult.h" #include "model/DescribeNewProjectEipMonitorDataRequest.h" #include "model/DescribeNewProjectEipMonitorDataResult.h" -#include "model/UnbindIpRangeRequest.h" -#include "model/UnbindIpRangeResult.h" -#include "model/DeleteRecycleBinRequest.h" -#include "model/DeleteRecycleBinResult.h" #include "model/DescribeInstanceRamRoleRequest.h" #include "model/DescribeInstanceRamRoleResult.h" #include "model/CreateImageRequest.h" @@ -384,10 +354,6 @@ #include "model/ResetDiskResult.h" #include "model/ModifyDiskChargeTypeRequest.h" #include "model/ModifyDiskChargeTypeResult.h" -#include "model/DescribeVolumesRequest.h" -#include "model/DescribeVolumesResult.h" -#include "model/ModifyIntranetBandwidthKbRequest.h" -#include "model/ModifyIntranetBandwidthKbResult.h" #include "model/DescribeBandwidthPackagesRequest.h" #include "model/DescribeBandwidthPackagesResult.h" #include "model/ApplyAutoSnapshotPolicyRequest.h" @@ -396,24 +362,16 @@ #include "model/CreateSecurityGroupResult.h" #include "model/DescribeSnapshotLinksRequest.h" #include "model/DescribeSnapshotLinksResult.h" -#include "model/DescribeEventDetailRequest.h" -#include "model/DescribeEventDetailResult.h" #include "model/DescribeInvocationResultsRequest.h" #include "model/DescribeInvocationResultsResult.h" #include "model/DescribeRecommendInstanceTypeRequest.h" #include "model/DescribeRecommendInstanceTypeResult.h" -#include "model/DescribeTagKeysRequest.h" -#include "model/DescribeTagKeysResult.h" -#include "model/CreateVolumeRequest.h" -#include "model/CreateVolumeResult.h" #include "model/DescribeDedicatedHostAutoRenewRequest.h" #include "model/DescribeDedicatedHostAutoRenewResult.h" #include "model/DeleteInstanceRequest.h" #include "model/DeleteInstanceResult.h" #include "model/CreateLaunchTemplateRequest.h" #include "model/CreateLaunchTemplateResult.h" -#include "model/DescribeIntranetAttributeKbRequest.h" -#include "model/DescribeIntranetAttributeKbResult.h" #include "model/CreateNetworkInterfacePermissionRequest.h" #include "model/CreateNetworkInterfacePermissionResult.h" #include "model/RemoveBandwidthPackageIpsRequest.h" @@ -432,10 +390,6 @@ #include "model/EnablePhysicalConnectionResult.h" #include "model/DescribeInstanceTypeFamiliesRequest.h" #include "model/DescribeInstanceTypeFamiliesResult.h" -#include "model/RollbackVolumeRequest.h" -#include "model/RollbackVolumeResult.h" -#include "model/DeleteVolumeRequest.h" -#include "model/DeleteVolumeResult.h" #include "model/CreateForwardEntryRequest.h" #include "model/CreateForwardEntryResult.h" #include "model/DescribeRouterInterfacesRequest.h" @@ -466,8 +420,6 @@ #include "model/ModifyAutoSnapshotPolicyExResult.h" #include "model/CreatePhysicalConnectionRequest.h" #include "model/CreatePhysicalConnectionResult.h" -#include "model/ModifyUserEventAttributeRequest.h" -#include "model/ModifyUserEventAttributeResult.h" #include "model/DescribeKeyPairsRequest.h" #include "model/DescribeKeyPairsResult.h" #include "model/ModifySecurityGroupPolicyRequest.h" @@ -488,8 +440,6 @@ #include "model/UnassignIpv6AddressesResult.h" #include "model/DescribeInstancePhysicalAttributeRequest.h" #include "model/DescribeInstancePhysicalAttributeResult.h" -#include "model/ValidateSecurityGroupRequest.h" -#include "model/ValidateSecurityGroupResult.h" #include "model/TerminatePhysicalConnectionRequest.h" #include "model/TerminatePhysicalConnectionResult.h" #include "model/AttachNetworkInterfaceRequest.h" @@ -512,20 +462,10 @@ #include "model/DescribeRegionsResult.h" #include "model/DescribeClassicLinkInstancesRequest.h" #include "model/DescribeClassicLinkInstancesResult.h" -#include "model/CreateUserEventRequest.h" -#include "model/CreateUserEventResult.h" -#include "model/DescribeAutoSnapshotPolicyRequest.h" -#include "model/DescribeAutoSnapshotPolicyResult.h" #include "model/DescribePhysicalConnectionsRequest.h" #include "model/DescribePhysicalConnectionsResult.h" -#include "model/DescribeRecycleBinRequest.h" -#include "model/DescribeRecycleBinResult.h" -#include "model/DetachVolumeRequest.h" -#include "model/DetachVolumeResult.h" #include "model/CreateNetworkInterfaceRequest.h" #include "model/CreateNetworkInterfaceResult.h" -#include "model/DescribeIpRangesRequest.h" -#include "model/DescribeIpRangesResult.h" #include "model/DeleteNetworkInterfacePermissionRequest.h" #include "model/DeleteNetworkInterfacePermissionResult.h" #include "model/CancelPhysicalConnectionRequest.h" @@ -544,8 +484,6 @@ #include "model/AllocateEipAddressResult.h" #include "model/DeleteDiskRequest.h" #include "model/DeleteDiskResult.h" -#include "model/DescribeEventsRequest.h" -#include "model/DescribeEventsResult.h" #include "model/UnassociateHaVipRequest.h" #include "model/UnassociateHaVipResult.h" #include "model/ModifyHaVipAttributeRequest.h" @@ -633,18 +571,12 @@ namespace AlibabaCloud typedef Outcome DescribeInstanceHistoryEventsOutcome; typedef std::future DescribeInstanceHistoryEventsOutcomeCallable; typedef std::function&)> DescribeInstanceHistoryEventsAsyncHandler; - typedef Outcome DescribeInstanceTopologyOutcome; - typedef std::future DescribeInstanceTopologyOutcomeCallable; - typedef std::function&)> DescribeInstanceTopologyAsyncHandler; typedef Outcome DeletePhysicalConnectionOutcome; typedef std::future DeletePhysicalConnectionOutcomeCallable; typedef std::function&)> DeletePhysicalConnectionAsyncHandler; typedef Outcome RevokeSecurityGroupOutcome; typedef std::future RevokeSecurityGroupOutcomeCallable; typedef std::function&)> RevokeSecurityGroupAsyncHandler; - typedef Outcome CheckAutoSnapshotPolicyOutcome; - typedef std::future CheckAutoSnapshotPolicyOutcomeCallable; - typedef std::function&)> CheckAutoSnapshotPolicyAsyncHandler; typedef Outcome DescribeTaskAttributeOutcome; typedef std::future DescribeTaskAttributeOutcomeCallable; typedef std::function&)> DescribeTaskAttributeAsyncHandler; @@ -675,9 +607,6 @@ namespace AlibabaCloud typedef Outcome AllocatePublicIpAddressOutcome; typedef std::future AllocatePublicIpAddressOutcomeCallable; typedef std::function&)> AllocatePublicIpAddressAsyncHandler; - typedef Outcome AttachVolumeOutcome; - typedef std::future AttachVolumeOutcomeCallable; - typedef std::function&)> AttachVolumeAsyncHandler; typedef Outcome ModifyDedicatedHostAutoRenewAttributeOutcome; typedef std::future ModifyDedicatedHostAutoRenewAttributeOutcomeCallable; typedef std::function&)> ModifyDedicatedHostAutoRenewAttributeAsyncHandler; @@ -717,9 +646,6 @@ namespace AlibabaCloud typedef Outcome ConnectRouterInterfaceOutcome; typedef std::future ConnectRouterInterfaceOutcomeCallable; typedef std::function&)> ConnectRouterInterfaceAsyncHandler; - typedef Outcome AddIpRangeOutcome; - typedef std::future AddIpRangeOutcomeCallable; - typedef std::function&)> AddIpRangeAsyncHandler; typedef Outcome GetInstanceConsoleOutputOutcome; typedef std::future GetInstanceConsoleOutputOutcomeCallable; typedef std::function&)> GetInstanceConsoleOutputAsyncHandler; @@ -750,9 +676,6 @@ namespace AlibabaCloud typedef Outcome ResizeDiskOutcome; typedef std::future ResizeDiskOutcomeCallable; typedef std::function&)> ResizeDiskAsyncHandler; - typedef Outcome ResizeVolumeOutcome; - typedef std::future ResizeVolumeOutcomeCallable; - typedef std::function&)> ResizeVolumeAsyncHandler; typedef Outcome ModifyDedicatedHostAttributeOutcome; typedef std::future ModifyDedicatedHostAttributeOutcomeCallable; typedef std::function&)> ModifyDedicatedHostAttributeAsyncHandler; @@ -768,12 +691,6 @@ namespace AlibabaCloud typedef Outcome CreateRouterInterfaceOutcome; typedef std::future CreateRouterInterfaceOutcomeCallable; typedef std::function&)> CreateRouterInterfaceAsyncHandler; - typedef Outcome ModifyVolumeAttributeOutcome; - typedef std::future ModifyVolumeAttributeOutcomeCallable; - typedef std::function&)> ModifyVolumeAttributeAsyncHandler; - typedef Outcome CheckDiskEnableAutoSnapshotValidationOutcome; - typedef std::future CheckDiskEnableAutoSnapshotValidationOutcomeCallable; - typedef std::function&)> CheckDiskEnableAutoSnapshotValidationAsyncHandler; typedef Outcome RunInstancesOutcome; typedef std::future RunInstancesOutcomeCallable; typedef std::function&)> RunInstancesAsyncHandler; @@ -885,15 +802,9 @@ namespace AlibabaCloud typedef Outcome DescribeSnapshotPackageOutcome; typedef std::future DescribeSnapshotPackageOutcomeCallable; typedef std::function&)> DescribeSnapshotPackageAsyncHandler; - typedef Outcome ReInitVolumeOutcome; - typedef std::future ReInitVolumeOutcomeCallable; - typedef std::function&)> ReInitVolumeAsyncHandler; typedef Outcome RebootInstanceOutcome; typedef std::future RebootInstanceOutcomeCallable; typedef std::function&)> RebootInstanceAsyncHandler; - typedef Outcome BindIpRangeOutcome; - typedef std::future BindIpRangeOutcomeCallable; - typedef std::function&)> BindIpRangeAsyncHandler; typedef Outcome InvokeCommandOutcome; typedef std::future InvokeCommandOutcomeCallable; typedef std::function&)> InvokeCommandAsyncHandler; @@ -906,9 +817,6 @@ namespace AlibabaCloud typedef Outcome DescribeHpcClustersOutcome; typedef std::future DescribeHpcClustersOutcomeCallable; typedef std::function&)> DescribeHpcClustersAsyncHandler; - typedef Outcome CancelAgreementOutcome; - typedef std::future CancelAgreementOutcomeCallable; - typedef std::function&)> CancelAgreementAsyncHandler; typedef Outcome ModifyInstanceChargeTypeOutcome; typedef std::future ModifyInstanceChargeTypeOutcomeCallable; typedef std::function&)> ModifyInstanceChargeTypeAsyncHandler; @@ -933,9 +841,6 @@ namespace AlibabaCloud typedef Outcome DeleteDeploymentSetOutcome; typedef std::future DeleteDeploymentSetOutcomeCallable; typedef std::function&)> DeleteDeploymentSetAsyncHandler; - typedef Outcome DescribeDeploymentSetTopologyOutcome; - typedef std::future DescribeDeploymentSetTopologyOutcomeCallable; - typedef std::function&)> DescribeDeploymentSetTopologyAsyncHandler; typedef Outcome ModifyInstanceVpcAttributeOutcome; typedef std::future ModifyInstanceVpcAttributeOutcomeCallable; typedef std::function&)> ModifyInstanceVpcAttributeAsyncHandler; @@ -945,9 +850,6 @@ namespace AlibabaCloud typedef Outcome AddTagsOutcome; typedef std::future AddTagsOutcomeCallable; typedef std::function&)> AddTagsAsyncHandler; - typedef Outcome CancelUserEventOutcome; - typedef std::future CancelUserEventOutcomeCallable; - typedef std::function&)> CancelUserEventAsyncHandler; typedef Outcome CreateHpcClusterOutcome; typedef std::future CreateHpcClusterOutcomeCallable; typedef std::function&)> CreateHpcClusterAsyncHandler; @@ -1008,9 +910,6 @@ namespace AlibabaCloud typedef Outcome AuthorizeSecurityGroupEgressOutcome; typedef std::future AuthorizeSecurityGroupEgressOutcomeCallable; typedef std::function&)> AuthorizeSecurityGroupEgressAsyncHandler; - typedef Outcome SignAgreementOutcome; - typedef std::future SignAgreementOutcomeCallable; - typedef std::function&)> SignAgreementAsyncHandler; typedef Outcome ImportImageOutcome; typedef std::future ImportImageOutcomeCallable; typedef std::function&)> ImportImageAsyncHandler; @@ -1074,12 +973,6 @@ namespace AlibabaCloud typedef Outcome DescribeNewProjectEipMonitorDataOutcome; typedef std::future DescribeNewProjectEipMonitorDataOutcomeCallable; typedef std::function&)> DescribeNewProjectEipMonitorDataAsyncHandler; - typedef Outcome UnbindIpRangeOutcome; - typedef std::future UnbindIpRangeOutcomeCallable; - typedef std::function&)> UnbindIpRangeAsyncHandler; - typedef Outcome DeleteRecycleBinOutcome; - typedef std::future DeleteRecycleBinOutcomeCallable; - typedef std::function&)> DeleteRecycleBinAsyncHandler; typedef Outcome DescribeInstanceRamRoleOutcome; typedef std::future DescribeInstanceRamRoleOutcomeCallable; typedef std::function&)> DescribeInstanceRamRoleAsyncHandler; @@ -1116,12 +1009,6 @@ namespace AlibabaCloud typedef Outcome ModifyDiskChargeTypeOutcome; typedef std::future ModifyDiskChargeTypeOutcomeCallable; typedef std::function&)> ModifyDiskChargeTypeAsyncHandler; - typedef Outcome DescribeVolumesOutcome; - typedef std::future DescribeVolumesOutcomeCallable; - typedef std::function&)> DescribeVolumesAsyncHandler; - typedef Outcome ModifyIntranetBandwidthKbOutcome; - typedef std::future ModifyIntranetBandwidthKbOutcomeCallable; - typedef std::function&)> ModifyIntranetBandwidthKbAsyncHandler; typedef Outcome DescribeBandwidthPackagesOutcome; typedef std::future DescribeBandwidthPackagesOutcomeCallable; typedef std::function&)> DescribeBandwidthPackagesAsyncHandler; @@ -1134,21 +1021,12 @@ namespace AlibabaCloud typedef Outcome DescribeSnapshotLinksOutcome; typedef std::future DescribeSnapshotLinksOutcomeCallable; typedef std::function&)> DescribeSnapshotLinksAsyncHandler; - typedef Outcome DescribeEventDetailOutcome; - typedef std::future DescribeEventDetailOutcomeCallable; - typedef std::function&)> DescribeEventDetailAsyncHandler; typedef Outcome DescribeInvocationResultsOutcome; typedef std::future DescribeInvocationResultsOutcomeCallable; typedef std::function&)> DescribeInvocationResultsAsyncHandler; typedef Outcome DescribeRecommendInstanceTypeOutcome; typedef std::future DescribeRecommendInstanceTypeOutcomeCallable; typedef std::function&)> DescribeRecommendInstanceTypeAsyncHandler; - typedef Outcome DescribeTagKeysOutcome; - typedef std::future DescribeTagKeysOutcomeCallable; - typedef std::function&)> DescribeTagKeysAsyncHandler; - typedef Outcome CreateVolumeOutcome; - typedef std::future CreateVolumeOutcomeCallable; - typedef std::function&)> CreateVolumeAsyncHandler; typedef Outcome DescribeDedicatedHostAutoRenewOutcome; typedef std::future DescribeDedicatedHostAutoRenewOutcomeCallable; typedef std::function&)> DescribeDedicatedHostAutoRenewAsyncHandler; @@ -1158,9 +1036,6 @@ namespace AlibabaCloud typedef Outcome CreateLaunchTemplateOutcome; typedef std::future CreateLaunchTemplateOutcomeCallable; typedef std::function&)> CreateLaunchTemplateAsyncHandler; - typedef Outcome DescribeIntranetAttributeKbOutcome; - typedef std::future DescribeIntranetAttributeKbOutcomeCallable; - typedef std::function&)> DescribeIntranetAttributeKbAsyncHandler; typedef Outcome CreateNetworkInterfacePermissionOutcome; typedef std::future CreateNetworkInterfacePermissionOutcomeCallable; typedef std::function&)> CreateNetworkInterfacePermissionAsyncHandler; @@ -1188,12 +1063,6 @@ namespace AlibabaCloud typedef Outcome DescribeInstanceTypeFamiliesOutcome; typedef std::future DescribeInstanceTypeFamiliesOutcomeCallable; typedef std::function&)> DescribeInstanceTypeFamiliesAsyncHandler; - typedef Outcome RollbackVolumeOutcome; - typedef std::future RollbackVolumeOutcomeCallable; - typedef std::function&)> RollbackVolumeAsyncHandler; - typedef Outcome DeleteVolumeOutcome; - typedef std::future DeleteVolumeOutcomeCallable; - typedef std::function&)> DeleteVolumeAsyncHandler; typedef Outcome CreateForwardEntryOutcome; typedef std::future CreateForwardEntryOutcomeCallable; typedef std::function&)> CreateForwardEntryAsyncHandler; @@ -1239,9 +1108,6 @@ namespace AlibabaCloud typedef Outcome CreatePhysicalConnectionOutcome; typedef std::future CreatePhysicalConnectionOutcomeCallable; typedef std::function&)> CreatePhysicalConnectionAsyncHandler; - typedef Outcome ModifyUserEventAttributeOutcome; - typedef std::future ModifyUserEventAttributeOutcomeCallable; - typedef std::function&)> ModifyUserEventAttributeAsyncHandler; typedef Outcome DescribeKeyPairsOutcome; typedef std::future DescribeKeyPairsOutcomeCallable; typedef std::function&)> DescribeKeyPairsAsyncHandler; @@ -1272,9 +1138,6 @@ namespace AlibabaCloud typedef Outcome DescribeInstancePhysicalAttributeOutcome; typedef std::future DescribeInstancePhysicalAttributeOutcomeCallable; typedef std::function&)> DescribeInstancePhysicalAttributeAsyncHandler; - typedef Outcome ValidateSecurityGroupOutcome; - typedef std::future ValidateSecurityGroupOutcomeCallable; - typedef std::function&)> ValidateSecurityGroupAsyncHandler; typedef Outcome TerminatePhysicalConnectionOutcome; typedef std::future TerminatePhysicalConnectionOutcomeCallable; typedef std::function&)> TerminatePhysicalConnectionAsyncHandler; @@ -1308,27 +1171,12 @@ namespace AlibabaCloud typedef Outcome DescribeClassicLinkInstancesOutcome; typedef std::future DescribeClassicLinkInstancesOutcomeCallable; typedef std::function&)> DescribeClassicLinkInstancesAsyncHandler; - typedef Outcome CreateUserEventOutcome; - typedef std::future CreateUserEventOutcomeCallable; - typedef std::function&)> CreateUserEventAsyncHandler; - typedef Outcome DescribeAutoSnapshotPolicyOutcome; - typedef std::future DescribeAutoSnapshotPolicyOutcomeCallable; - typedef std::function&)> DescribeAutoSnapshotPolicyAsyncHandler; typedef Outcome DescribePhysicalConnectionsOutcome; typedef std::future DescribePhysicalConnectionsOutcomeCallable; typedef std::function&)> DescribePhysicalConnectionsAsyncHandler; - typedef Outcome DescribeRecycleBinOutcome; - typedef std::future DescribeRecycleBinOutcomeCallable; - typedef std::function&)> DescribeRecycleBinAsyncHandler; - typedef Outcome DetachVolumeOutcome; - typedef std::future DetachVolumeOutcomeCallable; - typedef std::function&)> DetachVolumeAsyncHandler; typedef Outcome CreateNetworkInterfaceOutcome; typedef std::future CreateNetworkInterfaceOutcomeCallable; typedef std::function&)> CreateNetworkInterfaceAsyncHandler; - typedef Outcome DescribeIpRangesOutcome; - typedef std::future DescribeIpRangesOutcomeCallable; - typedef std::function&)> DescribeIpRangesAsyncHandler; typedef Outcome DeleteNetworkInterfacePermissionOutcome; typedef std::future DeleteNetworkInterfacePermissionOutcomeCallable; typedef std::function&)> DeleteNetworkInterfacePermissionAsyncHandler; @@ -1356,9 +1204,6 @@ namespace AlibabaCloud typedef Outcome DeleteDiskOutcome; typedef std::future DeleteDiskOutcomeCallable; typedef std::function&)> DeleteDiskAsyncHandler; - typedef Outcome DescribeEventsOutcome; - typedef std::future DescribeEventsOutcomeCallable; - typedef std::function&)> DescribeEventsAsyncHandler; typedef Outcome UnassociateHaVipOutcome; typedef std::future UnassociateHaVipOutcomeCallable; typedef std::function&)> UnassociateHaVipAsyncHandler; @@ -1451,18 +1296,12 @@ namespace AlibabaCloud DescribeInstanceHistoryEventsOutcome describeInstanceHistoryEvents(const Model::DescribeInstanceHistoryEventsRequest &request)const; void describeInstanceHistoryEventsAsync(const Model::DescribeInstanceHistoryEventsRequest& request, const DescribeInstanceHistoryEventsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeInstanceHistoryEventsOutcomeCallable describeInstanceHistoryEventsCallable(const Model::DescribeInstanceHistoryEventsRequest& request) const; - DescribeInstanceTopologyOutcome describeInstanceTopology(const Model::DescribeInstanceTopologyRequest &request)const; - void describeInstanceTopologyAsync(const Model::DescribeInstanceTopologyRequest& request, const DescribeInstanceTopologyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeInstanceTopologyOutcomeCallable describeInstanceTopologyCallable(const Model::DescribeInstanceTopologyRequest& request) const; DeletePhysicalConnectionOutcome deletePhysicalConnection(const Model::DeletePhysicalConnectionRequest &request)const; void deletePhysicalConnectionAsync(const Model::DeletePhysicalConnectionRequest& request, const DeletePhysicalConnectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeletePhysicalConnectionOutcomeCallable deletePhysicalConnectionCallable(const Model::DeletePhysicalConnectionRequest& request) const; RevokeSecurityGroupOutcome revokeSecurityGroup(const Model::RevokeSecurityGroupRequest &request)const; void revokeSecurityGroupAsync(const Model::RevokeSecurityGroupRequest& request, const RevokeSecurityGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RevokeSecurityGroupOutcomeCallable revokeSecurityGroupCallable(const Model::RevokeSecurityGroupRequest& request) const; - CheckAutoSnapshotPolicyOutcome checkAutoSnapshotPolicy(const Model::CheckAutoSnapshotPolicyRequest &request)const; - void checkAutoSnapshotPolicyAsync(const Model::CheckAutoSnapshotPolicyRequest& request, const CheckAutoSnapshotPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CheckAutoSnapshotPolicyOutcomeCallable checkAutoSnapshotPolicyCallable(const Model::CheckAutoSnapshotPolicyRequest& request) const; DescribeTaskAttributeOutcome describeTaskAttribute(const Model::DescribeTaskAttributeRequest &request)const; void describeTaskAttributeAsync(const Model::DescribeTaskAttributeRequest& request, const DescribeTaskAttributeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeTaskAttributeOutcomeCallable describeTaskAttributeCallable(const Model::DescribeTaskAttributeRequest& request) const; @@ -1493,9 +1332,6 @@ namespace AlibabaCloud AllocatePublicIpAddressOutcome allocatePublicIpAddress(const Model::AllocatePublicIpAddressRequest &request)const; void allocatePublicIpAddressAsync(const Model::AllocatePublicIpAddressRequest& request, const AllocatePublicIpAddressAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AllocatePublicIpAddressOutcomeCallable allocatePublicIpAddressCallable(const Model::AllocatePublicIpAddressRequest& request) const; - AttachVolumeOutcome attachVolume(const Model::AttachVolumeRequest &request)const; - void attachVolumeAsync(const Model::AttachVolumeRequest& request, const AttachVolumeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AttachVolumeOutcomeCallable attachVolumeCallable(const Model::AttachVolumeRequest& request) const; ModifyDedicatedHostAutoRenewAttributeOutcome modifyDedicatedHostAutoRenewAttribute(const Model::ModifyDedicatedHostAutoRenewAttributeRequest &request)const; void modifyDedicatedHostAutoRenewAttributeAsync(const Model::ModifyDedicatedHostAutoRenewAttributeRequest& request, const ModifyDedicatedHostAutoRenewAttributeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyDedicatedHostAutoRenewAttributeOutcomeCallable modifyDedicatedHostAutoRenewAttributeCallable(const Model::ModifyDedicatedHostAutoRenewAttributeRequest& request) const; @@ -1535,9 +1371,6 @@ namespace AlibabaCloud ConnectRouterInterfaceOutcome connectRouterInterface(const Model::ConnectRouterInterfaceRequest &request)const; void connectRouterInterfaceAsync(const Model::ConnectRouterInterfaceRequest& request, const ConnectRouterInterfaceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ConnectRouterInterfaceOutcomeCallable connectRouterInterfaceCallable(const Model::ConnectRouterInterfaceRequest& request) const; - AddIpRangeOutcome addIpRange(const Model::AddIpRangeRequest &request)const; - void addIpRangeAsync(const Model::AddIpRangeRequest& request, const AddIpRangeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddIpRangeOutcomeCallable addIpRangeCallable(const Model::AddIpRangeRequest& request) const; GetInstanceConsoleOutputOutcome getInstanceConsoleOutput(const Model::GetInstanceConsoleOutputRequest &request)const; void getInstanceConsoleOutputAsync(const Model::GetInstanceConsoleOutputRequest& request, const GetInstanceConsoleOutputAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetInstanceConsoleOutputOutcomeCallable getInstanceConsoleOutputCallable(const Model::GetInstanceConsoleOutputRequest& request) const; @@ -1568,9 +1401,6 @@ namespace AlibabaCloud ResizeDiskOutcome resizeDisk(const Model::ResizeDiskRequest &request)const; void resizeDiskAsync(const Model::ResizeDiskRequest& request, const ResizeDiskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ResizeDiskOutcomeCallable resizeDiskCallable(const Model::ResizeDiskRequest& request) const; - ResizeVolumeOutcome resizeVolume(const Model::ResizeVolumeRequest &request)const; - void resizeVolumeAsync(const Model::ResizeVolumeRequest& request, const ResizeVolumeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ResizeVolumeOutcomeCallable resizeVolumeCallable(const Model::ResizeVolumeRequest& request) const; ModifyDedicatedHostAttributeOutcome modifyDedicatedHostAttribute(const Model::ModifyDedicatedHostAttributeRequest &request)const; void modifyDedicatedHostAttributeAsync(const Model::ModifyDedicatedHostAttributeRequest& request, const ModifyDedicatedHostAttributeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyDedicatedHostAttributeOutcomeCallable modifyDedicatedHostAttributeCallable(const Model::ModifyDedicatedHostAttributeRequest& request) const; @@ -1586,12 +1416,6 @@ namespace AlibabaCloud CreateRouterInterfaceOutcome createRouterInterface(const Model::CreateRouterInterfaceRequest &request)const; void createRouterInterfaceAsync(const Model::CreateRouterInterfaceRequest& request, const CreateRouterInterfaceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateRouterInterfaceOutcomeCallable createRouterInterfaceCallable(const Model::CreateRouterInterfaceRequest& request) const; - ModifyVolumeAttributeOutcome modifyVolumeAttribute(const Model::ModifyVolumeAttributeRequest &request)const; - void modifyVolumeAttributeAsync(const Model::ModifyVolumeAttributeRequest& request, const ModifyVolumeAttributeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyVolumeAttributeOutcomeCallable modifyVolumeAttributeCallable(const Model::ModifyVolumeAttributeRequest& request) const; - CheckDiskEnableAutoSnapshotValidationOutcome checkDiskEnableAutoSnapshotValidation(const Model::CheckDiskEnableAutoSnapshotValidationRequest &request)const; - void checkDiskEnableAutoSnapshotValidationAsync(const Model::CheckDiskEnableAutoSnapshotValidationRequest& request, const CheckDiskEnableAutoSnapshotValidationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CheckDiskEnableAutoSnapshotValidationOutcomeCallable checkDiskEnableAutoSnapshotValidationCallable(const Model::CheckDiskEnableAutoSnapshotValidationRequest& request) const; RunInstancesOutcome runInstances(const Model::RunInstancesRequest &request)const; void runInstancesAsync(const Model::RunInstancesRequest& request, const RunInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RunInstancesOutcomeCallable runInstancesCallable(const Model::RunInstancesRequest& request) const; @@ -1703,15 +1527,9 @@ namespace AlibabaCloud DescribeSnapshotPackageOutcome describeSnapshotPackage(const Model::DescribeSnapshotPackageRequest &request)const; void describeSnapshotPackageAsync(const Model::DescribeSnapshotPackageRequest& request, const DescribeSnapshotPackageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSnapshotPackageOutcomeCallable describeSnapshotPackageCallable(const Model::DescribeSnapshotPackageRequest& request) const; - ReInitVolumeOutcome reInitVolume(const Model::ReInitVolumeRequest &request)const; - void reInitVolumeAsync(const Model::ReInitVolumeRequest& request, const ReInitVolumeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ReInitVolumeOutcomeCallable reInitVolumeCallable(const Model::ReInitVolumeRequest& request) const; RebootInstanceOutcome rebootInstance(const Model::RebootInstanceRequest &request)const; void rebootInstanceAsync(const Model::RebootInstanceRequest& request, const RebootInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RebootInstanceOutcomeCallable rebootInstanceCallable(const Model::RebootInstanceRequest& request) const; - BindIpRangeOutcome bindIpRange(const Model::BindIpRangeRequest &request)const; - void bindIpRangeAsync(const Model::BindIpRangeRequest& request, const BindIpRangeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - BindIpRangeOutcomeCallable bindIpRangeCallable(const Model::BindIpRangeRequest& request) const; InvokeCommandOutcome invokeCommand(const Model::InvokeCommandRequest &request)const; void invokeCommandAsync(const Model::InvokeCommandRequest& request, const InvokeCommandAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; InvokeCommandOutcomeCallable invokeCommandCallable(const Model::InvokeCommandRequest& request) const; @@ -1724,9 +1542,6 @@ namespace AlibabaCloud DescribeHpcClustersOutcome describeHpcClusters(const Model::DescribeHpcClustersRequest &request)const; void describeHpcClustersAsync(const Model::DescribeHpcClustersRequest& request, const DescribeHpcClustersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeHpcClustersOutcomeCallable describeHpcClustersCallable(const Model::DescribeHpcClustersRequest& request) const; - CancelAgreementOutcome cancelAgreement(const Model::CancelAgreementRequest &request)const; - void cancelAgreementAsync(const Model::CancelAgreementRequest& request, const CancelAgreementAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CancelAgreementOutcomeCallable cancelAgreementCallable(const Model::CancelAgreementRequest& request) const; ModifyInstanceChargeTypeOutcome modifyInstanceChargeType(const Model::ModifyInstanceChargeTypeRequest &request)const; void modifyInstanceChargeTypeAsync(const Model::ModifyInstanceChargeTypeRequest& request, const ModifyInstanceChargeTypeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyInstanceChargeTypeOutcomeCallable modifyInstanceChargeTypeCallable(const Model::ModifyInstanceChargeTypeRequest& request) const; @@ -1751,9 +1566,6 @@ namespace AlibabaCloud DeleteDeploymentSetOutcome deleteDeploymentSet(const Model::DeleteDeploymentSetRequest &request)const; void deleteDeploymentSetAsync(const Model::DeleteDeploymentSetRequest& request, const DeleteDeploymentSetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteDeploymentSetOutcomeCallable deleteDeploymentSetCallable(const Model::DeleteDeploymentSetRequest& request) const; - DescribeDeploymentSetTopologyOutcome describeDeploymentSetTopology(const Model::DescribeDeploymentSetTopologyRequest &request)const; - void describeDeploymentSetTopologyAsync(const Model::DescribeDeploymentSetTopologyRequest& request, const DescribeDeploymentSetTopologyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeDeploymentSetTopologyOutcomeCallable describeDeploymentSetTopologyCallable(const Model::DescribeDeploymentSetTopologyRequest& request) const; ModifyInstanceVpcAttributeOutcome modifyInstanceVpcAttribute(const Model::ModifyInstanceVpcAttributeRequest &request)const; void modifyInstanceVpcAttributeAsync(const Model::ModifyInstanceVpcAttributeRequest& request, const ModifyInstanceVpcAttributeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyInstanceVpcAttributeOutcomeCallable modifyInstanceVpcAttributeCallable(const Model::ModifyInstanceVpcAttributeRequest& request) const; @@ -1763,9 +1575,6 @@ namespace AlibabaCloud AddTagsOutcome addTags(const Model::AddTagsRequest &request)const; void addTagsAsync(const Model::AddTagsRequest& request, const AddTagsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddTagsOutcomeCallable addTagsCallable(const Model::AddTagsRequest& request) const; - CancelUserEventOutcome cancelUserEvent(const Model::CancelUserEventRequest &request)const; - void cancelUserEventAsync(const Model::CancelUserEventRequest& request, const CancelUserEventAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CancelUserEventOutcomeCallable cancelUserEventCallable(const Model::CancelUserEventRequest& request) const; CreateHpcClusterOutcome createHpcCluster(const Model::CreateHpcClusterRequest &request)const; void createHpcClusterAsync(const Model::CreateHpcClusterRequest& request, const CreateHpcClusterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateHpcClusterOutcomeCallable createHpcClusterCallable(const Model::CreateHpcClusterRequest& request) const; @@ -1826,9 +1635,6 @@ namespace AlibabaCloud AuthorizeSecurityGroupEgressOutcome authorizeSecurityGroupEgress(const Model::AuthorizeSecurityGroupEgressRequest &request)const; void authorizeSecurityGroupEgressAsync(const Model::AuthorizeSecurityGroupEgressRequest& request, const AuthorizeSecurityGroupEgressAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AuthorizeSecurityGroupEgressOutcomeCallable authorizeSecurityGroupEgressCallable(const Model::AuthorizeSecurityGroupEgressRequest& request) const; - SignAgreementOutcome signAgreement(const Model::SignAgreementRequest &request)const; - void signAgreementAsync(const Model::SignAgreementRequest& request, const SignAgreementAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SignAgreementOutcomeCallable signAgreementCallable(const Model::SignAgreementRequest& request) const; ImportImageOutcome importImage(const Model::ImportImageRequest &request)const; void importImageAsync(const Model::ImportImageRequest& request, const ImportImageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ImportImageOutcomeCallable importImageCallable(const Model::ImportImageRequest& request) const; @@ -1892,12 +1698,6 @@ namespace AlibabaCloud DescribeNewProjectEipMonitorDataOutcome describeNewProjectEipMonitorData(const Model::DescribeNewProjectEipMonitorDataRequest &request)const; void describeNewProjectEipMonitorDataAsync(const Model::DescribeNewProjectEipMonitorDataRequest& request, const DescribeNewProjectEipMonitorDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeNewProjectEipMonitorDataOutcomeCallable describeNewProjectEipMonitorDataCallable(const Model::DescribeNewProjectEipMonitorDataRequest& request) const; - UnbindIpRangeOutcome unbindIpRange(const Model::UnbindIpRangeRequest &request)const; - void unbindIpRangeAsync(const Model::UnbindIpRangeRequest& request, const UnbindIpRangeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UnbindIpRangeOutcomeCallable unbindIpRangeCallable(const Model::UnbindIpRangeRequest& request) const; - DeleteRecycleBinOutcome deleteRecycleBin(const Model::DeleteRecycleBinRequest &request)const; - void deleteRecycleBinAsync(const Model::DeleteRecycleBinRequest& request, const DeleteRecycleBinAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteRecycleBinOutcomeCallable deleteRecycleBinCallable(const Model::DeleteRecycleBinRequest& request) const; DescribeInstanceRamRoleOutcome describeInstanceRamRole(const Model::DescribeInstanceRamRoleRequest &request)const; void describeInstanceRamRoleAsync(const Model::DescribeInstanceRamRoleRequest& request, const DescribeInstanceRamRoleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeInstanceRamRoleOutcomeCallable describeInstanceRamRoleCallable(const Model::DescribeInstanceRamRoleRequest& request) const; @@ -1934,12 +1734,6 @@ namespace AlibabaCloud ModifyDiskChargeTypeOutcome modifyDiskChargeType(const Model::ModifyDiskChargeTypeRequest &request)const; void modifyDiskChargeTypeAsync(const Model::ModifyDiskChargeTypeRequest& request, const ModifyDiskChargeTypeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyDiskChargeTypeOutcomeCallable modifyDiskChargeTypeCallable(const Model::ModifyDiskChargeTypeRequest& request) const; - DescribeVolumesOutcome describeVolumes(const Model::DescribeVolumesRequest &request)const; - void describeVolumesAsync(const Model::DescribeVolumesRequest& request, const DescribeVolumesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeVolumesOutcomeCallable describeVolumesCallable(const Model::DescribeVolumesRequest& request) const; - ModifyIntranetBandwidthKbOutcome modifyIntranetBandwidthKb(const Model::ModifyIntranetBandwidthKbRequest &request)const; - void modifyIntranetBandwidthKbAsync(const Model::ModifyIntranetBandwidthKbRequest& request, const ModifyIntranetBandwidthKbAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyIntranetBandwidthKbOutcomeCallable modifyIntranetBandwidthKbCallable(const Model::ModifyIntranetBandwidthKbRequest& request) const; DescribeBandwidthPackagesOutcome describeBandwidthPackages(const Model::DescribeBandwidthPackagesRequest &request)const; void describeBandwidthPackagesAsync(const Model::DescribeBandwidthPackagesRequest& request, const DescribeBandwidthPackagesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeBandwidthPackagesOutcomeCallable describeBandwidthPackagesCallable(const Model::DescribeBandwidthPackagesRequest& request) const; @@ -1952,21 +1746,12 @@ namespace AlibabaCloud DescribeSnapshotLinksOutcome describeSnapshotLinks(const Model::DescribeSnapshotLinksRequest &request)const; void describeSnapshotLinksAsync(const Model::DescribeSnapshotLinksRequest& request, const DescribeSnapshotLinksAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSnapshotLinksOutcomeCallable describeSnapshotLinksCallable(const Model::DescribeSnapshotLinksRequest& request) const; - DescribeEventDetailOutcome describeEventDetail(const Model::DescribeEventDetailRequest &request)const; - void describeEventDetailAsync(const Model::DescribeEventDetailRequest& request, const DescribeEventDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeEventDetailOutcomeCallable describeEventDetailCallable(const Model::DescribeEventDetailRequest& request) const; DescribeInvocationResultsOutcome describeInvocationResults(const Model::DescribeInvocationResultsRequest &request)const; void describeInvocationResultsAsync(const Model::DescribeInvocationResultsRequest& request, const DescribeInvocationResultsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeInvocationResultsOutcomeCallable describeInvocationResultsCallable(const Model::DescribeInvocationResultsRequest& request) const; DescribeRecommendInstanceTypeOutcome describeRecommendInstanceType(const Model::DescribeRecommendInstanceTypeRequest &request)const; void describeRecommendInstanceTypeAsync(const Model::DescribeRecommendInstanceTypeRequest& request, const DescribeRecommendInstanceTypeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeRecommendInstanceTypeOutcomeCallable describeRecommendInstanceTypeCallable(const Model::DescribeRecommendInstanceTypeRequest& request) const; - DescribeTagKeysOutcome describeTagKeys(const Model::DescribeTagKeysRequest &request)const; - void describeTagKeysAsync(const Model::DescribeTagKeysRequest& request, const DescribeTagKeysAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeTagKeysOutcomeCallable describeTagKeysCallable(const Model::DescribeTagKeysRequest& request) const; - CreateVolumeOutcome createVolume(const Model::CreateVolumeRequest &request)const; - void createVolumeAsync(const Model::CreateVolumeRequest& request, const CreateVolumeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateVolumeOutcomeCallable createVolumeCallable(const Model::CreateVolumeRequest& request) const; DescribeDedicatedHostAutoRenewOutcome describeDedicatedHostAutoRenew(const Model::DescribeDedicatedHostAutoRenewRequest &request)const; void describeDedicatedHostAutoRenewAsync(const Model::DescribeDedicatedHostAutoRenewRequest& request, const DescribeDedicatedHostAutoRenewAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDedicatedHostAutoRenewOutcomeCallable describeDedicatedHostAutoRenewCallable(const Model::DescribeDedicatedHostAutoRenewRequest& request) const; @@ -1976,9 +1761,6 @@ namespace AlibabaCloud CreateLaunchTemplateOutcome createLaunchTemplate(const Model::CreateLaunchTemplateRequest &request)const; void createLaunchTemplateAsync(const Model::CreateLaunchTemplateRequest& request, const CreateLaunchTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateLaunchTemplateOutcomeCallable createLaunchTemplateCallable(const Model::CreateLaunchTemplateRequest& request) const; - DescribeIntranetAttributeKbOutcome describeIntranetAttributeKb(const Model::DescribeIntranetAttributeKbRequest &request)const; - void describeIntranetAttributeKbAsync(const Model::DescribeIntranetAttributeKbRequest& request, const DescribeIntranetAttributeKbAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeIntranetAttributeKbOutcomeCallable describeIntranetAttributeKbCallable(const Model::DescribeIntranetAttributeKbRequest& request) const; CreateNetworkInterfacePermissionOutcome createNetworkInterfacePermission(const Model::CreateNetworkInterfacePermissionRequest &request)const; void createNetworkInterfacePermissionAsync(const Model::CreateNetworkInterfacePermissionRequest& request, const CreateNetworkInterfacePermissionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateNetworkInterfacePermissionOutcomeCallable createNetworkInterfacePermissionCallable(const Model::CreateNetworkInterfacePermissionRequest& request) const; @@ -2006,12 +1788,6 @@ namespace AlibabaCloud DescribeInstanceTypeFamiliesOutcome describeInstanceTypeFamilies(const Model::DescribeInstanceTypeFamiliesRequest &request)const; void describeInstanceTypeFamiliesAsync(const Model::DescribeInstanceTypeFamiliesRequest& request, const DescribeInstanceTypeFamiliesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeInstanceTypeFamiliesOutcomeCallable describeInstanceTypeFamiliesCallable(const Model::DescribeInstanceTypeFamiliesRequest& request) const; - RollbackVolumeOutcome rollbackVolume(const Model::RollbackVolumeRequest &request)const; - void rollbackVolumeAsync(const Model::RollbackVolumeRequest& request, const RollbackVolumeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RollbackVolumeOutcomeCallable rollbackVolumeCallable(const Model::RollbackVolumeRequest& request) const; - DeleteVolumeOutcome deleteVolume(const Model::DeleteVolumeRequest &request)const; - void deleteVolumeAsync(const Model::DeleteVolumeRequest& request, const DeleteVolumeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteVolumeOutcomeCallable deleteVolumeCallable(const Model::DeleteVolumeRequest& request) const; CreateForwardEntryOutcome createForwardEntry(const Model::CreateForwardEntryRequest &request)const; void createForwardEntryAsync(const Model::CreateForwardEntryRequest& request, const CreateForwardEntryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateForwardEntryOutcomeCallable createForwardEntryCallable(const Model::CreateForwardEntryRequest& request) const; @@ -2057,9 +1833,6 @@ namespace AlibabaCloud CreatePhysicalConnectionOutcome createPhysicalConnection(const Model::CreatePhysicalConnectionRequest &request)const; void createPhysicalConnectionAsync(const Model::CreatePhysicalConnectionRequest& request, const CreatePhysicalConnectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreatePhysicalConnectionOutcomeCallable createPhysicalConnectionCallable(const Model::CreatePhysicalConnectionRequest& request) const; - ModifyUserEventAttributeOutcome modifyUserEventAttribute(const Model::ModifyUserEventAttributeRequest &request)const; - void modifyUserEventAttributeAsync(const Model::ModifyUserEventAttributeRequest& request, const ModifyUserEventAttributeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyUserEventAttributeOutcomeCallable modifyUserEventAttributeCallable(const Model::ModifyUserEventAttributeRequest& request) const; DescribeKeyPairsOutcome describeKeyPairs(const Model::DescribeKeyPairsRequest &request)const; void describeKeyPairsAsync(const Model::DescribeKeyPairsRequest& request, const DescribeKeyPairsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeKeyPairsOutcomeCallable describeKeyPairsCallable(const Model::DescribeKeyPairsRequest& request) const; @@ -2090,9 +1863,6 @@ namespace AlibabaCloud DescribeInstancePhysicalAttributeOutcome describeInstancePhysicalAttribute(const Model::DescribeInstancePhysicalAttributeRequest &request)const; void describeInstancePhysicalAttributeAsync(const Model::DescribeInstancePhysicalAttributeRequest& request, const DescribeInstancePhysicalAttributeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeInstancePhysicalAttributeOutcomeCallable describeInstancePhysicalAttributeCallable(const Model::DescribeInstancePhysicalAttributeRequest& request) const; - ValidateSecurityGroupOutcome validateSecurityGroup(const Model::ValidateSecurityGroupRequest &request)const; - void validateSecurityGroupAsync(const Model::ValidateSecurityGroupRequest& request, const ValidateSecurityGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ValidateSecurityGroupOutcomeCallable validateSecurityGroupCallable(const Model::ValidateSecurityGroupRequest& request) const; TerminatePhysicalConnectionOutcome terminatePhysicalConnection(const Model::TerminatePhysicalConnectionRequest &request)const; void terminatePhysicalConnectionAsync(const Model::TerminatePhysicalConnectionRequest& request, const TerminatePhysicalConnectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; TerminatePhysicalConnectionOutcomeCallable terminatePhysicalConnectionCallable(const Model::TerminatePhysicalConnectionRequest& request) const; @@ -2126,27 +1896,12 @@ namespace AlibabaCloud DescribeClassicLinkInstancesOutcome describeClassicLinkInstances(const Model::DescribeClassicLinkInstancesRequest &request)const; void describeClassicLinkInstancesAsync(const Model::DescribeClassicLinkInstancesRequest& request, const DescribeClassicLinkInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeClassicLinkInstancesOutcomeCallable describeClassicLinkInstancesCallable(const Model::DescribeClassicLinkInstancesRequest& request) const; - CreateUserEventOutcome createUserEvent(const Model::CreateUserEventRequest &request)const; - void createUserEventAsync(const Model::CreateUserEventRequest& request, const CreateUserEventAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateUserEventOutcomeCallable createUserEventCallable(const Model::CreateUserEventRequest& request) const; - DescribeAutoSnapshotPolicyOutcome describeAutoSnapshotPolicy(const Model::DescribeAutoSnapshotPolicyRequest &request)const; - void describeAutoSnapshotPolicyAsync(const Model::DescribeAutoSnapshotPolicyRequest& request, const DescribeAutoSnapshotPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeAutoSnapshotPolicyOutcomeCallable describeAutoSnapshotPolicyCallable(const Model::DescribeAutoSnapshotPolicyRequest& request) const; DescribePhysicalConnectionsOutcome describePhysicalConnections(const Model::DescribePhysicalConnectionsRequest &request)const; void describePhysicalConnectionsAsync(const Model::DescribePhysicalConnectionsRequest& request, const DescribePhysicalConnectionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribePhysicalConnectionsOutcomeCallable describePhysicalConnectionsCallable(const Model::DescribePhysicalConnectionsRequest& request) const; - DescribeRecycleBinOutcome describeRecycleBin(const Model::DescribeRecycleBinRequest &request)const; - void describeRecycleBinAsync(const Model::DescribeRecycleBinRequest& request, const DescribeRecycleBinAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeRecycleBinOutcomeCallable describeRecycleBinCallable(const Model::DescribeRecycleBinRequest& request) const; - DetachVolumeOutcome detachVolume(const Model::DetachVolumeRequest &request)const; - void detachVolumeAsync(const Model::DetachVolumeRequest& request, const DetachVolumeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DetachVolumeOutcomeCallable detachVolumeCallable(const Model::DetachVolumeRequest& request) const; CreateNetworkInterfaceOutcome createNetworkInterface(const Model::CreateNetworkInterfaceRequest &request)const; void createNetworkInterfaceAsync(const Model::CreateNetworkInterfaceRequest& request, const CreateNetworkInterfaceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateNetworkInterfaceOutcomeCallable createNetworkInterfaceCallable(const Model::CreateNetworkInterfaceRequest& request) const; - DescribeIpRangesOutcome describeIpRanges(const Model::DescribeIpRangesRequest &request)const; - void describeIpRangesAsync(const Model::DescribeIpRangesRequest& request, const DescribeIpRangesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeIpRangesOutcomeCallable describeIpRangesCallable(const Model::DescribeIpRangesRequest& request) const; DeleteNetworkInterfacePermissionOutcome deleteNetworkInterfacePermission(const Model::DeleteNetworkInterfacePermissionRequest &request)const; void deleteNetworkInterfacePermissionAsync(const Model::DeleteNetworkInterfacePermissionRequest& request, const DeleteNetworkInterfacePermissionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteNetworkInterfacePermissionOutcomeCallable deleteNetworkInterfacePermissionCallable(const Model::DeleteNetworkInterfacePermissionRequest& request) const; @@ -2174,9 +1929,6 @@ namespace AlibabaCloud DeleteDiskOutcome deleteDisk(const Model::DeleteDiskRequest &request)const; void deleteDiskAsync(const Model::DeleteDiskRequest& request, const DeleteDiskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteDiskOutcomeCallable deleteDiskCallable(const Model::DeleteDiskRequest& request) const; - DescribeEventsOutcome describeEvents(const Model::DescribeEventsRequest &request)const; - void describeEventsAsync(const Model::DescribeEventsRequest& request, const DescribeEventsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeEventsOutcomeCallable describeEventsCallable(const Model::DescribeEventsRequest& request) const; UnassociateHaVipOutcome unassociateHaVip(const Model::UnassociateHaVipRequest &request)const; void unassociateHaVipAsync(const Model::UnassociateHaVipRequest& request, const UnassociateHaVipAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UnassociateHaVipOutcomeCallable unassociateHaVipCallable(const Model::UnassociateHaVipRequest& request) const; diff --git a/ecs/include/alibabacloud/ecs/model/AddIpRangeRequest.h b/ecs/include/alibabacloud/ecs/model/AddIpRangeRequest.h deleted file mode 100644 index 9419fd0c8..000000000 --- a/ecs/include/alibabacloud/ecs/model/AddIpRangeRequest.h +++ /dev/null @@ -1,66 +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_ECS_MODEL_ADDIPRANGEREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_ADDIPRANGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT AddIpRangeRequest : public RpcServiceRequest - { - - public: - AddIpRangeRequest(); - ~AddIpRangeRequest(); - - std::string getIpAddress()const; - void setIpAddress(const std::string& ipAddress); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getZoneId()const; - void setZoneId(const std::string& zoneId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string ipAddress_; - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string regionId_; - std::string ownerAccount_; - std::string zoneId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_ADDIPRANGEREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/AddIpRangeResult.h b/ecs/include/alibabacloud/ecs/model/AddIpRangeResult.h deleted file mode 100644 index 8cd100740..000000000 --- a/ecs/include/alibabacloud/ecs/model/AddIpRangeResult.h +++ /dev/null @@ -1,49 +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_ECS_MODEL_ADDIPRANGERESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_ADDIPRANGERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT AddIpRangeResult : public ServiceResult - { - public: - - - AddIpRangeResult(); - explicit AddIpRangeResult(const std::string &payload); - ~AddIpRangeResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_ADDIPRANGERESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/AttachVolumeRequest.h b/ecs/include/alibabacloud/ecs/model/AttachVolumeRequest.h deleted file mode 100644 index 841f6ad4b..000000000 --- a/ecs/include/alibabacloud/ecs/model/AttachVolumeRequest.h +++ /dev/null @@ -1,66 +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_ECS_MODEL_ATTACHVOLUMEREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_ATTACHVOLUMEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT AttachVolumeRequest : public RpcServiceRequest - { - - public: - AttachVolumeRequest(); - ~AttachVolumeRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getVolumeId()const; - void setVolumeId(const std::string& volumeId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long resourceOwnerId_; - std::string instanceId_; - std::string resourceOwnerAccount_; - std::string regionId_; - std::string ownerAccount_; - std::string volumeId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_ATTACHVOLUMEREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/AttachVolumeResult.h b/ecs/include/alibabacloud/ecs/model/AttachVolumeResult.h deleted file mode 100644 index b1453a708..000000000 --- a/ecs/include/alibabacloud/ecs/model/AttachVolumeResult.h +++ /dev/null @@ -1,49 +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_ECS_MODEL_ATTACHVOLUMERESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_ATTACHVOLUMERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT AttachVolumeResult : public ServiceResult - { - public: - - - AttachVolumeResult(); - explicit AttachVolumeResult(const std::string &payload); - ~AttachVolumeResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_ATTACHVOLUMERESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/BindIpRangeRequest.h b/ecs/include/alibabacloud/ecs/model/BindIpRangeRequest.h deleted file mode 100644 index 30b20de62..000000000 --- a/ecs/include/alibabacloud/ecs/model/BindIpRangeRequest.h +++ /dev/null @@ -1,63 +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_ECS_MODEL_BINDIPRANGEREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_BINDIPRANGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT BindIpRangeRequest : public RpcServiceRequest - { - - public: - BindIpRangeRequest(); - ~BindIpRangeRequest(); - - std::string getIpAddress()const; - void setIpAddress(const std::string& ipAddress); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string ipAddress_; - long resourceOwnerId_; - std::string instanceId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_BINDIPRANGEREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/BindIpRangeResult.h b/ecs/include/alibabacloud/ecs/model/BindIpRangeResult.h deleted file mode 100644 index 36ebd6a90..000000000 --- a/ecs/include/alibabacloud/ecs/model/BindIpRangeResult.h +++ /dev/null @@ -1,49 +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_ECS_MODEL_BINDIPRANGERESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_BINDIPRANGERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT BindIpRangeResult : public ServiceResult - { - public: - - - BindIpRangeResult(); - explicit BindIpRangeResult(const std::string &payload); - ~BindIpRangeResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_BINDIPRANGERESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/CancelAgreementRequest.h b/ecs/include/alibabacloud/ecs/model/CancelAgreementRequest.h deleted file mode 100644 index 0553f6e15..000000000 --- a/ecs/include/alibabacloud/ecs/model/CancelAgreementRequest.h +++ /dev/null @@ -1,114 +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_ECS_MODEL_CANCELAGREEMENTREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_CANCELAGREEMENTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT CancelAgreementRequest : public RpcServiceRequest - { - - public: - CancelAgreementRequest(); - ~CancelAgreementRequest(); - - std::string getApp_ip()const; - void setApp_ip(const std::string& app_ip); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - long getCallerParentId()const; - void setCallerParentId(long callerParentId); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - bool getProxy_original_security_transport()const; - void setProxy_original_security_transport(bool proxy_original_security_transport); - std::string getCallerBid()const; - void setCallerBid(const std::string& callerBid); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getProxy_original_source_ip()const; - void setProxy_original_source_ip(const std::string& proxy_original_source_ip); - std::string getOwnerIdLoginEmail()const; - void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); - std::string getCallerType()const; - void setCallerType(const std::string& callerType); - bool getProxy_trust_transport_info()const; - void setProxy_trust_transport_info(bool proxy_trust_transport_info); - bool getAk_mfa_present()const; - void setAk_mfa_present(bool ak_mfa_present); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - bool getSecurity_transport()const; - void setSecurity_transport(bool security_transport); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getRequestId()const; - void setRequestId(const std::string& requestId); - bool getEnable()const; - void setEnable(bool enable); - std::string getRequestContent()const; - void setRequestContent(const std::string& requestContent); - std::string getAgreementType()const; - void setAgreementType(const std::string& agreementType); - std::string getCallerBidEmail()const; - void setCallerBidEmail(const std::string& callerBidEmail); - std::string getCallerUidEmail()const; - void setCallerUidEmail(const std::string& callerUidEmail); - long getCallerUid()const; - void setCallerUid(long callerUid); - - private: - std::string app_ip_; - long resourceOwnerId_; - std::string resourceOwnerAccount_; - long callerParentId_; - std::string ownerAccount_; - bool proxy_original_security_transport_; - std::string callerBid_; - long ownerId_; - std::string proxy_original_source_ip_; - std::string ownerIdLoginEmail_; - std::string callerType_; - bool proxy_trust_transport_info_; - bool ak_mfa_present_; - std::string accessKeyId_; - bool security_transport_; - std::string securityToken_; - std::string requestId_; - bool enable_; - std::string requestContent_; - std::string agreementType_; - std::string callerBidEmail_; - std::string callerUidEmail_; - long callerUid_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_CANCELAGREEMENTREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/CancelAgreementResult.h b/ecs/include/alibabacloud/ecs/model/CancelAgreementResult.h deleted file mode 100644 index 1438417d2..000000000 --- a/ecs/include/alibabacloud/ecs/model/CancelAgreementResult.h +++ /dev/null @@ -1,49 +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_ECS_MODEL_CANCELAGREEMENTRESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_CANCELAGREEMENTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT CancelAgreementResult : public ServiceResult - { - public: - - - CancelAgreementResult(); - explicit CancelAgreementResult(const std::string &payload); - ~CancelAgreementResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_CANCELAGREEMENTRESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/CancelUserEventRequest.h b/ecs/include/alibabacloud/ecs/model/CancelUserEventRequest.h deleted file mode 100644 index 862f1e5dd..000000000 --- a/ecs/include/alibabacloud/ecs/model/CancelUserEventRequest.h +++ /dev/null @@ -1,117 +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_ECS_MODEL_CANCELUSEREVENTREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_CANCELUSEREVENTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT CancelUserEventRequest : public RpcServiceRequest - { - - public: - CancelUserEventRequest(); - ~CancelUserEventRequest(); - - std::string getEventId()const; - void setEventId(const std::string& eventId); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - long getCallerParentId()const; - void setCallerParentId(long callerParentId); - bool getProxy_original_security_transport()const; - void setProxy_original_security_transport(bool proxy_original_security_transport); - std::string getProxy_original_source_ip()const; - void setProxy_original_source_ip(const std::string& proxy_original_source_ip); - std::string getOwnerIdLoginEmail()const; - void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); - std::string getCallerType()const; - void setCallerType(const std::string& callerType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - bool getEnable()const; - void setEnable(bool enable); - std::string getRequestContent()const; - void setRequestContent(const std::string& requestContent); - std::string getCallerBidEmail()const; - void setCallerBidEmail(const std::string& callerBidEmail); - std::string getCallerUidEmail()const; - void setCallerUidEmail(const std::string& callerUidEmail); - long getCallerUid()const; - void setCallerUid(long callerUid); - std::string getApp_ip()const; - void setApp_ip(const std::string& app_ip); - std::string getResourceId()const; - void setResourceId(const std::string& resourceId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getCallerBid()const; - void setCallerBid(const std::string& callerBid); - long getOwnerId()const; - void setOwnerId(long ownerId); - bool getProxy_trust_transport_info()const; - void setProxy_trust_transport_info(bool proxy_trust_transport_info); - bool getAk_mfa_present()const; - void setAk_mfa_present(bool ak_mfa_present); - bool getSecurity_transport()const; - void setSecurity_transport(bool security_transport); - std::string getRequestId()const; - void setRequestId(const std::string& requestId); - - private: - std::string eventId_; - long resourceOwnerId_; - long callerParentId_; - bool proxy_original_security_transport_; - std::string proxy_original_source_ip_; - std::string ownerIdLoginEmail_; - std::string callerType_; - std::string accessKeyId_; - std::string securityToken_; - std::string regionId_; - bool enable_; - std::string requestContent_; - std::string callerBidEmail_; - std::string callerUidEmail_; - long callerUid_; - std::string app_ip_; - std::string resourceId_; - std::string resourceOwnerAccount_; - std::string callerBid_; - long ownerId_; - bool proxy_trust_transport_info_; - bool ak_mfa_present_; - bool security_transport_; - std::string requestId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_CANCELUSEREVENTREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/CancelUserEventResult.h b/ecs/include/alibabacloud/ecs/model/CancelUserEventResult.h deleted file mode 100644 index 941d9990f..000000000 --- a/ecs/include/alibabacloud/ecs/model/CancelUserEventResult.h +++ /dev/null @@ -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_ECS_MODEL_CANCELUSEREVENTRESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_CANCELUSEREVENTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT CancelUserEventResult : public ServiceResult - { - public: - - - CancelUserEventResult(); - explicit CancelUserEventResult(const std::string &payload); - ~CancelUserEventResult(); - std::string getEventId()const; - - protected: - void parse(const std::string &payload); - private: - std::string eventId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_CANCELUSEREVENTRESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/CheckAutoSnapshotPolicyRequest.h b/ecs/include/alibabacloud/ecs/model/CheckAutoSnapshotPolicyRequest.h deleted file mode 100644 index 3c7d3613d..000000000 --- a/ecs/include/alibabacloud/ecs/model/CheckAutoSnapshotPolicyRequest.h +++ /dev/null @@ -1,81 +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_ECS_MODEL_CHECKAUTOSNAPSHOTPOLICYREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_CHECKAUTOSNAPSHOTPOLICYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT CheckAutoSnapshotPolicyRequest : public RpcServiceRequest - { - - public: - CheckAutoSnapshotPolicyRequest(); - ~CheckAutoSnapshotPolicyRequest(); - - bool getDataDiskPolicyEnabled()const; - void setDataDiskPolicyEnabled(bool dataDiskPolicyEnabled); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - int getDataDiskPolicyRetentionDays()const; - void setDataDiskPolicyRetentionDays(int dataDiskPolicyRetentionDays); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - bool getSystemDiskPolicyRetentionLastWeek()const; - void setSystemDiskPolicyRetentionLastWeek(bool systemDiskPolicyRetentionLastWeek); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - int getSystemDiskPolicyTimePeriod()const; - void setSystemDiskPolicyTimePeriod(int systemDiskPolicyTimePeriod); - long getOwnerId()const; - void setOwnerId(long ownerId); - bool getDataDiskPolicyRetentionLastWeek()const; - void setDataDiskPolicyRetentionLastWeek(bool dataDiskPolicyRetentionLastWeek); - int getSystemDiskPolicyRetentionDays()const; - void setSystemDiskPolicyRetentionDays(int systemDiskPolicyRetentionDays); - int getDataDiskPolicyTimePeriod()const; - void setDataDiskPolicyTimePeriod(int dataDiskPolicyTimePeriod); - bool getSystemDiskPolicyEnabled()const; - void setSystemDiskPolicyEnabled(bool systemDiskPolicyEnabled); - - private: - bool dataDiskPolicyEnabled_; - long resourceOwnerId_; - int dataDiskPolicyRetentionDays_; - std::string resourceOwnerAccount_; - bool systemDiskPolicyRetentionLastWeek_; - std::string ownerAccount_; - int systemDiskPolicyTimePeriod_; - long ownerId_; - bool dataDiskPolicyRetentionLastWeek_; - int systemDiskPolicyRetentionDays_; - int dataDiskPolicyTimePeriod_; - bool systemDiskPolicyEnabled_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_CHECKAUTOSNAPSHOTPOLICYREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/CheckAutoSnapshotPolicyResult.h b/ecs/include/alibabacloud/ecs/model/CheckAutoSnapshotPolicyResult.h deleted file mode 100644 index 1727222c0..000000000 --- a/ecs/include/alibabacloud/ecs/model/CheckAutoSnapshotPolicyResult.h +++ /dev/null @@ -1,53 +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_ECS_MODEL_CHECKAUTOSNAPSHOTPOLICYRESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_CHECKAUTOSNAPSHOTPOLICYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT CheckAutoSnapshotPolicyResult : public ServiceResult - { - public: - - - CheckAutoSnapshotPolicyResult(); - explicit CheckAutoSnapshotPolicyResult(const std::string &payload); - ~CheckAutoSnapshotPolicyResult(); - int getAutoSnapshotOccupation()const; - std::string getIsPermittedModify()const; - - protected: - void parse(const std::string &payload); - private: - int autoSnapshotOccupation_; - std::string isPermittedModify_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_CHECKAUTOSNAPSHOTPOLICYRESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/CheckDiskEnableAutoSnapshotValidationRequest.h b/ecs/include/alibabacloud/ecs/model/CheckDiskEnableAutoSnapshotValidationRequest.h deleted file mode 100644 index 148ab6ae7..000000000 --- a/ecs/include/alibabacloud/ecs/model/CheckDiskEnableAutoSnapshotValidationRequest.h +++ /dev/null @@ -1,60 +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_ECS_MODEL_CHECKDISKENABLEAUTOSNAPSHOTVALIDATIONREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_CHECKDISKENABLEAUTOSNAPSHOTVALIDATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT CheckDiskEnableAutoSnapshotValidationRequest : public RpcServiceRequest - { - - public: - CheckDiskEnableAutoSnapshotValidationRequest(); - ~CheckDiskEnableAutoSnapshotValidationRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getDiskIds()const; - void setDiskIds(const std::string& diskIds); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string diskIds_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_CHECKDISKENABLEAUTOSNAPSHOTVALIDATIONREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/CheckDiskEnableAutoSnapshotValidationResult.h b/ecs/include/alibabacloud/ecs/model/CheckDiskEnableAutoSnapshotValidationResult.h deleted file mode 100644 index 05053a6fb..000000000 --- a/ecs/include/alibabacloud/ecs/model/CheckDiskEnableAutoSnapshotValidationResult.h +++ /dev/null @@ -1,53 +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_ECS_MODEL_CHECKDISKENABLEAUTOSNAPSHOTVALIDATIONRESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_CHECKDISKENABLEAUTOSNAPSHOTVALIDATIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT CheckDiskEnableAutoSnapshotValidationResult : public ServiceResult - { - public: - - - CheckDiskEnableAutoSnapshotValidationResult(); - explicit CheckDiskEnableAutoSnapshotValidationResult(const std::string &payload); - ~CheckDiskEnableAutoSnapshotValidationResult(); - int getAutoSnapshotOccupation()const; - std::string getIsPermitted()const; - - protected: - void parse(const std::string &payload); - private: - int autoSnapshotOccupation_; - std::string isPermitted_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_CHECKDISKENABLEAUTOSNAPSHOTVALIDATIONRESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/CreateInstanceRequest.h b/ecs/include/alibabacloud/ecs/model/CreateInstanceRequest.h index 867ecaf56..1cff65d1c 100644 --- a/ecs/include/alibabacloud/ecs/model/CreateInstanceRequest.h +++ b/ecs/include/alibabacloud/ecs/model/CreateInstanceRequest.h @@ -61,6 +61,8 @@ namespace AlibabaCloud void setKeyPairName(const std::string& keyPairName); float getSpotPriceLimit()const; void setSpotPriceLimit(float spotPriceLimit); + bool getDeletionProtection()const; + void setDeletionProtection(bool deletionProtection); std::string getResourceGroupId()const; void setResourceGroupId(const std::string& resourceGroupId); std::string getHostName()const; @@ -158,6 +160,7 @@ namespace AlibabaCloud std::string securityEnhancementStrategy_; std::string keyPairName_; float spotPriceLimit_; + bool deletionProtection_; std::string resourceGroupId_; std::string hostName_; std::string password_; diff --git a/ecs/include/alibabacloud/ecs/model/CreateUserEventRequest.h b/ecs/include/alibabacloud/ecs/model/CreateUserEventRequest.h deleted file mode 100644 index 416a85306..000000000 --- a/ecs/include/alibabacloud/ecs/model/CreateUserEventRequest.h +++ /dev/null @@ -1,123 +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_ECS_MODEL_CREATEUSEREVENTREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_CREATEUSEREVENTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT CreateUserEventRequest : public RpcServiceRequest - { - - public: - CreateUserEventRequest(); - ~CreateUserEventRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - long getCallerParentId()const; - void setCallerParentId(long callerParentId); - bool getProxy_original_security_transport()const; - void setProxy_original_security_transport(bool proxy_original_security_transport); - std::string getProxy_original_source_ip()const; - void setProxy_original_source_ip(const std::string& proxy_original_source_ip); - std::string getOwnerIdLoginEmail()const; - void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); - std::string getCallerType()const; - void setCallerType(const std::string& callerType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - bool getEnable()const; - void setEnable(bool enable); - std::string getRequestContent()const; - void setRequestContent(const std::string& requestContent); - std::string getCallerBidEmail()const; - void setCallerBidEmail(const std::string& callerBidEmail); - std::string getPlanTime()const; - void setPlanTime(const std::string& planTime); - std::string getCallerUidEmail()const; - void setCallerUidEmail(const std::string& callerUidEmail); - long getCallerUid()const; - void setCallerUid(long callerUid); - std::string getApp_ip()const; - void setApp_ip(const std::string& app_ip); - std::string getExpireTime()const; - void setExpireTime(const std::string& expireTime); - std::string getResourceId()const; - void setResourceId(const std::string& resourceId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getCallerBid()const; - void setCallerBid(const std::string& callerBid); - long getOwnerId()const; - void setOwnerId(long ownerId); - bool getProxy_trust_transport_info()const; - void setProxy_trust_transport_info(bool proxy_trust_transport_info); - bool getAk_mfa_present()const; - void setAk_mfa_present(bool ak_mfa_present); - bool getSecurity_transport()const; - void setSecurity_transport(bool security_transport); - std::string getRequestId()const; - void setRequestId(const std::string& requestId); - std::string getEventType()const; - void setEventType(const std::string& eventType); - - private: - long resourceOwnerId_; - long callerParentId_; - bool proxy_original_security_transport_; - std::string proxy_original_source_ip_; - std::string ownerIdLoginEmail_; - std::string callerType_; - std::string accessKeyId_; - std::string securityToken_; - std::string regionId_; - bool enable_; - std::string requestContent_; - std::string callerBidEmail_; - std::string planTime_; - std::string callerUidEmail_; - long callerUid_; - std::string app_ip_; - std::string expireTime_; - std::string resourceId_; - std::string resourceOwnerAccount_; - std::string callerBid_; - long ownerId_; - bool proxy_trust_transport_info_; - bool ak_mfa_present_; - bool security_transport_; - std::string requestId_; - std::string eventType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_CREATEUSEREVENTREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/CreateUserEventResult.h b/ecs/include/alibabacloud/ecs/model/CreateUserEventResult.h deleted file mode 100644 index 935613ab9..000000000 --- a/ecs/include/alibabacloud/ecs/model/CreateUserEventResult.h +++ /dev/null @@ -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_ECS_MODEL_CREATEUSEREVENTRESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_CREATEUSEREVENTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT CreateUserEventResult : public ServiceResult - { - public: - - - CreateUserEventResult(); - explicit CreateUserEventResult(const std::string &payload); - ~CreateUserEventResult(); - std::string getEventId()const; - - protected: - void parse(const std::string &payload); - private: - std::string eventId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_CREATEUSEREVENTRESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/CreateVolumeRequest.h b/ecs/include/alibabacloud/ecs/model/CreateVolumeRequest.h deleted file mode 100644 index 29ce019ea..000000000 --- a/ecs/include/alibabacloud/ecs/model/CreateVolumeRequest.h +++ /dev/null @@ -1,92 +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_ECS_MODEL_CREATEVOLUMEREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_CREATEVOLUMEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT CreateVolumeRequest : public RpcServiceRequest - { - struct Tag - { - std::string value; - std::string key; - }; - - public: - CreateVolumeRequest(); - ~CreateVolumeRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getSnapshotId()const; - void setSnapshotId(const std::string& snapshotId); - std::string getVolumeName()const; - void setVolumeName(const std::string& volumeName); - bool getVolumeEncrypted()const; - void setVolumeEncrypted(bool volumeEncrypted); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getClientToken()const; - void setClientToken(const std::string& clientToken); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getDescription()const; - void setDescription(const std::string& description); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getVolumeCategory()const; - void setVolumeCategory(const std::string& volumeCategory); - int getSize()const; - void setSize(int size); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getZoneId()const; - void setZoneId(const std::string& zoneId); - std::vector getTag()const; - void setTag(const std::vector& tag); - - private: - long resourceOwnerId_; - std::string snapshotId_; - std::string volumeName_; - bool volumeEncrypted_; - std::string resourceOwnerAccount_; - std::string clientToken_; - std::string ownerAccount_; - std::string description_; - long ownerId_; - std::string volumeCategory_; - int size_; - std::string regionId_; - std::string zoneId_; - std::vector tag_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_CREATEVOLUMEREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/CreateVolumeResult.h b/ecs/include/alibabacloud/ecs/model/CreateVolumeResult.h deleted file mode 100644 index c30187c46..000000000 --- a/ecs/include/alibabacloud/ecs/model/CreateVolumeResult.h +++ /dev/null @@ -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_ECS_MODEL_CREATEVOLUMERESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_CREATEVOLUMERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT CreateVolumeResult : public ServiceResult - { - public: - - - CreateVolumeResult(); - explicit CreateVolumeResult(const std::string &payload); - ~CreateVolumeResult(); - std::string getVolumeId()const; - - protected: - void parse(const std::string &payload); - private: - std::string volumeId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_CREATEVOLUMERESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/DeleteRecycleBinRequest.h b/ecs/include/alibabacloud/ecs/model/DeleteRecycleBinRequest.h deleted file mode 100644 index 3f9194f2a..000000000 --- a/ecs/include/alibabacloud/ecs/model/DeleteRecycleBinRequest.h +++ /dev/null @@ -1,63 +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_ECS_MODEL_DELETERECYCLEBINREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_DELETERECYCLEBINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT DeleteRecycleBinRequest : public RpcServiceRequest - { - - public: - DeleteRecycleBinRequest(); - ~DeleteRecycleBinRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getResourceIds()const; - void setResourceIds(const std::string& resourceIds); - - private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string regionId_; - std::string ownerAccount_; - long ownerId_; - std::string resourceIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_DELETERECYCLEBINREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/DeleteRecycleBinResult.h b/ecs/include/alibabacloud/ecs/model/DeleteRecycleBinResult.h deleted file mode 100644 index e051fcf89..000000000 --- a/ecs/include/alibabacloud/ecs/model/DeleteRecycleBinResult.h +++ /dev/null @@ -1,49 +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_ECS_MODEL_DELETERECYCLEBINRESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_DELETERECYCLEBINRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT DeleteRecycleBinResult : public ServiceResult - { - public: - - - DeleteRecycleBinResult(); - explicit DeleteRecycleBinResult(const std::string &payload); - ~DeleteRecycleBinResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_DELETERECYCLEBINRESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/DeleteVolumeRequest.h b/ecs/include/alibabacloud/ecs/model/DeleteVolumeRequest.h deleted file mode 100644 index 2716f5aed..000000000 --- a/ecs/include/alibabacloud/ecs/model/DeleteVolumeRequest.h +++ /dev/null @@ -1,63 +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_ECS_MODEL_DELETEVOLUMEREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_DELETEVOLUMEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT DeleteVolumeRequest : public RpcServiceRequest - { - - public: - DeleteVolumeRequest(); - ~DeleteVolumeRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getVolumeId()const; - void setVolumeId(const std::string& volumeId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string regionId_; - std::string ownerAccount_; - std::string volumeId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_DELETEVOLUMEREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/DeleteVolumeResult.h b/ecs/include/alibabacloud/ecs/model/DeleteVolumeResult.h deleted file mode 100644 index 75be3ccaa..000000000 --- a/ecs/include/alibabacloud/ecs/model/DeleteVolumeResult.h +++ /dev/null @@ -1,49 +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_ECS_MODEL_DELETEVOLUMERESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_DELETEVOLUMERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT DeleteVolumeResult : public ServiceResult - { - public: - - - DeleteVolumeResult(); - explicit DeleteVolumeResult(const std::string &payload); - ~DeleteVolumeResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_DELETEVOLUMERESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/DescribeAutoSnapshotPolicyRequest.h b/ecs/include/alibabacloud/ecs/model/DescribeAutoSnapshotPolicyRequest.h deleted file mode 100644 index ed811407e..000000000 --- a/ecs/include/alibabacloud/ecs/model/DescribeAutoSnapshotPolicyRequest.h +++ /dev/null @@ -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_ECS_MODEL_DESCRIBEAUTOSNAPSHOTPOLICYREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_DESCRIBEAUTOSNAPSHOTPOLICYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT DescribeAutoSnapshotPolicyRequest : public RpcServiceRequest - { - - public: - DescribeAutoSnapshotPolicyRequest(); - ~DescribeAutoSnapshotPolicyRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEAUTOSNAPSHOTPOLICYREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/DescribeAutoSnapshotPolicyResult.h b/ecs/include/alibabacloud/ecs/model/DescribeAutoSnapshotPolicyResult.h deleted file mode 100644 index 9943bd0c0..000000000 --- a/ecs/include/alibabacloud/ecs/model/DescribeAutoSnapshotPolicyResult.h +++ /dev/null @@ -1,71 +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_ECS_MODEL_DESCRIBEAUTOSNAPSHOTPOLICYRESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_DESCRIBEAUTOSNAPSHOTPOLICYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT DescribeAutoSnapshotPolicyResult : public ServiceResult - { - public: - struct AutoSnapshotPolicy - { - std::string systemDiskPolicyTimePeriod; - std::string systemDiskPolicyEnabled; - std::string dataDiskPolicyTimePeriod; - std::string systemDiskPolicyRetentionLastWeek; - std::string systemDiskPolicyRetentionDays; - std::string dataDiskPolicyRetentionDays; - std::string dataDiskPolicyRetentionLastWeek; - std::string dataDiskPolicyEnabled; - }; - struct AutoSnapshotExcutionStatus - { - std::string systemDiskExcutionStatus; - std::string dataDiskExcutionStatus; - }; - - - DescribeAutoSnapshotPolicyResult(); - explicit DescribeAutoSnapshotPolicyResult(const std::string &payload); - ~DescribeAutoSnapshotPolicyResult(); - int getAutoSnapshotOccupation()const; - AutoSnapshotExcutionStatus getAutoSnapshotExcutionStatus()const; - AutoSnapshotPolicy getAutoSnapshotPolicy()const; - - protected: - void parse(const std::string &payload); - private: - int autoSnapshotOccupation_; - AutoSnapshotExcutionStatus autoSnapshotExcutionStatus_; - AutoSnapshotPolicy autoSnapshotPolicy_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEAUTOSNAPSHOTPOLICYRESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/DescribeDeploymentSetTopologyRequest.h b/ecs/include/alibabacloud/ecs/model/DescribeDeploymentSetTopologyRequest.h deleted file mode 100644 index 37ddeeb42..000000000 --- a/ecs/include/alibabacloud/ecs/model/DescribeDeploymentSetTopologyRequest.h +++ /dev/null @@ -1,75 +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_ECS_MODEL_DESCRIBEDEPLOYMENTSETTOPOLOGYREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_DESCRIBEDEPLOYMENTSETTOPOLOGYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT DescribeDeploymentSetTopologyRequest : public RpcServiceRequest - { - - public: - DescribeDeploymentSetTopologyRequest(); - ~DescribeDeploymentSetTopologyRequest(); - - std::string getDeploymentSetId()const; - void setDeploymentSetId(const std::string& deploymentSetId); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getGranularity()const; - void setGranularity(const std::string& granularity); - std::string getDomain()const; - void setDomain(const std::string& domain); - std::string getNetworkType()const; - void setNetworkType(const std::string& networkType); - std::string getDeploymentSetName()const; - void setDeploymentSetName(const std::string& deploymentSetName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getStrategy()const; - void setStrategy(const std::string& strategy); - - private: - std::string deploymentSetId_; - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string regionId_; - std::string granularity_; - std::string domain_; - std::string networkType_; - std::string deploymentSetName_; - long ownerId_; - std::string strategy_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEDEPLOYMENTSETTOPOLOGYREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/DescribeDeploymentSetTopologyResult.h b/ecs/include/alibabacloud/ecs/model/DescribeDeploymentSetTopologyResult.h deleted file mode 100644 index 05296ff96..000000000 --- a/ecs/include/alibabacloud/ecs/model/DescribeDeploymentSetTopologyResult.h +++ /dev/null @@ -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. - */ - -#ifndef ALIBABACLOUD_ECS_MODEL_DESCRIBEDEPLOYMENTSETTOPOLOGYRESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_DESCRIBEDEPLOYMENTSETTOPOLOGYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT DescribeDeploymentSetTopologyResult : public ServiceResult - { - public: - struct Switch - { - struct Host - { - std::string hostId; - std::vector instanceIds; - }; - std::vector hosts; - std::string switchId; - }; - struct Rack - { - struct Host2 - { - std::string hostId; - std::vector instanceIds3; - }; - std::string rackId; - std::vector hosts1; - }; - - - DescribeDeploymentSetTopologyResult(); - explicit DescribeDeploymentSetTopologyResult(const std::string &payload); - ~DescribeDeploymentSetTopologyResult(); - std::vector getSwitchs()const; - std::vector getRacks()const; - - protected: - void parse(const std::string &payload); - private: - std::vector switchs_; - std::vector racks_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEDEPLOYMENTSETTOPOLOGYRESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/DescribeEventDetailRequest.h b/ecs/include/alibabacloud/ecs/model/DescribeEventDetailRequest.h deleted file mode 100644 index db3ae6243..000000000 --- a/ecs/include/alibabacloud/ecs/model/DescribeEventDetailRequest.h +++ /dev/null @@ -1,114 +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_ECS_MODEL_DESCRIBEEVENTDETAILREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_DESCRIBEEVENTDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT DescribeEventDetailRequest : public RpcServiceRequest - { - - public: - DescribeEventDetailRequest(); - ~DescribeEventDetailRequest(); - - std::string getApp_ip()const; - void setApp_ip(const std::string& app_ip); - std::string getEventId()const; - void setEventId(const std::string& eventId); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - long getCallerParentId()const; - void setCallerParentId(long callerParentId); - bool getProxy_original_security_transport()const; - void setProxy_original_security_transport(bool proxy_original_security_transport); - std::string getCallerBid()const; - void setCallerBid(const std::string& callerBid); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getProxy_original_source_ip()const; - void setProxy_original_source_ip(const std::string& proxy_original_source_ip); - std::string getOwnerIdLoginEmail()const; - void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); - std::string getCallerType()const; - void setCallerType(const std::string& callerType); - bool getProxy_trust_transport_info()const; - void setProxy_trust_transport_info(bool proxy_trust_transport_info); - bool getAk_mfa_present()const; - void setAk_mfa_present(bool ak_mfa_present); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - bool getSecurity_transport()const; - void setSecurity_transport(bool security_transport); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getRequestId()const; - void setRequestId(const std::string& requestId); - bool getEnable()const; - void setEnable(bool enable); - std::string getRequestContent()const; - void setRequestContent(const std::string& requestContent); - std::string getCallerBidEmail()const; - void setCallerBidEmail(const std::string& callerBidEmail); - std::string getCallerUidEmail()const; - void setCallerUidEmail(const std::string& callerUidEmail); - long getCallerUid()const; - void setCallerUid(long callerUid); - - private: - std::string app_ip_; - std::string eventId_; - long resourceOwnerId_; - std::string resourceOwnerAccount_; - long callerParentId_; - bool proxy_original_security_transport_; - std::string callerBid_; - long ownerId_; - std::string proxy_original_source_ip_; - std::string ownerIdLoginEmail_; - std::string callerType_; - bool proxy_trust_transport_info_; - bool ak_mfa_present_; - std::string accessKeyId_; - bool security_transport_; - std::string securityToken_; - std::string regionId_; - std::string requestId_; - bool enable_; - std::string requestContent_; - std::string callerBidEmail_; - std::string callerUidEmail_; - long callerUid_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEEVENTDETAILREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/DescribeEventDetailResult.h b/ecs/include/alibabacloud/ecs/model/DescribeEventDetailResult.h deleted file mode 100644 index 1462ddd4a..000000000 --- a/ecs/include/alibabacloud/ecs/model/DescribeEventDetailResult.h +++ /dev/null @@ -1,75 +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_ECS_MODEL_DESCRIBEEVENTDETAILRESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_DESCRIBEEVENTDETAILRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT DescribeEventDetailResult : public ServiceResult - { - public: - - - DescribeEventDetailResult(); - explicit DescribeEventDetailResult(const std::string &payload); - ~DescribeEventDetailResult(); - std::string getStatus()const; - std::string getLimitTime()const; - std::string getEventCategory()const; - std::string getEndTime()const; - std::string getEventType()const; - std::string getStartTime()const; - std::string getEffectTime()const; - std::string getMark()const; - std::string getPlanTime()const; - std::string getResourceId()const; - std::string getSupportModify()const; - std::string getEventId()const; - std::string getExpireTime()const; - - protected: - void parse(const std::string &payload); - private: - std::string status_; - std::string limitTime_; - std::string eventCategory_; - std::string endTime_; - std::string eventType_; - std::string startTime_; - std::string effectTime_; - std::string mark_; - std::string planTime_; - std::string resourceId_; - std::string supportModify_; - std::string eventId_; - std::string expireTime_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEEVENTDETAILRESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/DescribeEventsRequest.h b/ecs/include/alibabacloud/ecs/model/DescribeEventsRequest.h deleted file mode 100644 index d6ef63a33..000000000 --- a/ecs/include/alibabacloud/ecs/model/DescribeEventsRequest.h +++ /dev/null @@ -1,135 +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_ECS_MODEL_DESCRIBEEVENTSREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_DESCRIBEEVENTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT DescribeEventsRequest : public RpcServiceRequest - { - - public: - DescribeEventsRequest(); - ~DescribeEventsRequest(); - - std::string getEventId()const; - void setEventId(const std::string& eventId); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - long getCallerParentId()const; - void setCallerParentId(long callerParentId); - bool getProxy_original_security_transport()const; - void setProxy_original_security_transport(bool proxy_original_security_transport); - std::string getProxy_original_source_ip()const; - void setProxy_original_source_ip(const std::string& proxy_original_source_ip); - std::string getOwnerIdLoginEmail()const; - void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); - std::string getCallerType()const; - void setCallerType(const std::string& callerType); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - bool getEnable()const; - void setEnable(bool enable); - std::string getRequestContent()const; - void setRequestContent(const std::string& requestContent); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getCallerBidEmail()const; - void setCallerBidEmail(const std::string& callerBidEmail); - std::string getPlanTime()const; - void setPlanTime(const std::string& planTime); - std::string getCallerUidEmail()const; - void setCallerUidEmail(const std::string& callerUidEmail); - long getCallerUid()const; - void setCallerUid(long callerUid); - std::string getApp_ip()const; - void setApp_ip(const std::string& app_ip); - std::string getExpireTime()const; - void setExpireTime(const std::string& expireTime); - std::string getResourceId()const; - void setResourceId(const std::string& resourceId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getCallerBid()const; - void setCallerBid(const std::string& callerBid); - long getOwnerId()const; - void setOwnerId(long ownerId); - bool getProxy_trust_transport_info()const; - void setProxy_trust_transport_info(bool proxy_trust_transport_info); - bool getAk_mfa_present()const; - void setAk_mfa_present(bool ak_mfa_present); - bool getSecurity_transport()const; - void setSecurity_transport(bool security_transport); - std::string getRequestId()const; - void setRequestId(const std::string& requestId); - std::string getEventType()const; - void setEventType(const std::string& eventType); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - std::string eventId_; - long resourceOwnerId_; - long callerParentId_; - bool proxy_original_security_transport_; - std::string proxy_original_source_ip_; - std::string ownerIdLoginEmail_; - std::string callerType_; - int pageNumber_; - std::string accessKeyId_; - std::string securityToken_; - std::string regionId_; - bool enable_; - std::string requestContent_; - int pageSize_; - std::string callerBidEmail_; - std::string planTime_; - std::string callerUidEmail_; - long callerUid_; - std::string app_ip_; - std::string expireTime_; - std::string resourceId_; - std::string resourceOwnerAccount_; - std::string callerBid_; - long ownerId_; - bool proxy_trust_transport_info_; - bool ak_mfa_present_; - bool security_transport_; - std::string requestId_; - std::string eventType_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEEVENTSREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/DescribeEventsResult.h b/ecs/include/alibabacloud/ecs/model/DescribeEventsResult.h deleted file mode 100644 index b239589c1..000000000 --- a/ecs/include/alibabacloud/ecs/model/DescribeEventsResult.h +++ /dev/null @@ -1,68 +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_ECS_MODEL_DESCRIBEEVENTSRESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_DESCRIBEEVENTSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT DescribeEventsResult : public ServiceResult - { - public: - struct Event - { - std::string status; - std::string eventCategory; - std::string resourceId; - std::string eventType; - std::string supportModify; - std::string eventId; - std::string planTime; - std::string expireTime; - }; - - - DescribeEventsResult(); - explicit DescribeEventsResult(const std::string &payload); - ~DescribeEventsResult(); - int getTotalCount()const; - int getPageSize()const; - std::vector getEvents()const; - int getPageNumber()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - std::vector events_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEEVENTSRESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/DescribeInstanceTopologyRequest.h b/ecs/include/alibabacloud/ecs/model/DescribeInstanceTopologyRequest.h deleted file mode 100644 index 815fb06db..000000000 --- a/ecs/include/alibabacloud/ecs/model/DescribeInstanceTopologyRequest.h +++ /dev/null @@ -1,60 +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_ECS_MODEL_DESCRIBEINSTANCETOPOLOGYREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_DESCRIBEINSTANCETOPOLOGYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT DescribeInstanceTopologyRequest : public RpcServiceRequest - { - - public: - DescribeInstanceTopologyRequest(); - ~DescribeInstanceTopologyRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getInstanceIds()const; - void setInstanceIds(const std::string& instanceIds); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string regionId_; - std::string instanceIds_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEINSTANCETOPOLOGYREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/DescribeInstanceTopologyResult.h b/ecs/include/alibabacloud/ecs/model/DescribeInstanceTopologyResult.h deleted file mode 100644 index f7e6a7886..000000000 --- a/ecs/include/alibabacloud/ecs/model/DescribeInstanceTopologyResult.h +++ /dev/null @@ -1,56 +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_ECS_MODEL_DESCRIBEINSTANCETOPOLOGYRESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_DESCRIBEINSTANCETOPOLOGYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT DescribeInstanceTopologyResult : public ServiceResult - { - public: - struct Topology - { - std::string instanceId; - std::string hostId; - }; - - - DescribeInstanceTopologyResult(); - explicit DescribeInstanceTopologyResult(const std::string &payload); - ~DescribeInstanceTopologyResult(); - std::vector getTopologys()const; - - protected: - void parse(const std::string &payload); - private: - std::vector topologys_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEINSTANCETOPOLOGYRESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/DescribeInstancesResult.h b/ecs/include/alibabacloud/ecs/model/DescribeInstancesResult.h index b42f04dfc..dfe5120e1 100644 --- a/ecs/include/alibabacloud/ecs/model/DescribeInstancesResult.h +++ b/ecs/include/alibabacloud/ecs/model/DescribeInstancesResult.h @@ -87,6 +87,7 @@ namespace AlibabaCloud std::string instanceId; std::string stoppedMode; std::string startTime; + bool deletionProtection; VpcAttributes vpcAttributes; std::vector securityGroupIds; std::string internetChargeType; diff --git a/ecs/include/alibabacloud/ecs/model/DescribeIntranetAttributeKbRequest.h b/ecs/include/alibabacloud/ecs/model/DescribeIntranetAttributeKbRequest.h deleted file mode 100644 index f61135f7c..000000000 --- a/ecs/include/alibabacloud/ecs/model/DescribeIntranetAttributeKbRequest.h +++ /dev/null @@ -1,60 +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_ECS_MODEL_DESCRIBEINTRANETATTRIBUTEKBREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_DESCRIBEINTRANETATTRIBUTEKBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT DescribeIntranetAttributeKbRequest : public RpcServiceRequest - { - - public: - DescribeIntranetAttributeKbRequest(); - ~DescribeIntranetAttributeKbRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long resourceOwnerId_; - std::string instanceId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEINTRANETATTRIBUTEKBREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/DescribeIntranetAttributeKbResult.h b/ecs/include/alibabacloud/ecs/model/DescribeIntranetAttributeKbResult.h deleted file mode 100644 index 6a6009ad9..000000000 --- a/ecs/include/alibabacloud/ecs/model/DescribeIntranetAttributeKbResult.h +++ /dev/null @@ -1,59 +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_ECS_MODEL_DESCRIBEINTRANETATTRIBUTEKBRESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_DESCRIBEINTRANETATTRIBUTEKBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT DescribeIntranetAttributeKbResult : public ServiceResult - { - public: - - - DescribeIntranetAttributeKbResult(); - explicit DescribeIntranetAttributeKbResult(const std::string &payload); - ~DescribeIntranetAttributeKbResult(); - std::string getInstanceId()const; - int getIntranetMaxBandwidthOut()const; - std::string getVlanId()const; - std::string getIntranetIpAddress()const; - int getIntranetMaxBandwidthIn()const; - - protected: - void parse(const std::string &payload); - private: - std::string instanceId_; - int intranetMaxBandwidthOut_; - std::string vlanId_; - std::string intranetIpAddress_; - int intranetMaxBandwidthIn_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEINTRANETATTRIBUTEKBRESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/DescribeIpRangesRequest.h b/ecs/include/alibabacloud/ecs/model/DescribeIpRangesRequest.h deleted file mode 100644 index a9394b3fc..000000000 --- a/ecs/include/alibabacloud/ecs/model/DescribeIpRangesRequest.h +++ /dev/null @@ -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. - */ - -#ifndef ALIBABACLOUD_ECS_MODEL_DESCRIBEIPRANGESREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_DESCRIBEIPRANGESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT DescribeIpRangesRequest : public RpcServiceRequest - { - - public: - DescribeIpRangesRequest(); - ~DescribeIpRangesRequest(); - - std::string getNicType()const; - void setNicType(const std::string& nicType); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - std::string nicType_; - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string regionId_; - std::string ownerAccount_; - int pageSize_; - std::string clusterId_; - long ownerId_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEIPRANGESREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/DescribeIpRangesResult.h b/ecs/include/alibabacloud/ecs/model/DescribeIpRangesResult.h deleted file mode 100644 index 7a1b03275..000000000 --- a/ecs/include/alibabacloud/ecs/model/DescribeIpRangesResult.h +++ /dev/null @@ -1,66 +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_ECS_MODEL_DESCRIBEIPRANGESRESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_DESCRIBEIPRANGESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT DescribeIpRangesResult : public ServiceResult - { - public: - struct IpRange - { - std::string ipAddress; - std::string nicType; - }; - - - DescribeIpRangesResult(); - explicit DescribeIpRangesResult(const std::string &payload); - ~DescribeIpRangesResult(); - int getTotalCount()const; - int getPageSize()const; - std::string getClusterId()const; - int getPageNumber()const; - std::vector getIpRanges()const; - std::string getRegionId()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - std::string clusterId_; - int pageNumber_; - std::vector ipRanges_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEIPRANGESRESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/DescribeRecycleBinRequest.h b/ecs/include/alibabacloud/ecs/model/DescribeRecycleBinRequest.h deleted file mode 100644 index 04c493052..000000000 --- a/ecs/include/alibabacloud/ecs/model/DescribeRecycleBinRequest.h +++ /dev/null @@ -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. - */ - -#ifndef ALIBABACLOUD_ECS_MODEL_DESCRIBERECYCLEBINREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_DESCRIBERECYCLEBINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT DescribeRecycleBinRequest : public RpcServiceRequest - { - - public: - DescribeRecycleBinRequest(); - ~DescribeRecycleBinRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceId()const; - void setResourceId(const std::string& resourceId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - int getPageSize()const; - void setPageSize(int pageSize); - long getOwnerId()const; - void setOwnerId(long ownerId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - long resourceOwnerId_; - std::string resourceId_; - std::string resourceOwnerAccount_; - std::string regionId_; - std::string ownerAccount_; - int pageSize_; - long ownerId_; - int pageNumber_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBERECYCLEBINREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/DescribeRecycleBinResult.h b/ecs/include/alibabacloud/ecs/model/DescribeRecycleBinResult.h deleted file mode 100644 index 3aed9cbb4..000000000 --- a/ecs/include/alibabacloud/ecs/model/DescribeRecycleBinResult.h +++ /dev/null @@ -1,67 +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_ECS_MODEL_DESCRIBERECYCLEBINRESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_DESCRIBERECYCLEBINRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT DescribeRecycleBinResult : public ServiceResult - { - public: - struct RecycleBinModel - { - struct RelationResource - { - std::string relationResourceId; - std::string relationResourceType; - }; - std::string status; - std::string resourceId; - std::string creationTime; - std::string resourceType; - std::vector relationResources; - std::string regionId; - }; - - - DescribeRecycleBinResult(); - explicit DescribeRecycleBinResult(const std::string &payload); - ~DescribeRecycleBinResult(); - int getTotalCount()const; - std::vector getRecycleBinModels()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - std::vector recycleBinModels_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBERECYCLEBINRESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/DescribeTagKeysRequest.h b/ecs/include/alibabacloud/ecs/model/DescribeTagKeysRequest.h deleted file mode 100644 index 9e2cbb48e..000000000 --- a/ecs/include/alibabacloud/ecs/model/DescribeTagKeysRequest.h +++ /dev/null @@ -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_ECS_MODEL_DESCRIBETAGKEYSREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_DESCRIBETAGKEYSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT DescribeTagKeysRequest : public RpcServiceRequest - { - - public: - DescribeTagKeysRequest(); - ~DescribeTagKeysRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceId()const; - void setResourceId(const std::string& resourceId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getResourceType()const; - void setResourceType(const std::string& resourceType); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - long resourceOwnerId_; - std::string resourceId_; - std::string resourceOwnerAccount_; - std::string regionId_; - int pageSize_; - long ownerId_; - std::string resourceType_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBETAGKEYSREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/DescribeTagKeysResult.h b/ecs/include/alibabacloud/ecs/model/DescribeTagKeysResult.h deleted file mode 100644 index 1daf84646..000000000 --- a/ecs/include/alibabacloud/ecs/model/DescribeTagKeysResult.h +++ /dev/null @@ -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_ECS_MODEL_DESCRIBETAGKEYSRESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_DESCRIBETAGKEYSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT DescribeTagKeysResult : public ServiceResult - { - public: - - - DescribeTagKeysResult(); - explicit DescribeTagKeysResult(const std::string &payload); - ~DescribeTagKeysResult(); - int getTotalCount()const; - int getPageSize()const; - int getPageNumber()const; - std::vector getTagKeys()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - int pageNumber_; - std::vector tagKeys_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBETAGKEYSRESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/DescribeVolumesRequest.h b/ecs/include/alibabacloud/ecs/model/DescribeVolumesRequest.h deleted file mode 100644 index 4fa68c9ca..000000000 --- a/ecs/include/alibabacloud/ecs/model/DescribeVolumesRequest.h +++ /dev/null @@ -1,101 +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_ECS_MODEL_DESCRIBEVOLUMESREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_DESCRIBEVOLUMESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT DescribeVolumesRequest : public RpcServiceRequest - { - struct Tag - { - std::string value; - std::string key; - }; - - public: - DescribeVolumesRequest(); - ~DescribeVolumesRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getSnapshotId()const; - void setSnapshotId(const std::string& snapshotId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getAutoSnapshotPolicyId()const; - void setAutoSnapshotPolicyId(const std::string& autoSnapshotPolicyId); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - bool getEnableAutomatedSnapshotPolicy()const; - void setEnableAutomatedSnapshotPolicy(bool enableAutomatedSnapshotPolicy); - long getOwnerId()const; - void setOwnerId(long ownerId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getLockReason()const; - void setLockReason(const std::string& lockReason); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getZoneId()const; - void setZoneId(const std::string& zoneId); - std::string getVolumeIds()const; - void setVolumeIds(const std::string& volumeIds); - std::vector getTag()const; - void setTag(const std::vector& tag); - std::string getCategory()const; - void setCategory(const std::string& category); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - long resourceOwnerId_; - std::string snapshotId_; - std::string resourceOwnerAccount_; - std::string autoSnapshotPolicyId_; - std::string ownerAccount_; - bool enableAutomatedSnapshotPolicy_; - long ownerId_; - int pageNumber_; - std::string instanceId_; - std::string lockReason_; - std::string regionId_; - int pageSize_; - std::string zoneId_; - std::string volumeIds_; - std::vector tag_; - std::string category_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEVOLUMESREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/DescribeVolumesResult.h b/ecs/include/alibabacloud/ecs/model/DescribeVolumesResult.h deleted file mode 100644 index 86c732465..000000000 --- a/ecs/include/alibabacloud/ecs/model/DescribeVolumesResult.h +++ /dev/null @@ -1,94 +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_ECS_MODEL_DESCRIBEVOLUMESRESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_DESCRIBEVOLUMESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT DescribeVolumesResult : public ServiceResult - { - public: - struct Volume - { - struct OperationLock - { - std::string lockReason; - }; - struct MountInstance - { - std::string attachedTime; - std::string instanceId; - std::string device; - }; - struct Tag - { - std::string tagKey; - std::string tagValue; - }; - std::string status; - std::string volumeName; - std::string description; - std::string category; - std::string zoneId; - std::string sourceSnapshotId; - std::string volumeChargeType; - int size; - bool encrypted; - std::string snapshotLinkId; - bool enableAutomatedSnapshotPolicy; - std::string autoSnapshotPolicyId; - std::vector operationLocks; - std::string volumeId; - int mountInstanceNum; - std::vector mountInstances; - std::string creationTime; - std::string regionId; - std::vector tags; - }; - - - DescribeVolumesResult(); - explicit DescribeVolumesResult(const std::string &payload); - ~DescribeVolumesResult(); - int getTotalCount()const; - std::vector getVolumes()const; - int getPageSize()const; - int getPageNumber()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - std::vector volumes_; - int pageSize_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEVOLUMESRESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/DetachVolumeRequest.h b/ecs/include/alibabacloud/ecs/model/DetachVolumeRequest.h deleted file mode 100644 index 7258309cf..000000000 --- a/ecs/include/alibabacloud/ecs/model/DetachVolumeRequest.h +++ /dev/null @@ -1,66 +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_ECS_MODEL_DETACHVOLUMEREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_DETACHVOLUMEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT DetachVolumeRequest : public RpcServiceRequest - { - - public: - DetachVolumeRequest(); - ~DetachVolumeRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getVolumeId()const; - void setVolumeId(const std::string& volumeId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long resourceOwnerId_; - std::string instanceId_; - std::string resourceOwnerAccount_; - std::string regionId_; - std::string ownerAccount_; - std::string volumeId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_DETACHVOLUMEREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/DetachVolumeResult.h b/ecs/include/alibabacloud/ecs/model/DetachVolumeResult.h deleted file mode 100644 index beac21c21..000000000 --- a/ecs/include/alibabacloud/ecs/model/DetachVolumeResult.h +++ /dev/null @@ -1,49 +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_ECS_MODEL_DETACHVOLUMERESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_DETACHVOLUMERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT DetachVolumeResult : public ServiceResult - { - public: - - - DetachVolumeResult(); - explicit DetachVolumeResult(const std::string &payload); - ~DetachVolumeResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_DETACHVOLUMERESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/ModifyInstanceAttributeRequest.h b/ecs/include/alibabacloud/ecs/model/ModifyInstanceAttributeRequest.h index 1a7c18056..ef8fb5ecf 100644 --- a/ecs/include/alibabacloud/ecs/model/ModifyInstanceAttributeRequest.h +++ b/ecs/include/alibabacloud/ecs/model/ModifyInstanceAttributeRequest.h @@ -49,6 +49,8 @@ namespace AlibabaCloud void setCreditSpecification(const std::string& creditSpecification); long getOwnerId()const; void setOwnerId(long ownerId); + bool getDeletionProtection()const; + void setDeletionProtection(bool deletionProtection); std::string getUserData()const; void setUserData(const std::string& userData); std::string getPassword()const; @@ -68,6 +70,7 @@ namespace AlibabaCloud std::string description_; std::string creditSpecification_; long ownerId_; + bool deletionProtection_; std::string userData_; std::string password_; std::string hostName_; diff --git a/ecs/include/alibabacloud/ecs/model/ModifyIntranetBandwidthKbRequest.h b/ecs/include/alibabacloud/ecs/model/ModifyIntranetBandwidthKbRequest.h deleted file mode 100644 index 33161e24d..000000000 --- a/ecs/include/alibabacloud/ecs/model/ModifyIntranetBandwidthKbRequest.h +++ /dev/null @@ -1,66 +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_ECS_MODEL_MODIFYINTRANETBANDWIDTHKBREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_MODIFYINTRANETBANDWIDTHKBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT ModifyIntranetBandwidthKbRequest : public RpcServiceRequest - { - - public: - ModifyIntranetBandwidthKbRequest(); - ~ModifyIntranetBandwidthKbRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - int getIntranetMaxBandwidthOut()const; - void setIntranetMaxBandwidthOut(int intranetMaxBandwidthOut); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - int getIntranetMaxBandwidthIn()const; - void setIntranetMaxBandwidthIn(int intranetMaxBandwidthIn); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long resourceOwnerId_; - int intranetMaxBandwidthOut_; - std::string instanceId_; - int intranetMaxBandwidthIn_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYINTRANETBANDWIDTHKBREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/ModifyIntranetBandwidthKbResult.h b/ecs/include/alibabacloud/ecs/model/ModifyIntranetBandwidthKbResult.h deleted file mode 100644 index 86a6e8d49..000000000 --- a/ecs/include/alibabacloud/ecs/model/ModifyIntranetBandwidthKbResult.h +++ /dev/null @@ -1,49 +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_ECS_MODEL_MODIFYINTRANETBANDWIDTHKBRESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_MODIFYINTRANETBANDWIDTHKBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT ModifyIntranetBandwidthKbResult : public ServiceResult - { - public: - - - ModifyIntranetBandwidthKbResult(); - explicit ModifyIntranetBandwidthKbResult(const std::string &payload); - ~ModifyIntranetBandwidthKbResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYINTRANETBANDWIDTHKBRESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/ModifyUserEventAttributeRequest.h b/ecs/include/alibabacloud/ecs/model/ModifyUserEventAttributeRequest.h deleted file mode 100644 index be5c7efbb..000000000 --- a/ecs/include/alibabacloud/ecs/model/ModifyUserEventAttributeRequest.h +++ /dev/null @@ -1,123 +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_ECS_MODEL_MODIFYUSEREVENTATTRIBUTEREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_MODIFYUSEREVENTATTRIBUTEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT ModifyUserEventAttributeRequest : public RpcServiceRequest - { - - public: - ModifyUserEventAttributeRequest(); - ~ModifyUserEventAttributeRequest(); - - std::string getEventId()const; - void setEventId(const std::string& eventId); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - long getCallerParentId()const; - void setCallerParentId(long callerParentId); - bool getProxy_original_security_transport()const; - void setProxy_original_security_transport(bool proxy_original_security_transport); - std::string getProxy_original_source_ip()const; - void setProxy_original_source_ip(const std::string& proxy_original_source_ip); - std::string getOwnerIdLoginEmail()const; - void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); - std::string getCallerType()const; - void setCallerType(const std::string& callerType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - bool getEnable()const; - void setEnable(bool enable); - std::string getRequestContent()const; - void setRequestContent(const std::string& requestContent); - std::string getCallerBidEmail()const; - void setCallerBidEmail(const std::string& callerBidEmail); - std::string getCallerUidEmail()const; - void setCallerUidEmail(const std::string& callerUidEmail); - long getCallerUid()const; - void setCallerUid(long callerUid); - std::string getApp_ip()const; - void setApp_ip(const std::string& app_ip); - std::string getResourceId()const; - void setResourceId(const std::string& resourceId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getCallerBid()const; - void setCallerBid(const std::string& callerBid); - std::string getNewPlanTime()const; - void setNewPlanTime(const std::string& newPlanTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - bool getProxy_trust_transport_info()const; - void setProxy_trust_transport_info(bool proxy_trust_transport_info); - bool getAk_mfa_present()const; - void setAk_mfa_present(bool ak_mfa_present); - bool getSecurity_transport()const; - void setSecurity_transport(bool security_transport); - std::string getNewExpireTime()const; - void setNewExpireTime(const std::string& newExpireTime); - std::string getRequestId()const; - void setRequestId(const std::string& requestId); - - private: - std::string eventId_; - long resourceOwnerId_; - long callerParentId_; - bool proxy_original_security_transport_; - std::string proxy_original_source_ip_; - std::string ownerIdLoginEmail_; - std::string callerType_; - std::string accessKeyId_; - std::string securityToken_; - std::string regionId_; - bool enable_; - std::string requestContent_; - std::string callerBidEmail_; - std::string callerUidEmail_; - long callerUid_; - std::string app_ip_; - std::string resourceId_; - std::string resourceOwnerAccount_; - std::string callerBid_; - std::string newPlanTime_; - long ownerId_; - bool proxy_trust_transport_info_; - bool ak_mfa_present_; - bool security_transport_; - std::string newExpireTime_; - std::string requestId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYUSEREVENTATTRIBUTEREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/ModifyUserEventAttributeResult.h b/ecs/include/alibabacloud/ecs/model/ModifyUserEventAttributeResult.h deleted file mode 100644 index 82f09e1d6..000000000 --- a/ecs/include/alibabacloud/ecs/model/ModifyUserEventAttributeResult.h +++ /dev/null @@ -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_ECS_MODEL_MODIFYUSEREVENTATTRIBUTERESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_MODIFYUSEREVENTATTRIBUTERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT ModifyUserEventAttributeResult : public ServiceResult - { - public: - - - ModifyUserEventAttributeResult(); - explicit ModifyUserEventAttributeResult(const std::string &payload); - ~ModifyUserEventAttributeResult(); - std::string getEventId()const; - - protected: - void parse(const std::string &payload); - private: - std::string eventId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYUSEREVENTATTRIBUTERESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/ModifyVolumeAttributeRequest.h b/ecs/include/alibabacloud/ecs/model/ModifyVolumeAttributeRequest.h deleted file mode 100644 index ce5a89645..000000000 --- a/ecs/include/alibabacloud/ecs/model/ModifyVolumeAttributeRequest.h +++ /dev/null @@ -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_ECS_MODEL_MODIFYVOLUMEATTRIBUTEREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_MODIFYVOLUMEATTRIBUTEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT ModifyVolumeAttributeRequest : public RpcServiceRequest - { - - public: - ModifyVolumeAttributeRequest(); - ~ModifyVolumeAttributeRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getVolumeName()const; - void setVolumeName(const std::string& volumeName); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getVolumeId()const; - void setVolumeId(const std::string& volumeId); - std::string getDescription()const; - void setDescription(const std::string& description); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long resourceOwnerId_; - std::string volumeName_; - std::string resourceOwnerAccount_; - std::string regionId_; - std::string ownerAccount_; - std::string volumeId_; - std::string description_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYVOLUMEATTRIBUTEREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/ModifyVolumeAttributeResult.h b/ecs/include/alibabacloud/ecs/model/ModifyVolumeAttributeResult.h deleted file mode 100644 index c217afc70..000000000 --- a/ecs/include/alibabacloud/ecs/model/ModifyVolumeAttributeResult.h +++ /dev/null @@ -1,49 +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_ECS_MODEL_MODIFYVOLUMEATTRIBUTERESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_MODIFYVOLUMEATTRIBUTERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT ModifyVolumeAttributeResult : public ServiceResult - { - public: - - - ModifyVolumeAttributeResult(); - explicit ModifyVolumeAttributeResult(const std::string &payload); - ~ModifyVolumeAttributeResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYVOLUMEATTRIBUTERESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/ReInitVolumeRequest.h b/ecs/include/alibabacloud/ecs/model/ReInitVolumeRequest.h deleted file mode 100644 index 1cb879f97..000000000 --- a/ecs/include/alibabacloud/ecs/model/ReInitVolumeRequest.h +++ /dev/null @@ -1,66 +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_ECS_MODEL_REINITVOLUMEREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_REINITVOLUMEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT ReInitVolumeRequest : public RpcServiceRequest - { - - public: - ReInitVolumeRequest(); - ~ReInitVolumeRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getPassword()const; - void setPassword(const std::string& password); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getVolumeId()const; - void setVolumeId(const std::string& volumeId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long resourceOwnerId_; - std::string password_; - std::string resourceOwnerAccount_; - std::string regionId_; - std::string ownerAccount_; - std::string volumeId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_REINITVOLUMEREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/ReInitVolumeResult.h b/ecs/include/alibabacloud/ecs/model/ReInitVolumeResult.h deleted file mode 100644 index c8facca1b..000000000 --- a/ecs/include/alibabacloud/ecs/model/ReInitVolumeResult.h +++ /dev/null @@ -1,49 +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_ECS_MODEL_REINITVOLUMERESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_REINITVOLUMERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT ReInitVolumeResult : public ServiceResult - { - public: - - - ReInitVolumeResult(); - explicit ReInitVolumeResult(const std::string &payload); - ~ReInitVolumeResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_REINITVOLUMERESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/ResizeVolumeRequest.h b/ecs/include/alibabacloud/ecs/model/ResizeVolumeRequest.h deleted file mode 100644 index 2b176ac0c..000000000 --- a/ecs/include/alibabacloud/ecs/model/ResizeVolumeRequest.h +++ /dev/null @@ -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_ECS_MODEL_RESIZEVOLUMEREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_RESIZEVOLUMEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT ResizeVolumeRequest : public RpcServiceRequest - { - - public: - ResizeVolumeRequest(); - ~ResizeVolumeRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getClientToken()const; - void setClientToken(const std::string& clientToken); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getVolumeId()const; - void setVolumeId(const std::string& volumeId); - int getNewSize()const; - void setNewSize(int newSize); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string regionId_; - std::string clientToken_; - std::string ownerAccount_; - std::string volumeId_; - int newSize_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_RESIZEVOLUMEREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/ResizeVolumeResult.h b/ecs/include/alibabacloud/ecs/model/ResizeVolumeResult.h deleted file mode 100644 index 330339ed9..000000000 --- a/ecs/include/alibabacloud/ecs/model/ResizeVolumeResult.h +++ /dev/null @@ -1,49 +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_ECS_MODEL_RESIZEVOLUMERESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_RESIZEVOLUMERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT ResizeVolumeResult : public ServiceResult - { - public: - - - ResizeVolumeResult(); - explicit ResizeVolumeResult(const std::string &payload); - ~ResizeVolumeResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_RESIZEVOLUMERESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/RollbackVolumeRequest.h b/ecs/include/alibabacloud/ecs/model/RollbackVolumeRequest.h deleted file mode 100644 index 0ed5de059..000000000 --- a/ecs/include/alibabacloud/ecs/model/RollbackVolumeRequest.h +++ /dev/null @@ -1,66 +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_ECS_MODEL_ROLLBACKVOLUMEREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_ROLLBACKVOLUMEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT RollbackVolumeRequest : public RpcServiceRequest - { - - public: - RollbackVolumeRequest(); - ~RollbackVolumeRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getSnapshotId()const; - void setSnapshotId(const std::string& snapshotId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getVolumeId()const; - void setVolumeId(const std::string& volumeId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long resourceOwnerId_; - std::string snapshotId_; - std::string resourceOwnerAccount_; - std::string regionId_; - std::string ownerAccount_; - std::string volumeId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_ROLLBACKVOLUMEREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/RollbackVolumeResult.h b/ecs/include/alibabacloud/ecs/model/RollbackVolumeResult.h deleted file mode 100644 index 69f5e8bea..000000000 --- a/ecs/include/alibabacloud/ecs/model/RollbackVolumeResult.h +++ /dev/null @@ -1,49 +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_ECS_MODEL_ROLLBACKVOLUMERESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_ROLLBACKVOLUMERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT RollbackVolumeResult : public ServiceResult - { - public: - - - RollbackVolumeResult(); - explicit RollbackVolumeResult(const std::string &payload); - ~RollbackVolumeResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_ROLLBACKVOLUMERESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/RunInstancesRequest.h b/ecs/include/alibabacloud/ecs/model/RunInstancesRequest.h index 1a065ba45..3cdb62ed6 100644 --- a/ecs/include/alibabacloud/ecs/model/RunInstancesRequest.h +++ b/ecs/include/alibabacloud/ecs/model/RunInstancesRequest.h @@ -81,6 +81,8 @@ namespace AlibabaCloud void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); std::string getCallerType()const; void setCallerType(const std::string& callerType); + bool getDeletionProtection()const; + void setDeletionProtection(bool deletionProtection); std::string getResourceGroupId()const; void setResourceGroupId(const std::string& resourceGroupId); std::string getHostName()const; @@ -216,6 +218,7 @@ namespace AlibabaCloud float spotPriceLimit_; std::string ownerIdLoginEmail_; std::string callerType_; + bool deletionProtection_; std::string resourceGroupId_; std::string hostName_; std::string password_; diff --git a/ecs/include/alibabacloud/ecs/model/SignAgreementRequest.h b/ecs/include/alibabacloud/ecs/model/SignAgreementRequest.h deleted file mode 100644 index 3e6a6b3b2..000000000 --- a/ecs/include/alibabacloud/ecs/model/SignAgreementRequest.h +++ /dev/null @@ -1,114 +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_ECS_MODEL_SIGNAGREEMENTREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_SIGNAGREEMENTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT SignAgreementRequest : public RpcServiceRequest - { - - public: - SignAgreementRequest(); - ~SignAgreementRequest(); - - std::string getApp_ip()const; - void setApp_ip(const std::string& app_ip); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - long getCallerParentId()const; - void setCallerParentId(long callerParentId); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - bool getProxy_original_security_transport()const; - void setProxy_original_security_transport(bool proxy_original_security_transport); - std::string getCallerBid()const; - void setCallerBid(const std::string& callerBid); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getProxy_original_source_ip()const; - void setProxy_original_source_ip(const std::string& proxy_original_source_ip); - std::string getOwnerIdLoginEmail()const; - void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); - std::string getCallerType()const; - void setCallerType(const std::string& callerType); - bool getProxy_trust_transport_info()const; - void setProxy_trust_transport_info(bool proxy_trust_transport_info); - bool getAk_mfa_present()const; - void setAk_mfa_present(bool ak_mfa_present); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - bool getSecurity_transport()const; - void setSecurity_transport(bool security_transport); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getRequestId()const; - void setRequestId(const std::string& requestId); - bool getEnable()const; - void setEnable(bool enable); - std::string getRequestContent()const; - void setRequestContent(const std::string& requestContent); - std::string getAgreementType()const; - void setAgreementType(const std::string& agreementType); - std::string getCallerBidEmail()const; - void setCallerBidEmail(const std::string& callerBidEmail); - std::string getCallerUidEmail()const; - void setCallerUidEmail(const std::string& callerUidEmail); - long getCallerUid()const; - void setCallerUid(long callerUid); - - private: - std::string app_ip_; - long resourceOwnerId_; - std::string resourceOwnerAccount_; - long callerParentId_; - std::string ownerAccount_; - bool proxy_original_security_transport_; - std::string callerBid_; - long ownerId_; - std::string proxy_original_source_ip_; - std::string ownerIdLoginEmail_; - std::string callerType_; - bool proxy_trust_transport_info_; - bool ak_mfa_present_; - std::string accessKeyId_; - bool security_transport_; - std::string securityToken_; - std::string requestId_; - bool enable_; - std::string requestContent_; - std::string agreementType_; - std::string callerBidEmail_; - std::string callerUidEmail_; - long callerUid_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_SIGNAGREEMENTREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/SignAgreementResult.h b/ecs/include/alibabacloud/ecs/model/SignAgreementResult.h deleted file mode 100644 index 0c0d25545..000000000 --- a/ecs/include/alibabacloud/ecs/model/SignAgreementResult.h +++ /dev/null @@ -1,49 +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_ECS_MODEL_SIGNAGREEMENTRESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_SIGNAGREEMENTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT SignAgreementResult : public ServiceResult - { - public: - - - SignAgreementResult(); - explicit SignAgreementResult(const std::string &payload); - ~SignAgreementResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_SIGNAGREEMENTRESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/UnbindIpRangeRequest.h b/ecs/include/alibabacloud/ecs/model/UnbindIpRangeRequest.h deleted file mode 100644 index 89f21c35e..000000000 --- a/ecs/include/alibabacloud/ecs/model/UnbindIpRangeRequest.h +++ /dev/null @@ -1,63 +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_ECS_MODEL_UNBINDIPRANGEREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_UNBINDIPRANGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT UnbindIpRangeRequest : public RpcServiceRequest - { - - public: - UnbindIpRangeRequest(); - ~UnbindIpRangeRequest(); - - std::string getIpAddress()const; - void setIpAddress(const std::string& ipAddress); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string ipAddress_; - long resourceOwnerId_; - std::string instanceId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_UNBINDIPRANGEREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/UnbindIpRangeResult.h b/ecs/include/alibabacloud/ecs/model/UnbindIpRangeResult.h deleted file mode 100644 index 14ad5c530..000000000 --- a/ecs/include/alibabacloud/ecs/model/UnbindIpRangeResult.h +++ /dev/null @@ -1,49 +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_ECS_MODEL_UNBINDIPRANGERESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_UNBINDIPRANGERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT UnbindIpRangeResult : public ServiceResult - { - public: - - - UnbindIpRangeResult(); - explicit UnbindIpRangeResult(const std::string &payload); - ~UnbindIpRangeResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_UNBINDIPRANGERESULT_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/ValidateSecurityGroupRequest.h b/ecs/include/alibabacloud/ecs/model/ValidateSecurityGroupRequest.h deleted file mode 100644 index b9bf70bc7..000000000 --- a/ecs/include/alibabacloud/ecs/model/ValidateSecurityGroupRequest.h +++ /dev/null @@ -1,138 +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_ECS_MODEL_VALIDATESECURITYGROUPREQUEST_H_ -#define ALIBABACLOUD_ECS_MODEL_VALIDATESECURITYGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT ValidateSecurityGroupRequest : public RpcServiceRequest - { - - public: - ValidateSecurityGroupRequest(); - ~ValidateSecurityGroupRequest(); - - std::string getNicType()const; - void setNicType(const std::string& nicType); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - long getCallerParentId()const; - void setCallerParentId(long callerParentId); - bool getProxy_original_security_transport()const; - void setProxy_original_security_transport(bool proxy_original_security_transport); - std::string getProxy_original_source_ip()const; - void setProxy_original_source_ip(const std::string& proxy_original_source_ip); - std::string getOwnerIdLoginEmail()const; - void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail); - std::string getCallerType()const; - void setCallerType(const std::string& callerType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - int getSourcePort()const; - void setSourcePort(int sourcePort); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - bool getEnable()const; - void setEnable(bool enable); - std::string getRequestContent()const; - void setRequestContent(const std::string& requestContent); - std::string getCallerBidEmail()const; - void setCallerBidEmail(const std::string& callerBidEmail); - std::string getCallerUidEmail()const; - void setCallerUidEmail(const std::string& callerUidEmail); - long getCallerUid()const; - void setCallerUid(long callerUid); - std::string getDirection()const; - void setDirection(const std::string& direction); - std::string getDestIp()const; - void setDestIp(const std::string& destIp); - std::string getApp_ip()const; - void setApp_ip(const std::string& app_ip); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getIpProtocol()const; - void setIpProtocol(const std::string& ipProtocol); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getCallerBid()const; - void setCallerBid(const std::string& callerBid); - long getOwnerId()const; - void setOwnerId(long ownerId); - bool getProxy_trust_transport_info()const; - void setProxy_trust_transport_info(bool proxy_trust_transport_info); - bool getAk_mfa_present()const; - void setAk_mfa_present(bool ak_mfa_present); - bool getSecurity_transport()const; - void setSecurity_transport(bool security_transport); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getRequestId()const; - void setRequestId(const std::string& requestId); - int getDestPort()const; - void setDestPort(int destPort); - - private: - std::string nicType_; - long resourceOwnerId_; - long callerParentId_; - bool proxy_original_security_transport_; - std::string proxy_original_source_ip_; - std::string ownerIdLoginEmail_; - std::string callerType_; - std::string accessKeyId_; - int sourcePort_; - std::string sourceIp_; - std::string securityToken_; - std::string regionId_; - bool enable_; - std::string requestContent_; - std::string callerBidEmail_; - std::string callerUidEmail_; - long callerUid_; - std::string direction_; - std::string destIp_; - std::string app_ip_; - std::string resourceOwnerAccount_; - std::string ipProtocol_; - std::string ownerAccount_; - std::string callerBid_; - long ownerId_; - bool proxy_trust_transport_info_; - bool ak_mfa_present_; - bool security_transport_; - std::string instanceId_; - std::string requestId_; - int destPort_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_VALIDATESECURITYGROUPREQUEST_H_ \ No newline at end of file diff --git a/ecs/include/alibabacloud/ecs/model/ValidateSecurityGroupResult.h b/ecs/include/alibabacloud/ecs/model/ValidateSecurityGroupResult.h deleted file mode 100644 index fd0b30f4c..000000000 --- a/ecs/include/alibabacloud/ecs/model/ValidateSecurityGroupResult.h +++ /dev/null @@ -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. - */ - -#ifndef ALIBABACLOUD_ECS_MODEL_VALIDATESECURITYGROUPRESULT_H_ -#define ALIBABACLOUD_ECS_MODEL_VALIDATESECURITYGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ecs - { - namespace Model - { - class ALIBABACLOUD_ECS_EXPORT ValidateSecurityGroupResult : public ServiceResult - { - public: - struct TriggeredGroupRule - { - std::string sourceGroupId; - std::string policy; - std::string description; - std::string priority; - std::string createTime; - std::string nicType; - std::string destGroupId; - std::string direction; - std::string sourceGroupName; - std::string portRange; - std::string destGroupOwnerAccount; - std::string sourceCidrIp; - std::string ipProtocol; - std::string destGroupName; - std::string destCidrIp; - std::string sourceGroupOwnerAccount; - }; - - - ValidateSecurityGroupResult(); - explicit ValidateSecurityGroupResult(const std::string &payload); - ~ValidateSecurityGroupResult(); - std::string getPolicy()const; - TriggeredGroupRule getTriggeredGroupRule()const; - - protected: - void parse(const std::string &payload); - private: - std::string policy_; - TriggeredGroupRule triggeredGroupRule_; - - }; - } - } -} -#endif // !ALIBABACLOUD_ECS_MODEL_VALIDATESECURITYGROUPRESULT_H_ \ No newline at end of file diff --git a/ecs/src/EcsClient.cc b/ecs/src/EcsClient.cc index 8ebc84168..6e94d5c36 100644 --- a/ecs/src/EcsClient.cc +++ b/ecs/src/EcsClient.cc @@ -771,42 +771,6 @@ EcsClient::DescribeInstanceHistoryEventsOutcomeCallable EcsClient::describeInsta return task->get_future(); } -EcsClient::DescribeInstanceTopologyOutcome EcsClient::describeInstanceTopology(const DescribeInstanceTopologyRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeInstanceTopologyOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeInstanceTopologyOutcome(DescribeInstanceTopologyResult(outcome.result())); - else - return DescribeInstanceTopologyOutcome(outcome.error()); -} - -void EcsClient::describeInstanceTopologyAsync(const DescribeInstanceTopologyRequest& request, const DescribeInstanceTopologyAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeInstanceTopology(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::DescribeInstanceTopologyOutcomeCallable EcsClient::describeInstanceTopologyCallable(const DescribeInstanceTopologyRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeInstanceTopology(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcsClient::DeletePhysicalConnectionOutcome EcsClient::deletePhysicalConnection(const DeletePhysicalConnectionRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -879,42 +843,6 @@ EcsClient::RevokeSecurityGroupOutcomeCallable EcsClient::revokeSecurityGroupCall return task->get_future(); } -EcsClient::CheckAutoSnapshotPolicyOutcome EcsClient::checkAutoSnapshotPolicy(const CheckAutoSnapshotPolicyRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CheckAutoSnapshotPolicyOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CheckAutoSnapshotPolicyOutcome(CheckAutoSnapshotPolicyResult(outcome.result())); - else - return CheckAutoSnapshotPolicyOutcome(outcome.error()); -} - -void EcsClient::checkAutoSnapshotPolicyAsync(const CheckAutoSnapshotPolicyRequest& request, const CheckAutoSnapshotPolicyAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, checkAutoSnapshotPolicy(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::CheckAutoSnapshotPolicyOutcomeCallable EcsClient::checkAutoSnapshotPolicyCallable(const CheckAutoSnapshotPolicyRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->checkAutoSnapshotPolicy(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcsClient::DescribeTaskAttributeOutcome EcsClient::describeTaskAttribute(const DescribeTaskAttributeRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1275,42 +1203,6 @@ EcsClient::AllocatePublicIpAddressOutcomeCallable EcsClient::allocatePublicIpAdd return task->get_future(); } -EcsClient::AttachVolumeOutcome EcsClient::attachVolume(const AttachVolumeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AttachVolumeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AttachVolumeOutcome(AttachVolumeResult(outcome.result())); - else - return AttachVolumeOutcome(outcome.error()); -} - -void EcsClient::attachVolumeAsync(const AttachVolumeRequest& request, const AttachVolumeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, attachVolume(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::AttachVolumeOutcomeCallable EcsClient::attachVolumeCallable(const AttachVolumeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->attachVolume(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcsClient::ModifyDedicatedHostAutoRenewAttributeOutcome EcsClient::modifyDedicatedHostAutoRenewAttribute(const ModifyDedicatedHostAutoRenewAttributeRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1779,42 +1671,6 @@ EcsClient::ConnectRouterInterfaceOutcomeCallable EcsClient::connectRouterInterfa return task->get_future(); } -EcsClient::AddIpRangeOutcome EcsClient::addIpRange(const AddIpRangeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AddIpRangeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AddIpRangeOutcome(AddIpRangeResult(outcome.result())); - else - return AddIpRangeOutcome(outcome.error()); -} - -void EcsClient::addIpRangeAsync(const AddIpRangeRequest& request, const AddIpRangeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, addIpRange(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::AddIpRangeOutcomeCallable EcsClient::addIpRangeCallable(const AddIpRangeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->addIpRange(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcsClient::GetInstanceConsoleOutputOutcome EcsClient::getInstanceConsoleOutput(const GetInstanceConsoleOutputRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2175,42 +2031,6 @@ EcsClient::ResizeDiskOutcomeCallable EcsClient::resizeDiskCallable(const ResizeD return task->get_future(); } -EcsClient::ResizeVolumeOutcome EcsClient::resizeVolume(const ResizeVolumeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ResizeVolumeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ResizeVolumeOutcome(ResizeVolumeResult(outcome.result())); - else - return ResizeVolumeOutcome(outcome.error()); -} - -void EcsClient::resizeVolumeAsync(const ResizeVolumeRequest& request, const ResizeVolumeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, resizeVolume(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::ResizeVolumeOutcomeCallable EcsClient::resizeVolumeCallable(const ResizeVolumeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->resizeVolume(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcsClient::ModifyDedicatedHostAttributeOutcome EcsClient::modifyDedicatedHostAttribute(const ModifyDedicatedHostAttributeRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2391,78 +2211,6 @@ EcsClient::CreateRouterInterfaceOutcomeCallable EcsClient::createRouterInterface return task->get_future(); } -EcsClient::ModifyVolumeAttributeOutcome EcsClient::modifyVolumeAttribute(const ModifyVolumeAttributeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyVolumeAttributeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyVolumeAttributeOutcome(ModifyVolumeAttributeResult(outcome.result())); - else - return ModifyVolumeAttributeOutcome(outcome.error()); -} - -void EcsClient::modifyVolumeAttributeAsync(const ModifyVolumeAttributeRequest& request, const ModifyVolumeAttributeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyVolumeAttribute(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::ModifyVolumeAttributeOutcomeCallable EcsClient::modifyVolumeAttributeCallable(const ModifyVolumeAttributeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyVolumeAttribute(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EcsClient::CheckDiskEnableAutoSnapshotValidationOutcome EcsClient::checkDiskEnableAutoSnapshotValidation(const CheckDiskEnableAutoSnapshotValidationRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CheckDiskEnableAutoSnapshotValidationOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CheckDiskEnableAutoSnapshotValidationOutcome(CheckDiskEnableAutoSnapshotValidationResult(outcome.result())); - else - return CheckDiskEnableAutoSnapshotValidationOutcome(outcome.error()); -} - -void EcsClient::checkDiskEnableAutoSnapshotValidationAsync(const CheckDiskEnableAutoSnapshotValidationRequest& request, const CheckDiskEnableAutoSnapshotValidationAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, checkDiskEnableAutoSnapshotValidation(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::CheckDiskEnableAutoSnapshotValidationOutcomeCallable EcsClient::checkDiskEnableAutoSnapshotValidationCallable(const CheckDiskEnableAutoSnapshotValidationRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->checkDiskEnableAutoSnapshotValidation(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcsClient::RunInstancesOutcome EcsClient::runInstances(const RunInstancesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3795,42 +3543,6 @@ EcsClient::DescribeSnapshotPackageOutcomeCallable EcsClient::describeSnapshotPac return task->get_future(); } -EcsClient::ReInitVolumeOutcome EcsClient::reInitVolume(const ReInitVolumeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ReInitVolumeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ReInitVolumeOutcome(ReInitVolumeResult(outcome.result())); - else - return ReInitVolumeOutcome(outcome.error()); -} - -void EcsClient::reInitVolumeAsync(const ReInitVolumeRequest& request, const ReInitVolumeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, reInitVolume(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::ReInitVolumeOutcomeCallable EcsClient::reInitVolumeCallable(const ReInitVolumeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->reInitVolume(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcsClient::RebootInstanceOutcome EcsClient::rebootInstance(const RebootInstanceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3867,42 +3579,6 @@ EcsClient::RebootInstanceOutcomeCallable EcsClient::rebootInstanceCallable(const return task->get_future(); } -EcsClient::BindIpRangeOutcome EcsClient::bindIpRange(const BindIpRangeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return BindIpRangeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return BindIpRangeOutcome(BindIpRangeResult(outcome.result())); - else - return BindIpRangeOutcome(outcome.error()); -} - -void EcsClient::bindIpRangeAsync(const BindIpRangeRequest& request, const BindIpRangeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, bindIpRange(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::BindIpRangeOutcomeCallable EcsClient::bindIpRangeCallable(const BindIpRangeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->bindIpRange(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcsClient::InvokeCommandOutcome EcsClient::invokeCommand(const InvokeCommandRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4047,42 +3723,6 @@ EcsClient::DescribeHpcClustersOutcomeCallable EcsClient::describeHpcClustersCall return task->get_future(); } -EcsClient::CancelAgreementOutcome EcsClient::cancelAgreement(const CancelAgreementRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CancelAgreementOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CancelAgreementOutcome(CancelAgreementResult(outcome.result())); - else - return CancelAgreementOutcome(outcome.error()); -} - -void EcsClient::cancelAgreementAsync(const CancelAgreementRequest& request, const CancelAgreementAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, cancelAgreement(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::CancelAgreementOutcomeCallable EcsClient::cancelAgreementCallable(const CancelAgreementRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->cancelAgreement(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcsClient::ModifyInstanceChargeTypeOutcome EcsClient::modifyInstanceChargeType(const ModifyInstanceChargeTypeRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4371,42 +4011,6 @@ EcsClient::DeleteDeploymentSetOutcomeCallable EcsClient::deleteDeploymentSetCall return task->get_future(); } -EcsClient::DescribeDeploymentSetTopologyOutcome EcsClient::describeDeploymentSetTopology(const DescribeDeploymentSetTopologyRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDeploymentSetTopologyOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDeploymentSetTopologyOutcome(DescribeDeploymentSetTopologyResult(outcome.result())); - else - return DescribeDeploymentSetTopologyOutcome(outcome.error()); -} - -void EcsClient::describeDeploymentSetTopologyAsync(const DescribeDeploymentSetTopologyRequest& request, const DescribeDeploymentSetTopologyAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDeploymentSetTopology(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::DescribeDeploymentSetTopologyOutcomeCallable EcsClient::describeDeploymentSetTopologyCallable(const DescribeDeploymentSetTopologyRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDeploymentSetTopology(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcsClient::ModifyInstanceVpcAttributeOutcome EcsClient::modifyInstanceVpcAttribute(const ModifyInstanceVpcAttributeRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4515,42 +4119,6 @@ EcsClient::AddTagsOutcomeCallable EcsClient::addTagsCallable(const AddTagsReques return task->get_future(); } -EcsClient::CancelUserEventOutcome EcsClient::cancelUserEvent(const CancelUserEventRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CancelUserEventOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CancelUserEventOutcome(CancelUserEventResult(outcome.result())); - else - return CancelUserEventOutcome(outcome.error()); -} - -void EcsClient::cancelUserEventAsync(const CancelUserEventRequest& request, const CancelUserEventAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, cancelUserEvent(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::CancelUserEventOutcomeCallable EcsClient::cancelUserEventCallable(const CancelUserEventRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->cancelUserEvent(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcsClient::CreateHpcClusterOutcome EcsClient::createHpcCluster(const CreateHpcClusterRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5271,42 +4839,6 @@ EcsClient::AuthorizeSecurityGroupEgressOutcomeCallable EcsClient::authorizeSecur return task->get_future(); } -EcsClient::SignAgreementOutcome EcsClient::signAgreement(const SignAgreementRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SignAgreementOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SignAgreementOutcome(SignAgreementResult(outcome.result())); - else - return SignAgreementOutcome(outcome.error()); -} - -void EcsClient::signAgreementAsync(const SignAgreementRequest& request, const SignAgreementAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, signAgreement(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::SignAgreementOutcomeCallable EcsClient::signAgreementCallable(const SignAgreementRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->signAgreement(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcsClient::ImportImageOutcome EcsClient::importImage(const ImportImageRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6063,78 +5595,6 @@ EcsClient::DescribeNewProjectEipMonitorDataOutcomeCallable EcsClient::describeNe return task->get_future(); } -EcsClient::UnbindIpRangeOutcome EcsClient::unbindIpRange(const UnbindIpRangeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UnbindIpRangeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UnbindIpRangeOutcome(UnbindIpRangeResult(outcome.result())); - else - return UnbindIpRangeOutcome(outcome.error()); -} - -void EcsClient::unbindIpRangeAsync(const UnbindIpRangeRequest& request, const UnbindIpRangeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, unbindIpRange(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::UnbindIpRangeOutcomeCallable EcsClient::unbindIpRangeCallable(const UnbindIpRangeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->unbindIpRange(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EcsClient::DeleteRecycleBinOutcome EcsClient::deleteRecycleBin(const DeleteRecycleBinRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteRecycleBinOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteRecycleBinOutcome(DeleteRecycleBinResult(outcome.result())); - else - return DeleteRecycleBinOutcome(outcome.error()); -} - -void EcsClient::deleteRecycleBinAsync(const DeleteRecycleBinRequest& request, const DeleteRecycleBinAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteRecycleBin(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::DeleteRecycleBinOutcomeCallable EcsClient::deleteRecycleBinCallable(const DeleteRecycleBinRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteRecycleBin(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcsClient::DescribeInstanceRamRoleOutcome EcsClient::describeInstanceRamRole(const DescribeInstanceRamRoleRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6567,78 +6027,6 @@ EcsClient::ModifyDiskChargeTypeOutcomeCallable EcsClient::modifyDiskChargeTypeCa return task->get_future(); } -EcsClient::DescribeVolumesOutcome EcsClient::describeVolumes(const DescribeVolumesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeVolumesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeVolumesOutcome(DescribeVolumesResult(outcome.result())); - else - return DescribeVolumesOutcome(outcome.error()); -} - -void EcsClient::describeVolumesAsync(const DescribeVolumesRequest& request, const DescribeVolumesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeVolumes(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::DescribeVolumesOutcomeCallable EcsClient::describeVolumesCallable(const DescribeVolumesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeVolumes(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EcsClient::ModifyIntranetBandwidthKbOutcome EcsClient::modifyIntranetBandwidthKb(const ModifyIntranetBandwidthKbRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyIntranetBandwidthKbOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyIntranetBandwidthKbOutcome(ModifyIntranetBandwidthKbResult(outcome.result())); - else - return ModifyIntranetBandwidthKbOutcome(outcome.error()); -} - -void EcsClient::modifyIntranetBandwidthKbAsync(const ModifyIntranetBandwidthKbRequest& request, const ModifyIntranetBandwidthKbAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyIntranetBandwidthKb(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::ModifyIntranetBandwidthKbOutcomeCallable EcsClient::modifyIntranetBandwidthKbCallable(const ModifyIntranetBandwidthKbRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyIntranetBandwidthKb(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcsClient::DescribeBandwidthPackagesOutcome EcsClient::describeBandwidthPackages(const DescribeBandwidthPackagesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6783,42 +6171,6 @@ EcsClient::DescribeSnapshotLinksOutcomeCallable EcsClient::describeSnapshotLinks return task->get_future(); } -EcsClient::DescribeEventDetailOutcome EcsClient::describeEventDetail(const DescribeEventDetailRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeEventDetailOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeEventDetailOutcome(DescribeEventDetailResult(outcome.result())); - else - return DescribeEventDetailOutcome(outcome.error()); -} - -void EcsClient::describeEventDetailAsync(const DescribeEventDetailRequest& request, const DescribeEventDetailAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeEventDetail(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::DescribeEventDetailOutcomeCallable EcsClient::describeEventDetailCallable(const DescribeEventDetailRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeEventDetail(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcsClient::DescribeInvocationResultsOutcome EcsClient::describeInvocationResults(const DescribeInvocationResultsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6891,78 +6243,6 @@ EcsClient::DescribeRecommendInstanceTypeOutcomeCallable EcsClient::describeRecom return task->get_future(); } -EcsClient::DescribeTagKeysOutcome EcsClient::describeTagKeys(const DescribeTagKeysRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeTagKeysOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeTagKeysOutcome(DescribeTagKeysResult(outcome.result())); - else - return DescribeTagKeysOutcome(outcome.error()); -} - -void EcsClient::describeTagKeysAsync(const DescribeTagKeysRequest& request, const DescribeTagKeysAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeTagKeys(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::DescribeTagKeysOutcomeCallable EcsClient::describeTagKeysCallable(const DescribeTagKeysRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeTagKeys(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EcsClient::CreateVolumeOutcome EcsClient::createVolume(const CreateVolumeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateVolumeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateVolumeOutcome(CreateVolumeResult(outcome.result())); - else - return CreateVolumeOutcome(outcome.error()); -} - -void EcsClient::createVolumeAsync(const CreateVolumeRequest& request, const CreateVolumeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createVolume(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::CreateVolumeOutcomeCallable EcsClient::createVolumeCallable(const CreateVolumeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createVolume(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcsClient::DescribeDedicatedHostAutoRenewOutcome EcsClient::describeDedicatedHostAutoRenew(const DescribeDedicatedHostAutoRenewRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -7071,42 +6351,6 @@ EcsClient::CreateLaunchTemplateOutcomeCallable EcsClient::createLaunchTemplateCa return task->get_future(); } -EcsClient::DescribeIntranetAttributeKbOutcome EcsClient::describeIntranetAttributeKb(const DescribeIntranetAttributeKbRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeIntranetAttributeKbOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeIntranetAttributeKbOutcome(DescribeIntranetAttributeKbResult(outcome.result())); - else - return DescribeIntranetAttributeKbOutcome(outcome.error()); -} - -void EcsClient::describeIntranetAttributeKbAsync(const DescribeIntranetAttributeKbRequest& request, const DescribeIntranetAttributeKbAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeIntranetAttributeKb(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::DescribeIntranetAttributeKbOutcomeCallable EcsClient::describeIntranetAttributeKbCallable(const DescribeIntranetAttributeKbRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeIntranetAttributeKb(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcsClient::CreateNetworkInterfacePermissionOutcome EcsClient::createNetworkInterfacePermission(const CreateNetworkInterfacePermissionRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -7431,78 +6675,6 @@ EcsClient::DescribeInstanceTypeFamiliesOutcomeCallable EcsClient::describeInstan return task->get_future(); } -EcsClient::RollbackVolumeOutcome EcsClient::rollbackVolume(const RollbackVolumeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RollbackVolumeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RollbackVolumeOutcome(RollbackVolumeResult(outcome.result())); - else - return RollbackVolumeOutcome(outcome.error()); -} - -void EcsClient::rollbackVolumeAsync(const RollbackVolumeRequest& request, const RollbackVolumeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, rollbackVolume(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::RollbackVolumeOutcomeCallable EcsClient::rollbackVolumeCallable(const RollbackVolumeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->rollbackVolume(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EcsClient::DeleteVolumeOutcome EcsClient::deleteVolume(const DeleteVolumeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteVolumeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteVolumeOutcome(DeleteVolumeResult(outcome.result())); - else - return DeleteVolumeOutcome(outcome.error()); -} - -void EcsClient::deleteVolumeAsync(const DeleteVolumeRequest& request, const DeleteVolumeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteVolume(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::DeleteVolumeOutcomeCallable EcsClient::deleteVolumeCallable(const DeleteVolumeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteVolume(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcsClient::CreateForwardEntryOutcome EcsClient::createForwardEntry(const CreateForwardEntryRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -8043,42 +7215,6 @@ EcsClient::CreatePhysicalConnectionOutcomeCallable EcsClient::createPhysicalConn return task->get_future(); } -EcsClient::ModifyUserEventAttributeOutcome EcsClient::modifyUserEventAttribute(const ModifyUserEventAttributeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyUserEventAttributeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyUserEventAttributeOutcome(ModifyUserEventAttributeResult(outcome.result())); - else - return ModifyUserEventAttributeOutcome(outcome.error()); -} - -void EcsClient::modifyUserEventAttributeAsync(const ModifyUserEventAttributeRequest& request, const ModifyUserEventAttributeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyUserEventAttribute(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::ModifyUserEventAttributeOutcomeCallable EcsClient::modifyUserEventAttributeCallable(const ModifyUserEventAttributeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyUserEventAttribute(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcsClient::DescribeKeyPairsOutcome EcsClient::describeKeyPairs(const DescribeKeyPairsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -8439,42 +7575,6 @@ EcsClient::DescribeInstancePhysicalAttributeOutcomeCallable EcsClient::describeI return task->get_future(); } -EcsClient::ValidateSecurityGroupOutcome EcsClient::validateSecurityGroup(const ValidateSecurityGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ValidateSecurityGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ValidateSecurityGroupOutcome(ValidateSecurityGroupResult(outcome.result())); - else - return ValidateSecurityGroupOutcome(outcome.error()); -} - -void EcsClient::validateSecurityGroupAsync(const ValidateSecurityGroupRequest& request, const ValidateSecurityGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, validateSecurityGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::ValidateSecurityGroupOutcomeCallable EcsClient::validateSecurityGroupCallable(const ValidateSecurityGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->validateSecurityGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcsClient::TerminatePhysicalConnectionOutcome EcsClient::terminatePhysicalConnection(const TerminatePhysicalConnectionRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -8871,78 +7971,6 @@ EcsClient::DescribeClassicLinkInstancesOutcomeCallable EcsClient::describeClassi return task->get_future(); } -EcsClient::CreateUserEventOutcome EcsClient::createUserEvent(const CreateUserEventRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateUserEventOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateUserEventOutcome(CreateUserEventResult(outcome.result())); - else - return CreateUserEventOutcome(outcome.error()); -} - -void EcsClient::createUserEventAsync(const CreateUserEventRequest& request, const CreateUserEventAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createUserEvent(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::CreateUserEventOutcomeCallable EcsClient::createUserEventCallable(const CreateUserEventRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createUserEvent(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EcsClient::DescribeAutoSnapshotPolicyOutcome EcsClient::describeAutoSnapshotPolicy(const DescribeAutoSnapshotPolicyRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeAutoSnapshotPolicyOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeAutoSnapshotPolicyOutcome(DescribeAutoSnapshotPolicyResult(outcome.result())); - else - return DescribeAutoSnapshotPolicyOutcome(outcome.error()); -} - -void EcsClient::describeAutoSnapshotPolicyAsync(const DescribeAutoSnapshotPolicyRequest& request, const DescribeAutoSnapshotPolicyAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeAutoSnapshotPolicy(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::DescribeAutoSnapshotPolicyOutcomeCallable EcsClient::describeAutoSnapshotPolicyCallable(const DescribeAutoSnapshotPolicyRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeAutoSnapshotPolicy(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcsClient::DescribePhysicalConnectionsOutcome EcsClient::describePhysicalConnections(const DescribePhysicalConnectionsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -8979,78 +8007,6 @@ EcsClient::DescribePhysicalConnectionsOutcomeCallable EcsClient::describePhysica return task->get_future(); } -EcsClient::DescribeRecycleBinOutcome EcsClient::describeRecycleBin(const DescribeRecycleBinRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeRecycleBinOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeRecycleBinOutcome(DescribeRecycleBinResult(outcome.result())); - else - return DescribeRecycleBinOutcome(outcome.error()); -} - -void EcsClient::describeRecycleBinAsync(const DescribeRecycleBinRequest& request, const DescribeRecycleBinAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeRecycleBin(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::DescribeRecycleBinOutcomeCallable EcsClient::describeRecycleBinCallable(const DescribeRecycleBinRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeRecycleBin(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EcsClient::DetachVolumeOutcome EcsClient::detachVolume(const DetachVolumeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DetachVolumeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DetachVolumeOutcome(DetachVolumeResult(outcome.result())); - else - return DetachVolumeOutcome(outcome.error()); -} - -void EcsClient::detachVolumeAsync(const DetachVolumeRequest& request, const DetachVolumeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, detachVolume(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::DetachVolumeOutcomeCallable EcsClient::detachVolumeCallable(const DetachVolumeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->detachVolume(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcsClient::CreateNetworkInterfaceOutcome EcsClient::createNetworkInterface(const CreateNetworkInterfaceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -9087,42 +8043,6 @@ EcsClient::CreateNetworkInterfaceOutcomeCallable EcsClient::createNetworkInterfa return task->get_future(); } -EcsClient::DescribeIpRangesOutcome EcsClient::describeIpRanges(const DescribeIpRangesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeIpRangesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeIpRangesOutcome(DescribeIpRangesResult(outcome.result())); - else - return DescribeIpRangesOutcome(outcome.error()); -} - -void EcsClient::describeIpRangesAsync(const DescribeIpRangesRequest& request, const DescribeIpRangesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeIpRanges(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::DescribeIpRangesOutcomeCallable EcsClient::describeIpRangesCallable(const DescribeIpRangesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeIpRanges(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcsClient::DeleteNetworkInterfacePermissionOutcome EcsClient::deleteNetworkInterfacePermission(const DeleteNetworkInterfacePermissionRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -9447,42 +8367,6 @@ EcsClient::DeleteDiskOutcomeCallable EcsClient::deleteDiskCallable(const DeleteD return task->get_future(); } -EcsClient::DescribeEventsOutcome EcsClient::describeEvents(const DescribeEventsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeEventsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeEventsOutcome(DescribeEventsResult(outcome.result())); - else - return DescribeEventsOutcome(outcome.error()); -} - -void EcsClient::describeEventsAsync(const DescribeEventsRequest& request, const DescribeEventsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeEvents(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcsClient::DescribeEventsOutcomeCallable EcsClient::describeEventsCallable(const DescribeEventsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeEvents(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcsClient::UnassociateHaVipOutcome EcsClient::unassociateHaVip(const UnassociateHaVipRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/ecs/src/model/AddIpRangeRequest.cc b/ecs/src/model/AddIpRangeRequest.cc deleted file mode 100644 index a9f6cb1f0..000000000 --- a/ecs/src/model/AddIpRangeRequest.cc +++ /dev/null @@ -1,104 +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 - -using AlibabaCloud::Ecs::Model::AddIpRangeRequest; - -AddIpRangeRequest::AddIpRangeRequest() : - RpcServiceRequest("ecs", "2014-05-26", "AddIpRange") -{} - -AddIpRangeRequest::~AddIpRangeRequest() -{} - -std::string AddIpRangeRequest::getIpAddress()const -{ - return ipAddress_; -} - -void AddIpRangeRequest::setIpAddress(const std::string& ipAddress) -{ - ipAddress_ = ipAddress; - setParameter("IpAddress", ipAddress); -} - -long AddIpRangeRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void AddIpRangeRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string AddIpRangeRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void AddIpRangeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string AddIpRangeRequest::getRegionId()const -{ - return regionId_; -} - -void AddIpRangeRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string AddIpRangeRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void AddIpRangeRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -std::string AddIpRangeRequest::getZoneId()const -{ - return zoneId_; -} - -void AddIpRangeRequest::setZoneId(const std::string& zoneId) -{ - zoneId_ = zoneId; - setParameter("ZoneId", zoneId); -} - -long AddIpRangeRequest::getOwnerId()const -{ - return ownerId_; -} - -void AddIpRangeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/ecs/src/model/AddIpRangeResult.cc b/ecs/src/model/AddIpRangeResult.cc deleted file mode 100644 index c4b31d4f4..000000000 --- a/ecs/src/model/AddIpRangeResult.cc +++ /dev/null @@ -1,45 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -AddIpRangeResult::AddIpRangeResult() : - ServiceResult() -{} - -AddIpRangeResult::AddIpRangeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AddIpRangeResult::~AddIpRangeResult() -{} - -void AddIpRangeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - diff --git a/ecs/src/model/AttachVolumeRequest.cc b/ecs/src/model/AttachVolumeRequest.cc deleted file mode 100644 index 090e7121f..000000000 --- a/ecs/src/model/AttachVolumeRequest.cc +++ /dev/null @@ -1,104 +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 - -using AlibabaCloud::Ecs::Model::AttachVolumeRequest; - -AttachVolumeRequest::AttachVolumeRequest() : - RpcServiceRequest("ecs", "2014-05-26", "AttachVolume") -{} - -AttachVolumeRequest::~AttachVolumeRequest() -{} - -long AttachVolumeRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void AttachVolumeRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string AttachVolumeRequest::getInstanceId()const -{ - return instanceId_; -} - -void AttachVolumeRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string AttachVolumeRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void AttachVolumeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string AttachVolumeRequest::getRegionId()const -{ - return regionId_; -} - -void AttachVolumeRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string AttachVolumeRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void AttachVolumeRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -std::string AttachVolumeRequest::getVolumeId()const -{ - return volumeId_; -} - -void AttachVolumeRequest::setVolumeId(const std::string& volumeId) -{ - volumeId_ = volumeId; - setParameter("VolumeId", volumeId); -} - -long AttachVolumeRequest::getOwnerId()const -{ - return ownerId_; -} - -void AttachVolumeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/ecs/src/model/AttachVolumeResult.cc b/ecs/src/model/AttachVolumeResult.cc deleted file mode 100644 index b2a0dd707..000000000 --- a/ecs/src/model/AttachVolumeResult.cc +++ /dev/null @@ -1,45 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -AttachVolumeResult::AttachVolumeResult() : - ServiceResult() -{} - -AttachVolumeResult::AttachVolumeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AttachVolumeResult::~AttachVolumeResult() -{} - -void AttachVolumeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - diff --git a/ecs/src/model/BindIpRangeRequest.cc b/ecs/src/model/BindIpRangeRequest.cc deleted file mode 100644 index ebc4b25aa..000000000 --- a/ecs/src/model/BindIpRangeRequest.cc +++ /dev/null @@ -1,93 +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 - -using AlibabaCloud::Ecs::Model::BindIpRangeRequest; - -BindIpRangeRequest::BindIpRangeRequest() : - RpcServiceRequest("ecs", "2014-05-26", "BindIpRange") -{} - -BindIpRangeRequest::~BindIpRangeRequest() -{} - -std::string BindIpRangeRequest::getIpAddress()const -{ - return ipAddress_; -} - -void BindIpRangeRequest::setIpAddress(const std::string& ipAddress) -{ - ipAddress_ = ipAddress; - setParameter("IpAddress", ipAddress); -} - -long BindIpRangeRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void BindIpRangeRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string BindIpRangeRequest::getInstanceId()const -{ - return instanceId_; -} - -void BindIpRangeRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string BindIpRangeRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void BindIpRangeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string BindIpRangeRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void BindIpRangeRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -long BindIpRangeRequest::getOwnerId()const -{ - return ownerId_; -} - -void BindIpRangeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/ecs/src/model/BindIpRangeResult.cc b/ecs/src/model/BindIpRangeResult.cc deleted file mode 100644 index dd1b57f4b..000000000 --- a/ecs/src/model/BindIpRangeResult.cc +++ /dev/null @@ -1,45 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -BindIpRangeResult::BindIpRangeResult() : - ServiceResult() -{} - -BindIpRangeResult::BindIpRangeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -BindIpRangeResult::~BindIpRangeResult() -{} - -void BindIpRangeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - diff --git a/ecs/src/model/CancelAgreementRequest.cc b/ecs/src/model/CancelAgreementRequest.cc deleted file mode 100644 index a3d75f787..000000000 --- a/ecs/src/model/CancelAgreementRequest.cc +++ /dev/null @@ -1,280 +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 - -using AlibabaCloud::Ecs::Model::CancelAgreementRequest; - -CancelAgreementRequest::CancelAgreementRequest() : - RpcServiceRequest("ecs", "2014-05-26", "CancelAgreement") -{} - -CancelAgreementRequest::~CancelAgreementRequest() -{} - -std::string CancelAgreementRequest::getApp_ip()const -{ - return app_ip_; -} - -void CancelAgreementRequest::setApp_ip(const std::string& app_ip) -{ - app_ip_ = app_ip; - setParameter("App_ip", app_ip); -} - -long CancelAgreementRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CancelAgreementRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CancelAgreementRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void CancelAgreementRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -long CancelAgreementRequest::getCallerParentId()const -{ - return callerParentId_; -} - -void CancelAgreementRequest::setCallerParentId(long callerParentId) -{ - callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); -} - -std::string CancelAgreementRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void CancelAgreementRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -bool CancelAgreementRequest::getProxy_original_security_transport()const -{ - return proxy_original_security_transport_; -} - -void CancelAgreementRequest::setProxy_original_security_transport(bool proxy_original_security_transport) -{ - proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); -} - -std::string CancelAgreementRequest::getCallerBid()const -{ - return callerBid_; -} - -void CancelAgreementRequest::setCallerBid(const std::string& callerBid) -{ - callerBid_ = callerBid; - setParameter("CallerBid", callerBid); -} - -long CancelAgreementRequest::getOwnerId()const -{ - return ownerId_; -} - -void CancelAgreementRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string CancelAgreementRequest::getProxy_original_source_ip()const -{ - return proxy_original_source_ip_; -} - -void CancelAgreementRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) -{ - proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); -} - -std::string CancelAgreementRequest::getOwnerIdLoginEmail()const -{ - return ownerIdLoginEmail_; -} - -void CancelAgreementRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) -{ - ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); -} - -std::string CancelAgreementRequest::getCallerType()const -{ - return callerType_; -} - -void CancelAgreementRequest::setCallerType(const std::string& callerType) -{ - callerType_ = callerType; - setParameter("CallerType", callerType); -} - -bool CancelAgreementRequest::getProxy_trust_transport_info()const -{ - return proxy_trust_transport_info_; -} - -void CancelAgreementRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) -{ - proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); -} - -bool CancelAgreementRequest::getAk_mfa_present()const -{ - return ak_mfa_present_; -} - -void CancelAgreementRequest::setAk_mfa_present(bool ak_mfa_present) -{ - ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); -} - -std::string CancelAgreementRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CancelAgreementRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -bool CancelAgreementRequest::getSecurity_transport()const -{ - return security_transport_; -} - -void CancelAgreementRequest::setSecurity_transport(bool security_transport) -{ - security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); -} - -std::string CancelAgreementRequest::getSecurityToken()const -{ - return securityToken_; -} - -void CancelAgreementRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string CancelAgreementRequest::getRequestId()const -{ - return requestId_; -} - -void CancelAgreementRequest::setRequestId(const std::string& requestId) -{ - requestId_ = requestId; - setParameter("RequestId", requestId); -} - -bool CancelAgreementRequest::getEnable()const -{ - return enable_; -} - -void CancelAgreementRequest::setEnable(bool enable) -{ - enable_ = enable; - setParameter("Enable", std::to_string(enable)); -} - -std::string CancelAgreementRequest::getRequestContent()const -{ - return requestContent_; -} - -void CancelAgreementRequest::setRequestContent(const std::string& requestContent) -{ - requestContent_ = requestContent; - setParameter("RequestContent", requestContent); -} - -std::string CancelAgreementRequest::getAgreementType()const -{ - return agreementType_; -} - -void CancelAgreementRequest::setAgreementType(const std::string& agreementType) -{ - agreementType_ = agreementType; - setParameter("AgreementType", agreementType); -} - -std::string CancelAgreementRequest::getCallerBidEmail()const -{ - return callerBidEmail_; -} - -void CancelAgreementRequest::setCallerBidEmail(const std::string& callerBidEmail) -{ - callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); -} - -std::string CancelAgreementRequest::getCallerUidEmail()const -{ - return callerUidEmail_; -} - -void CancelAgreementRequest::setCallerUidEmail(const std::string& callerUidEmail) -{ - callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); -} - -long CancelAgreementRequest::getCallerUid()const -{ - return callerUid_; -} - -void CancelAgreementRequest::setCallerUid(long callerUid) -{ - callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); -} - diff --git a/ecs/src/model/CancelAgreementResult.cc b/ecs/src/model/CancelAgreementResult.cc deleted file mode 100644 index 9daea92a4..000000000 --- a/ecs/src/model/CancelAgreementResult.cc +++ /dev/null @@ -1,45 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -CancelAgreementResult::CancelAgreementResult() : - ServiceResult() -{} - -CancelAgreementResult::CancelAgreementResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CancelAgreementResult::~CancelAgreementResult() -{} - -void CancelAgreementResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - diff --git a/ecs/src/model/CancelUserEventRequest.cc b/ecs/src/model/CancelUserEventRequest.cc deleted file mode 100644 index b8dc6b3c8..000000000 --- a/ecs/src/model/CancelUserEventRequest.cc +++ /dev/null @@ -1,291 +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 - -using AlibabaCloud::Ecs::Model::CancelUserEventRequest; - -CancelUserEventRequest::CancelUserEventRequest() : - RpcServiceRequest("ecs", "2014-05-26", "CancelUserEvent") -{} - -CancelUserEventRequest::~CancelUserEventRequest() -{} - -std::string CancelUserEventRequest::getEventId()const -{ - return eventId_; -} - -void CancelUserEventRequest::setEventId(const std::string& eventId) -{ - eventId_ = eventId; - setParameter("EventId", eventId); -} - -long CancelUserEventRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CancelUserEventRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -long CancelUserEventRequest::getCallerParentId()const -{ - return callerParentId_; -} - -void CancelUserEventRequest::setCallerParentId(long callerParentId) -{ - callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); -} - -bool CancelUserEventRequest::getProxy_original_security_transport()const -{ - return proxy_original_security_transport_; -} - -void CancelUserEventRequest::setProxy_original_security_transport(bool proxy_original_security_transport) -{ - proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); -} - -std::string CancelUserEventRequest::getProxy_original_source_ip()const -{ - return proxy_original_source_ip_; -} - -void CancelUserEventRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) -{ - proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); -} - -std::string CancelUserEventRequest::getOwnerIdLoginEmail()const -{ - return ownerIdLoginEmail_; -} - -void CancelUserEventRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) -{ - ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); -} - -std::string CancelUserEventRequest::getCallerType()const -{ - return callerType_; -} - -void CancelUserEventRequest::setCallerType(const std::string& callerType) -{ - callerType_ = callerType; - setParameter("CallerType", callerType); -} - -std::string CancelUserEventRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CancelUserEventRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string CancelUserEventRequest::getSecurityToken()const -{ - return securityToken_; -} - -void CancelUserEventRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string CancelUserEventRequest::getRegionId()const -{ - return regionId_; -} - -void CancelUserEventRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -bool CancelUserEventRequest::getEnable()const -{ - return enable_; -} - -void CancelUserEventRequest::setEnable(bool enable) -{ - enable_ = enable; - setParameter("Enable", std::to_string(enable)); -} - -std::string CancelUserEventRequest::getRequestContent()const -{ - return requestContent_; -} - -void CancelUserEventRequest::setRequestContent(const std::string& requestContent) -{ - requestContent_ = requestContent; - setParameter("RequestContent", requestContent); -} - -std::string CancelUserEventRequest::getCallerBidEmail()const -{ - return callerBidEmail_; -} - -void CancelUserEventRequest::setCallerBidEmail(const std::string& callerBidEmail) -{ - callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); -} - -std::string CancelUserEventRequest::getCallerUidEmail()const -{ - return callerUidEmail_; -} - -void CancelUserEventRequest::setCallerUidEmail(const std::string& callerUidEmail) -{ - callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); -} - -long CancelUserEventRequest::getCallerUid()const -{ - return callerUid_; -} - -void CancelUserEventRequest::setCallerUid(long callerUid) -{ - callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); -} - -std::string CancelUserEventRequest::getApp_ip()const -{ - return app_ip_; -} - -void CancelUserEventRequest::setApp_ip(const std::string& app_ip) -{ - app_ip_ = app_ip; - setParameter("App_ip", app_ip); -} - -std::string CancelUserEventRequest::getResourceId()const -{ - return resourceId_; -} - -void CancelUserEventRequest::setResourceId(const std::string& resourceId) -{ - resourceId_ = resourceId; - setParameter("ResourceId", resourceId); -} - -std::string CancelUserEventRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void CancelUserEventRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string CancelUserEventRequest::getCallerBid()const -{ - return callerBid_; -} - -void CancelUserEventRequest::setCallerBid(const std::string& callerBid) -{ - callerBid_ = callerBid; - setParameter("CallerBid", callerBid); -} - -long CancelUserEventRequest::getOwnerId()const -{ - return ownerId_; -} - -void CancelUserEventRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -bool CancelUserEventRequest::getProxy_trust_transport_info()const -{ - return proxy_trust_transport_info_; -} - -void CancelUserEventRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) -{ - proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); -} - -bool CancelUserEventRequest::getAk_mfa_present()const -{ - return ak_mfa_present_; -} - -void CancelUserEventRequest::setAk_mfa_present(bool ak_mfa_present) -{ - ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); -} - -bool CancelUserEventRequest::getSecurity_transport()const -{ - return security_transport_; -} - -void CancelUserEventRequest::setSecurity_transport(bool security_transport) -{ - security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); -} - -std::string CancelUserEventRequest::getRequestId()const -{ - return requestId_; -} - -void CancelUserEventRequest::setRequestId(const std::string& requestId) -{ - requestId_ = requestId; - setParameter("RequestId", requestId); -} - diff --git a/ecs/src/model/CancelUserEventResult.cc b/ecs/src/model/CancelUserEventResult.cc deleted file mode 100644 index d692be414..000000000 --- a/ecs/src/model/CancelUserEventResult.cc +++ /dev/null @@ -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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -CancelUserEventResult::CancelUserEventResult() : - ServiceResult() -{} - -CancelUserEventResult::CancelUserEventResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CancelUserEventResult::~CancelUserEventResult() -{} - -void CancelUserEventResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - if(!value["EventId"].isNull()) - eventId_ = value["EventId"].asString(); - -} - -std::string CancelUserEventResult::getEventId()const -{ - return eventId_; -} - diff --git a/ecs/src/model/CheckAutoSnapshotPolicyRequest.cc b/ecs/src/model/CheckAutoSnapshotPolicyRequest.cc deleted file mode 100644 index b3f0aae8c..000000000 --- a/ecs/src/model/CheckAutoSnapshotPolicyRequest.cc +++ /dev/null @@ -1,159 +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 - -using AlibabaCloud::Ecs::Model::CheckAutoSnapshotPolicyRequest; - -CheckAutoSnapshotPolicyRequest::CheckAutoSnapshotPolicyRequest() : - RpcServiceRequest("ecs", "2014-05-26", "CheckAutoSnapshotPolicy") -{} - -CheckAutoSnapshotPolicyRequest::~CheckAutoSnapshotPolicyRequest() -{} - -bool CheckAutoSnapshotPolicyRequest::getDataDiskPolicyEnabled()const -{ - return dataDiskPolicyEnabled_; -} - -void CheckAutoSnapshotPolicyRequest::setDataDiskPolicyEnabled(bool dataDiskPolicyEnabled) -{ - dataDiskPolicyEnabled_ = dataDiskPolicyEnabled; - setParameter("DataDiskPolicyEnabled", std::to_string(dataDiskPolicyEnabled)); -} - -long CheckAutoSnapshotPolicyRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CheckAutoSnapshotPolicyRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -int CheckAutoSnapshotPolicyRequest::getDataDiskPolicyRetentionDays()const -{ - return dataDiskPolicyRetentionDays_; -} - -void CheckAutoSnapshotPolicyRequest::setDataDiskPolicyRetentionDays(int dataDiskPolicyRetentionDays) -{ - dataDiskPolicyRetentionDays_ = dataDiskPolicyRetentionDays; - setParameter("DataDiskPolicyRetentionDays", std::to_string(dataDiskPolicyRetentionDays)); -} - -std::string CheckAutoSnapshotPolicyRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void CheckAutoSnapshotPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -bool CheckAutoSnapshotPolicyRequest::getSystemDiskPolicyRetentionLastWeek()const -{ - return systemDiskPolicyRetentionLastWeek_; -} - -void CheckAutoSnapshotPolicyRequest::setSystemDiskPolicyRetentionLastWeek(bool systemDiskPolicyRetentionLastWeek) -{ - systemDiskPolicyRetentionLastWeek_ = systemDiskPolicyRetentionLastWeek; - setParameter("SystemDiskPolicyRetentionLastWeek", std::to_string(systemDiskPolicyRetentionLastWeek)); -} - -std::string CheckAutoSnapshotPolicyRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void CheckAutoSnapshotPolicyRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -int CheckAutoSnapshotPolicyRequest::getSystemDiskPolicyTimePeriod()const -{ - return systemDiskPolicyTimePeriod_; -} - -void CheckAutoSnapshotPolicyRequest::setSystemDiskPolicyTimePeriod(int systemDiskPolicyTimePeriod) -{ - systemDiskPolicyTimePeriod_ = systemDiskPolicyTimePeriod; - setParameter("SystemDiskPolicyTimePeriod", std::to_string(systemDiskPolicyTimePeriod)); -} - -long CheckAutoSnapshotPolicyRequest::getOwnerId()const -{ - return ownerId_; -} - -void CheckAutoSnapshotPolicyRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -bool CheckAutoSnapshotPolicyRequest::getDataDiskPolicyRetentionLastWeek()const -{ - return dataDiskPolicyRetentionLastWeek_; -} - -void CheckAutoSnapshotPolicyRequest::setDataDiskPolicyRetentionLastWeek(bool dataDiskPolicyRetentionLastWeek) -{ - dataDiskPolicyRetentionLastWeek_ = dataDiskPolicyRetentionLastWeek; - setParameter("DataDiskPolicyRetentionLastWeek", std::to_string(dataDiskPolicyRetentionLastWeek)); -} - -int CheckAutoSnapshotPolicyRequest::getSystemDiskPolicyRetentionDays()const -{ - return systemDiskPolicyRetentionDays_; -} - -void CheckAutoSnapshotPolicyRequest::setSystemDiskPolicyRetentionDays(int systemDiskPolicyRetentionDays) -{ - systemDiskPolicyRetentionDays_ = systemDiskPolicyRetentionDays; - setParameter("SystemDiskPolicyRetentionDays", std::to_string(systemDiskPolicyRetentionDays)); -} - -int CheckAutoSnapshotPolicyRequest::getDataDiskPolicyTimePeriod()const -{ - return dataDiskPolicyTimePeriod_; -} - -void CheckAutoSnapshotPolicyRequest::setDataDiskPolicyTimePeriod(int dataDiskPolicyTimePeriod) -{ - dataDiskPolicyTimePeriod_ = dataDiskPolicyTimePeriod; - setParameter("DataDiskPolicyTimePeriod", std::to_string(dataDiskPolicyTimePeriod)); -} - -bool CheckAutoSnapshotPolicyRequest::getSystemDiskPolicyEnabled()const -{ - return systemDiskPolicyEnabled_; -} - -void CheckAutoSnapshotPolicyRequest::setSystemDiskPolicyEnabled(bool systemDiskPolicyEnabled) -{ - systemDiskPolicyEnabled_ = systemDiskPolicyEnabled; - setParameter("SystemDiskPolicyEnabled", std::to_string(systemDiskPolicyEnabled)); -} - diff --git a/ecs/src/model/CheckAutoSnapshotPolicyResult.cc b/ecs/src/model/CheckAutoSnapshotPolicyResult.cc deleted file mode 100644 index 03142ab73..000000000 --- a/ecs/src/model/CheckAutoSnapshotPolicyResult.cc +++ /dev/null @@ -1,59 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -CheckAutoSnapshotPolicyResult::CheckAutoSnapshotPolicyResult() : - ServiceResult() -{} - -CheckAutoSnapshotPolicyResult::CheckAutoSnapshotPolicyResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CheckAutoSnapshotPolicyResult::~CheckAutoSnapshotPolicyResult() -{} - -void CheckAutoSnapshotPolicyResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - if(!value["AutoSnapshotOccupation"].isNull()) - autoSnapshotOccupation_ = std::stoi(value["AutoSnapshotOccupation"].asString()); - if(!value["IsPermittedModify"].isNull()) - isPermittedModify_ = value["IsPermittedModify"].asString(); - -} - -int CheckAutoSnapshotPolicyResult::getAutoSnapshotOccupation()const -{ - return autoSnapshotOccupation_; -} - -std::string CheckAutoSnapshotPolicyResult::getIsPermittedModify()const -{ - return isPermittedModify_; -} - diff --git a/ecs/src/model/CheckDiskEnableAutoSnapshotValidationRequest.cc b/ecs/src/model/CheckDiskEnableAutoSnapshotValidationRequest.cc deleted file mode 100644 index e28e5e9c9..000000000 --- a/ecs/src/model/CheckDiskEnableAutoSnapshotValidationRequest.cc +++ /dev/null @@ -1,82 +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 - -using AlibabaCloud::Ecs::Model::CheckDiskEnableAutoSnapshotValidationRequest; - -CheckDiskEnableAutoSnapshotValidationRequest::CheckDiskEnableAutoSnapshotValidationRequest() : - RpcServiceRequest("ecs", "2014-05-26", "CheckDiskEnableAutoSnapshotValidation") -{} - -CheckDiskEnableAutoSnapshotValidationRequest::~CheckDiskEnableAutoSnapshotValidationRequest() -{} - -long CheckDiskEnableAutoSnapshotValidationRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CheckDiskEnableAutoSnapshotValidationRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CheckDiskEnableAutoSnapshotValidationRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void CheckDiskEnableAutoSnapshotValidationRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string CheckDiskEnableAutoSnapshotValidationRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void CheckDiskEnableAutoSnapshotValidationRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -std::string CheckDiskEnableAutoSnapshotValidationRequest::getDiskIds()const -{ - return diskIds_; -} - -void CheckDiskEnableAutoSnapshotValidationRequest::setDiskIds(const std::string& diskIds) -{ - diskIds_ = diskIds; - setParameter("DiskIds", diskIds); -} - -long CheckDiskEnableAutoSnapshotValidationRequest::getOwnerId()const -{ - return ownerId_; -} - -void CheckDiskEnableAutoSnapshotValidationRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/ecs/src/model/CheckDiskEnableAutoSnapshotValidationResult.cc b/ecs/src/model/CheckDiskEnableAutoSnapshotValidationResult.cc deleted file mode 100644 index 490cee9fa..000000000 --- a/ecs/src/model/CheckDiskEnableAutoSnapshotValidationResult.cc +++ /dev/null @@ -1,59 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -CheckDiskEnableAutoSnapshotValidationResult::CheckDiskEnableAutoSnapshotValidationResult() : - ServiceResult() -{} - -CheckDiskEnableAutoSnapshotValidationResult::CheckDiskEnableAutoSnapshotValidationResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CheckDiskEnableAutoSnapshotValidationResult::~CheckDiskEnableAutoSnapshotValidationResult() -{} - -void CheckDiskEnableAutoSnapshotValidationResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - if(!value["IsPermitted"].isNull()) - isPermitted_ = value["IsPermitted"].asString(); - if(!value["AutoSnapshotOccupation"].isNull()) - autoSnapshotOccupation_ = std::stoi(value["AutoSnapshotOccupation"].asString()); - -} - -int CheckDiskEnableAutoSnapshotValidationResult::getAutoSnapshotOccupation()const -{ - return autoSnapshotOccupation_; -} - -std::string CheckDiskEnableAutoSnapshotValidationResult::getIsPermitted()const -{ - return isPermitted_; -} - diff --git a/ecs/src/model/CreateInstanceRequest.cc b/ecs/src/model/CreateInstanceRequest.cc index ae6f54593..e635f6259 100644 --- a/ecs/src/model/CreateInstanceRequest.cc +++ b/ecs/src/model/CreateInstanceRequest.cc @@ -80,6 +80,17 @@ void CreateInstanceRequest::setSpotPriceLimit(float spotPriceLimit) setParameter("SpotPriceLimit", std::to_string(spotPriceLimit)); } +bool CreateInstanceRequest::getDeletionProtection()const +{ + return deletionProtection_; +} + +void CreateInstanceRequest::setDeletionProtection(bool deletionProtection) +{ + deletionProtection_ = deletionProtection; + setParameter("DeletionProtection", std::to_string(deletionProtection)); +} + std::string CreateInstanceRequest::getResourceGroupId()const { return resourceGroupId_; diff --git a/ecs/src/model/CreateUserEventRequest.cc b/ecs/src/model/CreateUserEventRequest.cc deleted file mode 100644 index eed480e6e..000000000 --- a/ecs/src/model/CreateUserEventRequest.cc +++ /dev/null @@ -1,313 +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 - -using AlibabaCloud::Ecs::Model::CreateUserEventRequest; - -CreateUserEventRequest::CreateUserEventRequest() : - RpcServiceRequest("ecs", "2014-05-26", "CreateUserEvent") -{} - -CreateUserEventRequest::~CreateUserEventRequest() -{} - -long CreateUserEventRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateUserEventRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -long CreateUserEventRequest::getCallerParentId()const -{ - return callerParentId_; -} - -void CreateUserEventRequest::setCallerParentId(long callerParentId) -{ - callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); -} - -bool CreateUserEventRequest::getProxy_original_security_transport()const -{ - return proxy_original_security_transport_; -} - -void CreateUserEventRequest::setProxy_original_security_transport(bool proxy_original_security_transport) -{ - proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); -} - -std::string CreateUserEventRequest::getProxy_original_source_ip()const -{ - return proxy_original_source_ip_; -} - -void CreateUserEventRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) -{ - proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); -} - -std::string CreateUserEventRequest::getOwnerIdLoginEmail()const -{ - return ownerIdLoginEmail_; -} - -void CreateUserEventRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) -{ - ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); -} - -std::string CreateUserEventRequest::getCallerType()const -{ - return callerType_; -} - -void CreateUserEventRequest::setCallerType(const std::string& callerType) -{ - callerType_ = callerType; - setParameter("CallerType", callerType); -} - -std::string CreateUserEventRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateUserEventRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string CreateUserEventRequest::getSecurityToken()const -{ - return securityToken_; -} - -void CreateUserEventRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string CreateUserEventRequest::getRegionId()const -{ - return regionId_; -} - -void CreateUserEventRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -bool CreateUserEventRequest::getEnable()const -{ - return enable_; -} - -void CreateUserEventRequest::setEnable(bool enable) -{ - enable_ = enable; - setParameter("Enable", std::to_string(enable)); -} - -std::string CreateUserEventRequest::getRequestContent()const -{ - return requestContent_; -} - -void CreateUserEventRequest::setRequestContent(const std::string& requestContent) -{ - requestContent_ = requestContent; - setParameter("RequestContent", requestContent); -} - -std::string CreateUserEventRequest::getCallerBidEmail()const -{ - return callerBidEmail_; -} - -void CreateUserEventRequest::setCallerBidEmail(const std::string& callerBidEmail) -{ - callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); -} - -std::string CreateUserEventRequest::getPlanTime()const -{ - return planTime_; -} - -void CreateUserEventRequest::setPlanTime(const std::string& planTime) -{ - planTime_ = planTime; - setParameter("PlanTime", planTime); -} - -std::string CreateUserEventRequest::getCallerUidEmail()const -{ - return callerUidEmail_; -} - -void CreateUserEventRequest::setCallerUidEmail(const std::string& callerUidEmail) -{ - callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); -} - -long CreateUserEventRequest::getCallerUid()const -{ - return callerUid_; -} - -void CreateUserEventRequest::setCallerUid(long callerUid) -{ - callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); -} - -std::string CreateUserEventRequest::getApp_ip()const -{ - return app_ip_; -} - -void CreateUserEventRequest::setApp_ip(const std::string& app_ip) -{ - app_ip_ = app_ip; - setParameter("App_ip", app_ip); -} - -std::string CreateUserEventRequest::getExpireTime()const -{ - return expireTime_; -} - -void CreateUserEventRequest::setExpireTime(const std::string& expireTime) -{ - expireTime_ = expireTime; - setParameter("ExpireTime", expireTime); -} - -std::string CreateUserEventRequest::getResourceId()const -{ - return resourceId_; -} - -void CreateUserEventRequest::setResourceId(const std::string& resourceId) -{ - resourceId_ = resourceId; - setParameter("ResourceId", resourceId); -} - -std::string CreateUserEventRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void CreateUserEventRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string CreateUserEventRequest::getCallerBid()const -{ - return callerBid_; -} - -void CreateUserEventRequest::setCallerBid(const std::string& callerBid) -{ - callerBid_ = callerBid; - setParameter("CallerBid", callerBid); -} - -long CreateUserEventRequest::getOwnerId()const -{ - return ownerId_; -} - -void CreateUserEventRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -bool CreateUserEventRequest::getProxy_trust_transport_info()const -{ - return proxy_trust_transport_info_; -} - -void CreateUserEventRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) -{ - proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); -} - -bool CreateUserEventRequest::getAk_mfa_present()const -{ - return ak_mfa_present_; -} - -void CreateUserEventRequest::setAk_mfa_present(bool ak_mfa_present) -{ - ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); -} - -bool CreateUserEventRequest::getSecurity_transport()const -{ - return security_transport_; -} - -void CreateUserEventRequest::setSecurity_transport(bool security_transport) -{ - security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); -} - -std::string CreateUserEventRequest::getRequestId()const -{ - return requestId_; -} - -void CreateUserEventRequest::setRequestId(const std::string& requestId) -{ - requestId_ = requestId; - setParameter("RequestId", requestId); -} - -std::string CreateUserEventRequest::getEventType()const -{ - return eventType_; -} - -void CreateUserEventRequest::setEventType(const std::string& eventType) -{ - eventType_ = eventType; - setParameter("EventType", eventType); -} - diff --git a/ecs/src/model/CreateUserEventResult.cc b/ecs/src/model/CreateUserEventResult.cc deleted file mode 100644 index b3d7b354b..000000000 --- a/ecs/src/model/CreateUserEventResult.cc +++ /dev/null @@ -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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -CreateUserEventResult::CreateUserEventResult() : - ServiceResult() -{} - -CreateUserEventResult::CreateUserEventResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateUserEventResult::~CreateUserEventResult() -{} - -void CreateUserEventResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - if(!value["EventId"].isNull()) - eventId_ = value["EventId"].asString(); - -} - -std::string CreateUserEventResult::getEventId()const -{ - return eventId_; -} - diff --git a/ecs/src/model/CreateVolumeRequest.cc b/ecs/src/model/CreateVolumeRequest.cc deleted file mode 100644 index 86b61d011..000000000 --- a/ecs/src/model/CreateVolumeRequest.cc +++ /dev/null @@ -1,187 +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 - -using AlibabaCloud::Ecs::Model::CreateVolumeRequest; - -CreateVolumeRequest::CreateVolumeRequest() : - RpcServiceRequest("ecs", "2014-05-26", "CreateVolume") -{} - -CreateVolumeRequest::~CreateVolumeRequest() -{} - -long CreateVolumeRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateVolumeRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateVolumeRequest::getSnapshotId()const -{ - return snapshotId_; -} - -void CreateVolumeRequest::setSnapshotId(const std::string& snapshotId) -{ - snapshotId_ = snapshotId; - setParameter("SnapshotId", snapshotId); -} - -std::string CreateVolumeRequest::getVolumeName()const -{ - return volumeName_; -} - -void CreateVolumeRequest::setVolumeName(const std::string& volumeName) -{ - volumeName_ = volumeName; - setParameter("VolumeName", volumeName); -} - -bool CreateVolumeRequest::getVolumeEncrypted()const -{ - return volumeEncrypted_; -} - -void CreateVolumeRequest::setVolumeEncrypted(bool volumeEncrypted) -{ - volumeEncrypted_ = volumeEncrypted; - setParameter("VolumeEncrypted", std::to_string(volumeEncrypted)); -} - -std::string CreateVolumeRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void CreateVolumeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string CreateVolumeRequest::getClientToken()const -{ - return clientToken_; -} - -void CreateVolumeRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setParameter("ClientToken", clientToken); -} - -std::string CreateVolumeRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void CreateVolumeRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -std::string CreateVolumeRequest::getDescription()const -{ - return description_; -} - -void CreateVolumeRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); -} - -long CreateVolumeRequest::getOwnerId()const -{ - return ownerId_; -} - -void CreateVolumeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string CreateVolumeRequest::getVolumeCategory()const -{ - return volumeCategory_; -} - -void CreateVolumeRequest::setVolumeCategory(const std::string& volumeCategory) -{ - volumeCategory_ = volumeCategory; - setParameter("VolumeCategory", volumeCategory); -} - -int CreateVolumeRequest::getSize()const -{ - return size_; -} - -void CreateVolumeRequest::setSize(int size) -{ - size_ = size; - setParameter("Size", std::to_string(size)); -} - -std::string CreateVolumeRequest::getRegionId()const -{ - return regionId_; -} - -void CreateVolumeRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string CreateVolumeRequest::getZoneId()const -{ - return zoneId_; -} - -void CreateVolumeRequest::setZoneId(const std::string& zoneId) -{ - zoneId_ = zoneId; - setParameter("ZoneId", zoneId); -} - -std::vector CreateVolumeRequest::getTag()const -{ - return tag_; -} - -void CreateVolumeRequest::setTag(const std::vector& tag) -{ - tag_ = tag; - int i = 0; - for(int i = 0; i!= tag.size(); i++) { - auto obj = tag.at(i); - std::string str ="Tag."+ std::to_string(i); - setParameter(str + ".Value", obj.value); - setParameter(str + ".Key", obj.key); - } -} - diff --git a/ecs/src/model/CreateVolumeResult.cc b/ecs/src/model/CreateVolumeResult.cc deleted file mode 100644 index 58571380a..000000000 --- a/ecs/src/model/CreateVolumeResult.cc +++ /dev/null @@ -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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -CreateVolumeResult::CreateVolumeResult() : - ServiceResult() -{} - -CreateVolumeResult::CreateVolumeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateVolumeResult::~CreateVolumeResult() -{} - -void CreateVolumeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - if(!value["VolumeId"].isNull()) - volumeId_ = value["VolumeId"].asString(); - -} - -std::string CreateVolumeResult::getVolumeId()const -{ - return volumeId_; -} - diff --git a/ecs/src/model/DeleteRecycleBinRequest.cc b/ecs/src/model/DeleteRecycleBinRequest.cc deleted file mode 100644 index 2f01fbdf5..000000000 --- a/ecs/src/model/DeleteRecycleBinRequest.cc +++ /dev/null @@ -1,93 +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 - -using AlibabaCloud::Ecs::Model::DeleteRecycleBinRequest; - -DeleteRecycleBinRequest::DeleteRecycleBinRequest() : - RpcServiceRequest("ecs", "2014-05-26", "DeleteRecycleBin") -{} - -DeleteRecycleBinRequest::~DeleteRecycleBinRequest() -{} - -long DeleteRecycleBinRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DeleteRecycleBinRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DeleteRecycleBinRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void DeleteRecycleBinRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string DeleteRecycleBinRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteRecycleBinRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DeleteRecycleBinRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void DeleteRecycleBinRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -long DeleteRecycleBinRequest::getOwnerId()const -{ - return ownerId_; -} - -void DeleteRecycleBinRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DeleteRecycleBinRequest::getResourceIds()const -{ - return resourceIds_; -} - -void DeleteRecycleBinRequest::setResourceIds(const std::string& resourceIds) -{ - resourceIds_ = resourceIds; - setParameter("ResourceIds", resourceIds); -} - diff --git a/ecs/src/model/DeleteRecycleBinResult.cc b/ecs/src/model/DeleteRecycleBinResult.cc deleted file mode 100644 index b3d451cf8..000000000 --- a/ecs/src/model/DeleteRecycleBinResult.cc +++ /dev/null @@ -1,45 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -DeleteRecycleBinResult::DeleteRecycleBinResult() : - ServiceResult() -{} - -DeleteRecycleBinResult::DeleteRecycleBinResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteRecycleBinResult::~DeleteRecycleBinResult() -{} - -void DeleteRecycleBinResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - diff --git a/ecs/src/model/DeleteVolumeRequest.cc b/ecs/src/model/DeleteVolumeRequest.cc deleted file mode 100644 index 92f5e57c4..000000000 --- a/ecs/src/model/DeleteVolumeRequest.cc +++ /dev/null @@ -1,93 +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 - -using AlibabaCloud::Ecs::Model::DeleteVolumeRequest; - -DeleteVolumeRequest::DeleteVolumeRequest() : - RpcServiceRequest("ecs", "2014-05-26", "DeleteVolume") -{} - -DeleteVolumeRequest::~DeleteVolumeRequest() -{} - -long DeleteVolumeRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DeleteVolumeRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DeleteVolumeRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void DeleteVolumeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string DeleteVolumeRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteVolumeRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DeleteVolumeRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void DeleteVolumeRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -std::string DeleteVolumeRequest::getVolumeId()const -{ - return volumeId_; -} - -void DeleteVolumeRequest::setVolumeId(const std::string& volumeId) -{ - volumeId_ = volumeId; - setParameter("VolumeId", volumeId); -} - -long DeleteVolumeRequest::getOwnerId()const -{ - return ownerId_; -} - -void DeleteVolumeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/ecs/src/model/DeleteVolumeResult.cc b/ecs/src/model/DeleteVolumeResult.cc deleted file mode 100644 index 470944a33..000000000 --- a/ecs/src/model/DeleteVolumeResult.cc +++ /dev/null @@ -1,45 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -DeleteVolumeResult::DeleteVolumeResult() : - ServiceResult() -{} - -DeleteVolumeResult::DeleteVolumeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteVolumeResult::~DeleteVolumeResult() -{} - -void DeleteVolumeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - diff --git a/ecs/src/model/DescribeAutoSnapshotPolicyRequest.cc b/ecs/src/model/DescribeAutoSnapshotPolicyRequest.cc deleted file mode 100644 index d893154a1..000000000 --- a/ecs/src/model/DescribeAutoSnapshotPolicyRequest.cc +++ /dev/null @@ -1,71 +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 - -using AlibabaCloud::Ecs::Model::DescribeAutoSnapshotPolicyRequest; - -DescribeAutoSnapshotPolicyRequest::DescribeAutoSnapshotPolicyRequest() : - RpcServiceRequest("ecs", "2014-05-26", "DescribeAutoSnapshotPolicy") -{} - -DescribeAutoSnapshotPolicyRequest::~DescribeAutoSnapshotPolicyRequest() -{} - -long DescribeAutoSnapshotPolicyRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeAutoSnapshotPolicyRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeAutoSnapshotPolicyRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void DescribeAutoSnapshotPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string DescribeAutoSnapshotPolicyRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void DescribeAutoSnapshotPolicyRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -long DescribeAutoSnapshotPolicyRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeAutoSnapshotPolicyRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/ecs/src/model/DescribeAutoSnapshotPolicyResult.cc b/ecs/src/model/DescribeAutoSnapshotPolicyResult.cc deleted file mode 100644 index 960115094..000000000 --- a/ecs/src/model/DescribeAutoSnapshotPolicyResult.cc +++ /dev/null @@ -1,84 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -DescribeAutoSnapshotPolicyResult::DescribeAutoSnapshotPolicyResult() : - ServiceResult() -{} - -DescribeAutoSnapshotPolicyResult::DescribeAutoSnapshotPolicyResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeAutoSnapshotPolicyResult::~DescribeAutoSnapshotPolicyResult() -{} - -void DescribeAutoSnapshotPolicyResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto autoSnapshotPolicyNode = value["AutoSnapshotPolicy"]; - if(!autoSnapshotPolicyNode["SystemDiskPolicyEnabled"].isNull()) - autoSnapshotPolicy_.systemDiskPolicyEnabled = autoSnapshotPolicyNode["SystemDiskPolicyEnabled"].asString(); - if(!autoSnapshotPolicyNode["SystemDiskPolicyTimePeriod"].isNull()) - autoSnapshotPolicy_.systemDiskPolicyTimePeriod = autoSnapshotPolicyNode["SystemDiskPolicyTimePeriod"].asString(); - if(!autoSnapshotPolicyNode["SystemDiskPolicyRetentionDays"].isNull()) - autoSnapshotPolicy_.systemDiskPolicyRetentionDays = autoSnapshotPolicyNode["SystemDiskPolicyRetentionDays"].asString(); - if(!autoSnapshotPolicyNode["SystemDiskPolicyRetentionLastWeek"].isNull()) - autoSnapshotPolicy_.systemDiskPolicyRetentionLastWeek = autoSnapshotPolicyNode["SystemDiskPolicyRetentionLastWeek"].asString(); - if(!autoSnapshotPolicyNode["DataDiskPolicyEnabled"].isNull()) - autoSnapshotPolicy_.dataDiskPolicyEnabled = autoSnapshotPolicyNode["DataDiskPolicyEnabled"].asString(); - if(!autoSnapshotPolicyNode["DataDiskPolicyTimePeriod"].isNull()) - autoSnapshotPolicy_.dataDiskPolicyTimePeriod = autoSnapshotPolicyNode["DataDiskPolicyTimePeriod"].asString(); - if(!autoSnapshotPolicyNode["DataDiskPolicyRetentionDays"].isNull()) - autoSnapshotPolicy_.dataDiskPolicyRetentionDays = autoSnapshotPolicyNode["DataDiskPolicyRetentionDays"].asString(); - if(!autoSnapshotPolicyNode["DataDiskPolicyRetentionLastWeek"].isNull()) - autoSnapshotPolicy_.dataDiskPolicyRetentionLastWeek = autoSnapshotPolicyNode["DataDiskPolicyRetentionLastWeek"].asString(); - auto autoSnapshotExcutionStatusNode = value["AutoSnapshotExcutionStatus"]; - if(!autoSnapshotExcutionStatusNode["SystemDiskExcutionStatus"].isNull()) - autoSnapshotExcutionStatus_.systemDiskExcutionStatus = autoSnapshotExcutionStatusNode["SystemDiskExcutionStatus"].asString(); - if(!autoSnapshotExcutionStatusNode["DataDiskExcutionStatus"].isNull()) - autoSnapshotExcutionStatus_.dataDiskExcutionStatus = autoSnapshotExcutionStatusNode["DataDiskExcutionStatus"].asString(); - if(!value["AutoSnapshotOccupation"].isNull()) - autoSnapshotOccupation_ = std::stoi(value["AutoSnapshotOccupation"].asString()); - -} - -int DescribeAutoSnapshotPolicyResult::getAutoSnapshotOccupation()const -{ - return autoSnapshotOccupation_; -} - -DescribeAutoSnapshotPolicyResult::AutoSnapshotExcutionStatus DescribeAutoSnapshotPolicyResult::getAutoSnapshotExcutionStatus()const -{ - return autoSnapshotExcutionStatus_; -} - -DescribeAutoSnapshotPolicyResult::AutoSnapshotPolicy DescribeAutoSnapshotPolicyResult::getAutoSnapshotPolicy()const -{ - return autoSnapshotPolicy_; -} - diff --git a/ecs/src/model/DescribeDeploymentSetTopologyRequest.cc b/ecs/src/model/DescribeDeploymentSetTopologyRequest.cc deleted file mode 100644 index 44b387af8..000000000 --- a/ecs/src/model/DescribeDeploymentSetTopologyRequest.cc +++ /dev/null @@ -1,137 +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 - -using AlibabaCloud::Ecs::Model::DescribeDeploymentSetTopologyRequest; - -DescribeDeploymentSetTopologyRequest::DescribeDeploymentSetTopologyRequest() : - RpcServiceRequest("ecs", "2014-05-26", "DescribeDeploymentSetTopology") -{} - -DescribeDeploymentSetTopologyRequest::~DescribeDeploymentSetTopologyRequest() -{} - -std::string DescribeDeploymentSetTopologyRequest::getDeploymentSetId()const -{ - return deploymentSetId_; -} - -void DescribeDeploymentSetTopologyRequest::setDeploymentSetId(const std::string& deploymentSetId) -{ - deploymentSetId_ = deploymentSetId; - setParameter("DeploymentSetId", deploymentSetId); -} - -long DescribeDeploymentSetTopologyRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeDeploymentSetTopologyRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeDeploymentSetTopologyRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void DescribeDeploymentSetTopologyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string DescribeDeploymentSetTopologyRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeDeploymentSetTopologyRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DescribeDeploymentSetTopologyRequest::getGranularity()const -{ - return granularity_; -} - -void DescribeDeploymentSetTopologyRequest::setGranularity(const std::string& granularity) -{ - granularity_ = granularity; - setParameter("Granularity", granularity); -} - -std::string DescribeDeploymentSetTopologyRequest::getDomain()const -{ - return domain_; -} - -void DescribeDeploymentSetTopologyRequest::setDomain(const std::string& domain) -{ - domain_ = domain; - setParameter("Domain", domain); -} - -std::string DescribeDeploymentSetTopologyRequest::getNetworkType()const -{ - return networkType_; -} - -void DescribeDeploymentSetTopologyRequest::setNetworkType(const std::string& networkType) -{ - networkType_ = networkType; - setParameter("NetworkType", networkType); -} - -std::string DescribeDeploymentSetTopologyRequest::getDeploymentSetName()const -{ - return deploymentSetName_; -} - -void DescribeDeploymentSetTopologyRequest::setDeploymentSetName(const std::string& deploymentSetName) -{ - deploymentSetName_ = deploymentSetName; - setParameter("DeploymentSetName", deploymentSetName); -} - -long DescribeDeploymentSetTopologyRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDeploymentSetTopologyRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeDeploymentSetTopologyRequest::getStrategy()const -{ - return strategy_; -} - -void DescribeDeploymentSetTopologyRequest::setStrategy(const std::string& strategy) -{ - strategy_ = strategy; - setParameter("Strategy", strategy); -} - diff --git a/ecs/src/model/DescribeDeploymentSetTopologyResult.cc b/ecs/src/model/DescribeDeploymentSetTopologyResult.cc deleted file mode 100644 index 53d800e69..000000000 --- a/ecs/src/model/DescribeDeploymentSetTopologyResult.cc +++ /dev/null @@ -1,93 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -DescribeDeploymentSetTopologyResult::DescribeDeploymentSetTopologyResult() : - ServiceResult() -{} - -DescribeDeploymentSetTopologyResult::DescribeDeploymentSetTopologyResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDeploymentSetTopologyResult::~DescribeDeploymentSetTopologyResult() -{} - -void DescribeDeploymentSetTopologyResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto allSwitchs = value["Switchs"]["Switch"]; - for (auto value : allSwitchs) - { - Switch switchsObject; - if(!value["SwitchId"].isNull()) - switchsObject.switchId = value["SwitchId"].asString(); - auto allHosts = value["Hosts"]["Host"]; - for (auto value : allHosts) - { - Switch::Host hostsObject; - if(!value["HostId"].isNull()) - hostsObject.hostId = value["HostId"].asString(); - auto allInstanceIds = value["InstanceIds"]["InstanceId"]; - for (auto value : allInstanceIds) - hostsObject.instanceIds.push_back(value.asString()); - switchsObject.hosts.push_back(hostsObject); - } - switchs_.push_back(switchsObject); - } - auto allRacks = value["Racks"]["Rack"]; - for (auto value : allRacks) - { - Rack racksObject; - if(!value["RackId"].isNull()) - racksObject.rackId = value["RackId"].asString(); - auto allHosts1 = value["Hosts"]["Host"]; - for (auto value : allHosts1) - { - Rack::Host2 hosts1Object; - if(!value["HostId"].isNull()) - hosts1Object.hostId = value["HostId"].asString(); - auto allInstanceIds3 = value["InstanceIds"]["InstanceId"]; - for (auto value : allInstanceIds3) - hosts1Object.instanceIds3.push_back(value.asString()); - racksObject.hosts1.push_back(hosts1Object); - } - racks_.push_back(racksObject); - } - -} - -std::vector DescribeDeploymentSetTopologyResult::getSwitchs()const -{ - return switchs_; -} - -std::vector DescribeDeploymentSetTopologyResult::getRacks()const -{ - return racks_; -} - diff --git a/ecs/src/model/DescribeEventDetailRequest.cc b/ecs/src/model/DescribeEventDetailRequest.cc deleted file mode 100644 index a19858ad5..000000000 --- a/ecs/src/model/DescribeEventDetailRequest.cc +++ /dev/null @@ -1,280 +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 - -using AlibabaCloud::Ecs::Model::DescribeEventDetailRequest; - -DescribeEventDetailRequest::DescribeEventDetailRequest() : - RpcServiceRequest("ecs", "2014-05-26", "DescribeEventDetail") -{} - -DescribeEventDetailRequest::~DescribeEventDetailRequest() -{} - -std::string DescribeEventDetailRequest::getApp_ip()const -{ - return app_ip_; -} - -void DescribeEventDetailRequest::setApp_ip(const std::string& app_ip) -{ - app_ip_ = app_ip; - setParameter("App_ip", app_ip); -} - -std::string DescribeEventDetailRequest::getEventId()const -{ - return eventId_; -} - -void DescribeEventDetailRequest::setEventId(const std::string& eventId) -{ - eventId_ = eventId; - setParameter("EventId", eventId); -} - -long DescribeEventDetailRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeEventDetailRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeEventDetailRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void DescribeEventDetailRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -long DescribeEventDetailRequest::getCallerParentId()const -{ - return callerParentId_; -} - -void DescribeEventDetailRequest::setCallerParentId(long callerParentId) -{ - callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); -} - -bool DescribeEventDetailRequest::getProxy_original_security_transport()const -{ - return proxy_original_security_transport_; -} - -void DescribeEventDetailRequest::setProxy_original_security_transport(bool proxy_original_security_transport) -{ - proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); -} - -std::string DescribeEventDetailRequest::getCallerBid()const -{ - return callerBid_; -} - -void DescribeEventDetailRequest::setCallerBid(const std::string& callerBid) -{ - callerBid_ = callerBid; - setParameter("CallerBid", callerBid); -} - -long DescribeEventDetailRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeEventDetailRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeEventDetailRequest::getProxy_original_source_ip()const -{ - return proxy_original_source_ip_; -} - -void DescribeEventDetailRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) -{ - proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); -} - -std::string DescribeEventDetailRequest::getOwnerIdLoginEmail()const -{ - return ownerIdLoginEmail_; -} - -void DescribeEventDetailRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) -{ - ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); -} - -std::string DescribeEventDetailRequest::getCallerType()const -{ - return callerType_; -} - -void DescribeEventDetailRequest::setCallerType(const std::string& callerType) -{ - callerType_ = callerType; - setParameter("CallerType", callerType); -} - -bool DescribeEventDetailRequest::getProxy_trust_transport_info()const -{ - return proxy_trust_transport_info_; -} - -void DescribeEventDetailRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) -{ - proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); -} - -bool DescribeEventDetailRequest::getAk_mfa_present()const -{ - return ak_mfa_present_; -} - -void DescribeEventDetailRequest::setAk_mfa_present(bool ak_mfa_present) -{ - ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); -} - -std::string DescribeEventDetailRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeEventDetailRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -bool DescribeEventDetailRequest::getSecurity_transport()const -{ - return security_transport_; -} - -void DescribeEventDetailRequest::setSecurity_transport(bool security_transport) -{ - security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); -} - -std::string DescribeEventDetailRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeEventDetailRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string DescribeEventDetailRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeEventDetailRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DescribeEventDetailRequest::getRequestId()const -{ - return requestId_; -} - -void DescribeEventDetailRequest::setRequestId(const std::string& requestId) -{ - requestId_ = requestId; - setParameter("RequestId", requestId); -} - -bool DescribeEventDetailRequest::getEnable()const -{ - return enable_; -} - -void DescribeEventDetailRequest::setEnable(bool enable) -{ - enable_ = enable; - setParameter("Enable", std::to_string(enable)); -} - -std::string DescribeEventDetailRequest::getRequestContent()const -{ - return requestContent_; -} - -void DescribeEventDetailRequest::setRequestContent(const std::string& requestContent) -{ - requestContent_ = requestContent; - setParameter("RequestContent", requestContent); -} - -std::string DescribeEventDetailRequest::getCallerBidEmail()const -{ - return callerBidEmail_; -} - -void DescribeEventDetailRequest::setCallerBidEmail(const std::string& callerBidEmail) -{ - callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); -} - -std::string DescribeEventDetailRequest::getCallerUidEmail()const -{ - return callerUidEmail_; -} - -void DescribeEventDetailRequest::setCallerUidEmail(const std::string& callerUidEmail) -{ - callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); -} - -long DescribeEventDetailRequest::getCallerUid()const -{ - return callerUid_; -} - -void DescribeEventDetailRequest::setCallerUid(long callerUid) -{ - callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); -} - diff --git a/ecs/src/model/DescribeEventDetailResult.cc b/ecs/src/model/DescribeEventDetailResult.cc deleted file mode 100644 index 935ff7310..000000000 --- a/ecs/src/model/DescribeEventDetailResult.cc +++ /dev/null @@ -1,136 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -DescribeEventDetailResult::DescribeEventDetailResult() : - ServiceResult() -{} - -DescribeEventDetailResult::DescribeEventDetailResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeEventDetailResult::~DescribeEventDetailResult() -{} - -void DescribeEventDetailResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - if(!value["ResourceId"].isNull()) - resourceId_ = value["ResourceId"].asString(); - if(!value["EventType"].isNull()) - eventType_ = value["EventType"].asString(); - if(!value["EventCategory"].isNull()) - eventCategory_ = value["EventCategory"].asString(); - if(!value["Status"].isNull()) - status_ = value["Status"].asString(); - if(!value["SupportModify"].isNull()) - supportModify_ = value["SupportModify"].asString(); - if(!value["PlanTime"].isNull()) - planTime_ = value["PlanTime"].asString(); - if(!value["ExpireTime"].isNull()) - expireTime_ = value["ExpireTime"].asString(); - if(!value["EventId"].isNull()) - eventId_ = value["EventId"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); - if(!value["EffectTime"].isNull()) - effectTime_ = value["EffectTime"].asString(); - if(!value["LimitTime"].isNull()) - limitTime_ = value["LimitTime"].asString(); - if(!value["Mark"].isNull()) - mark_ = value["Mark"].asString(); - -} - -std::string DescribeEventDetailResult::getStatus()const -{ - return status_; -} - -std::string DescribeEventDetailResult::getLimitTime()const -{ - return limitTime_; -} - -std::string DescribeEventDetailResult::getEventCategory()const -{ - return eventCategory_; -} - -std::string DescribeEventDetailResult::getEndTime()const -{ - return endTime_; -} - -std::string DescribeEventDetailResult::getEventType()const -{ - return eventType_; -} - -std::string DescribeEventDetailResult::getStartTime()const -{ - return startTime_; -} - -std::string DescribeEventDetailResult::getEffectTime()const -{ - return effectTime_; -} - -std::string DescribeEventDetailResult::getMark()const -{ - return mark_; -} - -std::string DescribeEventDetailResult::getPlanTime()const -{ - return planTime_; -} - -std::string DescribeEventDetailResult::getResourceId()const -{ - return resourceId_; -} - -std::string DescribeEventDetailResult::getSupportModify()const -{ - return supportModify_; -} - -std::string DescribeEventDetailResult::getEventId()const -{ - return eventId_; -} - -std::string DescribeEventDetailResult::getExpireTime()const -{ - return expireTime_; -} - diff --git a/ecs/src/model/DescribeEventsRequest.cc b/ecs/src/model/DescribeEventsRequest.cc deleted file mode 100644 index 2c902d992..000000000 --- a/ecs/src/model/DescribeEventsRequest.cc +++ /dev/null @@ -1,357 +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 - -using AlibabaCloud::Ecs::Model::DescribeEventsRequest; - -DescribeEventsRequest::DescribeEventsRequest() : - RpcServiceRequest("ecs", "2014-05-26", "DescribeEvents") -{} - -DescribeEventsRequest::~DescribeEventsRequest() -{} - -std::string DescribeEventsRequest::getEventId()const -{ - return eventId_; -} - -void DescribeEventsRequest::setEventId(const std::string& eventId) -{ - eventId_ = eventId; - setParameter("EventId", eventId); -} - -long DescribeEventsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeEventsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -long DescribeEventsRequest::getCallerParentId()const -{ - return callerParentId_; -} - -void DescribeEventsRequest::setCallerParentId(long callerParentId) -{ - callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); -} - -bool DescribeEventsRequest::getProxy_original_security_transport()const -{ - return proxy_original_security_transport_; -} - -void DescribeEventsRequest::setProxy_original_security_transport(bool proxy_original_security_transport) -{ - proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); -} - -std::string DescribeEventsRequest::getProxy_original_source_ip()const -{ - return proxy_original_source_ip_; -} - -void DescribeEventsRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) -{ - proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); -} - -std::string DescribeEventsRequest::getOwnerIdLoginEmail()const -{ - return ownerIdLoginEmail_; -} - -void DescribeEventsRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) -{ - ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); -} - -std::string DescribeEventsRequest::getCallerType()const -{ - return callerType_; -} - -void DescribeEventsRequest::setCallerType(const std::string& callerType) -{ - callerType_ = callerType; - setParameter("CallerType", callerType); -} - -int DescribeEventsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void DescribeEventsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string DescribeEventsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeEventsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeEventsRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeEventsRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string DescribeEventsRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeEventsRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -bool DescribeEventsRequest::getEnable()const -{ - return enable_; -} - -void DescribeEventsRequest::setEnable(bool enable) -{ - enable_ = enable; - setParameter("Enable", std::to_string(enable)); -} - -std::string DescribeEventsRequest::getRequestContent()const -{ - return requestContent_; -} - -void DescribeEventsRequest::setRequestContent(const std::string& requestContent) -{ - requestContent_ = requestContent; - setParameter("RequestContent", requestContent); -} - -int DescribeEventsRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeEventsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string DescribeEventsRequest::getCallerBidEmail()const -{ - return callerBidEmail_; -} - -void DescribeEventsRequest::setCallerBidEmail(const std::string& callerBidEmail) -{ - callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); -} - -std::string DescribeEventsRequest::getPlanTime()const -{ - return planTime_; -} - -void DescribeEventsRequest::setPlanTime(const std::string& planTime) -{ - planTime_ = planTime; - setParameter("PlanTime", planTime); -} - -std::string DescribeEventsRequest::getCallerUidEmail()const -{ - return callerUidEmail_; -} - -void DescribeEventsRequest::setCallerUidEmail(const std::string& callerUidEmail) -{ - callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); -} - -long DescribeEventsRequest::getCallerUid()const -{ - return callerUid_; -} - -void DescribeEventsRequest::setCallerUid(long callerUid) -{ - callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); -} - -std::string DescribeEventsRequest::getApp_ip()const -{ - return app_ip_; -} - -void DescribeEventsRequest::setApp_ip(const std::string& app_ip) -{ - app_ip_ = app_ip; - setParameter("App_ip", app_ip); -} - -std::string DescribeEventsRequest::getExpireTime()const -{ - return expireTime_; -} - -void DescribeEventsRequest::setExpireTime(const std::string& expireTime) -{ - expireTime_ = expireTime; - setParameter("ExpireTime", expireTime); -} - -std::string DescribeEventsRequest::getResourceId()const -{ - return resourceId_; -} - -void DescribeEventsRequest::setResourceId(const std::string& resourceId) -{ - resourceId_ = resourceId; - setParameter("ResourceId", resourceId); -} - -std::string DescribeEventsRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void DescribeEventsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string DescribeEventsRequest::getCallerBid()const -{ - return callerBid_; -} - -void DescribeEventsRequest::setCallerBid(const std::string& callerBid) -{ - callerBid_ = callerBid; - setParameter("CallerBid", callerBid); -} - -long DescribeEventsRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeEventsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -bool DescribeEventsRequest::getProxy_trust_transport_info()const -{ - return proxy_trust_transport_info_; -} - -void DescribeEventsRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) -{ - proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); -} - -bool DescribeEventsRequest::getAk_mfa_present()const -{ - return ak_mfa_present_; -} - -void DescribeEventsRequest::setAk_mfa_present(bool ak_mfa_present) -{ - ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); -} - -bool DescribeEventsRequest::getSecurity_transport()const -{ - return security_transport_; -} - -void DescribeEventsRequest::setSecurity_transport(bool security_transport) -{ - security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); -} - -std::string DescribeEventsRequest::getRequestId()const -{ - return requestId_; -} - -void DescribeEventsRequest::setRequestId(const std::string& requestId) -{ - requestId_ = requestId; - setParameter("RequestId", requestId); -} - -std::string DescribeEventsRequest::getEventType()const -{ - return eventType_; -} - -void DescribeEventsRequest::setEventType(const std::string& eventType) -{ - eventType_ = eventType; - setParameter("EventType", eventType); -} - -std::string DescribeEventsRequest::getStatus()const -{ - return status_; -} - -void DescribeEventsRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); -} - diff --git a/ecs/src/model/DescribeEventsResult.cc b/ecs/src/model/DescribeEventsResult.cc deleted file mode 100644 index ddd4b55ed..000000000 --- a/ecs/src/model/DescribeEventsResult.cc +++ /dev/null @@ -1,93 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -DescribeEventsResult::DescribeEventsResult() : - ServiceResult() -{} - -DescribeEventsResult::DescribeEventsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeEventsResult::~DescribeEventsResult() -{} - -void DescribeEventsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto allEvents = value["Events"]["Event"]; - for (auto value : allEvents) - { - Event eventsObject; - if(!value["ResourceId"].isNull()) - eventsObject.resourceId = value["ResourceId"].asString(); - if(!value["EventType"].isNull()) - eventsObject.eventType = value["EventType"].asString(); - if(!value["EventCategory"].isNull()) - eventsObject.eventCategory = value["EventCategory"].asString(); - if(!value["Status"].isNull()) - eventsObject.status = value["Status"].asString(); - if(!value["SupportModify"].isNull()) - eventsObject.supportModify = value["SupportModify"].asString(); - if(!value["PlanTime"].isNull()) - eventsObject.planTime = value["PlanTime"].asString(); - if(!value["ExpireTime"].isNull()) - eventsObject.expireTime = value["ExpireTime"].asString(); - if(!value["EventId"].isNull()) - eventsObject.eventId = value["EventId"].asString(); - events_.push_back(eventsObject); - } - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - -} - -int DescribeEventsResult::getTotalCount()const -{ - return totalCount_; -} - -int DescribeEventsResult::getPageSize()const -{ - return pageSize_; -} - -std::vector DescribeEventsResult::getEvents()const -{ - return events_; -} - -int DescribeEventsResult::getPageNumber()const -{ - return pageNumber_; -} - diff --git a/ecs/src/model/DescribeInstanceTopologyRequest.cc b/ecs/src/model/DescribeInstanceTopologyRequest.cc deleted file mode 100644 index 18b89cae5..000000000 --- a/ecs/src/model/DescribeInstanceTopologyRequest.cc +++ /dev/null @@ -1,82 +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 - -using AlibabaCloud::Ecs::Model::DescribeInstanceTopologyRequest; - -DescribeInstanceTopologyRequest::DescribeInstanceTopologyRequest() : - RpcServiceRequest("ecs", "2014-05-26", "DescribeInstanceTopology") -{} - -DescribeInstanceTopologyRequest::~DescribeInstanceTopologyRequest() -{} - -long DescribeInstanceTopologyRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeInstanceTopologyRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeInstanceTopologyRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void DescribeInstanceTopologyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string DescribeInstanceTopologyRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeInstanceTopologyRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DescribeInstanceTopologyRequest::getInstanceIds()const -{ - return instanceIds_; -} - -void DescribeInstanceTopologyRequest::setInstanceIds(const std::string& instanceIds) -{ - instanceIds_ = instanceIds; - setParameter("InstanceIds", instanceIds); -} - -long DescribeInstanceTopologyRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeInstanceTopologyRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/ecs/src/model/DescribeInstanceTopologyResult.cc b/ecs/src/model/DescribeInstanceTopologyResult.cc deleted file mode 100644 index 2b18e2be1..000000000 --- a/ecs/src/model/DescribeInstanceTopologyResult.cc +++ /dev/null @@ -1,60 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -DescribeInstanceTopologyResult::DescribeInstanceTopologyResult() : - ServiceResult() -{} - -DescribeInstanceTopologyResult::DescribeInstanceTopologyResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeInstanceTopologyResult::~DescribeInstanceTopologyResult() -{} - -void DescribeInstanceTopologyResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto allTopologys = value["Topologys"]["Topology"]; - for (auto value : allTopologys) - { - Topology topologysObject; - if(!value["InstanceId"].isNull()) - topologysObject.instanceId = value["InstanceId"].asString(); - if(!value["HostId"].isNull()) - topologysObject.hostId = value["HostId"].asString(); - topologys_.push_back(topologysObject); - } - -} - -std::vector DescribeInstanceTopologyResult::getTopologys()const -{ - return topologys_; -} - diff --git a/ecs/src/model/DescribeInstancesResult.cc b/ecs/src/model/DescribeInstancesResult.cc index 8cf934728..5b187b67d 100644 --- a/ecs/src/model/DescribeInstancesResult.cc +++ b/ecs/src/model/DescribeInstancesResult.cc @@ -128,6 +128,8 @@ void DescribeInstancesResult::parse(const std::string &payload) instancesObject.stoppedMode = value["StoppedMode"].asString(); if(!value["CreditSpecification"].isNull()) instancesObject.creditSpecification = value["CreditSpecification"].asString(); + if(!value["DeletionProtection"].isNull()) + instancesObject.deletionProtection = value["DeletionProtection"].asString() == "true"; auto allNetworkInterfaces = value["NetworkInterfaces"]["NetworkInterface"]; for (auto value : allNetworkInterfaces) { diff --git a/ecs/src/model/DescribeIntranetAttributeKbRequest.cc b/ecs/src/model/DescribeIntranetAttributeKbRequest.cc deleted file mode 100644 index eb0d24664..000000000 --- a/ecs/src/model/DescribeIntranetAttributeKbRequest.cc +++ /dev/null @@ -1,82 +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 - -using AlibabaCloud::Ecs::Model::DescribeIntranetAttributeKbRequest; - -DescribeIntranetAttributeKbRequest::DescribeIntranetAttributeKbRequest() : - RpcServiceRequest("ecs", "2014-05-26", "DescribeIntranetAttributeKb") -{} - -DescribeIntranetAttributeKbRequest::~DescribeIntranetAttributeKbRequest() -{} - -long DescribeIntranetAttributeKbRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeIntranetAttributeKbRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeIntranetAttributeKbRequest::getInstanceId()const -{ - return instanceId_; -} - -void DescribeIntranetAttributeKbRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string DescribeIntranetAttributeKbRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void DescribeIntranetAttributeKbRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string DescribeIntranetAttributeKbRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void DescribeIntranetAttributeKbRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -long DescribeIntranetAttributeKbRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeIntranetAttributeKbRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/ecs/src/model/DescribeIntranetAttributeKbResult.cc b/ecs/src/model/DescribeIntranetAttributeKbResult.cc deleted file mode 100644 index 18a271eb8..000000000 --- a/ecs/src/model/DescribeIntranetAttributeKbResult.cc +++ /dev/null @@ -1,80 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -DescribeIntranetAttributeKbResult::DescribeIntranetAttributeKbResult() : - ServiceResult() -{} - -DescribeIntranetAttributeKbResult::DescribeIntranetAttributeKbResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeIntranetAttributeKbResult::~DescribeIntranetAttributeKbResult() -{} - -void DescribeIntranetAttributeKbResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - if(!value["InstanceId"].isNull()) - instanceId_ = value["InstanceId"].asString(); - if(!value["VlanId"].isNull()) - vlanId_ = value["VlanId"].asString(); - if(!value["IntranetIpAddress"].isNull()) - intranetIpAddress_ = value["IntranetIpAddress"].asString(); - if(!value["IntranetMaxBandwidthIn"].isNull()) - intranetMaxBandwidthIn_ = std::stoi(value["IntranetMaxBandwidthIn"].asString()); - if(!value["IntranetMaxBandwidthOut"].isNull()) - intranetMaxBandwidthOut_ = std::stoi(value["IntranetMaxBandwidthOut"].asString()); - -} - -std::string DescribeIntranetAttributeKbResult::getInstanceId()const -{ - return instanceId_; -} - -int DescribeIntranetAttributeKbResult::getIntranetMaxBandwidthOut()const -{ - return intranetMaxBandwidthOut_; -} - -std::string DescribeIntranetAttributeKbResult::getVlanId()const -{ - return vlanId_; -} - -std::string DescribeIntranetAttributeKbResult::getIntranetIpAddress()const -{ - return intranetIpAddress_; -} - -int DescribeIntranetAttributeKbResult::getIntranetMaxBandwidthIn()const -{ - return intranetMaxBandwidthIn_; -} - diff --git a/ecs/src/model/DescribeIpRangesRequest.cc b/ecs/src/model/DescribeIpRangesRequest.cc deleted file mode 100644 index 61a0e6405..000000000 --- a/ecs/src/model/DescribeIpRangesRequest.cc +++ /dev/null @@ -1,126 +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 - -using AlibabaCloud::Ecs::Model::DescribeIpRangesRequest; - -DescribeIpRangesRequest::DescribeIpRangesRequest() : - RpcServiceRequest("ecs", "2014-05-26", "DescribeIpRanges") -{} - -DescribeIpRangesRequest::~DescribeIpRangesRequest() -{} - -std::string DescribeIpRangesRequest::getNicType()const -{ - return nicType_; -} - -void DescribeIpRangesRequest::setNicType(const std::string& nicType) -{ - nicType_ = nicType; - setParameter("NicType", nicType); -} - -long DescribeIpRangesRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeIpRangesRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeIpRangesRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void DescribeIpRangesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string DescribeIpRangesRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeIpRangesRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DescribeIpRangesRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void DescribeIpRangesRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -int DescribeIpRangesRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeIpRangesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string DescribeIpRangesRequest::getClusterId()const -{ - return clusterId_; -} - -void DescribeIpRangesRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -long DescribeIpRangesRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeIpRangesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -int DescribeIpRangesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void DescribeIpRangesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/ecs/src/model/DescribeIpRangesResult.cc b/ecs/src/model/DescribeIpRangesResult.cc deleted file mode 100644 index cf5f9d175..000000000 --- a/ecs/src/model/DescribeIpRangesResult.cc +++ /dev/null @@ -1,95 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -DescribeIpRangesResult::DescribeIpRangesResult() : - ServiceResult() -{} - -DescribeIpRangesResult::DescribeIpRangesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeIpRangesResult::~DescribeIpRangesResult() -{} - -void DescribeIpRangesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto allIpRanges = value["IpRanges"]["IpRange"]; - for (auto value : allIpRanges) - { - IpRange ipRangesObject; - if(!value["IpAddress"].isNull()) - ipRangesObject.ipAddress = value["IpAddress"].asString(); - if(!value["NicType"].isNull()) - ipRangesObject.nicType = value["NicType"].asString(); - ipRanges_.push_back(ipRangesObject); - } - if(!value["RegionId"].isNull()) - regionId_ = value["RegionId"].asString(); - if(!value["ClusterId"].isNull()) - clusterId_ = value["ClusterId"].asString(); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - -} - -int DescribeIpRangesResult::getTotalCount()const -{ - return totalCount_; -} - -int DescribeIpRangesResult::getPageSize()const -{ - return pageSize_; -} - -std::string DescribeIpRangesResult::getClusterId()const -{ - return clusterId_; -} - -int DescribeIpRangesResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector DescribeIpRangesResult::getIpRanges()const -{ - return ipRanges_; -} - -std::string DescribeIpRangesResult::getRegionId()const -{ - return regionId_; -} - diff --git a/ecs/src/model/DescribeRecycleBinRequest.cc b/ecs/src/model/DescribeRecycleBinRequest.cc deleted file mode 100644 index bfd8f091e..000000000 --- a/ecs/src/model/DescribeRecycleBinRequest.cc +++ /dev/null @@ -1,126 +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 - -using AlibabaCloud::Ecs::Model::DescribeRecycleBinRequest; - -DescribeRecycleBinRequest::DescribeRecycleBinRequest() : - RpcServiceRequest("ecs", "2014-05-26", "DescribeRecycleBin") -{} - -DescribeRecycleBinRequest::~DescribeRecycleBinRequest() -{} - -long DescribeRecycleBinRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeRecycleBinRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeRecycleBinRequest::getResourceId()const -{ - return resourceId_; -} - -void DescribeRecycleBinRequest::setResourceId(const std::string& resourceId) -{ - resourceId_ = resourceId; - setParameter("ResourceId", resourceId); -} - -std::string DescribeRecycleBinRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void DescribeRecycleBinRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string DescribeRecycleBinRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeRecycleBinRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DescribeRecycleBinRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void DescribeRecycleBinRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -int DescribeRecycleBinRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeRecycleBinRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -long DescribeRecycleBinRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeRecycleBinRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -int DescribeRecycleBinRequest::getPageNumber()const -{ - return pageNumber_; -} - -void DescribeRecycleBinRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string DescribeRecycleBinRequest::getStatus()const -{ - return status_; -} - -void DescribeRecycleBinRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); -} - diff --git a/ecs/src/model/DescribeRecycleBinResult.cc b/ecs/src/model/DescribeRecycleBinResult.cc deleted file mode 100644 index ab49e768a..000000000 --- a/ecs/src/model/DescribeRecycleBinResult.cc +++ /dev/null @@ -1,83 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -DescribeRecycleBinResult::DescribeRecycleBinResult() : - ServiceResult() -{} - -DescribeRecycleBinResult::DescribeRecycleBinResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeRecycleBinResult::~DescribeRecycleBinResult() -{} - -void DescribeRecycleBinResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto allRecycleBinModels = value["RecycleBinModels"]["RecycleBinModel"]; - for (auto value : allRecycleBinModels) - { - RecycleBinModel recycleBinModelsObject; - if(!value["ResourceId"].isNull()) - recycleBinModelsObject.resourceId = value["ResourceId"].asString(); - if(!value["RegionId"].isNull()) - recycleBinModelsObject.regionId = value["RegionId"].asString(); - if(!value["ResourceType"].isNull()) - recycleBinModelsObject.resourceType = value["ResourceType"].asString(); - if(!value["CreationTime"].isNull()) - recycleBinModelsObject.creationTime = value["CreationTime"].asString(); - if(!value["Status"].isNull()) - recycleBinModelsObject.status = value["Status"].asString(); - auto allRelationResources = value["RelationResources"]["relationResource"]; - for (auto value : allRelationResources) - { - RecycleBinModel::RelationResource relationResourcesObject; - if(!value["RelationResourceId"].isNull()) - relationResourcesObject.relationResourceId = value["RelationResourceId"].asString(); - if(!value["RelationResourceType"].isNull()) - relationResourcesObject.relationResourceType = value["RelationResourceType"].asString(); - recycleBinModelsObject.relationResources.push_back(relationResourcesObject); - } - recycleBinModels_.push_back(recycleBinModelsObject); - } - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - -} - -int DescribeRecycleBinResult::getTotalCount()const -{ - return totalCount_; -} - -std::vector DescribeRecycleBinResult::getRecycleBinModels()const -{ - return recycleBinModels_; -} - diff --git a/ecs/src/model/DescribeTagKeysRequest.cc b/ecs/src/model/DescribeTagKeysRequest.cc deleted file mode 100644 index f2380af9c..000000000 --- a/ecs/src/model/DescribeTagKeysRequest.cc +++ /dev/null @@ -1,115 +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 - -using AlibabaCloud::Ecs::Model::DescribeTagKeysRequest; - -DescribeTagKeysRequest::DescribeTagKeysRequest() : - RpcServiceRequest("ecs", "2014-05-26", "DescribeTagKeys") -{} - -DescribeTagKeysRequest::~DescribeTagKeysRequest() -{} - -long DescribeTagKeysRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeTagKeysRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeTagKeysRequest::getResourceId()const -{ - return resourceId_; -} - -void DescribeTagKeysRequest::setResourceId(const std::string& resourceId) -{ - resourceId_ = resourceId; - setParameter("ResourceId", resourceId); -} - -std::string DescribeTagKeysRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void DescribeTagKeysRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string DescribeTagKeysRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeTagKeysRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -int DescribeTagKeysRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeTagKeysRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -long DescribeTagKeysRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeTagKeysRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeTagKeysRequest::getResourceType()const -{ - return resourceType_; -} - -void DescribeTagKeysRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); -} - -int DescribeTagKeysRequest::getPageNumber()const -{ - return pageNumber_; -} - -void DescribeTagKeysRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/ecs/src/model/DescribeTagKeysResult.cc b/ecs/src/model/DescribeTagKeysResult.cc deleted file mode 100644 index 56fd7560b..000000000 --- a/ecs/src/model/DescribeTagKeysResult.cc +++ /dev/null @@ -1,74 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -DescribeTagKeysResult::DescribeTagKeysResult() : - ServiceResult() -{} - -DescribeTagKeysResult::DescribeTagKeysResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeTagKeysResult::~DescribeTagKeysResult() -{} - -void DescribeTagKeysResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto allTagKeys = value["TagKeys"]["TagKey"]; - for (const auto &item : allTagKeys) - tagKeys_.push_back(item.asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - -} - -int DescribeTagKeysResult::getTotalCount()const -{ - return totalCount_; -} - -int DescribeTagKeysResult::getPageSize()const -{ - return pageSize_; -} - -int DescribeTagKeysResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector DescribeTagKeysResult::getTagKeys()const -{ - return tagKeys_; -} - diff --git a/ecs/src/model/DescribeVolumesRequest.cc b/ecs/src/model/DescribeVolumesRequest.cc deleted file mode 100644 index fa54bf7c8..000000000 --- a/ecs/src/model/DescribeVolumesRequest.cc +++ /dev/null @@ -1,220 +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 - -using AlibabaCloud::Ecs::Model::DescribeVolumesRequest; - -DescribeVolumesRequest::DescribeVolumesRequest() : - RpcServiceRequest("ecs", "2014-05-26", "DescribeVolumes") -{} - -DescribeVolumesRequest::~DescribeVolumesRequest() -{} - -long DescribeVolumesRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeVolumesRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeVolumesRequest::getSnapshotId()const -{ - return snapshotId_; -} - -void DescribeVolumesRequest::setSnapshotId(const std::string& snapshotId) -{ - snapshotId_ = snapshotId; - setParameter("SnapshotId", snapshotId); -} - -std::string DescribeVolumesRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void DescribeVolumesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string DescribeVolumesRequest::getAutoSnapshotPolicyId()const -{ - return autoSnapshotPolicyId_; -} - -void DescribeVolumesRequest::setAutoSnapshotPolicyId(const std::string& autoSnapshotPolicyId) -{ - autoSnapshotPolicyId_ = autoSnapshotPolicyId; - setParameter("AutoSnapshotPolicyId", autoSnapshotPolicyId); -} - -std::string DescribeVolumesRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void DescribeVolumesRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -bool DescribeVolumesRequest::getEnableAutomatedSnapshotPolicy()const -{ - return enableAutomatedSnapshotPolicy_; -} - -void DescribeVolumesRequest::setEnableAutomatedSnapshotPolicy(bool enableAutomatedSnapshotPolicy) -{ - enableAutomatedSnapshotPolicy_ = enableAutomatedSnapshotPolicy; - setParameter("EnableAutomatedSnapshotPolicy", std::to_string(enableAutomatedSnapshotPolicy)); -} - -long DescribeVolumesRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeVolumesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -int DescribeVolumesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void DescribeVolumesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string DescribeVolumesRequest::getInstanceId()const -{ - return instanceId_; -} - -void DescribeVolumesRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string DescribeVolumesRequest::getLockReason()const -{ - return lockReason_; -} - -void DescribeVolumesRequest::setLockReason(const std::string& lockReason) -{ - lockReason_ = lockReason; - setParameter("LockReason", lockReason); -} - -std::string DescribeVolumesRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeVolumesRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -int DescribeVolumesRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeVolumesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string DescribeVolumesRequest::getZoneId()const -{ - return zoneId_; -} - -void DescribeVolumesRequest::setZoneId(const std::string& zoneId) -{ - zoneId_ = zoneId; - setParameter("ZoneId", zoneId); -} - -std::string DescribeVolumesRequest::getVolumeIds()const -{ - return volumeIds_; -} - -void DescribeVolumesRequest::setVolumeIds(const std::string& volumeIds) -{ - volumeIds_ = volumeIds; - setParameter("VolumeIds", volumeIds); -} - -std::vector DescribeVolumesRequest::getTag()const -{ - return tag_; -} - -void DescribeVolumesRequest::setTag(const std::vector& tag) -{ - tag_ = tag; - int i = 0; - for(int i = 0; i!= tag.size(); i++) { - auto obj = tag.at(i); - std::string str ="Tag."+ std::to_string(i); - setParameter(str + ".Value", obj.value); - setParameter(str + ".Key", obj.key); - } -} - -std::string DescribeVolumesRequest::getCategory()const -{ - return category_; -} - -void DescribeVolumesRequest::setCategory(const std::string& category) -{ - category_ = category; - setParameter("Category", category); -} - -std::string DescribeVolumesRequest::getStatus()const -{ - return status_; -} - -void DescribeVolumesRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); -} - diff --git a/ecs/src/model/DescribeVolumesResult.cc b/ecs/src/model/DescribeVolumesResult.cc deleted file mode 100644 index 48e1d5c1f..000000000 --- a/ecs/src/model/DescribeVolumesResult.cc +++ /dev/null @@ -1,139 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -DescribeVolumesResult::DescribeVolumesResult() : - ServiceResult() -{} - -DescribeVolumesResult::DescribeVolumesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeVolumesResult::~DescribeVolumesResult() -{} - -void DescribeVolumesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto allVolumes = value["Volumes"]["Volume"]; - for (auto value : allVolumes) - { - Volume volumesObject; - if(!value["VolumeId"].isNull()) - volumesObject.volumeId = value["VolumeId"].asString(); - if(!value["RegionId"].isNull()) - volumesObject.regionId = value["RegionId"].asString(); - if(!value["ZoneId"].isNull()) - volumesObject.zoneId = value["ZoneId"].asString(); - if(!value["VolumeName"].isNull()) - volumesObject.volumeName = value["VolumeName"].asString(); - if(!value["Description"].isNull()) - volumesObject.description = value["Description"].asString(); - if(!value["Category"].isNull()) - volumesObject.category = value["Category"].asString(); - if(!value["Size"].isNull()) - volumesObject.size = std::stoi(value["Size"].asString()); - if(!value["SourceSnapshotId"].isNull()) - volumesObject.sourceSnapshotId = value["SourceSnapshotId"].asString(); - if(!value["AutoSnapshotPolicyId"].isNull()) - volumesObject.autoSnapshotPolicyId = value["AutoSnapshotPolicyId"].asString(); - if(!value["SnapshotLinkId"].isNull()) - volumesObject.snapshotLinkId = value["SnapshotLinkId"].asString(); - if(!value["Status"].isNull()) - volumesObject.status = value["Status"].asString(); - if(!value["EnableAutomatedSnapshotPolicy"].isNull()) - volumesObject.enableAutomatedSnapshotPolicy = value["EnableAutomatedSnapshotPolicy"].asString() == "true"; - if(!value["CreationTime"].isNull()) - volumesObject.creationTime = value["CreationTime"].asString(); - if(!value["VolumeChargeType"].isNull()) - volumesObject.volumeChargeType = value["VolumeChargeType"].asString(); - if(!value["MountInstanceNum"].isNull()) - volumesObject.mountInstanceNum = std::stoi(value["MountInstanceNum"].asString()); - if(!value["Encrypted"].isNull()) - volumesObject.encrypted = value["Encrypted"].asString() == "true"; - auto allOperationLocks = value["OperationLocks"]["OperationLock"]; - for (auto value : allOperationLocks) - { - Volume::OperationLock operationLocksObject; - if(!value["LockReason"].isNull()) - operationLocksObject.lockReason = value["LockReason"].asString(); - volumesObject.operationLocks.push_back(operationLocksObject); - } - auto allMountInstances = value["MountInstances"]["MountInstance"]; - for (auto value : allMountInstances) - { - Volume::MountInstance mountInstancesObject; - if(!value["InstanceId"].isNull()) - mountInstancesObject.instanceId = value["InstanceId"].asString(); - if(!value["Device"].isNull()) - mountInstancesObject.device = value["Device"].asString(); - if(!value["AttachedTime"].isNull()) - mountInstancesObject.attachedTime = value["AttachedTime"].asString(); - volumesObject.mountInstances.push_back(mountInstancesObject); - } - auto allTags = value["Tags"]["Tag"]; - for (auto value : allTags) - { - Volume::Tag tagsObject; - if(!value["TagKey"].isNull()) - tagsObject.tagKey = value["TagKey"].asString(); - if(!value["TagValue"].isNull()) - tagsObject.tagValue = value["TagValue"].asString(); - volumesObject.tags.push_back(tagsObject); - } - volumes_.push_back(volumesObject); - } - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - -} - -int DescribeVolumesResult::getTotalCount()const -{ - return totalCount_; -} - -std::vector DescribeVolumesResult::getVolumes()const -{ - return volumes_; -} - -int DescribeVolumesResult::getPageSize()const -{ - return pageSize_; -} - -int DescribeVolumesResult::getPageNumber()const -{ - return pageNumber_; -} - diff --git a/ecs/src/model/DetachVolumeRequest.cc b/ecs/src/model/DetachVolumeRequest.cc deleted file mode 100644 index f689d1bf2..000000000 --- a/ecs/src/model/DetachVolumeRequest.cc +++ /dev/null @@ -1,104 +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 - -using AlibabaCloud::Ecs::Model::DetachVolumeRequest; - -DetachVolumeRequest::DetachVolumeRequest() : - RpcServiceRequest("ecs", "2014-05-26", "DetachVolume") -{} - -DetachVolumeRequest::~DetachVolumeRequest() -{} - -long DetachVolumeRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DetachVolumeRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DetachVolumeRequest::getInstanceId()const -{ - return instanceId_; -} - -void DetachVolumeRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string DetachVolumeRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void DetachVolumeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string DetachVolumeRequest::getRegionId()const -{ - return regionId_; -} - -void DetachVolumeRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DetachVolumeRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void DetachVolumeRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -std::string DetachVolumeRequest::getVolumeId()const -{ - return volumeId_; -} - -void DetachVolumeRequest::setVolumeId(const std::string& volumeId) -{ - volumeId_ = volumeId; - setParameter("VolumeId", volumeId); -} - -long DetachVolumeRequest::getOwnerId()const -{ - return ownerId_; -} - -void DetachVolumeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/ecs/src/model/DetachVolumeResult.cc b/ecs/src/model/DetachVolumeResult.cc deleted file mode 100644 index a058ceb36..000000000 --- a/ecs/src/model/DetachVolumeResult.cc +++ /dev/null @@ -1,45 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -DetachVolumeResult::DetachVolumeResult() : - ServiceResult() -{} - -DetachVolumeResult::DetachVolumeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DetachVolumeResult::~DetachVolumeResult() -{} - -void DetachVolumeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - diff --git a/ecs/src/model/ModifyInstanceAttributeRequest.cc b/ecs/src/model/ModifyInstanceAttributeRequest.cc index 75e8ce123..92e24c762 100644 --- a/ecs/src/model/ModifyInstanceAttributeRequest.cc +++ b/ecs/src/model/ModifyInstanceAttributeRequest.cc @@ -102,6 +102,17 @@ void ModifyInstanceAttributeRequest::setOwnerId(long ownerId) setParameter("OwnerId", std::to_string(ownerId)); } +bool ModifyInstanceAttributeRequest::getDeletionProtection()const +{ + return deletionProtection_; +} + +void ModifyInstanceAttributeRequest::setDeletionProtection(bool deletionProtection) +{ + deletionProtection_ = deletionProtection; + setParameter("DeletionProtection", std::to_string(deletionProtection)); +} + std::string ModifyInstanceAttributeRequest::getUserData()const { return userData_; diff --git a/ecs/src/model/ModifyIntranetBandwidthKbRequest.cc b/ecs/src/model/ModifyIntranetBandwidthKbRequest.cc deleted file mode 100644 index a93e3aa38..000000000 --- a/ecs/src/model/ModifyIntranetBandwidthKbRequest.cc +++ /dev/null @@ -1,104 +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 - -using AlibabaCloud::Ecs::Model::ModifyIntranetBandwidthKbRequest; - -ModifyIntranetBandwidthKbRequest::ModifyIntranetBandwidthKbRequest() : - RpcServiceRequest("ecs", "2014-05-26", "ModifyIntranetBandwidthKb") -{} - -ModifyIntranetBandwidthKbRequest::~ModifyIntranetBandwidthKbRequest() -{} - -long ModifyIntranetBandwidthKbRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyIntranetBandwidthKbRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -int ModifyIntranetBandwidthKbRequest::getIntranetMaxBandwidthOut()const -{ - return intranetMaxBandwidthOut_; -} - -void ModifyIntranetBandwidthKbRequest::setIntranetMaxBandwidthOut(int intranetMaxBandwidthOut) -{ - intranetMaxBandwidthOut_ = intranetMaxBandwidthOut; - setParameter("IntranetMaxBandwidthOut", std::to_string(intranetMaxBandwidthOut)); -} - -std::string ModifyIntranetBandwidthKbRequest::getInstanceId()const -{ - return instanceId_; -} - -void ModifyIntranetBandwidthKbRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -int ModifyIntranetBandwidthKbRequest::getIntranetMaxBandwidthIn()const -{ - return intranetMaxBandwidthIn_; -} - -void ModifyIntranetBandwidthKbRequest::setIntranetMaxBandwidthIn(int intranetMaxBandwidthIn) -{ - intranetMaxBandwidthIn_ = intranetMaxBandwidthIn; - setParameter("IntranetMaxBandwidthIn", std::to_string(intranetMaxBandwidthIn)); -} - -std::string ModifyIntranetBandwidthKbRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void ModifyIntranetBandwidthKbRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string ModifyIntranetBandwidthKbRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void ModifyIntranetBandwidthKbRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -long ModifyIntranetBandwidthKbRequest::getOwnerId()const -{ - return ownerId_; -} - -void ModifyIntranetBandwidthKbRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/ecs/src/model/ModifyIntranetBandwidthKbResult.cc b/ecs/src/model/ModifyIntranetBandwidthKbResult.cc deleted file mode 100644 index b72bac119..000000000 --- a/ecs/src/model/ModifyIntranetBandwidthKbResult.cc +++ /dev/null @@ -1,45 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -ModifyIntranetBandwidthKbResult::ModifyIntranetBandwidthKbResult() : - ServiceResult() -{} - -ModifyIntranetBandwidthKbResult::ModifyIntranetBandwidthKbResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyIntranetBandwidthKbResult::~ModifyIntranetBandwidthKbResult() -{} - -void ModifyIntranetBandwidthKbResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - diff --git a/ecs/src/model/ModifyUserEventAttributeRequest.cc b/ecs/src/model/ModifyUserEventAttributeRequest.cc deleted file mode 100644 index 288b7bf9b..000000000 --- a/ecs/src/model/ModifyUserEventAttributeRequest.cc +++ /dev/null @@ -1,313 +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 - -using AlibabaCloud::Ecs::Model::ModifyUserEventAttributeRequest; - -ModifyUserEventAttributeRequest::ModifyUserEventAttributeRequest() : - RpcServiceRequest("ecs", "2014-05-26", "ModifyUserEventAttribute") -{} - -ModifyUserEventAttributeRequest::~ModifyUserEventAttributeRequest() -{} - -std::string ModifyUserEventAttributeRequest::getEventId()const -{ - return eventId_; -} - -void ModifyUserEventAttributeRequest::setEventId(const std::string& eventId) -{ - eventId_ = eventId; - setParameter("EventId", eventId); -} - -long ModifyUserEventAttributeRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyUserEventAttributeRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -long ModifyUserEventAttributeRequest::getCallerParentId()const -{ - return callerParentId_; -} - -void ModifyUserEventAttributeRequest::setCallerParentId(long callerParentId) -{ - callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); -} - -bool ModifyUserEventAttributeRequest::getProxy_original_security_transport()const -{ - return proxy_original_security_transport_; -} - -void ModifyUserEventAttributeRequest::setProxy_original_security_transport(bool proxy_original_security_transport) -{ - proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); -} - -std::string ModifyUserEventAttributeRequest::getProxy_original_source_ip()const -{ - return proxy_original_source_ip_; -} - -void ModifyUserEventAttributeRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) -{ - proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); -} - -std::string ModifyUserEventAttributeRequest::getOwnerIdLoginEmail()const -{ - return ownerIdLoginEmail_; -} - -void ModifyUserEventAttributeRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) -{ - ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); -} - -std::string ModifyUserEventAttributeRequest::getCallerType()const -{ - return callerType_; -} - -void ModifyUserEventAttributeRequest::setCallerType(const std::string& callerType) -{ - callerType_ = callerType; - setParameter("CallerType", callerType); -} - -std::string ModifyUserEventAttributeRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ModifyUserEventAttributeRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ModifyUserEventAttributeRequest::getSecurityToken()const -{ - return securityToken_; -} - -void ModifyUserEventAttributeRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string ModifyUserEventAttributeRequest::getRegionId()const -{ - return regionId_; -} - -void ModifyUserEventAttributeRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -bool ModifyUserEventAttributeRequest::getEnable()const -{ - return enable_; -} - -void ModifyUserEventAttributeRequest::setEnable(bool enable) -{ - enable_ = enable; - setParameter("Enable", std::to_string(enable)); -} - -std::string ModifyUserEventAttributeRequest::getRequestContent()const -{ - return requestContent_; -} - -void ModifyUserEventAttributeRequest::setRequestContent(const std::string& requestContent) -{ - requestContent_ = requestContent; - setParameter("RequestContent", requestContent); -} - -std::string ModifyUserEventAttributeRequest::getCallerBidEmail()const -{ - return callerBidEmail_; -} - -void ModifyUserEventAttributeRequest::setCallerBidEmail(const std::string& callerBidEmail) -{ - callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); -} - -std::string ModifyUserEventAttributeRequest::getCallerUidEmail()const -{ - return callerUidEmail_; -} - -void ModifyUserEventAttributeRequest::setCallerUidEmail(const std::string& callerUidEmail) -{ - callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); -} - -long ModifyUserEventAttributeRequest::getCallerUid()const -{ - return callerUid_; -} - -void ModifyUserEventAttributeRequest::setCallerUid(long callerUid) -{ - callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); -} - -std::string ModifyUserEventAttributeRequest::getApp_ip()const -{ - return app_ip_; -} - -void ModifyUserEventAttributeRequest::setApp_ip(const std::string& app_ip) -{ - app_ip_ = app_ip; - setParameter("App_ip", app_ip); -} - -std::string ModifyUserEventAttributeRequest::getResourceId()const -{ - return resourceId_; -} - -void ModifyUserEventAttributeRequest::setResourceId(const std::string& resourceId) -{ - resourceId_ = resourceId; - setParameter("ResourceId", resourceId); -} - -std::string ModifyUserEventAttributeRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void ModifyUserEventAttributeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string ModifyUserEventAttributeRequest::getCallerBid()const -{ - return callerBid_; -} - -void ModifyUserEventAttributeRequest::setCallerBid(const std::string& callerBid) -{ - callerBid_ = callerBid; - setParameter("CallerBid", callerBid); -} - -std::string ModifyUserEventAttributeRequest::getNewPlanTime()const -{ - return newPlanTime_; -} - -void ModifyUserEventAttributeRequest::setNewPlanTime(const std::string& newPlanTime) -{ - newPlanTime_ = newPlanTime; - setParameter("NewPlanTime", newPlanTime); -} - -long ModifyUserEventAttributeRequest::getOwnerId()const -{ - return ownerId_; -} - -void ModifyUserEventAttributeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -bool ModifyUserEventAttributeRequest::getProxy_trust_transport_info()const -{ - return proxy_trust_transport_info_; -} - -void ModifyUserEventAttributeRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) -{ - proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); -} - -bool ModifyUserEventAttributeRequest::getAk_mfa_present()const -{ - return ak_mfa_present_; -} - -void ModifyUserEventAttributeRequest::setAk_mfa_present(bool ak_mfa_present) -{ - ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); -} - -bool ModifyUserEventAttributeRequest::getSecurity_transport()const -{ - return security_transport_; -} - -void ModifyUserEventAttributeRequest::setSecurity_transport(bool security_transport) -{ - security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); -} - -std::string ModifyUserEventAttributeRequest::getNewExpireTime()const -{ - return newExpireTime_; -} - -void ModifyUserEventAttributeRequest::setNewExpireTime(const std::string& newExpireTime) -{ - newExpireTime_ = newExpireTime; - setParameter("NewExpireTime", newExpireTime); -} - -std::string ModifyUserEventAttributeRequest::getRequestId()const -{ - return requestId_; -} - -void ModifyUserEventAttributeRequest::setRequestId(const std::string& requestId) -{ - requestId_ = requestId; - setParameter("RequestId", requestId); -} - diff --git a/ecs/src/model/ModifyUserEventAttributeResult.cc b/ecs/src/model/ModifyUserEventAttributeResult.cc deleted file mode 100644 index 30ea93cfe..000000000 --- a/ecs/src/model/ModifyUserEventAttributeResult.cc +++ /dev/null @@ -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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -ModifyUserEventAttributeResult::ModifyUserEventAttributeResult() : - ServiceResult() -{} - -ModifyUserEventAttributeResult::ModifyUserEventAttributeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyUserEventAttributeResult::~ModifyUserEventAttributeResult() -{} - -void ModifyUserEventAttributeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - if(!value["EventId"].isNull()) - eventId_ = value["EventId"].asString(); - -} - -std::string ModifyUserEventAttributeResult::getEventId()const -{ - return eventId_; -} - diff --git a/ecs/src/model/ModifyVolumeAttributeRequest.cc b/ecs/src/model/ModifyVolumeAttributeRequest.cc deleted file mode 100644 index ba8335dec..000000000 --- a/ecs/src/model/ModifyVolumeAttributeRequest.cc +++ /dev/null @@ -1,115 +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 - -using AlibabaCloud::Ecs::Model::ModifyVolumeAttributeRequest; - -ModifyVolumeAttributeRequest::ModifyVolumeAttributeRequest() : - RpcServiceRequest("ecs", "2014-05-26", "ModifyVolumeAttribute") -{} - -ModifyVolumeAttributeRequest::~ModifyVolumeAttributeRequest() -{} - -long ModifyVolumeAttributeRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyVolumeAttributeRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ModifyVolumeAttributeRequest::getVolumeName()const -{ - return volumeName_; -} - -void ModifyVolumeAttributeRequest::setVolumeName(const std::string& volumeName) -{ - volumeName_ = volumeName; - setParameter("VolumeName", volumeName); -} - -std::string ModifyVolumeAttributeRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void ModifyVolumeAttributeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string ModifyVolumeAttributeRequest::getRegionId()const -{ - return regionId_; -} - -void ModifyVolumeAttributeRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string ModifyVolumeAttributeRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void ModifyVolumeAttributeRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -std::string ModifyVolumeAttributeRequest::getVolumeId()const -{ - return volumeId_; -} - -void ModifyVolumeAttributeRequest::setVolumeId(const std::string& volumeId) -{ - volumeId_ = volumeId; - setParameter("VolumeId", volumeId); -} - -std::string ModifyVolumeAttributeRequest::getDescription()const -{ - return description_; -} - -void ModifyVolumeAttributeRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); -} - -long ModifyVolumeAttributeRequest::getOwnerId()const -{ - return ownerId_; -} - -void ModifyVolumeAttributeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/ecs/src/model/ModifyVolumeAttributeResult.cc b/ecs/src/model/ModifyVolumeAttributeResult.cc deleted file mode 100644 index 0bab49144..000000000 --- a/ecs/src/model/ModifyVolumeAttributeResult.cc +++ /dev/null @@ -1,45 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -ModifyVolumeAttributeResult::ModifyVolumeAttributeResult() : - ServiceResult() -{} - -ModifyVolumeAttributeResult::ModifyVolumeAttributeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyVolumeAttributeResult::~ModifyVolumeAttributeResult() -{} - -void ModifyVolumeAttributeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - diff --git a/ecs/src/model/ReInitVolumeRequest.cc b/ecs/src/model/ReInitVolumeRequest.cc deleted file mode 100644 index dcd94f73b..000000000 --- a/ecs/src/model/ReInitVolumeRequest.cc +++ /dev/null @@ -1,104 +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 - -using AlibabaCloud::Ecs::Model::ReInitVolumeRequest; - -ReInitVolumeRequest::ReInitVolumeRequest() : - RpcServiceRequest("ecs", "2014-05-26", "ReInitVolume") -{} - -ReInitVolumeRequest::~ReInitVolumeRequest() -{} - -long ReInitVolumeRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ReInitVolumeRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ReInitVolumeRequest::getPassword()const -{ - return password_; -} - -void ReInitVolumeRequest::setPassword(const std::string& password) -{ - password_ = password; - setParameter("Password", password); -} - -std::string ReInitVolumeRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void ReInitVolumeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string ReInitVolumeRequest::getRegionId()const -{ - return regionId_; -} - -void ReInitVolumeRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string ReInitVolumeRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void ReInitVolumeRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -std::string ReInitVolumeRequest::getVolumeId()const -{ - return volumeId_; -} - -void ReInitVolumeRequest::setVolumeId(const std::string& volumeId) -{ - volumeId_ = volumeId; - setParameter("VolumeId", volumeId); -} - -long ReInitVolumeRequest::getOwnerId()const -{ - return ownerId_; -} - -void ReInitVolumeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/ecs/src/model/ReInitVolumeResult.cc b/ecs/src/model/ReInitVolumeResult.cc deleted file mode 100644 index 72910edf0..000000000 --- a/ecs/src/model/ReInitVolumeResult.cc +++ /dev/null @@ -1,45 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -ReInitVolumeResult::ReInitVolumeResult() : - ServiceResult() -{} - -ReInitVolumeResult::ReInitVolumeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ReInitVolumeResult::~ReInitVolumeResult() -{} - -void ReInitVolumeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - diff --git a/ecs/src/model/ResizeVolumeRequest.cc b/ecs/src/model/ResizeVolumeRequest.cc deleted file mode 100644 index 473814d0c..000000000 --- a/ecs/src/model/ResizeVolumeRequest.cc +++ /dev/null @@ -1,115 +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 - -using AlibabaCloud::Ecs::Model::ResizeVolumeRequest; - -ResizeVolumeRequest::ResizeVolumeRequest() : - RpcServiceRequest("ecs", "2014-05-26", "ResizeVolume") -{} - -ResizeVolumeRequest::~ResizeVolumeRequest() -{} - -long ResizeVolumeRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ResizeVolumeRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ResizeVolumeRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void ResizeVolumeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string ResizeVolumeRequest::getRegionId()const -{ - return regionId_; -} - -void ResizeVolumeRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string ResizeVolumeRequest::getClientToken()const -{ - return clientToken_; -} - -void ResizeVolumeRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setParameter("ClientToken", clientToken); -} - -std::string ResizeVolumeRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void ResizeVolumeRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -std::string ResizeVolumeRequest::getVolumeId()const -{ - return volumeId_; -} - -void ResizeVolumeRequest::setVolumeId(const std::string& volumeId) -{ - volumeId_ = volumeId; - setParameter("VolumeId", volumeId); -} - -int ResizeVolumeRequest::getNewSize()const -{ - return newSize_; -} - -void ResizeVolumeRequest::setNewSize(int newSize) -{ - newSize_ = newSize; - setParameter("NewSize", std::to_string(newSize)); -} - -long ResizeVolumeRequest::getOwnerId()const -{ - return ownerId_; -} - -void ResizeVolumeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/ecs/src/model/ResizeVolumeResult.cc b/ecs/src/model/ResizeVolumeResult.cc deleted file mode 100644 index e041782e6..000000000 --- a/ecs/src/model/ResizeVolumeResult.cc +++ /dev/null @@ -1,45 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -ResizeVolumeResult::ResizeVolumeResult() : - ServiceResult() -{} - -ResizeVolumeResult::ResizeVolumeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ResizeVolumeResult::~ResizeVolumeResult() -{} - -void ResizeVolumeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - diff --git a/ecs/src/model/RollbackVolumeRequest.cc b/ecs/src/model/RollbackVolumeRequest.cc deleted file mode 100644 index dfeaa9678..000000000 --- a/ecs/src/model/RollbackVolumeRequest.cc +++ /dev/null @@ -1,104 +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 - -using AlibabaCloud::Ecs::Model::RollbackVolumeRequest; - -RollbackVolumeRequest::RollbackVolumeRequest() : - RpcServiceRequest("ecs", "2014-05-26", "RollbackVolume") -{} - -RollbackVolumeRequest::~RollbackVolumeRequest() -{} - -long RollbackVolumeRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void RollbackVolumeRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string RollbackVolumeRequest::getSnapshotId()const -{ - return snapshotId_; -} - -void RollbackVolumeRequest::setSnapshotId(const std::string& snapshotId) -{ - snapshotId_ = snapshotId; - setParameter("SnapshotId", snapshotId); -} - -std::string RollbackVolumeRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void RollbackVolumeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string RollbackVolumeRequest::getRegionId()const -{ - return regionId_; -} - -void RollbackVolumeRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string RollbackVolumeRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void RollbackVolumeRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -std::string RollbackVolumeRequest::getVolumeId()const -{ - return volumeId_; -} - -void RollbackVolumeRequest::setVolumeId(const std::string& volumeId) -{ - volumeId_ = volumeId; - setParameter("VolumeId", volumeId); -} - -long RollbackVolumeRequest::getOwnerId()const -{ - return ownerId_; -} - -void RollbackVolumeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/ecs/src/model/RollbackVolumeResult.cc b/ecs/src/model/RollbackVolumeResult.cc deleted file mode 100644 index 1b5fd84a6..000000000 --- a/ecs/src/model/RollbackVolumeResult.cc +++ /dev/null @@ -1,45 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -RollbackVolumeResult::RollbackVolumeResult() : - ServiceResult() -{} - -RollbackVolumeResult::RollbackVolumeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RollbackVolumeResult::~RollbackVolumeResult() -{} - -void RollbackVolumeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - diff --git a/ecs/src/model/RunInstancesRequest.cc b/ecs/src/model/RunInstancesRequest.cc index 894fc8009..bca0fa4d8 100644 --- a/ecs/src/model/RunInstancesRequest.cc +++ b/ecs/src/model/RunInstancesRequest.cc @@ -146,6 +146,17 @@ void RunInstancesRequest::setCallerType(const std::string& callerType) setParameter("CallerType", callerType); } +bool RunInstancesRequest::getDeletionProtection()const +{ + return deletionProtection_; +} + +void RunInstancesRequest::setDeletionProtection(bool deletionProtection) +{ + deletionProtection_ = deletionProtection; + setParameter("DeletionProtection", std::to_string(deletionProtection)); +} + std::string RunInstancesRequest::getResourceGroupId()const { return resourceGroupId_; diff --git a/ecs/src/model/SignAgreementRequest.cc b/ecs/src/model/SignAgreementRequest.cc deleted file mode 100644 index 7e1bfa178..000000000 --- a/ecs/src/model/SignAgreementRequest.cc +++ /dev/null @@ -1,280 +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 - -using AlibabaCloud::Ecs::Model::SignAgreementRequest; - -SignAgreementRequest::SignAgreementRequest() : - RpcServiceRequest("ecs", "2014-05-26", "SignAgreement") -{} - -SignAgreementRequest::~SignAgreementRequest() -{} - -std::string SignAgreementRequest::getApp_ip()const -{ - return app_ip_; -} - -void SignAgreementRequest::setApp_ip(const std::string& app_ip) -{ - app_ip_ = app_ip; - setParameter("App_ip", app_ip); -} - -long SignAgreementRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void SignAgreementRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string SignAgreementRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void SignAgreementRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -long SignAgreementRequest::getCallerParentId()const -{ - return callerParentId_; -} - -void SignAgreementRequest::setCallerParentId(long callerParentId) -{ - callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); -} - -std::string SignAgreementRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void SignAgreementRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -bool SignAgreementRequest::getProxy_original_security_transport()const -{ - return proxy_original_security_transport_; -} - -void SignAgreementRequest::setProxy_original_security_transport(bool proxy_original_security_transport) -{ - proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); -} - -std::string SignAgreementRequest::getCallerBid()const -{ - return callerBid_; -} - -void SignAgreementRequest::setCallerBid(const std::string& callerBid) -{ - callerBid_ = callerBid; - setParameter("CallerBid", callerBid); -} - -long SignAgreementRequest::getOwnerId()const -{ - return ownerId_; -} - -void SignAgreementRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string SignAgreementRequest::getProxy_original_source_ip()const -{ - return proxy_original_source_ip_; -} - -void SignAgreementRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) -{ - proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); -} - -std::string SignAgreementRequest::getOwnerIdLoginEmail()const -{ - return ownerIdLoginEmail_; -} - -void SignAgreementRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) -{ - ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); -} - -std::string SignAgreementRequest::getCallerType()const -{ - return callerType_; -} - -void SignAgreementRequest::setCallerType(const std::string& callerType) -{ - callerType_ = callerType; - setParameter("CallerType", callerType); -} - -bool SignAgreementRequest::getProxy_trust_transport_info()const -{ - return proxy_trust_transport_info_; -} - -void SignAgreementRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) -{ - proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); -} - -bool SignAgreementRequest::getAk_mfa_present()const -{ - return ak_mfa_present_; -} - -void SignAgreementRequest::setAk_mfa_present(bool ak_mfa_present) -{ - ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); -} - -std::string SignAgreementRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void SignAgreementRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -bool SignAgreementRequest::getSecurity_transport()const -{ - return security_transport_; -} - -void SignAgreementRequest::setSecurity_transport(bool security_transport) -{ - security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); -} - -std::string SignAgreementRequest::getSecurityToken()const -{ - return securityToken_; -} - -void SignAgreementRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string SignAgreementRequest::getRequestId()const -{ - return requestId_; -} - -void SignAgreementRequest::setRequestId(const std::string& requestId) -{ - requestId_ = requestId; - setParameter("RequestId", requestId); -} - -bool SignAgreementRequest::getEnable()const -{ - return enable_; -} - -void SignAgreementRequest::setEnable(bool enable) -{ - enable_ = enable; - setParameter("Enable", std::to_string(enable)); -} - -std::string SignAgreementRequest::getRequestContent()const -{ - return requestContent_; -} - -void SignAgreementRequest::setRequestContent(const std::string& requestContent) -{ - requestContent_ = requestContent; - setParameter("RequestContent", requestContent); -} - -std::string SignAgreementRequest::getAgreementType()const -{ - return agreementType_; -} - -void SignAgreementRequest::setAgreementType(const std::string& agreementType) -{ - agreementType_ = agreementType; - setParameter("AgreementType", agreementType); -} - -std::string SignAgreementRequest::getCallerBidEmail()const -{ - return callerBidEmail_; -} - -void SignAgreementRequest::setCallerBidEmail(const std::string& callerBidEmail) -{ - callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); -} - -std::string SignAgreementRequest::getCallerUidEmail()const -{ - return callerUidEmail_; -} - -void SignAgreementRequest::setCallerUidEmail(const std::string& callerUidEmail) -{ - callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); -} - -long SignAgreementRequest::getCallerUid()const -{ - return callerUid_; -} - -void SignAgreementRequest::setCallerUid(long callerUid) -{ - callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); -} - diff --git a/ecs/src/model/SignAgreementResult.cc b/ecs/src/model/SignAgreementResult.cc deleted file mode 100644 index f3c47b3f4..000000000 --- a/ecs/src/model/SignAgreementResult.cc +++ /dev/null @@ -1,45 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -SignAgreementResult::SignAgreementResult() : - ServiceResult() -{} - -SignAgreementResult::SignAgreementResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SignAgreementResult::~SignAgreementResult() -{} - -void SignAgreementResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - diff --git a/ecs/src/model/UnbindIpRangeRequest.cc b/ecs/src/model/UnbindIpRangeRequest.cc deleted file mode 100644 index d5cdb06c6..000000000 --- a/ecs/src/model/UnbindIpRangeRequest.cc +++ /dev/null @@ -1,93 +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 - -using AlibabaCloud::Ecs::Model::UnbindIpRangeRequest; - -UnbindIpRangeRequest::UnbindIpRangeRequest() : - RpcServiceRequest("ecs", "2014-05-26", "UnbindIpRange") -{} - -UnbindIpRangeRequest::~UnbindIpRangeRequest() -{} - -std::string UnbindIpRangeRequest::getIpAddress()const -{ - return ipAddress_; -} - -void UnbindIpRangeRequest::setIpAddress(const std::string& ipAddress) -{ - ipAddress_ = ipAddress; - setParameter("IpAddress", ipAddress); -} - -long UnbindIpRangeRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void UnbindIpRangeRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string UnbindIpRangeRequest::getInstanceId()const -{ - return instanceId_; -} - -void UnbindIpRangeRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string UnbindIpRangeRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void UnbindIpRangeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string UnbindIpRangeRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void UnbindIpRangeRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -long UnbindIpRangeRequest::getOwnerId()const -{ - return ownerId_; -} - -void UnbindIpRangeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/ecs/src/model/UnbindIpRangeResult.cc b/ecs/src/model/UnbindIpRangeResult.cc deleted file mode 100644 index f9c087a95..000000000 --- a/ecs/src/model/UnbindIpRangeResult.cc +++ /dev/null @@ -1,45 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -UnbindIpRangeResult::UnbindIpRangeResult() : - ServiceResult() -{} - -UnbindIpRangeResult::UnbindIpRangeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UnbindIpRangeResult::~UnbindIpRangeResult() -{} - -void UnbindIpRangeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - diff --git a/ecs/src/model/ValidateSecurityGroupRequest.cc b/ecs/src/model/ValidateSecurityGroupRequest.cc deleted file mode 100644 index 93b29a257..000000000 --- a/ecs/src/model/ValidateSecurityGroupRequest.cc +++ /dev/null @@ -1,368 +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 - -using AlibabaCloud::Ecs::Model::ValidateSecurityGroupRequest; - -ValidateSecurityGroupRequest::ValidateSecurityGroupRequest() : - RpcServiceRequest("ecs", "2014-05-26", "ValidateSecurityGroup") -{} - -ValidateSecurityGroupRequest::~ValidateSecurityGroupRequest() -{} - -std::string ValidateSecurityGroupRequest::getNicType()const -{ - return nicType_; -} - -void ValidateSecurityGroupRequest::setNicType(const std::string& nicType) -{ - nicType_ = nicType; - setParameter("NicType", nicType); -} - -long ValidateSecurityGroupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ValidateSecurityGroupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -long ValidateSecurityGroupRequest::getCallerParentId()const -{ - return callerParentId_; -} - -void ValidateSecurityGroupRequest::setCallerParentId(long callerParentId) -{ - callerParentId_ = callerParentId; - setParameter("CallerParentId", std::to_string(callerParentId)); -} - -bool ValidateSecurityGroupRequest::getProxy_original_security_transport()const -{ - return proxy_original_security_transport_; -} - -void ValidateSecurityGroupRequest::setProxy_original_security_transport(bool proxy_original_security_transport) -{ - proxy_original_security_transport_ = proxy_original_security_transport; - setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport)); -} - -std::string ValidateSecurityGroupRequest::getProxy_original_source_ip()const -{ - return proxy_original_source_ip_; -} - -void ValidateSecurityGroupRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip) -{ - proxy_original_source_ip_ = proxy_original_source_ip; - setParameter("Proxy_original_source_ip", proxy_original_source_ip); -} - -std::string ValidateSecurityGroupRequest::getOwnerIdLoginEmail()const -{ - return ownerIdLoginEmail_; -} - -void ValidateSecurityGroupRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail) -{ - ownerIdLoginEmail_ = ownerIdLoginEmail; - setParameter("OwnerIdLoginEmail", ownerIdLoginEmail); -} - -std::string ValidateSecurityGroupRequest::getCallerType()const -{ - return callerType_; -} - -void ValidateSecurityGroupRequest::setCallerType(const std::string& callerType) -{ - callerType_ = callerType; - setParameter("CallerType", callerType); -} - -std::string ValidateSecurityGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ValidateSecurityGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -int ValidateSecurityGroupRequest::getSourcePort()const -{ - return sourcePort_; -} - -void ValidateSecurityGroupRequest::setSourcePort(int sourcePort) -{ - sourcePort_ = sourcePort; - setParameter("SourcePort", std::to_string(sourcePort)); -} - -std::string ValidateSecurityGroupRequest::getSourceIp()const -{ - return sourceIp_; -} - -void ValidateSecurityGroupRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -std::string ValidateSecurityGroupRequest::getSecurityToken()const -{ - return securityToken_; -} - -void ValidateSecurityGroupRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string ValidateSecurityGroupRequest::getRegionId()const -{ - return regionId_; -} - -void ValidateSecurityGroupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -bool ValidateSecurityGroupRequest::getEnable()const -{ - return enable_; -} - -void ValidateSecurityGroupRequest::setEnable(bool enable) -{ - enable_ = enable; - setParameter("Enable", std::to_string(enable)); -} - -std::string ValidateSecurityGroupRequest::getRequestContent()const -{ - return requestContent_; -} - -void ValidateSecurityGroupRequest::setRequestContent(const std::string& requestContent) -{ - requestContent_ = requestContent; - setParameter("RequestContent", requestContent); -} - -std::string ValidateSecurityGroupRequest::getCallerBidEmail()const -{ - return callerBidEmail_; -} - -void ValidateSecurityGroupRequest::setCallerBidEmail(const std::string& callerBidEmail) -{ - callerBidEmail_ = callerBidEmail; - setParameter("CallerBidEmail", callerBidEmail); -} - -std::string ValidateSecurityGroupRequest::getCallerUidEmail()const -{ - return callerUidEmail_; -} - -void ValidateSecurityGroupRequest::setCallerUidEmail(const std::string& callerUidEmail) -{ - callerUidEmail_ = callerUidEmail; - setParameter("CallerUidEmail", callerUidEmail); -} - -long ValidateSecurityGroupRequest::getCallerUid()const -{ - return callerUid_; -} - -void ValidateSecurityGroupRequest::setCallerUid(long callerUid) -{ - callerUid_ = callerUid; - setParameter("CallerUid", std::to_string(callerUid)); -} - -std::string ValidateSecurityGroupRequest::getDirection()const -{ - return direction_; -} - -void ValidateSecurityGroupRequest::setDirection(const std::string& direction) -{ - direction_ = direction; - setParameter("Direction", direction); -} - -std::string ValidateSecurityGroupRequest::getDestIp()const -{ - return destIp_; -} - -void ValidateSecurityGroupRequest::setDestIp(const std::string& destIp) -{ - destIp_ = destIp; - setParameter("DestIp", destIp); -} - -std::string ValidateSecurityGroupRequest::getApp_ip()const -{ - return app_ip_; -} - -void ValidateSecurityGroupRequest::setApp_ip(const std::string& app_ip) -{ - app_ip_ = app_ip; - setParameter("App_ip", app_ip); -} - -std::string ValidateSecurityGroupRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void ValidateSecurityGroupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - -std::string ValidateSecurityGroupRequest::getIpProtocol()const -{ - return ipProtocol_; -} - -void ValidateSecurityGroupRequest::setIpProtocol(const std::string& ipProtocol) -{ - ipProtocol_ = ipProtocol; - setParameter("IpProtocol", ipProtocol); -} - -std::string ValidateSecurityGroupRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void ValidateSecurityGroupRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -std::string ValidateSecurityGroupRequest::getCallerBid()const -{ - return callerBid_; -} - -void ValidateSecurityGroupRequest::setCallerBid(const std::string& callerBid) -{ - callerBid_ = callerBid; - setParameter("CallerBid", callerBid); -} - -long ValidateSecurityGroupRequest::getOwnerId()const -{ - return ownerId_; -} - -void ValidateSecurityGroupRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -bool ValidateSecurityGroupRequest::getProxy_trust_transport_info()const -{ - return proxy_trust_transport_info_; -} - -void ValidateSecurityGroupRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info) -{ - proxy_trust_transport_info_ = proxy_trust_transport_info; - setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info)); -} - -bool ValidateSecurityGroupRequest::getAk_mfa_present()const -{ - return ak_mfa_present_; -} - -void ValidateSecurityGroupRequest::setAk_mfa_present(bool ak_mfa_present) -{ - ak_mfa_present_ = ak_mfa_present; - setParameter("Ak_mfa_present", std::to_string(ak_mfa_present)); -} - -bool ValidateSecurityGroupRequest::getSecurity_transport()const -{ - return security_transport_; -} - -void ValidateSecurityGroupRequest::setSecurity_transport(bool security_transport) -{ - security_transport_ = security_transport; - setParameter("Security_transport", std::to_string(security_transport)); -} - -std::string ValidateSecurityGroupRequest::getInstanceId()const -{ - return instanceId_; -} - -void ValidateSecurityGroupRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string ValidateSecurityGroupRequest::getRequestId()const -{ - return requestId_; -} - -void ValidateSecurityGroupRequest::setRequestId(const std::string& requestId) -{ - requestId_ = requestId; - setParameter("RequestId", requestId); -} - -int ValidateSecurityGroupRequest::getDestPort()const -{ - return destPort_; -} - -void ValidateSecurityGroupRequest::setDestPort(int destPort) -{ - destPort_ = destPort; - setParameter("DestPort", std::to_string(destPort)); -} - diff --git a/ecs/src/model/ValidateSecurityGroupResult.cc b/ecs/src/model/ValidateSecurityGroupResult.cc deleted file mode 100644 index 57262ca86..000000000 --- a/ecs/src/model/ValidateSecurityGroupResult.cc +++ /dev/null @@ -1,90 +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 -#include - -using namespace AlibabaCloud::Ecs; -using namespace AlibabaCloud::Ecs::Model; - -ValidateSecurityGroupResult::ValidateSecurityGroupResult() : - ServiceResult() -{} - -ValidateSecurityGroupResult::ValidateSecurityGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ValidateSecurityGroupResult::~ValidateSecurityGroupResult() -{} - -void ValidateSecurityGroupResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - auto triggeredGroupRuleNode = value["TriggeredGroupRule"]; - if(!triggeredGroupRuleNode["IpProtocol"].isNull()) - triggeredGroupRule_.ipProtocol = triggeredGroupRuleNode["IpProtocol"].asString(); - if(!triggeredGroupRuleNode["PortRange"].isNull()) - triggeredGroupRule_.portRange = triggeredGroupRuleNode["PortRange"].asString(); - if(!triggeredGroupRuleNode["SourceGroupId"].isNull()) - triggeredGroupRule_.sourceGroupId = triggeredGroupRuleNode["SourceGroupId"].asString(); - if(!triggeredGroupRuleNode["SourceGroupName"].isNull()) - triggeredGroupRule_.sourceGroupName = triggeredGroupRuleNode["SourceGroupName"].asString(); - if(!triggeredGroupRuleNode["SourceCidrIp"].isNull()) - triggeredGroupRule_.sourceCidrIp = triggeredGroupRuleNode["SourceCidrIp"].asString(); - if(!triggeredGroupRuleNode["Policy"].isNull()) - triggeredGroupRule_.policy = triggeredGroupRuleNode["Policy"].asString(); - if(!triggeredGroupRuleNode["NicType"].isNull()) - triggeredGroupRule_.nicType = triggeredGroupRuleNode["NicType"].asString(); - if(!triggeredGroupRuleNode["SourceGroupOwnerAccount"].isNull()) - triggeredGroupRule_.sourceGroupOwnerAccount = triggeredGroupRuleNode["SourceGroupOwnerAccount"].asString(); - if(!triggeredGroupRuleNode["DestGroupId"].isNull()) - triggeredGroupRule_.destGroupId = triggeredGroupRuleNode["DestGroupId"].asString(); - if(!triggeredGroupRuleNode["DestGroupName"].isNull()) - triggeredGroupRule_.destGroupName = triggeredGroupRuleNode["DestGroupName"].asString(); - if(!triggeredGroupRuleNode["DestCidrIp"].isNull()) - triggeredGroupRule_.destCidrIp = triggeredGroupRuleNode["DestCidrIp"].asString(); - if(!triggeredGroupRuleNode["DestGroupOwnerAccount"].isNull()) - triggeredGroupRule_.destGroupOwnerAccount = triggeredGroupRuleNode["DestGroupOwnerAccount"].asString(); - if(!triggeredGroupRuleNode["Priority"].isNull()) - triggeredGroupRule_.priority = triggeredGroupRuleNode["Priority"].asString(); - if(!triggeredGroupRuleNode["Direction"].isNull()) - triggeredGroupRule_.direction = triggeredGroupRuleNode["Direction"].asString(); - if(!triggeredGroupRuleNode["Description"].isNull()) - triggeredGroupRule_.description = triggeredGroupRuleNode["Description"].asString(); - if(!triggeredGroupRuleNode["CreateTime"].isNull()) - triggeredGroupRule_.createTime = triggeredGroupRuleNode["CreateTime"].asString(); - if(!value["Policy"].isNull()) - policy_ = value["Policy"].asString(); - -} - -std::string ValidateSecurityGroupResult::getPolicy()const -{ - return policy_; -} - -ValidateSecurityGroupResult::TriggeredGroupRule ValidateSecurityGroupResult::getTriggeredGroupRule()const -{ - return triggeredGroupRule_; -} -