Support Spot Instance.

This commit is contained in:
sdk-team
2024-05-22 07:55:38 +00:00
parent c0327a8b18
commit 3a727a7cb8
177 changed files with 7006 additions and 1446 deletions

View File

@@ -45,6 +45,10 @@ set(ens_public_header_model
include/alibabacloud/ens/model/AuthorizeSecurityGroupEgressResult.h
include/alibabacloud/ens/model/CleanDistDataRequest.h
include/alibabacloud/ens/model/CleanDistDataResult.h
include/alibabacloud/ens/model/CopySDGRequest.h
include/alibabacloud/ens/model/CopySDGResult.h
include/alibabacloud/ens/model/CopySnapshotRequest.h
include/alibabacloud/ens/model/CopySnapshotResult.h
include/alibabacloud/ens/model/CreateARMServerInstancesRequest.h
include/alibabacloud/ens/model/CreateARMServerInstancesResult.h
include/alibabacloud/ens/model/CreateApplicationRequest.h
@@ -95,14 +99,22 @@ set(ens_public_header_model
include/alibabacloud/ens/model/CreateNetworkAclResult.h
include/alibabacloud/ens/model/CreateNetworkAclEntryRequest.h
include/alibabacloud/ens/model/CreateNetworkAclEntryResult.h
include/alibabacloud/ens/model/CreateSDGRequest.h
include/alibabacloud/ens/model/CreateSDGResult.h
include/alibabacloud/ens/model/CreateSecurityGroupRequest.h
include/alibabacloud/ens/model/CreateSecurityGroupResult.h
include/alibabacloud/ens/model/CreateSnapshotRequest.h
include/alibabacloud/ens/model/CreateSnapshotResult.h
include/alibabacloud/ens/model/CreateSnatEntryRequest.h
include/alibabacloud/ens/model/CreateSnatEntryResult.h
include/alibabacloud/ens/model/CreateVSwitchRequest.h
include/alibabacloud/ens/model/CreateVSwitchResult.h
include/alibabacloud/ens/model/DeleteApplicationRequest.h
include/alibabacloud/ens/model/DeleteApplicationResult.h
include/alibabacloud/ens/model/DeleteBucketRequest.h
include/alibabacloud/ens/model/DeleteBucketResult.h
include/alibabacloud/ens/model/DeleteBucketLifecycleRequest.h
include/alibabacloud/ens/model/DeleteBucketLifecycleResult.h
include/alibabacloud/ens/model/DeleteDeviceInternetPortRequest.h
include/alibabacloud/ens/model/DeleteDeviceInternetPortResult.h
include/alibabacloud/ens/model/DeleteDiskRequest.h
@@ -135,14 +147,22 @@ set(ens_public_header_model
include/alibabacloud/ens/model/DeleteNetworkAclResult.h
include/alibabacloud/ens/model/DeleteNetworkAclEntryRequest.h
include/alibabacloud/ens/model/DeleteNetworkAclEntryResult.h
include/alibabacloud/ens/model/DeleteObjectRequest.h
include/alibabacloud/ens/model/DeleteObjectResult.h
include/alibabacloud/ens/model/DeleteSDGRequest.h
include/alibabacloud/ens/model/DeleteSDGResult.h
include/alibabacloud/ens/model/DeleteSecurityGroupRequest.h
include/alibabacloud/ens/model/DeleteSecurityGroupResult.h
include/alibabacloud/ens/model/DeleteSnapshotRequest.h
include/alibabacloud/ens/model/DeleteSnapshotResult.h
include/alibabacloud/ens/model/DeleteSnatEntryRequest.h
include/alibabacloud/ens/model/DeleteSnatEntryResult.h
include/alibabacloud/ens/model/DeleteSnatIpForSnatEntryRequest.h
include/alibabacloud/ens/model/DeleteSnatIpForSnatEntryResult.h
include/alibabacloud/ens/model/DeleteVSwitchRequest.h
include/alibabacloud/ens/model/DeleteVSwitchResult.h
include/alibabacloud/ens/model/DeploySDGRequest.h
include/alibabacloud/ens/model/DeploySDGResult.h
include/alibabacloud/ens/model/DescribeAICImagesRequest.h
include/alibabacloud/ens/model/DescribeAICImagesResult.h
include/alibabacloud/ens/model/DescribeARMServerInstancesRequest.h
@@ -279,8 +299,6 @@ set(ens_public_header_model
include/alibabacloud/ens/model/DescribePrePaidInstanceStockResult.h
include/alibabacloud/ens/model/DescribePriceRequest.h
include/alibabacloud/ens/model/DescribePriceResult.h
include/alibabacloud/ens/model/DescribeRegionBandwidthQuotaRequest.h
include/alibabacloud/ens/model/DescribeRegionBandwidthQuotaResult.h
include/alibabacloud/ens/model/DescribeRegionIspsRequest.h
include/alibabacloud/ens/model/DescribeRegionIspsResult.h
include/alibabacloud/ens/model/DescribeRegionResourceRequest.h
@@ -289,6 +307,10 @@ set(ens_public_header_model
include/alibabacloud/ens/model/DescribeReservedResourceResult.h
include/alibabacloud/ens/model/DescribeResourceTimelineRequest.h
include/alibabacloud/ens/model/DescribeResourceTimelineResult.h
include/alibabacloud/ens/model/DescribeSDGDeploymentStatusRequest.h
include/alibabacloud/ens/model/DescribeSDGDeploymentStatusResult.h
include/alibabacloud/ens/model/DescribeSDGsRequest.h
include/alibabacloud/ens/model/DescribeSDGsResult.h
include/alibabacloud/ens/model/DescribeSecurityGroupAttributeRequest.h
include/alibabacloud/ens/model/DescribeSecurityGroupAttributeResult.h
include/alibabacloud/ens/model/DescribeSecurityGroupsRequest.h
@@ -297,6 +319,8 @@ set(ens_public_header_model
include/alibabacloud/ens/model/DescribeSelfImagesResult.h
include/alibabacloud/ens/model/DescribeServcieScheduleRequest.h
include/alibabacloud/ens/model/DescribeServcieScheduleResult.h
include/alibabacloud/ens/model/DescribeSnapshotsRequest.h
include/alibabacloud/ens/model/DescribeSnapshotsResult.h
include/alibabacloud/ens/model/DescribeSnatAttributeRequest.h
include/alibabacloud/ens/model/DescribeSnatAttributeResult.h
include/alibabacloud/ens/model/DescribeSnatTableEntriesRequest.h
@@ -305,10 +329,6 @@ set(ens_public_header_model
include/alibabacloud/ens/model/DescribeUserBandWidthDataResult.h
include/alibabacloud/ens/model/DescribeVSwitchesRequest.h
include/alibabacloud/ens/model/DescribeVSwitchesResult.h
include/alibabacloud/ens/model/DescribeWorkflowRequest.h
include/alibabacloud/ens/model/DescribeWorkflowResult.h
include/alibabacloud/ens/model/DescribeWorkflowActivityRequest.h
include/alibabacloud/ens/model/DescribeWorkflowActivityResult.h
include/alibabacloud/ens/model/DetachDiskRequest.h
include/alibabacloud/ens/model/DetachDiskResult.h
include/alibabacloud/ens/model/DistApplicationDataRequest.h
@@ -319,6 +339,12 @@ set(ens_public_header_model
include/alibabacloud/ens/model/ExportImageResult.h
include/alibabacloud/ens/model/ExportMeasurementDataRequest.h
include/alibabacloud/ens/model/ExportMeasurementDataResult.h
include/alibabacloud/ens/model/GetBucketAclRequest.h
include/alibabacloud/ens/model/GetBucketAclResult.h
include/alibabacloud/ens/model/GetBucketInfoRequest.h
include/alibabacloud/ens/model/GetBucketInfoResult.h
include/alibabacloud/ens/model/GetBucketLifecycleRequest.h
include/alibabacloud/ens/model/GetBucketLifecycleResult.h
include/alibabacloud/ens/model/GetDeviceInternetPortRequest.h
include/alibabacloud/ens/model/GetDeviceInternetPortResult.h
include/alibabacloud/ens/model/GetOssStorageAndAccByBucketsRequest.h
@@ -337,6 +363,10 @@ set(ens_public_header_model
include/alibabacloud/ens/model/LeaveSecurityGroupResult.h
include/alibabacloud/ens/model/ListApplicationsRequest.h
include/alibabacloud/ens/model/ListApplicationsResult.h
include/alibabacloud/ens/model/ListBucketsRequest.h
include/alibabacloud/ens/model/ListBucketsResult.h
include/alibabacloud/ens/model/ListObjectsRequest.h
include/alibabacloud/ens/model/ListObjectsResult.h
include/alibabacloud/ens/model/ModifyEnsEipAddressAttributeRequest.h
include/alibabacloud/ens/model/ModifyEnsEipAddressAttributeResult.h
include/alibabacloud/ens/model/ModifyEpnInstanceRequest.h
@@ -353,6 +383,8 @@ set(ens_public_header_model
include/alibabacloud/ens/model/ModifyInstanceAttributeResult.h
include/alibabacloud/ens/model/ModifyInstanceAutoRenewAttributeRequest.h
include/alibabacloud/ens/model/ModifyInstanceAutoRenewAttributeResult.h
include/alibabacloud/ens/model/ModifyInstanceChargeTypeRequest.h
include/alibabacloud/ens/model/ModifyInstanceChargeTypeResult.h
include/alibabacloud/ens/model/ModifyLoadBalancerAttributeRequest.h
include/alibabacloud/ens/model/ModifyLoadBalancerAttributeResult.h
include/alibabacloud/ens/model/ModifyNetworkAttributeRequest.h
@@ -361,10 +393,18 @@ set(ens_public_header_model
include/alibabacloud/ens/model/ModifyPrepayInstanceSpecResult.h
include/alibabacloud/ens/model/ModifySecurityGroupAttributeRequest.h
include/alibabacloud/ens/model/ModifySecurityGroupAttributeResult.h
include/alibabacloud/ens/model/ModifySnapshotAttributeRequest.h
include/alibabacloud/ens/model/ModifySnapshotAttributeResult.h
include/alibabacloud/ens/model/ModifyVSwitchAttributeRequest.h
include/alibabacloud/ens/model/ModifyVSwitchAttributeResult.h
include/alibabacloud/ens/model/PushApplicationDataRequest.h
include/alibabacloud/ens/model/PushApplicationDataResult.h
include/alibabacloud/ens/model/PutBucketRequest.h
include/alibabacloud/ens/model/PutBucketResult.h
include/alibabacloud/ens/model/PutBucketAclRequest.h
include/alibabacloud/ens/model/PutBucketAclResult.h
include/alibabacloud/ens/model/PutBucketLifecycleRequest.h
include/alibabacloud/ens/model/PutBucketLifecycleResult.h
include/alibabacloud/ens/model/ReInitDiskRequest.h
include/alibabacloud/ens/model/ReInitDiskResult.h
include/alibabacloud/ens/model/RebootAICInstanceRequest.h
@@ -395,6 +435,8 @@ set(ens_public_header_model
include/alibabacloud/ens/model/RemoveBackendServersResult.h
include/alibabacloud/ens/model/RemovePublicIpsFromEpnInstanceRequest.h
include/alibabacloud/ens/model/RemovePublicIpsFromEpnInstanceResult.h
include/alibabacloud/ens/model/RemoveSDGRequest.h
include/alibabacloud/ens/model/RemoveSDGResult.h
include/alibabacloud/ens/model/RemoveVSwitchesFromEpnInstanceRequest.h
include/alibabacloud/ens/model/RemoveVSwitchesFromEpnInstanceResult.h
include/alibabacloud/ens/model/RenewARMServerInstanceRequest.h
@@ -415,22 +457,18 @@ set(ens_public_header_model
include/alibabacloud/ens/model/ResizeDiskResult.h
include/alibabacloud/ens/model/RestartDeviceInstanceRequest.h
include/alibabacloud/ens/model/RestartDeviceInstanceResult.h
include/alibabacloud/ens/model/RestartWorkflowRequest.h
include/alibabacloud/ens/model/RestartWorkflowResult.h
include/alibabacloud/ens/model/RetryWorkflowRequest.h
include/alibabacloud/ens/model/RetryWorkflowResult.h
include/alibabacloud/ens/model/RevokeSecurityGroupRequest.h
include/alibabacloud/ens/model/RevokeSecurityGroupResult.h
include/alibabacloud/ens/model/RevokeSecurityGroupEgressRequest.h
include/alibabacloud/ens/model/RevokeSecurityGroupEgressResult.h
include/alibabacloud/ens/model/RollbackApplicationRequest.h
include/alibabacloud/ens/model/RollbackApplicationResult.h
include/alibabacloud/ens/model/RollbackWorkflowRequest.h
include/alibabacloud/ens/model/RollbackWorkflowResult.h
include/alibabacloud/ens/model/RunInstancesRequest.h
include/alibabacloud/ens/model/RunInstancesResult.h
include/alibabacloud/ens/model/RunServiceScheduleRequest.h
include/alibabacloud/ens/model/RunServiceScheduleResult.h
include/alibabacloud/ens/model/SaveSDGRequest.h
include/alibabacloud/ens/model/SaveSDGResult.h
include/alibabacloud/ens/model/SetBackendServersRequest.h
include/alibabacloud/ens/model/SetBackendServersResult.h
include/alibabacloud/ens/model/SetLoadBalancerHTTPListenerAttributeRequest.h
@@ -463,8 +501,6 @@ set(ens_public_header_model
include/alibabacloud/ens/model/StopLoadBalancerListenerResult.h
include/alibabacloud/ens/model/StopSnatIpForSnatEntryRequest.h
include/alibabacloud/ens/model/StopSnatIpForSnatEntryResult.h
include/alibabacloud/ens/model/TerminateWorkflowRequest.h
include/alibabacloud/ens/model/TerminateWorkflowResult.h
include/alibabacloud/ens/model/UnAssociateEnsEipAddressRequest.h
include/alibabacloud/ens/model/UnAssociateEnsEipAddressResult.h
include/alibabacloud/ens/model/UnassignPrivateIpAddressesRequest.h
@@ -504,6 +540,10 @@ set(ens_src
src/model/AuthorizeSecurityGroupEgressResult.cc
src/model/CleanDistDataRequest.cc
src/model/CleanDistDataResult.cc
src/model/CopySDGRequest.cc
src/model/CopySDGResult.cc
src/model/CopySnapshotRequest.cc
src/model/CopySnapshotResult.cc
src/model/CreateARMServerInstancesRequest.cc
src/model/CreateARMServerInstancesResult.cc
src/model/CreateApplicationRequest.cc
@@ -554,14 +594,22 @@ set(ens_src
src/model/CreateNetworkAclResult.cc
src/model/CreateNetworkAclEntryRequest.cc
src/model/CreateNetworkAclEntryResult.cc
src/model/CreateSDGRequest.cc
src/model/CreateSDGResult.cc
src/model/CreateSecurityGroupRequest.cc
src/model/CreateSecurityGroupResult.cc
src/model/CreateSnapshotRequest.cc
src/model/CreateSnapshotResult.cc
src/model/CreateSnatEntryRequest.cc
src/model/CreateSnatEntryResult.cc
src/model/CreateVSwitchRequest.cc
src/model/CreateVSwitchResult.cc
src/model/DeleteApplicationRequest.cc
src/model/DeleteApplicationResult.cc
src/model/DeleteBucketRequest.cc
src/model/DeleteBucketResult.cc
src/model/DeleteBucketLifecycleRequest.cc
src/model/DeleteBucketLifecycleResult.cc
src/model/DeleteDeviceInternetPortRequest.cc
src/model/DeleteDeviceInternetPortResult.cc
src/model/DeleteDiskRequest.cc
@@ -594,14 +642,22 @@ set(ens_src
src/model/DeleteNetworkAclResult.cc
src/model/DeleteNetworkAclEntryRequest.cc
src/model/DeleteNetworkAclEntryResult.cc
src/model/DeleteObjectRequest.cc
src/model/DeleteObjectResult.cc
src/model/DeleteSDGRequest.cc
src/model/DeleteSDGResult.cc
src/model/DeleteSecurityGroupRequest.cc
src/model/DeleteSecurityGroupResult.cc
src/model/DeleteSnapshotRequest.cc
src/model/DeleteSnapshotResult.cc
src/model/DeleteSnatEntryRequest.cc
src/model/DeleteSnatEntryResult.cc
src/model/DeleteSnatIpForSnatEntryRequest.cc
src/model/DeleteSnatIpForSnatEntryResult.cc
src/model/DeleteVSwitchRequest.cc
src/model/DeleteVSwitchResult.cc
src/model/DeploySDGRequest.cc
src/model/DeploySDGResult.cc
src/model/DescribeAICImagesRequest.cc
src/model/DescribeAICImagesResult.cc
src/model/DescribeARMServerInstancesRequest.cc
@@ -738,8 +794,6 @@ set(ens_src
src/model/DescribePrePaidInstanceStockResult.cc
src/model/DescribePriceRequest.cc
src/model/DescribePriceResult.cc
src/model/DescribeRegionBandwidthQuotaRequest.cc
src/model/DescribeRegionBandwidthQuotaResult.cc
src/model/DescribeRegionIspsRequest.cc
src/model/DescribeRegionIspsResult.cc
src/model/DescribeRegionResourceRequest.cc
@@ -748,6 +802,10 @@ set(ens_src
src/model/DescribeReservedResourceResult.cc
src/model/DescribeResourceTimelineRequest.cc
src/model/DescribeResourceTimelineResult.cc
src/model/DescribeSDGDeploymentStatusRequest.cc
src/model/DescribeSDGDeploymentStatusResult.cc
src/model/DescribeSDGsRequest.cc
src/model/DescribeSDGsResult.cc
src/model/DescribeSecurityGroupAttributeRequest.cc
src/model/DescribeSecurityGroupAttributeResult.cc
src/model/DescribeSecurityGroupsRequest.cc
@@ -756,6 +814,8 @@ set(ens_src
src/model/DescribeSelfImagesResult.cc
src/model/DescribeServcieScheduleRequest.cc
src/model/DescribeServcieScheduleResult.cc
src/model/DescribeSnapshotsRequest.cc
src/model/DescribeSnapshotsResult.cc
src/model/DescribeSnatAttributeRequest.cc
src/model/DescribeSnatAttributeResult.cc
src/model/DescribeSnatTableEntriesRequest.cc
@@ -764,10 +824,6 @@ set(ens_src
src/model/DescribeUserBandWidthDataResult.cc
src/model/DescribeVSwitchesRequest.cc
src/model/DescribeVSwitchesResult.cc
src/model/DescribeWorkflowRequest.cc
src/model/DescribeWorkflowResult.cc
src/model/DescribeWorkflowActivityRequest.cc
src/model/DescribeWorkflowActivityResult.cc
src/model/DetachDiskRequest.cc
src/model/DetachDiskResult.cc
src/model/DistApplicationDataRequest.cc
@@ -778,6 +834,12 @@ set(ens_src
src/model/ExportImageResult.cc
src/model/ExportMeasurementDataRequest.cc
src/model/ExportMeasurementDataResult.cc
src/model/GetBucketAclRequest.cc
src/model/GetBucketAclResult.cc
src/model/GetBucketInfoRequest.cc
src/model/GetBucketInfoResult.cc
src/model/GetBucketLifecycleRequest.cc
src/model/GetBucketLifecycleResult.cc
src/model/GetDeviceInternetPortRequest.cc
src/model/GetDeviceInternetPortResult.cc
src/model/GetOssStorageAndAccByBucketsRequest.cc
@@ -796,6 +858,10 @@ set(ens_src
src/model/LeaveSecurityGroupResult.cc
src/model/ListApplicationsRequest.cc
src/model/ListApplicationsResult.cc
src/model/ListBucketsRequest.cc
src/model/ListBucketsResult.cc
src/model/ListObjectsRequest.cc
src/model/ListObjectsResult.cc
src/model/ModifyEnsEipAddressAttributeRequest.cc
src/model/ModifyEnsEipAddressAttributeResult.cc
src/model/ModifyEpnInstanceRequest.cc
@@ -812,6 +878,8 @@ set(ens_src
src/model/ModifyInstanceAttributeResult.cc
src/model/ModifyInstanceAutoRenewAttributeRequest.cc
src/model/ModifyInstanceAutoRenewAttributeResult.cc
src/model/ModifyInstanceChargeTypeRequest.cc
src/model/ModifyInstanceChargeTypeResult.cc
src/model/ModifyLoadBalancerAttributeRequest.cc
src/model/ModifyLoadBalancerAttributeResult.cc
src/model/ModifyNetworkAttributeRequest.cc
@@ -820,10 +888,18 @@ set(ens_src
src/model/ModifyPrepayInstanceSpecResult.cc
src/model/ModifySecurityGroupAttributeRequest.cc
src/model/ModifySecurityGroupAttributeResult.cc
src/model/ModifySnapshotAttributeRequest.cc
src/model/ModifySnapshotAttributeResult.cc
src/model/ModifyVSwitchAttributeRequest.cc
src/model/ModifyVSwitchAttributeResult.cc
src/model/PushApplicationDataRequest.cc
src/model/PushApplicationDataResult.cc
src/model/PutBucketRequest.cc
src/model/PutBucketResult.cc
src/model/PutBucketAclRequest.cc
src/model/PutBucketAclResult.cc
src/model/PutBucketLifecycleRequest.cc
src/model/PutBucketLifecycleResult.cc
src/model/ReInitDiskRequest.cc
src/model/ReInitDiskResult.cc
src/model/RebootAICInstanceRequest.cc
@@ -854,6 +930,8 @@ set(ens_src
src/model/RemoveBackendServersResult.cc
src/model/RemovePublicIpsFromEpnInstanceRequest.cc
src/model/RemovePublicIpsFromEpnInstanceResult.cc
src/model/RemoveSDGRequest.cc
src/model/RemoveSDGResult.cc
src/model/RemoveVSwitchesFromEpnInstanceRequest.cc
src/model/RemoveVSwitchesFromEpnInstanceResult.cc
src/model/RenewARMServerInstanceRequest.cc
@@ -874,22 +952,18 @@ set(ens_src
src/model/ResizeDiskResult.cc
src/model/RestartDeviceInstanceRequest.cc
src/model/RestartDeviceInstanceResult.cc
src/model/RestartWorkflowRequest.cc
src/model/RestartWorkflowResult.cc
src/model/RetryWorkflowRequest.cc
src/model/RetryWorkflowResult.cc
src/model/RevokeSecurityGroupRequest.cc
src/model/RevokeSecurityGroupResult.cc
src/model/RevokeSecurityGroupEgressRequest.cc
src/model/RevokeSecurityGroupEgressResult.cc
src/model/RollbackApplicationRequest.cc
src/model/RollbackApplicationResult.cc
src/model/RollbackWorkflowRequest.cc
src/model/RollbackWorkflowResult.cc
src/model/RunInstancesRequest.cc
src/model/RunInstancesResult.cc
src/model/RunServiceScheduleRequest.cc
src/model/RunServiceScheduleResult.cc
src/model/SaveSDGRequest.cc
src/model/SaveSDGResult.cc
src/model/SetBackendServersRequest.cc
src/model/SetBackendServersResult.cc
src/model/SetLoadBalancerHTTPListenerAttributeRequest.cc
@@ -922,8 +996,6 @@ set(ens_src
src/model/StopLoadBalancerListenerResult.cc
src/model/StopSnatIpForSnatEntryRequest.cc
src/model/StopSnatIpForSnatEntryResult.cc
src/model/TerminateWorkflowRequest.cc
src/model/TerminateWorkflowResult.cc
src/model/UnAssociateEnsEipAddressRequest.cc
src/model/UnAssociateEnsEipAddressResult.cc
src/model/UnassignPrivateIpAddressesRequest.cc

View File

@@ -46,6 +46,10 @@
#include "model/AuthorizeSecurityGroupEgressResult.h"
#include "model/CleanDistDataRequest.h"
#include "model/CleanDistDataResult.h"
#include "model/CopySDGRequest.h"
#include "model/CopySDGResult.h"
#include "model/CopySnapshotRequest.h"
#include "model/CopySnapshotResult.h"
#include "model/CreateARMServerInstancesRequest.h"
#include "model/CreateARMServerInstancesResult.h"
#include "model/CreateApplicationRequest.h"
@@ -96,14 +100,22 @@
#include "model/CreateNetworkAclResult.h"
#include "model/CreateNetworkAclEntryRequest.h"
#include "model/CreateNetworkAclEntryResult.h"
#include "model/CreateSDGRequest.h"
#include "model/CreateSDGResult.h"
#include "model/CreateSecurityGroupRequest.h"
#include "model/CreateSecurityGroupResult.h"
#include "model/CreateSnapshotRequest.h"
#include "model/CreateSnapshotResult.h"
#include "model/CreateSnatEntryRequest.h"
#include "model/CreateSnatEntryResult.h"
#include "model/CreateVSwitchRequest.h"
#include "model/CreateVSwitchResult.h"
#include "model/DeleteApplicationRequest.h"
#include "model/DeleteApplicationResult.h"
#include "model/DeleteBucketRequest.h"
#include "model/DeleteBucketResult.h"
#include "model/DeleteBucketLifecycleRequest.h"
#include "model/DeleteBucketLifecycleResult.h"
#include "model/DeleteDeviceInternetPortRequest.h"
#include "model/DeleteDeviceInternetPortResult.h"
#include "model/DeleteDiskRequest.h"
@@ -136,14 +148,22 @@
#include "model/DeleteNetworkAclResult.h"
#include "model/DeleteNetworkAclEntryRequest.h"
#include "model/DeleteNetworkAclEntryResult.h"
#include "model/DeleteObjectRequest.h"
#include "model/DeleteObjectResult.h"
#include "model/DeleteSDGRequest.h"
#include "model/DeleteSDGResult.h"
#include "model/DeleteSecurityGroupRequest.h"
#include "model/DeleteSecurityGroupResult.h"
#include "model/DeleteSnapshotRequest.h"
#include "model/DeleteSnapshotResult.h"
#include "model/DeleteSnatEntryRequest.h"
#include "model/DeleteSnatEntryResult.h"
#include "model/DeleteSnatIpForSnatEntryRequest.h"
#include "model/DeleteSnatIpForSnatEntryResult.h"
#include "model/DeleteVSwitchRequest.h"
#include "model/DeleteVSwitchResult.h"
#include "model/DeploySDGRequest.h"
#include "model/DeploySDGResult.h"
#include "model/DescribeAICImagesRequest.h"
#include "model/DescribeAICImagesResult.h"
#include "model/DescribeARMServerInstancesRequest.h"
@@ -280,8 +300,6 @@
#include "model/DescribePrePaidInstanceStockResult.h"
#include "model/DescribePriceRequest.h"
#include "model/DescribePriceResult.h"
#include "model/DescribeRegionBandwidthQuotaRequest.h"
#include "model/DescribeRegionBandwidthQuotaResult.h"
#include "model/DescribeRegionIspsRequest.h"
#include "model/DescribeRegionIspsResult.h"
#include "model/DescribeRegionResourceRequest.h"
@@ -290,6 +308,10 @@
#include "model/DescribeReservedResourceResult.h"
#include "model/DescribeResourceTimelineRequest.h"
#include "model/DescribeResourceTimelineResult.h"
#include "model/DescribeSDGDeploymentStatusRequest.h"
#include "model/DescribeSDGDeploymentStatusResult.h"
#include "model/DescribeSDGsRequest.h"
#include "model/DescribeSDGsResult.h"
#include "model/DescribeSecurityGroupAttributeRequest.h"
#include "model/DescribeSecurityGroupAttributeResult.h"
#include "model/DescribeSecurityGroupsRequest.h"
@@ -298,6 +320,8 @@
#include "model/DescribeSelfImagesResult.h"
#include "model/DescribeServcieScheduleRequest.h"
#include "model/DescribeServcieScheduleResult.h"
#include "model/DescribeSnapshotsRequest.h"
#include "model/DescribeSnapshotsResult.h"
#include "model/DescribeSnatAttributeRequest.h"
#include "model/DescribeSnatAttributeResult.h"
#include "model/DescribeSnatTableEntriesRequest.h"
@@ -306,10 +330,6 @@
#include "model/DescribeUserBandWidthDataResult.h"
#include "model/DescribeVSwitchesRequest.h"
#include "model/DescribeVSwitchesResult.h"
#include "model/DescribeWorkflowRequest.h"
#include "model/DescribeWorkflowResult.h"
#include "model/DescribeWorkflowActivityRequest.h"
#include "model/DescribeWorkflowActivityResult.h"
#include "model/DetachDiskRequest.h"
#include "model/DetachDiskResult.h"
#include "model/DistApplicationDataRequest.h"
@@ -320,6 +340,12 @@
#include "model/ExportImageResult.h"
#include "model/ExportMeasurementDataRequest.h"
#include "model/ExportMeasurementDataResult.h"
#include "model/GetBucketAclRequest.h"
#include "model/GetBucketAclResult.h"
#include "model/GetBucketInfoRequest.h"
#include "model/GetBucketInfoResult.h"
#include "model/GetBucketLifecycleRequest.h"
#include "model/GetBucketLifecycleResult.h"
#include "model/GetDeviceInternetPortRequest.h"
#include "model/GetDeviceInternetPortResult.h"
#include "model/GetOssStorageAndAccByBucketsRequest.h"
@@ -338,6 +364,10 @@
#include "model/LeaveSecurityGroupResult.h"
#include "model/ListApplicationsRequest.h"
#include "model/ListApplicationsResult.h"
#include "model/ListBucketsRequest.h"
#include "model/ListBucketsResult.h"
#include "model/ListObjectsRequest.h"
#include "model/ListObjectsResult.h"
#include "model/ModifyEnsEipAddressAttributeRequest.h"
#include "model/ModifyEnsEipAddressAttributeResult.h"
#include "model/ModifyEpnInstanceRequest.h"
@@ -354,6 +384,8 @@
#include "model/ModifyInstanceAttributeResult.h"
#include "model/ModifyInstanceAutoRenewAttributeRequest.h"
#include "model/ModifyInstanceAutoRenewAttributeResult.h"
#include "model/ModifyInstanceChargeTypeRequest.h"
#include "model/ModifyInstanceChargeTypeResult.h"
#include "model/ModifyLoadBalancerAttributeRequest.h"
#include "model/ModifyLoadBalancerAttributeResult.h"
#include "model/ModifyNetworkAttributeRequest.h"
@@ -362,10 +394,18 @@
#include "model/ModifyPrepayInstanceSpecResult.h"
#include "model/ModifySecurityGroupAttributeRequest.h"
#include "model/ModifySecurityGroupAttributeResult.h"
#include "model/ModifySnapshotAttributeRequest.h"
#include "model/ModifySnapshotAttributeResult.h"
#include "model/ModifyVSwitchAttributeRequest.h"
#include "model/ModifyVSwitchAttributeResult.h"
#include "model/PushApplicationDataRequest.h"
#include "model/PushApplicationDataResult.h"
#include "model/PutBucketRequest.h"
#include "model/PutBucketResult.h"
#include "model/PutBucketAclRequest.h"
#include "model/PutBucketAclResult.h"
#include "model/PutBucketLifecycleRequest.h"
#include "model/PutBucketLifecycleResult.h"
#include "model/ReInitDiskRequest.h"
#include "model/ReInitDiskResult.h"
#include "model/RebootAICInstanceRequest.h"
@@ -396,6 +436,8 @@
#include "model/RemoveBackendServersResult.h"
#include "model/RemovePublicIpsFromEpnInstanceRequest.h"
#include "model/RemovePublicIpsFromEpnInstanceResult.h"
#include "model/RemoveSDGRequest.h"
#include "model/RemoveSDGResult.h"
#include "model/RemoveVSwitchesFromEpnInstanceRequest.h"
#include "model/RemoveVSwitchesFromEpnInstanceResult.h"
#include "model/RenewARMServerInstanceRequest.h"
@@ -416,22 +458,18 @@
#include "model/ResizeDiskResult.h"
#include "model/RestartDeviceInstanceRequest.h"
#include "model/RestartDeviceInstanceResult.h"
#include "model/RestartWorkflowRequest.h"
#include "model/RestartWorkflowResult.h"
#include "model/RetryWorkflowRequest.h"
#include "model/RetryWorkflowResult.h"
#include "model/RevokeSecurityGroupRequest.h"
#include "model/RevokeSecurityGroupResult.h"
#include "model/RevokeSecurityGroupEgressRequest.h"
#include "model/RevokeSecurityGroupEgressResult.h"
#include "model/RollbackApplicationRequest.h"
#include "model/RollbackApplicationResult.h"
#include "model/RollbackWorkflowRequest.h"
#include "model/RollbackWorkflowResult.h"
#include "model/RunInstancesRequest.h"
#include "model/RunInstancesResult.h"
#include "model/RunServiceScheduleRequest.h"
#include "model/RunServiceScheduleResult.h"
#include "model/SaveSDGRequest.h"
#include "model/SaveSDGResult.h"
#include "model/SetBackendServersRequest.h"
#include "model/SetBackendServersResult.h"
#include "model/SetLoadBalancerHTTPListenerAttributeRequest.h"
@@ -464,8 +502,6 @@
#include "model/StopLoadBalancerListenerResult.h"
#include "model/StopSnatIpForSnatEntryRequest.h"
#include "model/StopSnatIpForSnatEntryResult.h"
#include "model/TerminateWorkflowRequest.h"
#include "model/TerminateWorkflowResult.h"
#include "model/UnAssociateEnsEipAddressRequest.h"
#include "model/UnAssociateEnsEipAddressResult.h"
#include "model/UnassignPrivateIpAddressesRequest.h"
@@ -523,6 +559,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CleanDistDataResult> CleanDistDataOutcome;
typedef std::future<CleanDistDataOutcome> CleanDistDataOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CleanDistDataRequest&, const CleanDistDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CleanDistDataAsyncHandler;
typedef Outcome<Error, Model::CopySDGResult> CopySDGOutcome;
typedef std::future<CopySDGOutcome> CopySDGOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CopySDGRequest&, const CopySDGOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CopySDGAsyncHandler;
typedef Outcome<Error, Model::CopySnapshotResult> CopySnapshotOutcome;
typedef std::future<CopySnapshotOutcome> CopySnapshotOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CopySnapshotRequest&, const CopySnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CopySnapshotAsyncHandler;
typedef Outcome<Error, Model::CreateARMServerInstancesResult> CreateARMServerInstancesOutcome;
typedef std::future<CreateARMServerInstancesOutcome> CreateARMServerInstancesOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CreateARMServerInstancesRequest&, const CreateARMServerInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateARMServerInstancesAsyncHandler;
@@ -598,9 +640,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateNetworkAclEntryResult> CreateNetworkAclEntryOutcome;
typedef std::future<CreateNetworkAclEntryOutcome> CreateNetworkAclEntryOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CreateNetworkAclEntryRequest&, const CreateNetworkAclEntryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateNetworkAclEntryAsyncHandler;
typedef Outcome<Error, Model::CreateSDGResult> CreateSDGOutcome;
typedef std::future<CreateSDGOutcome> CreateSDGOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CreateSDGRequest&, const CreateSDGOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSDGAsyncHandler;
typedef Outcome<Error, Model::CreateSecurityGroupResult> CreateSecurityGroupOutcome;
typedef std::future<CreateSecurityGroupOutcome> CreateSecurityGroupOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CreateSecurityGroupRequest&, const CreateSecurityGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSecurityGroupAsyncHandler;
typedef Outcome<Error, Model::CreateSnapshotResult> CreateSnapshotOutcome;
typedef std::future<CreateSnapshotOutcome> CreateSnapshotOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CreateSnapshotRequest&, const CreateSnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSnapshotAsyncHandler;
typedef Outcome<Error, Model::CreateSnatEntryResult> CreateSnatEntryOutcome;
typedef std::future<CreateSnatEntryOutcome> CreateSnatEntryOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::CreateSnatEntryRequest&, const CreateSnatEntryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSnatEntryAsyncHandler;
@@ -610,6 +658,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteApplicationResult> DeleteApplicationOutcome;
typedef std::future<DeleteApplicationOutcome> DeleteApplicationOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DeleteApplicationRequest&, const DeleteApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteApplicationAsyncHandler;
typedef Outcome<Error, Model::DeleteBucketResult> DeleteBucketOutcome;
typedef std::future<DeleteBucketOutcome> DeleteBucketOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DeleteBucketRequest&, const DeleteBucketOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteBucketAsyncHandler;
typedef Outcome<Error, Model::DeleteBucketLifecycleResult> DeleteBucketLifecycleOutcome;
typedef std::future<DeleteBucketLifecycleOutcome> DeleteBucketLifecycleOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DeleteBucketLifecycleRequest&, const DeleteBucketLifecycleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteBucketLifecycleAsyncHandler;
typedef Outcome<Error, Model::DeleteDeviceInternetPortResult> DeleteDeviceInternetPortOutcome;
typedef std::future<DeleteDeviceInternetPortOutcome> DeleteDeviceInternetPortOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DeleteDeviceInternetPortRequest&, const DeleteDeviceInternetPortOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDeviceInternetPortAsyncHandler;
@@ -658,9 +712,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteNetworkAclEntryResult> DeleteNetworkAclEntryOutcome;
typedef std::future<DeleteNetworkAclEntryOutcome> DeleteNetworkAclEntryOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DeleteNetworkAclEntryRequest&, const DeleteNetworkAclEntryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteNetworkAclEntryAsyncHandler;
typedef Outcome<Error, Model::DeleteObjectResult> DeleteObjectOutcome;
typedef std::future<DeleteObjectOutcome> DeleteObjectOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DeleteObjectRequest&, const DeleteObjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteObjectAsyncHandler;
typedef Outcome<Error, Model::DeleteSDGResult> DeleteSDGOutcome;
typedef std::future<DeleteSDGOutcome> DeleteSDGOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DeleteSDGRequest&, const DeleteSDGOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSDGAsyncHandler;
typedef Outcome<Error, Model::DeleteSecurityGroupResult> DeleteSecurityGroupOutcome;
typedef std::future<DeleteSecurityGroupOutcome> DeleteSecurityGroupOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DeleteSecurityGroupRequest&, const DeleteSecurityGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSecurityGroupAsyncHandler;
typedef Outcome<Error, Model::DeleteSnapshotResult> DeleteSnapshotOutcome;
typedef std::future<DeleteSnapshotOutcome> DeleteSnapshotOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DeleteSnapshotRequest&, const DeleteSnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSnapshotAsyncHandler;
typedef Outcome<Error, Model::DeleteSnatEntryResult> DeleteSnatEntryOutcome;
typedef std::future<DeleteSnatEntryOutcome> DeleteSnatEntryOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DeleteSnatEntryRequest&, const DeleteSnatEntryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSnatEntryAsyncHandler;
@@ -670,6 +733,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteVSwitchResult> DeleteVSwitchOutcome;
typedef std::future<DeleteVSwitchOutcome> DeleteVSwitchOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DeleteVSwitchRequest&, const DeleteVSwitchOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteVSwitchAsyncHandler;
typedef Outcome<Error, Model::DeploySDGResult> DeploySDGOutcome;
typedef std::future<DeploySDGOutcome> DeploySDGOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DeploySDGRequest&, const DeploySDGOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeploySDGAsyncHandler;
typedef Outcome<Error, Model::DescribeAICImagesResult> DescribeAICImagesOutcome;
typedef std::future<DescribeAICImagesOutcome> DescribeAICImagesOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeAICImagesRequest&, const DescribeAICImagesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAICImagesAsyncHandler;
@@ -874,9 +940,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribePriceResult> DescribePriceOutcome;
typedef std::future<DescribePriceOutcome> DescribePriceOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribePriceRequest&, const DescribePriceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePriceAsyncHandler;
typedef Outcome<Error, Model::DescribeRegionBandwidthQuotaResult> DescribeRegionBandwidthQuotaOutcome;
typedef std::future<DescribeRegionBandwidthQuotaOutcome> DescribeRegionBandwidthQuotaOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeRegionBandwidthQuotaRequest&, const DescribeRegionBandwidthQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionBandwidthQuotaAsyncHandler;
typedef Outcome<Error, Model::DescribeRegionIspsResult> DescribeRegionIspsOutcome;
typedef std::future<DescribeRegionIspsOutcome> DescribeRegionIspsOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeRegionIspsRequest&, const DescribeRegionIspsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionIspsAsyncHandler;
@@ -889,6 +952,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeResourceTimelineResult> DescribeResourceTimelineOutcome;
typedef std::future<DescribeResourceTimelineOutcome> DescribeResourceTimelineOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeResourceTimelineRequest&, const DescribeResourceTimelineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeResourceTimelineAsyncHandler;
typedef Outcome<Error, Model::DescribeSDGDeploymentStatusResult> DescribeSDGDeploymentStatusOutcome;
typedef std::future<DescribeSDGDeploymentStatusOutcome> DescribeSDGDeploymentStatusOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeSDGDeploymentStatusRequest&, const DescribeSDGDeploymentStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSDGDeploymentStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeSDGsResult> DescribeSDGsOutcome;
typedef std::future<DescribeSDGsOutcome> DescribeSDGsOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeSDGsRequest&, const DescribeSDGsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSDGsAsyncHandler;
typedef Outcome<Error, Model::DescribeSecurityGroupAttributeResult> DescribeSecurityGroupAttributeOutcome;
typedef std::future<DescribeSecurityGroupAttributeOutcome> DescribeSecurityGroupAttributeOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeSecurityGroupAttributeRequest&, const DescribeSecurityGroupAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSecurityGroupAttributeAsyncHandler;
@@ -901,6 +970,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeServcieScheduleResult> DescribeServcieScheduleOutcome;
typedef std::future<DescribeServcieScheduleOutcome> DescribeServcieScheduleOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeServcieScheduleRequest&, const DescribeServcieScheduleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeServcieScheduleAsyncHandler;
typedef Outcome<Error, Model::DescribeSnapshotsResult> DescribeSnapshotsOutcome;
typedef std::future<DescribeSnapshotsOutcome> DescribeSnapshotsOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeSnapshotsRequest&, const DescribeSnapshotsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSnapshotsAsyncHandler;
typedef Outcome<Error, Model::DescribeSnatAttributeResult> DescribeSnatAttributeOutcome;
typedef std::future<DescribeSnatAttributeOutcome> DescribeSnatAttributeOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeSnatAttributeRequest&, const DescribeSnatAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSnatAttributeAsyncHandler;
@@ -913,12 +985,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeVSwitchesResult> DescribeVSwitchesOutcome;
typedef std::future<DescribeVSwitchesOutcome> DescribeVSwitchesOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeVSwitchesRequest&, const DescribeVSwitchesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVSwitchesAsyncHandler;
typedef Outcome<Error, Model::DescribeWorkflowResult> DescribeWorkflowOutcome;
typedef std::future<DescribeWorkflowOutcome> DescribeWorkflowOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeWorkflowRequest&, const DescribeWorkflowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeWorkflowAsyncHandler;
typedef Outcome<Error, Model::DescribeWorkflowActivityResult> DescribeWorkflowActivityOutcome;
typedef std::future<DescribeWorkflowActivityOutcome> DescribeWorkflowActivityOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DescribeWorkflowActivityRequest&, const DescribeWorkflowActivityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeWorkflowActivityAsyncHandler;
typedef Outcome<Error, Model::DetachDiskResult> DetachDiskOutcome;
typedef std::future<DetachDiskOutcome> DetachDiskOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::DetachDiskRequest&, const DetachDiskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachDiskAsyncHandler;
@@ -934,6 +1000,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ExportMeasurementDataResult> ExportMeasurementDataOutcome;
typedef std::future<ExportMeasurementDataOutcome> ExportMeasurementDataOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ExportMeasurementDataRequest&, const ExportMeasurementDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExportMeasurementDataAsyncHandler;
typedef Outcome<Error, Model::GetBucketAclResult> GetBucketAclOutcome;
typedef std::future<GetBucketAclOutcome> GetBucketAclOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::GetBucketAclRequest&, const GetBucketAclOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetBucketAclAsyncHandler;
typedef Outcome<Error, Model::GetBucketInfoResult> GetBucketInfoOutcome;
typedef std::future<GetBucketInfoOutcome> GetBucketInfoOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::GetBucketInfoRequest&, const GetBucketInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetBucketInfoAsyncHandler;
typedef Outcome<Error, Model::GetBucketLifecycleResult> GetBucketLifecycleOutcome;
typedef std::future<GetBucketLifecycleOutcome> GetBucketLifecycleOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::GetBucketLifecycleRequest&, const GetBucketLifecycleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetBucketLifecycleAsyncHandler;
typedef Outcome<Error, Model::GetDeviceInternetPortResult> GetDeviceInternetPortOutcome;
typedef std::future<GetDeviceInternetPortOutcome> GetDeviceInternetPortOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::GetDeviceInternetPortRequest&, const GetDeviceInternetPortOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceInternetPortAsyncHandler;
@@ -961,6 +1036,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListApplicationsResult> ListApplicationsOutcome;
typedef std::future<ListApplicationsOutcome> ListApplicationsOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ListApplicationsRequest&, const ListApplicationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListApplicationsAsyncHandler;
typedef Outcome<Error, Model::ListBucketsResult> ListBucketsOutcome;
typedef std::future<ListBucketsOutcome> ListBucketsOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ListBucketsRequest&, const ListBucketsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListBucketsAsyncHandler;
typedef Outcome<Error, Model::ListObjectsResult> ListObjectsOutcome;
typedef std::future<ListObjectsOutcome> ListObjectsOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ListObjectsRequest&, const ListObjectsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListObjectsAsyncHandler;
typedef Outcome<Error, Model::ModifyEnsEipAddressAttributeResult> ModifyEnsEipAddressAttributeOutcome;
typedef std::future<ModifyEnsEipAddressAttributeOutcome> ModifyEnsEipAddressAttributeOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ModifyEnsEipAddressAttributeRequest&, const ModifyEnsEipAddressAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyEnsEipAddressAttributeAsyncHandler;
@@ -985,6 +1066,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyInstanceAutoRenewAttributeResult> ModifyInstanceAutoRenewAttributeOutcome;
typedef std::future<ModifyInstanceAutoRenewAttributeOutcome> ModifyInstanceAutoRenewAttributeOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ModifyInstanceAutoRenewAttributeRequest&, const ModifyInstanceAutoRenewAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceAutoRenewAttributeAsyncHandler;
typedef Outcome<Error, Model::ModifyInstanceChargeTypeResult> ModifyInstanceChargeTypeOutcome;
typedef std::future<ModifyInstanceChargeTypeOutcome> ModifyInstanceChargeTypeOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ModifyInstanceChargeTypeRequest&, const ModifyInstanceChargeTypeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceChargeTypeAsyncHandler;
typedef Outcome<Error, Model::ModifyLoadBalancerAttributeResult> ModifyLoadBalancerAttributeOutcome;
typedef std::future<ModifyLoadBalancerAttributeOutcome> ModifyLoadBalancerAttributeOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ModifyLoadBalancerAttributeRequest&, const ModifyLoadBalancerAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyLoadBalancerAttributeAsyncHandler;
@@ -997,12 +1081,24 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifySecurityGroupAttributeResult> ModifySecurityGroupAttributeOutcome;
typedef std::future<ModifySecurityGroupAttributeOutcome> ModifySecurityGroupAttributeOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ModifySecurityGroupAttributeRequest&, const ModifySecurityGroupAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySecurityGroupAttributeAsyncHandler;
typedef Outcome<Error, Model::ModifySnapshotAttributeResult> ModifySnapshotAttributeOutcome;
typedef std::future<ModifySnapshotAttributeOutcome> ModifySnapshotAttributeOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ModifySnapshotAttributeRequest&, const ModifySnapshotAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySnapshotAttributeAsyncHandler;
typedef Outcome<Error, Model::ModifyVSwitchAttributeResult> ModifyVSwitchAttributeOutcome;
typedef std::future<ModifyVSwitchAttributeOutcome> ModifyVSwitchAttributeOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ModifyVSwitchAttributeRequest&, const ModifyVSwitchAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyVSwitchAttributeAsyncHandler;
typedef Outcome<Error, Model::PushApplicationDataResult> PushApplicationDataOutcome;
typedef std::future<PushApplicationDataOutcome> PushApplicationDataOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::PushApplicationDataRequest&, const PushApplicationDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PushApplicationDataAsyncHandler;
typedef Outcome<Error, Model::PutBucketResult> PutBucketOutcome;
typedef std::future<PutBucketOutcome> PutBucketOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::PutBucketRequest&, const PutBucketOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutBucketAsyncHandler;
typedef Outcome<Error, Model::PutBucketAclResult> PutBucketAclOutcome;
typedef std::future<PutBucketAclOutcome> PutBucketAclOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::PutBucketAclRequest&, const PutBucketAclOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutBucketAclAsyncHandler;
typedef Outcome<Error, Model::PutBucketLifecycleResult> PutBucketLifecycleOutcome;
typedef std::future<PutBucketLifecycleOutcome> PutBucketLifecycleOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::PutBucketLifecycleRequest&, const PutBucketLifecycleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutBucketLifecycleAsyncHandler;
typedef Outcome<Error, Model::ReInitDiskResult> ReInitDiskOutcome;
typedef std::future<ReInitDiskOutcome> ReInitDiskOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::ReInitDiskRequest&, const ReInitDiskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReInitDiskAsyncHandler;
@@ -1048,6 +1144,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::RemovePublicIpsFromEpnInstanceResult> RemovePublicIpsFromEpnInstanceOutcome;
typedef std::future<RemovePublicIpsFromEpnInstanceOutcome> RemovePublicIpsFromEpnInstanceOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::RemovePublicIpsFromEpnInstanceRequest&, const RemovePublicIpsFromEpnInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemovePublicIpsFromEpnInstanceAsyncHandler;
typedef Outcome<Error, Model::RemoveSDGResult> RemoveSDGOutcome;
typedef std::future<RemoveSDGOutcome> RemoveSDGOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::RemoveSDGRequest&, const RemoveSDGOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveSDGAsyncHandler;
typedef Outcome<Error, Model::RemoveVSwitchesFromEpnInstanceResult> RemoveVSwitchesFromEpnInstanceOutcome;
typedef std::future<RemoveVSwitchesFromEpnInstanceOutcome> RemoveVSwitchesFromEpnInstanceOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::RemoveVSwitchesFromEpnInstanceRequest&, const RemoveVSwitchesFromEpnInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveVSwitchesFromEpnInstanceAsyncHandler;
@@ -1078,12 +1177,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::RestartDeviceInstanceResult> RestartDeviceInstanceOutcome;
typedef std::future<RestartDeviceInstanceOutcome> RestartDeviceInstanceOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::RestartDeviceInstanceRequest&, const RestartDeviceInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestartDeviceInstanceAsyncHandler;
typedef Outcome<Error, Model::RestartWorkflowResult> RestartWorkflowOutcome;
typedef std::future<RestartWorkflowOutcome> RestartWorkflowOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::RestartWorkflowRequest&, const RestartWorkflowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestartWorkflowAsyncHandler;
typedef Outcome<Error, Model::RetryWorkflowResult> RetryWorkflowOutcome;
typedef std::future<RetryWorkflowOutcome> RetryWorkflowOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::RetryWorkflowRequest&, const RetryWorkflowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RetryWorkflowAsyncHandler;
typedef Outcome<Error, Model::RevokeSecurityGroupResult> RevokeSecurityGroupOutcome;
typedef std::future<RevokeSecurityGroupOutcome> RevokeSecurityGroupOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::RevokeSecurityGroupRequest&, const RevokeSecurityGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RevokeSecurityGroupAsyncHandler;
@@ -1093,15 +1186,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::RollbackApplicationResult> RollbackApplicationOutcome;
typedef std::future<RollbackApplicationOutcome> RollbackApplicationOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::RollbackApplicationRequest&, const RollbackApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RollbackApplicationAsyncHandler;
typedef Outcome<Error, Model::RollbackWorkflowResult> RollbackWorkflowOutcome;
typedef std::future<RollbackWorkflowOutcome> RollbackWorkflowOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::RollbackWorkflowRequest&, const RollbackWorkflowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RollbackWorkflowAsyncHandler;
typedef Outcome<Error, Model::RunInstancesResult> RunInstancesOutcome;
typedef std::future<RunInstancesOutcome> RunInstancesOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::RunInstancesRequest&, const RunInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RunInstancesAsyncHandler;
typedef Outcome<Error, Model::RunServiceScheduleResult> RunServiceScheduleOutcome;
typedef std::future<RunServiceScheduleOutcome> RunServiceScheduleOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::RunServiceScheduleRequest&, const RunServiceScheduleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RunServiceScheduleAsyncHandler;
typedef Outcome<Error, Model::SaveSDGResult> SaveSDGOutcome;
typedef std::future<SaveSDGOutcome> SaveSDGOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::SaveSDGRequest&, const SaveSDGOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveSDGAsyncHandler;
typedef Outcome<Error, Model::SetBackendServersResult> SetBackendServersOutcome;
typedef std::future<SetBackendServersOutcome> SetBackendServersOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::SetBackendServersRequest&, const SetBackendServersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetBackendServersAsyncHandler;
@@ -1150,9 +1243,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::StopSnatIpForSnatEntryResult> StopSnatIpForSnatEntryOutcome;
typedef std::future<StopSnatIpForSnatEntryOutcome> StopSnatIpForSnatEntryOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::StopSnatIpForSnatEntryRequest&, const StopSnatIpForSnatEntryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopSnatIpForSnatEntryAsyncHandler;
typedef Outcome<Error, Model::TerminateWorkflowResult> TerminateWorkflowOutcome;
typedef std::future<TerminateWorkflowOutcome> TerminateWorkflowOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::TerminateWorkflowRequest&, const TerminateWorkflowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TerminateWorkflowAsyncHandler;
typedef Outcome<Error, Model::UnAssociateEnsEipAddressResult> UnAssociateEnsEipAddressOutcome;
typedef std::future<UnAssociateEnsEipAddressOutcome> UnAssociateEnsEipAddressOutcomeCallable;
typedef std::function<void(const EnsClient*, const Model::UnAssociateEnsEipAddressRequest&, const UnAssociateEnsEipAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnAssociateEnsEipAddressAsyncHandler;
@@ -1212,6 +1302,12 @@ namespace AlibabaCloud
CleanDistDataOutcome cleanDistData(const Model::CleanDistDataRequest &request)const;
void cleanDistDataAsync(const Model::CleanDistDataRequest& request, const CleanDistDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CleanDistDataOutcomeCallable cleanDistDataCallable(const Model::CleanDistDataRequest& request) const;
CopySDGOutcome copySDG(const Model::CopySDGRequest &request)const;
void copySDGAsync(const Model::CopySDGRequest& request, const CopySDGAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CopySDGOutcomeCallable copySDGCallable(const Model::CopySDGRequest& request) const;
CopySnapshotOutcome copySnapshot(const Model::CopySnapshotRequest &request)const;
void copySnapshotAsync(const Model::CopySnapshotRequest& request, const CopySnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CopySnapshotOutcomeCallable copySnapshotCallable(const Model::CopySnapshotRequest& request) const;
CreateARMServerInstancesOutcome createARMServerInstances(const Model::CreateARMServerInstancesRequest &request)const;
void createARMServerInstancesAsync(const Model::CreateARMServerInstancesRequest& request, const CreateARMServerInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateARMServerInstancesOutcomeCallable createARMServerInstancesCallable(const Model::CreateARMServerInstancesRequest& request) const;
@@ -1287,9 +1383,15 @@ namespace AlibabaCloud
CreateNetworkAclEntryOutcome createNetworkAclEntry(const Model::CreateNetworkAclEntryRequest &request)const;
void createNetworkAclEntryAsync(const Model::CreateNetworkAclEntryRequest& request, const CreateNetworkAclEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateNetworkAclEntryOutcomeCallable createNetworkAclEntryCallable(const Model::CreateNetworkAclEntryRequest& request) const;
CreateSDGOutcome createSDG(const Model::CreateSDGRequest &request)const;
void createSDGAsync(const Model::CreateSDGRequest& request, const CreateSDGAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSDGOutcomeCallable createSDGCallable(const Model::CreateSDGRequest& request) const;
CreateSecurityGroupOutcome createSecurityGroup(const Model::CreateSecurityGroupRequest &request)const;
void createSecurityGroupAsync(const Model::CreateSecurityGroupRequest& request, const CreateSecurityGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSecurityGroupOutcomeCallable createSecurityGroupCallable(const Model::CreateSecurityGroupRequest& request) const;
CreateSnapshotOutcome createSnapshot(const Model::CreateSnapshotRequest &request)const;
void createSnapshotAsync(const Model::CreateSnapshotRequest& request, const CreateSnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSnapshotOutcomeCallable createSnapshotCallable(const Model::CreateSnapshotRequest& request) const;
CreateSnatEntryOutcome createSnatEntry(const Model::CreateSnatEntryRequest &request)const;
void createSnatEntryAsync(const Model::CreateSnatEntryRequest& request, const CreateSnatEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSnatEntryOutcomeCallable createSnatEntryCallable(const Model::CreateSnatEntryRequest& request) const;
@@ -1299,6 +1401,12 @@ namespace AlibabaCloud
DeleteApplicationOutcome deleteApplication(const Model::DeleteApplicationRequest &request)const;
void deleteApplicationAsync(const Model::DeleteApplicationRequest& request, const DeleteApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteApplicationOutcomeCallable deleteApplicationCallable(const Model::DeleteApplicationRequest& request) const;
DeleteBucketOutcome deleteBucket(const Model::DeleteBucketRequest &request)const;
void deleteBucketAsync(const Model::DeleteBucketRequest& request, const DeleteBucketAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteBucketOutcomeCallable deleteBucketCallable(const Model::DeleteBucketRequest& request) const;
DeleteBucketLifecycleOutcome deleteBucketLifecycle(const Model::DeleteBucketLifecycleRequest &request)const;
void deleteBucketLifecycleAsync(const Model::DeleteBucketLifecycleRequest& request, const DeleteBucketLifecycleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteBucketLifecycleOutcomeCallable deleteBucketLifecycleCallable(const Model::DeleteBucketLifecycleRequest& request) const;
DeleteDeviceInternetPortOutcome deleteDeviceInternetPort(const Model::DeleteDeviceInternetPortRequest &request)const;
void deleteDeviceInternetPortAsync(const Model::DeleteDeviceInternetPortRequest& request, const DeleteDeviceInternetPortAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDeviceInternetPortOutcomeCallable deleteDeviceInternetPortCallable(const Model::DeleteDeviceInternetPortRequest& request) const;
@@ -1347,9 +1455,18 @@ namespace AlibabaCloud
DeleteNetworkAclEntryOutcome deleteNetworkAclEntry(const Model::DeleteNetworkAclEntryRequest &request)const;
void deleteNetworkAclEntryAsync(const Model::DeleteNetworkAclEntryRequest& request, const DeleteNetworkAclEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteNetworkAclEntryOutcomeCallable deleteNetworkAclEntryCallable(const Model::DeleteNetworkAclEntryRequest& request) const;
DeleteObjectOutcome deleteObject(const Model::DeleteObjectRequest &request)const;
void deleteObjectAsync(const Model::DeleteObjectRequest& request, const DeleteObjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteObjectOutcomeCallable deleteObjectCallable(const Model::DeleteObjectRequest& request) const;
DeleteSDGOutcome deleteSDG(const Model::DeleteSDGRequest &request)const;
void deleteSDGAsync(const Model::DeleteSDGRequest& request, const DeleteSDGAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSDGOutcomeCallable deleteSDGCallable(const Model::DeleteSDGRequest& request) const;
DeleteSecurityGroupOutcome deleteSecurityGroup(const Model::DeleteSecurityGroupRequest &request)const;
void deleteSecurityGroupAsync(const Model::DeleteSecurityGroupRequest& request, const DeleteSecurityGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSecurityGroupOutcomeCallable deleteSecurityGroupCallable(const Model::DeleteSecurityGroupRequest& request) const;
DeleteSnapshotOutcome deleteSnapshot(const Model::DeleteSnapshotRequest &request)const;
void deleteSnapshotAsync(const Model::DeleteSnapshotRequest& request, const DeleteSnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSnapshotOutcomeCallable deleteSnapshotCallable(const Model::DeleteSnapshotRequest& request) const;
DeleteSnatEntryOutcome deleteSnatEntry(const Model::DeleteSnatEntryRequest &request)const;
void deleteSnatEntryAsync(const Model::DeleteSnatEntryRequest& request, const DeleteSnatEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSnatEntryOutcomeCallable deleteSnatEntryCallable(const Model::DeleteSnatEntryRequest& request) const;
@@ -1359,6 +1476,9 @@ namespace AlibabaCloud
DeleteVSwitchOutcome deleteVSwitch(const Model::DeleteVSwitchRequest &request)const;
void deleteVSwitchAsync(const Model::DeleteVSwitchRequest& request, const DeleteVSwitchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteVSwitchOutcomeCallable deleteVSwitchCallable(const Model::DeleteVSwitchRequest& request) const;
DeploySDGOutcome deploySDG(const Model::DeploySDGRequest &request)const;
void deploySDGAsync(const Model::DeploySDGRequest& request, const DeploySDGAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeploySDGOutcomeCallable deploySDGCallable(const Model::DeploySDGRequest& request) const;
DescribeAICImagesOutcome describeAICImages(const Model::DescribeAICImagesRequest &request)const;
void describeAICImagesAsync(const Model::DescribeAICImagesRequest& request, const DescribeAICImagesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAICImagesOutcomeCallable describeAICImagesCallable(const Model::DescribeAICImagesRequest& request) const;
@@ -1563,9 +1683,6 @@ namespace AlibabaCloud
DescribePriceOutcome describePrice(const Model::DescribePriceRequest &request)const;
void describePriceAsync(const Model::DescribePriceRequest& request, const DescribePriceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribePriceOutcomeCallable describePriceCallable(const Model::DescribePriceRequest& request) const;
DescribeRegionBandwidthQuotaOutcome describeRegionBandwidthQuota(const Model::DescribeRegionBandwidthQuotaRequest &request)const;
void describeRegionBandwidthQuotaAsync(const Model::DescribeRegionBandwidthQuotaRequest& request, const DescribeRegionBandwidthQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRegionBandwidthQuotaOutcomeCallable describeRegionBandwidthQuotaCallable(const Model::DescribeRegionBandwidthQuotaRequest& request) const;
DescribeRegionIspsOutcome describeRegionIsps(const Model::DescribeRegionIspsRequest &request)const;
void describeRegionIspsAsync(const Model::DescribeRegionIspsRequest& request, const DescribeRegionIspsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRegionIspsOutcomeCallable describeRegionIspsCallable(const Model::DescribeRegionIspsRequest& request) const;
@@ -1578,6 +1695,12 @@ namespace AlibabaCloud
DescribeResourceTimelineOutcome describeResourceTimeline(const Model::DescribeResourceTimelineRequest &request)const;
void describeResourceTimelineAsync(const Model::DescribeResourceTimelineRequest& request, const DescribeResourceTimelineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeResourceTimelineOutcomeCallable describeResourceTimelineCallable(const Model::DescribeResourceTimelineRequest& request) const;
DescribeSDGDeploymentStatusOutcome describeSDGDeploymentStatus(const Model::DescribeSDGDeploymentStatusRequest &request)const;
void describeSDGDeploymentStatusAsync(const Model::DescribeSDGDeploymentStatusRequest& request, const DescribeSDGDeploymentStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSDGDeploymentStatusOutcomeCallable describeSDGDeploymentStatusCallable(const Model::DescribeSDGDeploymentStatusRequest& request) const;
DescribeSDGsOutcome describeSDGs(const Model::DescribeSDGsRequest &request)const;
void describeSDGsAsync(const Model::DescribeSDGsRequest& request, const DescribeSDGsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSDGsOutcomeCallable describeSDGsCallable(const Model::DescribeSDGsRequest& request) const;
DescribeSecurityGroupAttributeOutcome describeSecurityGroupAttribute(const Model::DescribeSecurityGroupAttributeRequest &request)const;
void describeSecurityGroupAttributeAsync(const Model::DescribeSecurityGroupAttributeRequest& request, const DescribeSecurityGroupAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSecurityGroupAttributeOutcomeCallable describeSecurityGroupAttributeCallable(const Model::DescribeSecurityGroupAttributeRequest& request) const;
@@ -1590,6 +1713,9 @@ namespace AlibabaCloud
DescribeServcieScheduleOutcome describeServcieSchedule(const Model::DescribeServcieScheduleRequest &request)const;
void describeServcieScheduleAsync(const Model::DescribeServcieScheduleRequest& request, const DescribeServcieScheduleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeServcieScheduleOutcomeCallable describeServcieScheduleCallable(const Model::DescribeServcieScheduleRequest& request) const;
DescribeSnapshotsOutcome describeSnapshots(const Model::DescribeSnapshotsRequest &request)const;
void describeSnapshotsAsync(const Model::DescribeSnapshotsRequest& request, const DescribeSnapshotsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSnapshotsOutcomeCallable describeSnapshotsCallable(const Model::DescribeSnapshotsRequest& request) const;
DescribeSnatAttributeOutcome describeSnatAttribute(const Model::DescribeSnatAttributeRequest &request)const;
void describeSnatAttributeAsync(const Model::DescribeSnatAttributeRequest& request, const DescribeSnatAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSnatAttributeOutcomeCallable describeSnatAttributeCallable(const Model::DescribeSnatAttributeRequest& request) const;
@@ -1602,12 +1728,6 @@ namespace AlibabaCloud
DescribeVSwitchesOutcome describeVSwitches(const Model::DescribeVSwitchesRequest &request)const;
void describeVSwitchesAsync(const Model::DescribeVSwitchesRequest& request, const DescribeVSwitchesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeVSwitchesOutcomeCallable describeVSwitchesCallable(const Model::DescribeVSwitchesRequest& request) const;
DescribeWorkflowOutcome describeWorkflow(const Model::DescribeWorkflowRequest &request)const;
void describeWorkflowAsync(const Model::DescribeWorkflowRequest& request, const DescribeWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeWorkflowOutcomeCallable describeWorkflowCallable(const Model::DescribeWorkflowRequest& request) const;
DescribeWorkflowActivityOutcome describeWorkflowActivity(const Model::DescribeWorkflowActivityRequest &request)const;
void describeWorkflowActivityAsync(const Model::DescribeWorkflowActivityRequest& request, const DescribeWorkflowActivityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeWorkflowActivityOutcomeCallable describeWorkflowActivityCallable(const Model::DescribeWorkflowActivityRequest& request) const;
DetachDiskOutcome detachDisk(const Model::DetachDiskRequest &request)const;
void detachDiskAsync(const Model::DetachDiskRequest& request, const DetachDiskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DetachDiskOutcomeCallable detachDiskCallable(const Model::DetachDiskRequest& request) const;
@@ -1623,6 +1743,15 @@ namespace AlibabaCloud
ExportMeasurementDataOutcome exportMeasurementData(const Model::ExportMeasurementDataRequest &request)const;
void exportMeasurementDataAsync(const Model::ExportMeasurementDataRequest& request, const ExportMeasurementDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ExportMeasurementDataOutcomeCallable exportMeasurementDataCallable(const Model::ExportMeasurementDataRequest& request) const;
GetBucketAclOutcome getBucketAcl(const Model::GetBucketAclRequest &request)const;
void getBucketAclAsync(const Model::GetBucketAclRequest& request, const GetBucketAclAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetBucketAclOutcomeCallable getBucketAclCallable(const Model::GetBucketAclRequest& request) const;
GetBucketInfoOutcome getBucketInfo(const Model::GetBucketInfoRequest &request)const;
void getBucketInfoAsync(const Model::GetBucketInfoRequest& request, const GetBucketInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetBucketInfoOutcomeCallable getBucketInfoCallable(const Model::GetBucketInfoRequest& request) const;
GetBucketLifecycleOutcome getBucketLifecycle(const Model::GetBucketLifecycleRequest &request)const;
void getBucketLifecycleAsync(const Model::GetBucketLifecycleRequest& request, const GetBucketLifecycleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetBucketLifecycleOutcomeCallable getBucketLifecycleCallable(const Model::GetBucketLifecycleRequest& request) const;
GetDeviceInternetPortOutcome getDeviceInternetPort(const Model::GetDeviceInternetPortRequest &request)const;
void getDeviceInternetPortAsync(const Model::GetDeviceInternetPortRequest& request, const GetDeviceInternetPortAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDeviceInternetPortOutcomeCallable getDeviceInternetPortCallable(const Model::GetDeviceInternetPortRequest& request) const;
@@ -1650,6 +1779,12 @@ namespace AlibabaCloud
ListApplicationsOutcome listApplications(const Model::ListApplicationsRequest &request)const;
void listApplicationsAsync(const Model::ListApplicationsRequest& request, const ListApplicationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListApplicationsOutcomeCallable listApplicationsCallable(const Model::ListApplicationsRequest& request) const;
ListBucketsOutcome listBuckets(const Model::ListBucketsRequest &request)const;
void listBucketsAsync(const Model::ListBucketsRequest& request, const ListBucketsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListBucketsOutcomeCallable listBucketsCallable(const Model::ListBucketsRequest& request) const;
ListObjectsOutcome listObjects(const Model::ListObjectsRequest &request)const;
void listObjectsAsync(const Model::ListObjectsRequest& request, const ListObjectsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListObjectsOutcomeCallable listObjectsCallable(const Model::ListObjectsRequest& request) const;
ModifyEnsEipAddressAttributeOutcome modifyEnsEipAddressAttribute(const Model::ModifyEnsEipAddressAttributeRequest &request)const;
void modifyEnsEipAddressAttributeAsync(const Model::ModifyEnsEipAddressAttributeRequest& request, const ModifyEnsEipAddressAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyEnsEipAddressAttributeOutcomeCallable modifyEnsEipAddressAttributeCallable(const Model::ModifyEnsEipAddressAttributeRequest& request) const;
@@ -1674,6 +1809,9 @@ namespace AlibabaCloud
ModifyInstanceAutoRenewAttributeOutcome modifyInstanceAutoRenewAttribute(const Model::ModifyInstanceAutoRenewAttributeRequest &request)const;
void modifyInstanceAutoRenewAttributeAsync(const Model::ModifyInstanceAutoRenewAttributeRequest& request, const ModifyInstanceAutoRenewAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyInstanceAutoRenewAttributeOutcomeCallable modifyInstanceAutoRenewAttributeCallable(const Model::ModifyInstanceAutoRenewAttributeRequest& request) const;
ModifyInstanceChargeTypeOutcome modifyInstanceChargeType(const Model::ModifyInstanceChargeTypeRequest &request)const;
void modifyInstanceChargeTypeAsync(const Model::ModifyInstanceChargeTypeRequest& request, const ModifyInstanceChargeTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyInstanceChargeTypeOutcomeCallable modifyInstanceChargeTypeCallable(const Model::ModifyInstanceChargeTypeRequest& request) const;
ModifyLoadBalancerAttributeOutcome modifyLoadBalancerAttribute(const Model::ModifyLoadBalancerAttributeRequest &request)const;
void modifyLoadBalancerAttributeAsync(const Model::ModifyLoadBalancerAttributeRequest& request, const ModifyLoadBalancerAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyLoadBalancerAttributeOutcomeCallable modifyLoadBalancerAttributeCallable(const Model::ModifyLoadBalancerAttributeRequest& request) const;
@@ -1686,12 +1824,24 @@ namespace AlibabaCloud
ModifySecurityGroupAttributeOutcome modifySecurityGroupAttribute(const Model::ModifySecurityGroupAttributeRequest &request)const;
void modifySecurityGroupAttributeAsync(const Model::ModifySecurityGroupAttributeRequest& request, const ModifySecurityGroupAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifySecurityGroupAttributeOutcomeCallable modifySecurityGroupAttributeCallable(const Model::ModifySecurityGroupAttributeRequest& request) const;
ModifySnapshotAttributeOutcome modifySnapshotAttribute(const Model::ModifySnapshotAttributeRequest &request)const;
void modifySnapshotAttributeAsync(const Model::ModifySnapshotAttributeRequest& request, const ModifySnapshotAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifySnapshotAttributeOutcomeCallable modifySnapshotAttributeCallable(const Model::ModifySnapshotAttributeRequest& request) const;
ModifyVSwitchAttributeOutcome modifyVSwitchAttribute(const Model::ModifyVSwitchAttributeRequest &request)const;
void modifyVSwitchAttributeAsync(const Model::ModifyVSwitchAttributeRequest& request, const ModifyVSwitchAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyVSwitchAttributeOutcomeCallable modifyVSwitchAttributeCallable(const Model::ModifyVSwitchAttributeRequest& request) const;
PushApplicationDataOutcome pushApplicationData(const Model::PushApplicationDataRequest &request)const;
void pushApplicationDataAsync(const Model::PushApplicationDataRequest& request, const PushApplicationDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PushApplicationDataOutcomeCallable pushApplicationDataCallable(const Model::PushApplicationDataRequest& request) const;
PutBucketOutcome putBucket(const Model::PutBucketRequest &request)const;
void putBucketAsync(const Model::PutBucketRequest& request, const PutBucketAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PutBucketOutcomeCallable putBucketCallable(const Model::PutBucketRequest& request) const;
PutBucketAclOutcome putBucketAcl(const Model::PutBucketAclRequest &request)const;
void putBucketAclAsync(const Model::PutBucketAclRequest& request, const PutBucketAclAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PutBucketAclOutcomeCallable putBucketAclCallable(const Model::PutBucketAclRequest& request) const;
PutBucketLifecycleOutcome putBucketLifecycle(const Model::PutBucketLifecycleRequest &request)const;
void putBucketLifecycleAsync(const Model::PutBucketLifecycleRequest& request, const PutBucketLifecycleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PutBucketLifecycleOutcomeCallable putBucketLifecycleCallable(const Model::PutBucketLifecycleRequest& request) const;
ReInitDiskOutcome reInitDisk(const Model::ReInitDiskRequest &request)const;
void reInitDiskAsync(const Model::ReInitDiskRequest& request, const ReInitDiskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReInitDiskOutcomeCallable reInitDiskCallable(const Model::ReInitDiskRequest& request) const;
@@ -1737,6 +1887,9 @@ namespace AlibabaCloud
RemovePublicIpsFromEpnInstanceOutcome removePublicIpsFromEpnInstance(const Model::RemovePublicIpsFromEpnInstanceRequest &request)const;
void removePublicIpsFromEpnInstanceAsync(const Model::RemovePublicIpsFromEpnInstanceRequest& request, const RemovePublicIpsFromEpnInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemovePublicIpsFromEpnInstanceOutcomeCallable removePublicIpsFromEpnInstanceCallable(const Model::RemovePublicIpsFromEpnInstanceRequest& request) const;
RemoveSDGOutcome removeSDG(const Model::RemoveSDGRequest &request)const;
void removeSDGAsync(const Model::RemoveSDGRequest& request, const RemoveSDGAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveSDGOutcomeCallable removeSDGCallable(const Model::RemoveSDGRequest& request) const;
RemoveVSwitchesFromEpnInstanceOutcome removeVSwitchesFromEpnInstance(const Model::RemoveVSwitchesFromEpnInstanceRequest &request)const;
void removeVSwitchesFromEpnInstanceAsync(const Model::RemoveVSwitchesFromEpnInstanceRequest& request, const RemoveVSwitchesFromEpnInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveVSwitchesFromEpnInstanceOutcomeCallable removeVSwitchesFromEpnInstanceCallable(const Model::RemoveVSwitchesFromEpnInstanceRequest& request) const;
@@ -1767,12 +1920,6 @@ namespace AlibabaCloud
RestartDeviceInstanceOutcome restartDeviceInstance(const Model::RestartDeviceInstanceRequest &request)const;
void restartDeviceInstanceAsync(const Model::RestartDeviceInstanceRequest& request, const RestartDeviceInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RestartDeviceInstanceOutcomeCallable restartDeviceInstanceCallable(const Model::RestartDeviceInstanceRequest& request) const;
RestartWorkflowOutcome restartWorkflow(const Model::RestartWorkflowRequest &request)const;
void restartWorkflowAsync(const Model::RestartWorkflowRequest& request, const RestartWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RestartWorkflowOutcomeCallable restartWorkflowCallable(const Model::RestartWorkflowRequest& request) const;
RetryWorkflowOutcome retryWorkflow(const Model::RetryWorkflowRequest &request)const;
void retryWorkflowAsync(const Model::RetryWorkflowRequest& request, const RetryWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RetryWorkflowOutcomeCallable retryWorkflowCallable(const Model::RetryWorkflowRequest& request) const;
RevokeSecurityGroupOutcome revokeSecurityGroup(const Model::RevokeSecurityGroupRequest &request)const;
void revokeSecurityGroupAsync(const Model::RevokeSecurityGroupRequest& request, const RevokeSecurityGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RevokeSecurityGroupOutcomeCallable revokeSecurityGroupCallable(const Model::RevokeSecurityGroupRequest& request) const;
@@ -1782,15 +1929,15 @@ namespace AlibabaCloud
RollbackApplicationOutcome rollbackApplication(const Model::RollbackApplicationRequest &request)const;
void rollbackApplicationAsync(const Model::RollbackApplicationRequest& request, const RollbackApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RollbackApplicationOutcomeCallable rollbackApplicationCallable(const Model::RollbackApplicationRequest& request) const;
RollbackWorkflowOutcome rollbackWorkflow(const Model::RollbackWorkflowRequest &request)const;
void rollbackWorkflowAsync(const Model::RollbackWorkflowRequest& request, const RollbackWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RollbackWorkflowOutcomeCallable rollbackWorkflowCallable(const Model::RollbackWorkflowRequest& request) const;
RunInstancesOutcome runInstances(const Model::RunInstancesRequest &request)const;
void runInstancesAsync(const Model::RunInstancesRequest& request, const RunInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RunInstancesOutcomeCallable runInstancesCallable(const Model::RunInstancesRequest& request) const;
RunServiceScheduleOutcome runServiceSchedule(const Model::RunServiceScheduleRequest &request)const;
void runServiceScheduleAsync(const Model::RunServiceScheduleRequest& request, const RunServiceScheduleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RunServiceScheduleOutcomeCallable runServiceScheduleCallable(const Model::RunServiceScheduleRequest& request) const;
SaveSDGOutcome saveSDG(const Model::SaveSDGRequest &request)const;
void saveSDGAsync(const Model::SaveSDGRequest& request, const SaveSDGAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SaveSDGOutcomeCallable saveSDGCallable(const Model::SaveSDGRequest& request) const;
SetBackendServersOutcome setBackendServers(const Model::SetBackendServersRequest &request)const;
void setBackendServersAsync(const Model::SetBackendServersRequest& request, const SetBackendServersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetBackendServersOutcomeCallable setBackendServersCallable(const Model::SetBackendServersRequest& request) const;
@@ -1839,9 +1986,6 @@ namespace AlibabaCloud
StopSnatIpForSnatEntryOutcome stopSnatIpForSnatEntry(const Model::StopSnatIpForSnatEntryRequest &request)const;
void stopSnatIpForSnatEntryAsync(const Model::StopSnatIpForSnatEntryRequest& request, const StopSnatIpForSnatEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopSnatIpForSnatEntryOutcomeCallable stopSnatIpForSnatEntryCallable(const Model::StopSnatIpForSnatEntryRequest& request) const;
TerminateWorkflowOutcome terminateWorkflow(const Model::TerminateWorkflowRequest &request)const;
void terminateWorkflowAsync(const Model::TerminateWorkflowRequest& request, const TerminateWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TerminateWorkflowOutcomeCallable terminateWorkflowCallable(const Model::TerminateWorkflowRequest& request) const;
UnAssociateEnsEipAddressOutcome unAssociateEnsEipAddress(const Model::UnAssociateEnsEipAddressRequest &request)const;
void unAssociateEnsEipAddressAsync(const Model::UnAssociateEnsEipAddressRequest& request, const UnAssociateEnsEipAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UnAssociateEnsEipAddressOutcomeCallable unAssociateEnsEipAddressCallable(const Model::UnAssociateEnsEipAddressRequest& request) const;

View File

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

View File

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

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_COPYSNAPSHOTREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_COPYSNAPSHOTREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT CopySnapshotRequest : public RpcServiceRequest {
public:
CopySnapshotRequest();
~CopySnapshotRequest();
std::string getSnapshotId() const;
void setSnapshotId(const std::string &snapshotId);
std::vector<std::string> getDestinationRegionIds() const;
void setDestinationRegionIds(const std::vector<std::string> &destinationRegionIds);
std::string getDestinationSnapshotName() const;
void setDestinationSnapshotName(const std::string &destinationSnapshotName);
std::string getDestinationSnapshotDescription() const;
void setDestinationSnapshotDescription(const std::string &destinationSnapshotDescription);
private:
std::string snapshotId_;
std::vector<std::string> destinationRegionIds_;
std::string destinationSnapshotName_;
std::string destinationSnapshotDescription_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_COPYSNAPSHOTREQUEST_H_

View File

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

View File

@@ -48,6 +48,8 @@ public:
void setImageId(const std::string &imageId);
std::string getServerType() const;
void setServerType(const std::string &serverType);
bool getAutoUseCoupon() const;
void setAutoUseCoupon(bool autoUseCoupon);
std::string getInstanceType() const;
void setInstanceType(const std::string &instanceType);
int getAmount() const;
@@ -69,6 +71,7 @@ private:
bool autoRenew_;
std::string imageId_;
std::string serverType_;
bool autoUseCoupon_;
std::string instanceType_;
int amount_;
std::string _nameSpace_;

View File

@@ -30,23 +30,32 @@ class ALIBABACLOUD_ENS_EXPORT CreateDiskRequest : public RpcServiceRequest {
public:
CreateDiskRequest();
~CreateDiskRequest();
std::string getSnapshotId() const;
void setSnapshotId(const std::string &snapshotId);
std::string getDiskName() const;
void setDiskName(const std::string &diskName);
std::string getEnsRegionId() const;
void setEnsRegionId(const std::string &ensRegionId);
std::string getInstanceChargeType() const;
void setInstanceChargeType(const std::string &instanceChargeType);
std::string getSize() const;
void setSize(const std::string &size);
std::string getSnapshotId() const;
void setSnapshotId(const std::string &snapshotId);
std::string getInstanceChargeType() const;
void setInstanceChargeType(const std::string &instanceChargeType);
bool getEncrypted() const;
void setEncrypted(bool encrypted);
std::string getCategory() const;
void setCategory(const std::string &category);
std::string getKMSKeyId() const;
void setKMSKeyId(const std::string &kMSKeyId);
private:
std::string snapshotId_;
std::string diskName_;
std::string ensRegionId_;
std::string instanceChargeType_;
std::string size_;
std::string snapshotId_;
std::string instanceChargeType_;
bool encrypted_;
std::string category_;
std::string kMSKeyId_;
};
} // namespace Model
} // namespace Ens

View File

@@ -34,22 +34,25 @@ public:
void setIsp(const std::string &isp);
std::string getEnsRegionId() const;
void setEnsRegionId(const std::string &ensRegionId);
std::string getInstanceChargeType() const;
void setInstanceChargeType(const std::string &instanceChargeType);
long getBandwidth() const;
void setBandwidth(long bandwidth);
std::string getInternetChargeType() const;
void setInternetChargeType(const std::string &internetChargeType);
std::string getName() const;
void setName(const std::string &name);
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getInstanceChargeType() const;
void setInstanceChargeType(const std::string &instanceChargeType);
long getBandwidth() const;
void setBandwidth(long bandwidth);
private:
std::string isp_;
std::string ensRegionId_;
std::string instanceChargeType_;
long bandwidth_;
std::string internetChargeType_;
std::string name_;
std::string description_;
std::string instanceChargeType_;
long bandwidth_;
};
} // namespace Model
} // namespace Ens

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_CREATESDGREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_CREATESDGREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT CreateSDGRequest : public RpcServiceRequest {
public:
CreateSDGRequest();
~CreateSDGRequest();
std::string getFromSDGId() const;
void setFromSDGId(const std::string &fromSDGId);
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSize() const;
void setSize(const std::string &size);
private:
std::string fromSDGId_;
std::string description_;
std::string instanceId_;
std::string size_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_CREATESDGREQUEST_H_

View File

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

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_CREATESNAPSHOTREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_CREATESNAPSHOTREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT CreateSnapshotRequest : public RpcServiceRequest {
public:
CreateSnapshotRequest();
~CreateSnapshotRequest();
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getSnapshotName() const;
void setSnapshotName(const std::string &snapshotName);
std::string getEnsRegionId() const;
void setEnsRegionId(const std::string &ensRegionId);
std::string getDiskId() const;
void setDiskId(const std::string &diskId);
private:
std::string description_;
std::string snapshotName_;
std::string ensRegionId_;
std::string diskId_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_CREATESNAPSHOTREQUEST_H_

View File

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

View File

@@ -32,6 +32,10 @@ public:
~CreateSnatEntryRequest();
std::string getSnatIp() const;
void setSnatIp(const std::string &snatIp);
std::string getType() const;
void setType(const std::string &type);
std::string getDestCIDR() const;
void setDestCIDR(const std::string &destCIDR);
std::string getSourceVSwitchId() const;
void setSourceVSwitchId(const std::string &sourceVSwitchId);
std::string getSourceNetworkId() const;
@@ -42,16 +46,21 @@ public:
void setSourceCIDR(const std::string &sourceCIDR);
std::string getNatGatewayId() const;
void setNatGatewayId(const std::string &natGatewayId);
int getIdleTimeout() const;
void setIdleTimeout(int idleTimeout);
std::string getSnatEntryName() const;
void setSnatEntryName(const std::string &snatEntryName);
private:
std::string snatIp_;
std::string type_;
std::string destCIDR_;
std::string sourceVSwitchId_;
std::string sourceNetworkId_;
std::string standbySnatIp_;
std::string sourceCIDR_;
std::string natGatewayId_;
int idleTimeout_;
std::string snatEntryName_;
};
} // namespace Model

View File

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

View File

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

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_ROLLBACKWORKFLOWREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_ROLLBACKWORKFLOWREQUEST_H_
#ifndef ALIBABACLOUD_ENS_MODEL_DELETEBUCKETREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_DELETEBUCKETREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,17 +26,17 @@
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT RollbackWorkflowRequest : public RpcServiceRequest {
class ALIBABACLOUD_ENS_EXPORT DeleteBucketRequest : public RpcServiceRequest {
public:
RollbackWorkflowRequest();
~RollbackWorkflowRequest();
std::vector<std::string> getWorkflowIds() const;
void setWorkflowIds(const std::vector<std::string> &workflowIds);
DeleteBucketRequest();
~DeleteBucketRequest();
std::string getBucketName() const;
void setBucketName(const std::string &bucketName);
private:
std::vector<std::string> workflowIds_;
std::string bucketName_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_ROLLBACKWORKFLOWREQUEST_H_
#endif // !ALIBABACLOUD_ENS_MODEL_DELETEBUCKETREQUEST_H_

View File

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

View File

@@ -32,9 +32,12 @@ public:
~DeleteKeyPairsRequest();
std::string getKeyPairName() const;
void setKeyPairName(const std::string &keyPairName);
std::string getKeyPairId() const;
void setKeyPairId(const std::string &keyPairId);
private:
std::string keyPairName_;
std::string keyPairId_;
};
} // namespace Model
} // namespace Ens

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_DESCRIBEREGIONBANDWIDTHQUOTAREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_DESCRIBEREGIONBANDWIDTHQUOTAREQUEST_H_
#ifndef ALIBABACLOUD_ENS_MODEL_DELETEOBJECTREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_DELETEOBJECTREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,17 +26,20 @@
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT DescribeRegionBandwidthQuotaRequest : public RpcServiceRequest {
class ALIBABACLOUD_ENS_EXPORT DeleteObjectRequest : public RpcServiceRequest {
public:
DescribeRegionBandwidthQuotaRequest();
~DescribeRegionBandwidthQuotaRequest();
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
DeleteObjectRequest();
~DeleteObjectRequest();
std::string getBucketName() const;
void setBucketName(const std::string &bucketName);
std::string getObjectKey() const;
void setObjectKey(const std::string &objectKey);
private:
std::string regionId_;
std::string bucketName_;
std::string objectKey_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBEREGIONBANDWIDTHQUOTAREQUEST_H_
#endif // !ALIBABACLOUD_ENS_MODEL_DELETEOBJECTREQUEST_H_

View File

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

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_DESCRIBEWORKFLOWACTIVITYREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_DESCRIBEWORKFLOWACTIVITYREQUEST_H_
#ifndef ALIBABACLOUD_ENS_MODEL_DELETESDGREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_DELETESDGREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,17 +26,17 @@
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT DescribeWorkflowActivityRequest : public RpcServiceRequest {
class ALIBABACLOUD_ENS_EXPORT DeleteSDGRequest : public RpcServiceRequest {
public:
DescribeWorkflowActivityRequest();
~DescribeWorkflowActivityRequest();
std::string getWorkFlowId() const;
void setWorkFlowId(const std::string &workFlowId);
DeleteSDGRequest();
~DeleteSDGRequest();
std::vector<std::string> getSDGId() const;
void setSDGId(const std::vector<std::string> &sDGId);
private:
std::string workFlowId_;
std::vector<std::string> sDGId_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBEWORKFLOWACTIVITYREQUEST_H_
#endif // !ALIBABACLOUD_ENS_MODEL_DELETESDGREQUEST_H_

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -54,8 +54,6 @@ public:
void setEnsRegionIds(const std::vector<std::string> &ensRegionIds);
std::string getMinDate() const;
void setMinDate(const std::string &minDate);
std::string getLatestAction() const;
void setLatestAction(const std::string &latestAction);
std::string get_Namespace() const;
void set_Namespace(const std::string &_namespace);
@@ -72,7 +70,6 @@ private:
int pageSize_;
std::vector<std::string> ensRegionIds_;
std::string minDate_;
std::string latestAction_;
std::string _namespace_;
};
} // namespace Model

View File

@@ -42,8 +42,14 @@ namespace AlibabaCloud
std::string ipAddress;
std::string networkId;
};
struct SdgDeployInfo
{
std::string sDGId;
std::string status;
};
std::string status;
NetworkAttributes networkAttributes;
SdgDeployInfo sdgDeployInfo;
std::string instanceId;
std::string state;
std::string latestAction;

View File

@@ -30,6 +30,8 @@ class ALIBABACLOUD_ENS_EXPORT DescribeApplicationRequest : public RpcServiceRequ
public:
DescribeApplicationRequest();
~DescribeApplicationRequest();
std::string getResourceSelector() const;
void setResourceSelector(const std::string &resourceSelector);
std::string getAppVersions() const;
void setAppVersions(const std::string &appVersions);
std::string getOutDetailStatParams() const;
@@ -40,6 +42,7 @@ public:
void setAppId(const std::string &appId);
private:
std::string resourceSelector_;
std::string appVersions_;
std::string outDetailStatParams_;
std::string level_;

View File

@@ -44,6 +44,7 @@ namespace AlibabaCloud
{
std::string area;
std::string enName;
std::string isp;
std::string ensRegionId;
std::string province;
std::string name;
@@ -53,6 +54,7 @@ namespace AlibabaCloud
std::vector<std::string> bandwidthTypes;
std::vector<std::string> instanceSpeces;
int systemDiskMaxSize;
std::vector<std::string> isp;
std::vector<SupportResource::EnsRegionId> ensRegionIdsExtends;
int dataDiskMaxSize;
std::vector<std::string> ensRegionIds;

View File

@@ -38,8 +38,10 @@ namespace AlibabaCloud
std::string category;
std::string instanceId;
int size;
bool encrypted;
std::string diskChargeType;
std::string diskName;
std::string encryptedKeyId;
std::string instanceName;
bool portable;
std::string snapshotId;

View File

@@ -28,6 +28,10 @@ namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT DescribeInstancesRequest : public RpcServiceRequest {
public:
struct Tags {
std::string value;
std::string key;
};
DescribeInstancesRequest();
~DescribeInstancesRequest();
std::string getOrderByParams() const;
@@ -38,6 +42,8 @@ public:
void setInstanceResourceType(const std::string &instanceResourceType);
std::string getEnsServiceId() const;
void setEnsServiceId(const std::string &ensServiceId);
std::vector<Tags> getTags() const;
void setTags(const std::vector<Tags> &tags);
std::string getVSwitchId() const;
void setVSwitchId(const std::string &vSwitchId);
std::string getInstanceId() const;
@@ -70,6 +76,7 @@ private:
std::string ensRegionId_;
std::string instanceResourceType_;
std::string ensServiceId_;
std::vector<Tags> tags_;
std::string vSwitchId_;
std::string instanceId_;
std::string instanceName_;

View File

@@ -60,6 +60,7 @@ namespace AlibabaCloud
int storage;
std::string category;
int size;
int diskSize;
std::string diskName;
std::string diskId;
std::string name;
@@ -76,6 +77,11 @@ namespace AlibabaCloud
std::string ip;
std::string isp;
};
struct TagsItem
{
std::string tagKey;
std::string tagValue;
};
std::vector<Instance::PrivateIpAddress> privateIpAddresses;
std::string instanceTypeFamily;
int memory;
@@ -89,7 +95,9 @@ namespace AlibabaCloud
std::string imageId;
std::vector<Instance::PublicIpAddress> publicIpAddresses;
int disk;
std::vector<Instance::TagsItem> tags;
std::string hostName;
std::string spotStrategy;
std::string status;
std::string instanceId;
std::string specName;
@@ -101,6 +109,7 @@ namespace AlibabaCloud
std::string creationTime;
std::string ensRegionId;
std::string instanceResourceType;
std::string autoReleaseTime;
};

View File

@@ -36,11 +36,14 @@ public:
void setPageNumber(const std::string &pageNumber);
std::string getPageSize() const;
void setPageSize(const std::string &pageSize);
std::string getKeyPairId() const;
void setKeyPairId(const std::string &keyPairId);
private:
std::string keyPairName_;
std::string pageNumber_;
std::string pageSize_;
std::string keyPairId_;
};
} // namespace Model
} // namespace Ens

View File

@@ -36,6 +36,7 @@ namespace AlibabaCloud
{
std::string keyPairFingerPrint;
std::string keyPairName;
std::string keyPairId;
std::string creationTime;
};

View File

@@ -30,26 +30,47 @@ class ALIBABACLOUD_ENS_EXPORT DescribeNetworkInterfacesRequest : public RpcServi
public:
DescribeNetworkInterfacesRequest();
~DescribeNetworkInterfacesRequest();
std::string getPageNumber() const;
void setPageNumber(const std::string &pageNumber);
std::string getType() const;
void setType(const std::string &type);
std::string getEnsRegionId() const;
void setEnsRegionId(const std::string &ensRegionId);
std::string getPageSize() const;
void setPageSize(const std::string &pageSize);
std::string getNetworkInterfaceName() const;
void setNetworkInterfaceName(const std::string &networkInterfaceName);
std::string getVSwitchId() const;
void setVSwitchId(const std::string &vSwitchId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getNetworkId() const;
void setNetworkId(const std::string &networkId);
std::string getStatus() const;
void setStatus(const std::string &status);
std::string getSecurityGroupId() const;
void setSecurityGroupId(const std::string &securityGroupId);
std::string getPageNumber() const;
void setPageNumber(const std::string &pageNumber);
bool getShowDetail() const;
void setShowDetail(bool showDetail);
std::string getPageSize() const;
void setPageSize(const std::string &pageSize);
std::string getPrimaryIpAddress() const;
void setPrimaryIpAddress(const std::string &primaryIpAddress);
std::string getNetworkInterfaceId() const;
void setNetworkInterfaceId(const std::string &networkInterfaceId);
private:
std::string pageNumber_;
std::string type_;
std::string ensRegionId_;
std::string pageSize_;
std::string networkInterfaceName_;
std::string vSwitchId_;
std::string instanceId_;
std::string networkId_;
std::string status_;
std::string securityGroupId_;
std::string pageNumber_;
bool showDetail_;
std::string pageSize_;
std::string primaryIpAddress_;
std::string networkInterfaceId_;
};
} // namespace Model
} // namespace Ens

View File

@@ -40,14 +40,20 @@ namespace AlibabaCloud
bool primary;
};
std::string status;
std::string description;
std::string instanceId;
std::string vSwitchId;
std::string creationTime;
std::string networkInterfaceName;
std::string primaryIpType;
std::string primaryIp;
std::string ensRegionId;
std::string macAddress;
std::string networkInterfaceId;
std::string networkId;
std::vector<std::string> securityGroupIds;
std::string instanceName;
std::string type;
std::string creationTime;
std::string ensRegionId;
std::vector<NetworkInterfaceSet::PrivateIpSet> privateIpSets;
};

View File

@@ -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_ENS_MODEL_DESCRIBEREGIONBANDWIDTHQUOTARESULT_H_
#define ALIBABACLOUD_ENS_MODEL_DESCRIBEREGIONBANDWIDTHQUOTARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT DescribeRegionBandwidthQuotaResult : public ServiceResult
{
public:
struct
{
struct
{
long instanceNumber;
std::string instanceSpec;
};
struct
{
long monthAverageQuota;
long monthMax;
long weekAverageQuota;
std::string isp;
long weekMax;
};
std::vector<::> bandwidthInfo;
std::string regionId;
std::vector<::> instanceInfo;
std::string date;
};
DescribeRegionBandwidthQuotaResult();
explicit DescribeRegionBandwidthQuotaResult(const std::string &payload);
~DescribeRegionBandwidthQuotaResult();
std::vector<> getBandwidthQuota()const;
protected:
void parse(const std::string &payload);
private:
std::vector<> bandwidthQuota_;
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBEREGIONBANDWIDTHQUOTARESULT_H_

View File

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

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_DESCRIBEWORKFLOWRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_DESCRIBEWORKFLOWRESULT_H_
#ifndef ALIBABACLOUD_ENS_MODEL_DESCRIBESDGDEPLOYMENTSTATUSRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_DESCRIBESDGDEPLOYMENTSTATUSRESULT_H_
#include <string>
#include <vector>
@@ -29,44 +29,37 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT DescribeWorkflowResult : public ServiceResult
class ALIBABACLOUD_ENS_EXPORT DescribeSDGDeploymentStatusResult : public ServiceResult
{
public:
struct WorkFlowInfos
struct DeploymentStatusItem
{
std::string gmtStart;
std::string status;
std::string mountType;
std::string instanceId;
std::string priority;
std::string workerNode;
std::string bizType;
std::string duration;
std::string workflowId;
std::string initAttributes;
std::string name;
std::string gmtEnd;
std::string gmtCreate;
std::string gmtExpire;
std::string gmtModify;
std::string id;
std::string ensRegionId;
std::string bussinessId;
std::string aliUid;
std::string updateTime;
std::string regionId;
};
DescribeWorkflowResult();
explicit DescribeWorkflowResult(const std::string &payload);
~DescribeWorkflowResult();
std::vector<WorkFlowInfos> getWorkFlowInfo()const;
DescribeSDGDeploymentStatusResult();
explicit DescribeSDGDeploymentStatusResult(const std::string &payload);
~DescribeSDGDeploymentStatusResult();
long getTotalCount()const;
long getPageSize()const;
long getPageNumber()const;
std::vector<DeploymentStatusItem> getDeploymentStatus()const;
protected:
void parse(const std::string &payload);
private:
std::vector<WorkFlowInfos> workFlowInfo_;
long totalCount_;
long pageSize_;
long pageNumber_;
std::vector<DeploymentStatusItem> deploymentStatus_;
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBEWORKFLOWRESULT_H_
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBESDGDEPLOYMENTSTATUSRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_TERMINATEWORKFLOWREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_TERMINATEWORKFLOWREQUEST_H_
#ifndef ALIBABACLOUD_ENS_MODEL_DESCRIBESDGSREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_DESCRIBESDGSREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,17 +26,20 @@
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT TerminateWorkflowRequest : public RpcServiceRequest {
class ALIBABACLOUD_ENS_EXPORT DescribeSDGsRequest : public RpcServiceRequest {
public:
TerminateWorkflowRequest();
~TerminateWorkflowRequest();
std::vector<std::string> getWorkflowIds() const;
void setWorkflowIds(const std::vector<std::string> &workflowIds);
DescribeSDGsRequest();
~DescribeSDGsRequest();
std::vector<std::string> getSDGIds() const;
void setSDGIds(const std::vector<std::string> &sDGIds);
std::vector<std::string> getInstanceIds() const;
void setInstanceIds(const std::vector<std::string> &instanceIds);
private:
std::vector<std::string> workflowIds_;
std::vector<std::string> sDGIds_;
std::vector<std::string> instanceIds_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_TERMINATEWORKFLOWREQUEST_H_
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBESDGSREQUEST_H_

View File

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

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_DESCRIBESNAPSHOTSREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_DESCRIBESNAPSHOTSREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT DescribeSnapshotsRequest : public RpcServiceRequest {
public:
DescribeSnapshotsRequest();
~DescribeSnapshotsRequest();
std::string getSnapshotId() const;
void setSnapshotId(const std::string &snapshotId);
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getEnsRegionId() const;
void setEnsRegionId(const std::string &ensRegionId);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getDiskId() const;
void setDiskId(const std::string &diskId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
private:
std::string snapshotId_;
int pageNumber_;
std::string ensRegionId_;
int pageSize_;
std::string diskId_;
std::string instanceId_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBESNAPSHOTSREQUEST_H_

View File

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

View File

@@ -44,29 +44,35 @@ namespace AlibabaCloud
explicit DescribeSnatAttributeResult(const std::string &payload);
~DescribeSnatAttributeResult();
std::string getStatus()const;
std::string getSnatEntryName()const;
std::string getSourceCIDR()const;
int getIdleTimeout()const;
std::string getSnatIp()const;
std::string getStandbySnatIp()const;
std::string getType()const;
std::string getDestCIDR()const;
std::string getSnatEntryName()const;
std::string getCreationTime()const;
std::vector<Snatip> getSnatIps()const;
std::string getSnatEntryId()const;
std::string getSnatIp()const;
std::string getStandbyStatus()const;
std::string getNatGatewayId()const;
std::string getStandbySnatIp()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
std::string snatEntryName_;
std::string sourceCIDR_;
int idleTimeout_;
std::string snatIp_;
std::string standbySnatIp_;
std::string type_;
std::string destCIDR_;
std::string snatEntryName_;
std::string creationTime_;
std::vector<Snatip> snatIps_;
std::string snatEntryId_;
std::string snatIp_;
std::string standbyStatus_;
std::string natGatewayId_;
std::string standbySnatIp_;
};
}

View File

@@ -42,10 +42,13 @@ namespace AlibabaCloud
bool standby;
};
std::string status;
std::string type;
std::string destCIDR;
std::string snatEntryName;
std::string sourceCIDR;
std::vector<SnatTableEntry::SnatIp> snatIps;
std::string snatEntryId;
int idleTimeout;
std::string snatIp;
std::string standbyStatus;
std::string natGatewayId;

View File

@@ -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_ENS_MODEL_DESCRIBEWORKFLOWACTIVITYRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_DESCRIBEWORKFLOWACTIVITYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT DescribeWorkflowActivityResult : public ServiceResult
{
public:
struct ActivityInfos
{
std::string gmtStart;
std::string gmtEnd;
std::string gmtCreate;
std::string input;
std::string activityName;
std::string state;
std::string activityId;
std::string output;
std::string workerNode;
std::string error;
std::string duration;
std::string method;
};
DescribeWorkflowActivityResult();
explicit DescribeWorkflowActivityResult(const std::string &payload);
~DescribeWorkflowActivityResult();
std::vector<ActivityInfos> getActivityInfo()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ActivityInfos> activityInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBEWORKFLOWACTIVITYRESULT_H_

View File

@@ -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_ENS_MODEL_DESCRIBEWORKFLOWREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_DESCRIBEWORKFLOWREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT DescribeWorkflowRequest : public RpcServiceRequest {
public:
DescribeWorkflowRequest();
~DescribeWorkflowRequest();
std::string getPageNum() const;
void setPageNum(const std::string &pageNum);
std::string getStartDate() const;
void setStartDate(const std::string &startDate);
std::string getEnsRegionId() const;
void setEnsRegionId(const std::string &ensRegionId);
std::string getId() const;
void setId(const std::string &id);
std::string getWorkFlowId() const;
void setWorkFlowId(const std::string &workFlowId);
std::string getBusinessId() const;
void setBusinessId(const std::string &businessId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getEndDate() const;
void setEndDate(const std::string &endDate);
std::string getStatus() const;
void setStatus(const std::string &status);
std::string getWorkFlowName() const;
void setWorkFlowName(const std::string &workFlowName);
std::string getPageSize() const;
void setPageSize(const std::string &pageSize);
std::string getAliUid() const;
void setAliUid(const std::string &aliUid);
private:
std::string pageNum_;
std::string startDate_;
std::string ensRegionId_;
std::string id_;
std::string workFlowId_;
std::string businessId_;
std::string instanceId_;
std::string endDate_;
std::string status_;
std::string workFlowName_;
std::string pageSize_;
std::string aliUid_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBEWORKFLOWREQUEST_H_

View File

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

View File

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

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_RETRYWORKFLOWREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_RETRYWORKFLOWREQUEST_H_
#ifndef ALIBABACLOUD_ENS_MODEL_GETBUCKETINFOREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_GETBUCKETINFOREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,17 +26,17 @@
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT RetryWorkflowRequest : public RpcServiceRequest {
class ALIBABACLOUD_ENS_EXPORT GetBucketInfoRequest : public RpcServiceRequest {
public:
RetryWorkflowRequest();
~RetryWorkflowRequest();
std::vector<std::string> getWorkflowIds() const;
void setWorkflowIds(const std::vector<std::string> &workflowIds);
GetBucketInfoRequest();
~GetBucketInfoRequest();
std::string getBucketName() const;
void setBucketName(const std::string &bucketName);
private:
std::vector<std::string> workflowIds_;
std::string bucketName_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_RETRYWORKFLOWREQUEST_H_
#endif // !ALIBABACLOUD_ENS_MODEL_GETBUCKETINFOREQUEST_H_

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_GETBUCKETINFORESULT_H_
#define ALIBABACLOUD_ENS_MODEL_GETBUCKETINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT GetBucketInfoResult : public ServiceResult
{
public:
struct BucketInfo
{
std::string comment;
std::string logicalBucketType;
std::string modifyTime;
std::string storageClass;
std::string createTime;
std::string indexTableName;
std::string cORSRule;
std::string dataRedundancyType;
std::string product;
std::string resourceType;
std::string city;
std::string lifecycleRule;
std::string engineInfo;
std::string bucketAcl;
std::string bucketName;
std::string endpoint;
long userId;
std::string dispatcherType;
};
GetBucketInfoResult();
explicit GetBucketInfoResult(const std::string &payload);
~GetBucketInfoResult();
BucketInfo getBucketInfo()const;
protected:
void parse(const std::string &payload);
private:
BucketInfo bucketInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_GETBUCKETINFORESULT_H_

View File

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

View File

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

View File

@@ -34,10 +34,13 @@ public:
void setSecurityGroupId(const std::string &securityGroupId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getNetworkInterfaceId() const;
void setNetworkInterfaceId(const std::string &networkInterfaceId);
private:
std::string securityGroupId_;
std::string instanceId_;
std::string networkInterfaceId_;
};
} // namespace Model
} // namespace Ens

View File

@@ -34,10 +34,13 @@ public:
void setSecurityGroupId(const std::string &securityGroupId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getNetworkInterfaceId() const;
void setNetworkInterfaceId(const std::string &networkInterfaceId);
private:
std::string securityGroupId_;
std::string instanceId_;
std::string networkInterfaceId_;
};
} // namespace Model
} // namespace Ens

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_LISTBUCKETSREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_LISTBUCKETSREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT ListBucketsRequest : public RpcServiceRequest {
public:
ListBucketsRequest();
~ListBucketsRequest();
std::string getPrefix() const;
void setPrefix(const std::string &prefix);
std::string getEnsRegionId() const;
void setEnsRegionId(const std::string &ensRegionId);
std::string getKeyword() const;
void setKeyword(const std::string &keyword);
std::string getLogicalBucketType() const;
void setLogicalBucketType(const std::string &logicalBucketType);
std::string getMarker() const;
void setMarker(const std::string &marker);
std::string getPageNumber() const;
void setPageNumber(const std::string &pageNumber);
std::string getPageSize() const;
void setPageSize(const std::string &pageSize);
private:
std::string prefix_;
std::string ensRegionId_;
std::string keyword_;
std::string logicalBucketType_;
std::string marker_;
std::string pageNumber_;
std::string pageSize_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_LISTBUCKETSREQUEST_H_

View File

@@ -0,0 +1,77 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_LISTBUCKETSRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_LISTBUCKETSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT ListBucketsResult : public ServiceResult
{
public:
struct BucketInfo
{
std::string comment;
std::string logicalBucketType;
std::string modifyTime;
std::string storageClass;
std::string createTime;
std::string indexTableName;
std::string cORSRule;
std::string dataRedundancyType;
std::string product;
std::string resourceType;
std::string city;
std::string lifecycleRule;
std::string engineInfo;
std::string bucketAcl;
std::string bucketName;
std::string endpoint;
long userId;
std::string dispatcherType;
std::string ensRegionId;
};
ListBucketsResult();
explicit ListBucketsResult(const std::string &payload);
~ListBucketsResult();
std::vector<BucketInfo> getBucketInfos()const;
long getTotalCount()const;
std::string getNextMarker()const;
protected:
void parse(const std::string &payload);
private:
std::vector<BucketInfo> bucketInfos_;
long totalCount_;
std::string nextMarker_;
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_LISTBUCKETSRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_LISTOBJECTSREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_LISTOBJECTSREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT ListObjectsRequest : public RpcServiceRequest {
public:
ListObjectsRequest();
~ListObjectsRequest();
long getMaxKeys() const;
void setMaxKeys(long maxKeys);
std::string getContinuationToken() const;
void setContinuationToken(const std::string &continuationToken);
std::string getPrefix() const;
void setPrefix(const std::string &prefix);
std::string getDelimiter() const;
void setDelimiter(const std::string &delimiter);
std::string getMarker() const;
void setMarker(const std::string &marker);
std::string getBucketName() const;
void setBucketName(const std::string &bucketName);
std::string getEncodingType() const;
void setEncodingType(const std::string &encodingType);
std::string getStartAfter() const;
void setStartAfter(const std::string &startAfter);
private:
long maxKeys_;
std::string continuationToken_;
std::string prefix_;
std::string delimiter_;
std::string marker_;
std::string bucketName_;
std::string encodingType_;
std::string startAfter_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_LISTOBJECTSREQUEST_H_

View File

@@ -0,0 +1,83 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_LISTOBJECTSRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_LISTOBJECTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>
namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT ListObjectsResult : public ServiceResult
{
public:
struct Content
{
std::string lastModified;
std::string eTag;
std::string storageClass;
long size;
std::string key;
};
ListObjectsResult();
explicit ListObjectsResult(const std::string &payload);
~ListObjectsResult();
std::vector<std::string> getCommonPrefixes()const;
std::string getNextContinuationToken()const;
std::string getContinuationToken()const;
std::string getDelimiter()const;
std::string getEncodingType()const;
bool getIsTruncated()const;
std::string getPrefix()const;
std::string getMarker()const;
std::vector<Content> getContents()const;
std::string getBucketName()const;
long getKeyCount()const;
std::string getNextMarker()const;
long getMaxKeys()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> commonPrefixes_;
std::string nextContinuationToken_;
std::string continuationToken_;
std::string delimiter_;
std::string encodingType_;
bool isTruncated_;
std::string prefix_;
std::string marker_;
std::vector<Content> contents_;
std::string bucketName_;
long keyCount_;
std::string nextMarker_;
long maxKeys_;
};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_LISTOBJECTSRESULT_H_

View File

@@ -34,13 +34,10 @@ public:
void setImageId(const std::string &imageId);
std::string getImageName() const;
void setImageName(const std::string &imageName);
std::string getProduct() const;
void setProduct(const std::string &product);
private:
std::string imageId_;
std::string imageName_;
std::string product_;
};
} // namespace Model
} // namespace Ens

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_MODIFYINSTANCECHARGETYPEREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_MODIFYINSTANCECHARGETYPEREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT ModifyInstanceChargeTypeRequest : public RpcServiceRequest {
public:
ModifyInstanceChargeTypeRequest();
~ModifyInstanceChargeTypeRequest();
std::string getPeriod() const;
void setPeriod(const std::string &period);
bool getIncludeDataDisks() const;
void setIncludeDataDisks(bool includeDataDisks);
std::string getPeriodUnit() const;
void setPeriodUnit(const std::string &periodUnit);
bool getAutoRenew() const;
void setAutoRenew(bool autoRenew);
std::vector<std::string> getInstanceIds() const;
void setInstanceIds(const std::vector<std::string> &instanceIds);
std::string getInstanceChargeType() const;
void setInstanceChargeType(const std::string &instanceChargeType);
bool getAutoPay() const;
void setAutoPay(bool autoPay);
private:
std::string period_;
bool includeDataDisks_;
std::string periodUnit_;
bool autoRenew_;
std::vector<std::string> instanceIds_;
std::string instanceChargeType_;
bool autoPay_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_MODIFYINSTANCECHARGETYPEREQUEST_H_

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_PUTBUCKETLIFECYCLEREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_PUTBUCKETLIFECYCLEREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT PutBucketLifecycleRequest : public RpcServiceRequest {
public:
PutBucketLifecycleRequest();
~PutBucketLifecycleRequest();
std::string getPrefix() const;
void setPrefix(const std::string &prefix);
std::string getAllowSameActionOverlap() const;
void setAllowSameActionOverlap(const std::string &allowSameActionOverlap);
long getExpirationDays() const;
void setExpirationDays(long expirationDays);
std::string getRuleId() const;
void setRuleId(const std::string &ruleId);
std::string getStatus() const;
void setStatus(const std::string &status);
std::string getBucketName() const;
void setBucketName(const std::string &bucketName);
std::string getCreatedBeforeDate() const;
void setCreatedBeforeDate(const std::string &createdBeforeDate);
private:
std::string prefix_;
std::string allowSameActionOverlap_;
long expirationDays_;
std::string ruleId_;
std::string status_;
std::string bucketName_;
std::string createdBeforeDate_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_PUTBUCKETLIFECYCLEREQUEST_H_

View File

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

View File

@@ -0,0 +1,78 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_PUTBUCKETREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_PUTBUCKETREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT PutBucketRequest : public RpcServiceRequest {
public:
PutBucketRequest();
~PutBucketRequest();
std::string getEnsRegionId() const;
void setEnsRegionId(const std::string &ensRegionId);
std::string getLogicalBucketType() const;
void setLogicalBucketType(const std::string &logicalBucketType);
std::string getCity() const;
void setCity(const std::string &city);
std::string getDataRedundancyType() const;
void setDataRedundancyType(const std::string &dataRedundancyType);
std::string getEndpoint() const;
void setEndpoint(const std::string &endpoint);
std::string getBucketName() const;
void setBucketName(const std::string &bucketName);
std::string getStorageDomainId() const;
void setStorageDomainId(const std::string &storageDomainId);
std::string getEngineId() const;
void setEngineId(const std::string &engineId);
std::string getBucketAcl() const;
void setBucketAcl(const std::string &bucketAcl);
std::string getDispatcherType() const;
void setDispatcherType(const std::string &dispatcherType);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
std::string getStorageClass() const;
void setStorageClass(const std::string &storageClass);
std::string getComment() const;
void setComment(const std::string &comment);
private:
std::string ensRegionId_;
std::string logicalBucketType_;
std::string city_;
std::string dataRedundancyType_;
std::string endpoint_;
std::string bucketName_;
std::string storageDomainId_;
std::string engineId_;
std::string bucketAcl_;
std::string dispatcherType_;
std::string resourceType_;
std::string storageClass_;
std::string comment_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_PUTBUCKETREQUEST_H_

View File

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

View File

@@ -32,12 +32,9 @@ public:
~RebootARMServerInstanceRequest();
std::string getServerId() const;
void setServerId(const std::string &serverId);
std::vector<std::string> getServerIds() const;
void setServerIds(const std::vector<std::string> &serverIds);
private:
std::string serverId_;
std::vector<std::string> serverIds_;
};
} // namespace Model
} // namespace Ens

View File

@@ -32,7 +32,7 @@ namespace AlibabaCloud
class ALIBABACLOUD_ENS_EXPORT RebootInstancesResult : public ServiceResult
{
public:
struct InstanceResponsesItem
struct Responses
{
std::string message;
std::string instanceId;
@@ -43,12 +43,12 @@ namespace AlibabaCloud
RebootInstancesResult();
explicit RebootInstancesResult(const std::string &payload);
~RebootInstancesResult();
std::vector<InstanceResponsesItem> getInstanceResponses()const;
std::vector<Responses> getInstanceResponses()const;
protected:
void parse(const std::string &payload);
private:
std::vector<InstanceResponsesItem> instanceResponses_;
std::vector<Responses> instanceResponses_;
};
}

View File

@@ -32,7 +32,7 @@ namespace AlibabaCloud
class ALIBABACLOUD_ENS_EXPORT ReinitInstancesResult : public ServiceResult
{
public:
struct InstanceResponsesItem
struct Responses
{
std::string message;
std::string instanceId;
@@ -43,12 +43,12 @@ namespace AlibabaCloud
ReinitInstancesResult();
explicit ReinitInstancesResult(const std::string &payload);
~ReinitInstancesResult();
std::vector<InstanceResponsesItem> getInstanceResponses()const;
std::vector<Responses> getInstanceResponses()const;
protected:
void parse(const std::string &payload);
private:
std::vector<InstanceResponsesItem> instanceResponses_;
std::vector<Responses> instanceResponses_;
};
}

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ENS_MODEL_RESTARTWORKFLOWREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_RESTARTWORKFLOWREQUEST_H_
#ifndef ALIBABACLOUD_ENS_MODEL_REMOVESDGREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_REMOVESDGREQUEST_H_
#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,17 +26,17 @@
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT RestartWorkflowRequest : public RpcServiceRequest {
class ALIBABACLOUD_ENS_EXPORT RemoveSDGRequest : public RpcServiceRequest {
public:
RestartWorkflowRequest();
~RestartWorkflowRequest();
std::vector<std::string> getWorkflowIds() const;
void setWorkflowIds(const std::vector<std::string> &workflowIds);
RemoveSDGRequest();
~RemoveSDGRequest();
std::vector<std::string> getInstanceIds() const;
void setInstanceIds(const std::vector<std::string> &instanceIds);
private:
std::vector<std::string> workflowIds_;
std::vector<std::string> instanceIds_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_RESTARTWORKFLOWREQUEST_H_
#endif // !ALIBABACLOUD_ENS_MODEL_REMOVESDGREQUEST_H_

View File

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

View File

@@ -36,11 +36,14 @@ public:
void setPeriodUnit(const std::string &periodUnit);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
bool getAutoRenew() const;
void setAutoRenew(bool autoRenew);
private:
int period_;
std::string periodUnit_;
std::string instanceId_;
bool autoRenew_;
};
} // namespace Model
} // namespace Ens

View File

@@ -30,26 +30,26 @@ class ALIBABACLOUD_ENS_EXPORT RescaleApplicationRequest : public RpcServiceReque
public:
RescaleApplicationRequest();
~RescaleApplicationRequest();
std::string getResourceSelector() const;
void setResourceSelector(const std::string &resourceSelector);
std::string getToAppVersion() const;
void setToAppVersion(const std::string &toAppVersion);
std::string getRescaleType() const;
void setRescaleType(const std::string &rescaleType);
std::string getResourceSelector() const;
void setResourceSelector(const std::string &resourceSelector);
int getTimeout() const;
void setTimeout(int timeout);
std::string getRescaleLevel() const;
void setRescaleLevel(const std::string &rescaleLevel);
std::string getAppId() const;
void setAppId(const std::string &appId);
std::string getToAppVersion() const;
void setToAppVersion(const std::string &toAppVersion);
private:
std::string resourceSelector_;
std::string toAppVersion_;
std::string rescaleType_;
std::string resourceSelector_;
int timeout_;
std::string rescaleLevel_;
std::string appId_;
std::string toAppVersion_;
};
} // namespace Model
} // namespace Ens

View File

@@ -34,13 +34,10 @@ public:
void setServerId(const std::string &serverId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::vector<std::string> getInstanceIds() const;
void setInstanceIds(const std::vector<std::string> &instanceIds);
private:
std::string serverId_;
std::string instanceId_;
std::vector<std::string> instanceIds_;
};
} // namespace Model
} // namespace Ens

View File

@@ -32,9 +32,15 @@ public:
long size;
std::string category;
};
struct Tag {
std::string value;
std::string key;
};
struct DataDisk {
long size;
bool encrypted;
std::string category;
std::string kMSKeyId;
};
RunInstancesRequest();
~RunInstancesRequest();
@@ -58,14 +64,20 @@ public:
void setNetDistrictCode(const std::string &netDistrictCode);
std::string getEnsRegionId() const;
void setEnsRegionId(const std::string &ensRegionId);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
long getPeriod() const;
void setPeriod(long period);
bool getPublicIpIdentification() const;
void setPublicIpIdentification(bool publicIpIdentification);
std::string getBillingCycle() const;
void setBillingCycle(const std::string &billingCycle);
std::string getVSwitchId() const;
void setVSwitchId(const std::string &vSwitchId);
std::string getPrivateIpAddress() const;
void setPrivateIpAddress(const std::string &privateIpAddress);
std::string getSpotStrategy() const;
void setSpotStrategy(const std::string &spotStrategy);
std::string getPeriodUnit() const;
void setPeriodUnit(const std::string &periodUnit);
std::string getInstanceName() const;
@@ -82,6 +94,8 @@ public:
void setImageId(const std::string &imageId);
long getInternetMaxBandwidthOut() const;
void setInternetMaxBandwidthOut(long internetMaxBandwidthOut);
std::string getAutoUseCoupon() const;
void setAutoUseCoupon(const std::string &autoUseCoupon);
std::string getUserData() const;
void setUserData(const std::string &userData);
bool getPasswordInherit() const;
@@ -92,6 +106,10 @@ public:
void setInstanceChargeType(const std::string &instanceChargeType);
long getAmount() const;
void setAmount(long amount);
std::string getAutoReleaseTime() const;
void setAutoReleaseTime(const std::string &autoReleaseTime);
std::string getIpType() const;
void setIpType(const std::string &ipType);
std::vector<DataDisk> getDataDisk() const;
void setDataDisk(const std::vector<DataDisk> &dataDisk);
std::string getSchedulingStrategy() const;
@@ -110,10 +128,13 @@ private:
SystemDisk systemDisk_;
std::string netDistrictCode_;
std::string ensRegionId_;
std::vector<Tag> tag_;
long period_;
bool publicIpIdentification_;
std::string billingCycle_;
std::string vSwitchId_;
std::string privateIpAddress_;
std::string spotStrategy_;
std::string periodUnit_;
std::string instanceName_;
bool autoRenew_;
@@ -122,11 +143,14 @@ private:
std::string schedulingPriceStrategy_;
std::string imageId_;
long internetMaxBandwidthOut_;
std::string autoUseCoupon_;
std::string userData_;
bool passwordInherit_;
std::string instanceType_;
std::string instanceChargeType_;
long amount_;
std::string autoReleaseTime_;
std::string ipType_;
std::vector<DataDisk> dataDisk_;
std::string schedulingStrategy_;
std::string carrier_;

View File

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

View File

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

View File

@@ -32,7 +32,7 @@ namespace AlibabaCloud
class ALIBABACLOUD_ENS_EXPORT StartInstancesResult : public ServiceResult
{
public:
struct InstanceResponsesItem
struct Response
{
std::string message;
std::string instanceId;
@@ -43,12 +43,12 @@ namespace AlibabaCloud
StartInstancesResult();
explicit StartInstancesResult(const std::string &payload);
~StartInstancesResult();
std::vector<InstanceResponsesItem> getInstanceResponses()const;
std::vector<Response> getInstanceResponses()const;
protected:
void parse(const std::string &payload);
private:
std::vector<InstanceResponsesItem> instanceResponses_;
std::vector<Response> instanceResponses_;
};
}

View File

@@ -32,7 +32,7 @@ namespace AlibabaCloud
class ALIBABACLOUD_ENS_EXPORT StopInstancesResult : public ServiceResult
{
public:
struct InstanceResponsesItem
struct Responses
{
std::string message;
std::string instanceId;
@@ -43,12 +43,12 @@ namespace AlibabaCloud
StopInstancesResult();
explicit StopInstancesResult(const std::string &payload);
~StopInstancesResult();
std::vector<InstanceResponsesItem> getInstanceResponses()const;
std::vector<Responses> getInstanceResponses()const;
protected:
void parse(const std::string &payload);
private:
std::vector<InstanceResponsesItem> instanceResponses_;
std::vector<Responses> instanceResponses_;
};
}

View File

@@ -37,10 +37,12 @@ namespace AlibabaCloud
UpgradeApplicationResult();
explicit UpgradeApplicationResult(const std::string &payload);
~UpgradeApplicationResult();
std::string getTaskId()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
};
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,47 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ens/model/CopySDGRequest.h>
using AlibabaCloud::Ens::Model::CopySDGRequest;
CopySDGRequest::CopySDGRequest()
: RpcServiceRequest("ens", "2017-11-10", "CopySDG") {
setMethod(HttpRequest::Method::Get);
}
CopySDGRequest::~CopySDGRequest() {}
std::vector<CopySDGRequest::std::string> CopySDGRequest::getDestinationRegionIds() const {
return destinationRegionIds_;
}
void CopySDGRequest::setDestinationRegionIds(const std::vector<CopySDGRequest::std::string> &destinationRegionIds) {
destinationRegionIds_ = destinationRegionIds;
for(int dep1 = 0; dep1 != destinationRegionIds.size(); dep1++) {
setParameter(std::string("DestinationRegionIds") + "." + std::to_string(dep1 + 1), destinationRegionIds[dep1]);
}
}
std::string CopySDGRequest::getSDGId() const {
return sDGId_;
}
void CopySDGRequest::setSDGId(const std::string &sDGId) {
sDGId_ = sDGId;
setParameter(std::string("SDGId"), sDGId);
}

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ens/model/CopySDGResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ens;
using namespace AlibabaCloud::Ens::Model;
CopySDGResult::CopySDGResult() :
ServiceResult()
{}
CopySDGResult::CopySDGResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CopySDGResult::~CopySDGResult()
{}
void CopySDGResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["Message"].isNull())
data_.message = dataNode["Message"].asString();
if(!dataNode["Success"].isNull())
data_.success = dataNode["Success"].asString() == "true";
auto resultNode = dataNode["Result"];
if(!resultNode["FailedCount"].isNull())
data_.result.failedCount = std::stol(resultNode["FailedCount"].asString());
if(!resultNode["SuccessCount"].isNull())
data_.result.successCount = std::stol(resultNode["SuccessCount"].asString());
auto allFailedItemsNode = resultNode["FailedItems"]["FailedItemsItem"];
for (auto resultNodeFailedItemsFailedItemsItem : allFailedItemsNode)
{
Data::Result::FailedItemsItem failedItemsItemObject;
if(!resultNodeFailedItemsFailedItemsItem["ErrorMessage"].isNull())
failedItemsItemObject.errorMessage = resultNodeFailedItemsFailedItemsItem["ErrorMessage"].asString();
if(!resultNodeFailedItemsFailedItemsItem["DestinationRegionId"].isNull())
failedItemsItemObject.destinationRegionId = resultNodeFailedItemsFailedItemsItem["DestinationRegionId"].asString();
data_.result.failedItems.push_back(failedItemsItemObject);
}
}
CopySDGResult::Data CopySDGResult::getData()const
{
return data_;
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ens/model/CopySnapshotRequest.h>
using AlibabaCloud::Ens::Model::CopySnapshotRequest;
CopySnapshotRequest::CopySnapshotRequest()
: RpcServiceRequest("ens", "2017-11-10", "CopySnapshot") {
setMethod(HttpRequest::Method::Post);
}
CopySnapshotRequest::~CopySnapshotRequest() {}
std::string CopySnapshotRequest::getSnapshotId() const {
return snapshotId_;
}
void CopySnapshotRequest::setSnapshotId(const std::string &snapshotId) {
snapshotId_ = snapshotId;
setParameter(std::string("SnapshotId"), snapshotId);
}
std::vector<CopySnapshotRequest::std::string> CopySnapshotRequest::getDestinationRegionIds() const {
return destinationRegionIds_;
}
void CopySnapshotRequest::setDestinationRegionIds(const std::vector<CopySnapshotRequest::std::string> &destinationRegionIds) {
destinationRegionIds_ = destinationRegionIds;
for(int dep1 = 0; dep1 != destinationRegionIds.size(); dep1++) {
setParameter(std::string("DestinationRegionIds") + "." + std::to_string(dep1 + 1), destinationRegionIds[dep1]);
}
}
std::string CopySnapshotRequest::getDestinationSnapshotName() const {
return destinationSnapshotName_;
}
void CopySnapshotRequest::setDestinationSnapshotName(const std::string &destinationSnapshotName) {
destinationSnapshotName_ = destinationSnapshotName;
setParameter(std::string("DestinationSnapshotName"), destinationSnapshotName);
}
std::string CopySnapshotRequest::getDestinationSnapshotDescription() const {
return destinationSnapshotDescription_;
}
void CopySnapshotRequest::setDestinationSnapshotDescription(const std::string &destinationSnapshotDescription) {
destinationSnapshotDescription_ = destinationSnapshotDescription;
setParameter(std::string("DestinationSnapshotDescription"), destinationSnapshotDescription);
}

View File

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

View File

@@ -106,6 +106,15 @@ void CreateARMServerInstancesRequest::setServerType(const std::string &serverTyp
setParameter(std::string("ServerType"), serverType);
}
bool CreateARMServerInstancesRequest::getAutoUseCoupon() const {
return autoUseCoupon_;
}
void CreateARMServerInstancesRequest::setAutoUseCoupon(bool autoUseCoupon) {
autoUseCoupon_ = autoUseCoupon;
setParameter(std::string("AutoUseCoupon"), autoUseCoupon ? "true" : "false");
}
std::string CreateARMServerInstancesRequest::getInstanceType() const {
return instanceType_;
}

View File

@@ -25,13 +25,13 @@ CreateDiskRequest::CreateDiskRequest()
CreateDiskRequest::~CreateDiskRequest() {}
std::string CreateDiskRequest::getSnapshotId() const {
return snapshotId_;
std::string CreateDiskRequest::getDiskName() const {
return diskName_;
}
void CreateDiskRequest::setSnapshotId(const std::string &snapshotId) {
snapshotId_ = snapshotId;
setParameter(std::string("SnapshotId"), snapshotId);
void CreateDiskRequest::setDiskName(const std::string &diskName) {
diskName_ = diskName;
setParameter(std::string("DiskName"), diskName);
}
std::string CreateDiskRequest::getEnsRegionId() const {
@@ -43,6 +43,24 @@ void CreateDiskRequest::setEnsRegionId(const std::string &ensRegionId) {
setParameter(std::string("EnsRegionId"), ensRegionId);
}
std::string CreateDiskRequest::getSize() const {
return size_;
}
void CreateDiskRequest::setSize(const std::string &size) {
size_ = size;
setParameter(std::string("Size"), size);
}
std::string CreateDiskRequest::getSnapshotId() const {
return snapshotId_;
}
void CreateDiskRequest::setSnapshotId(const std::string &snapshotId) {
snapshotId_ = snapshotId;
setParameter(std::string("SnapshotId"), snapshotId);
}
std::string CreateDiskRequest::getInstanceChargeType() const {
return instanceChargeType_;
}
@@ -52,13 +70,13 @@ void CreateDiskRequest::setInstanceChargeType(const std::string &instanceChargeT
setParameter(std::string("InstanceChargeType"), instanceChargeType);
}
std::string CreateDiskRequest::getSize() const {
return size_;
bool CreateDiskRequest::getEncrypted() const {
return encrypted_;
}
void CreateDiskRequest::setSize(const std::string &size) {
size_ = size;
setParameter(std::string("Size"), size);
void CreateDiskRequest::setEncrypted(bool encrypted) {
encrypted_ = encrypted;
setParameter(std::string("Encrypted"), encrypted ? "true" : "false");
}
std::string CreateDiskRequest::getCategory() const {
@@ -70,3 +88,12 @@ void CreateDiskRequest::setCategory(const std::string &category) {
setParameter(std::string("Category"), category);
}
std::string CreateDiskRequest::getKMSKeyId() const {
return kMSKeyId_;
}
void CreateDiskRequest::setKMSKeyId(const std::string &kMSKeyId) {
kMSKeyId_ = kMSKeyId;
setParameter(std::string("KMSKeyId"), kMSKeyId);
}

View File

@@ -43,24 +43,6 @@ void CreateEipInstanceRequest::setEnsRegionId(const std::string &ensRegionId) {
setParameter(std::string("EnsRegionId"), ensRegionId);
}
std::string CreateEipInstanceRequest::getInstanceChargeType() const {
return instanceChargeType_;
}
void CreateEipInstanceRequest::setInstanceChargeType(const std::string &instanceChargeType) {
instanceChargeType_ = instanceChargeType;
setParameter(std::string("InstanceChargeType"), instanceChargeType);
}
long CreateEipInstanceRequest::getBandwidth() const {
return bandwidth_;
}
void CreateEipInstanceRequest::setBandwidth(long bandwidth) {
bandwidth_ = bandwidth;
setParameter(std::string("Bandwidth"), std::to_string(bandwidth));
}
std::string CreateEipInstanceRequest::getInternetChargeType() const {
return internetChargeType_;
}
@@ -79,3 +61,30 @@ void CreateEipInstanceRequest::setName(const std::string &name) {
setParameter(std::string("Name"), name);
}
std::string CreateEipInstanceRequest::getDescription() const {
return description_;
}
void CreateEipInstanceRequest::setDescription(const std::string &description) {
description_ = description;
setParameter(std::string("Description"), description);
}
std::string CreateEipInstanceRequest::getInstanceChargeType() const {
return instanceChargeType_;
}
void CreateEipInstanceRequest::setInstanceChargeType(const std::string &instanceChargeType) {
instanceChargeType_ = instanceChargeType;
setParameter(std::string("InstanceChargeType"), instanceChargeType);
}
long CreateEipInstanceRequest::getBandwidth() const {
return bandwidth_;
}
void CreateEipInstanceRequest::setBandwidth(long bandwidth) {
bandwidth_ = bandwidth;
setParameter(std::string("Bandwidth"), std::to_string(bandwidth));
}

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ens/model/CreateSDGRequest.h>
using AlibabaCloud::Ens::Model::CreateSDGRequest;
CreateSDGRequest::CreateSDGRequest()
: RpcServiceRequest("ens", "2017-11-10", "CreateSDG") {
setMethod(HttpRequest::Method::Get);
}
CreateSDGRequest::~CreateSDGRequest() {}
std::string CreateSDGRequest::getFromSDGId() const {
return fromSDGId_;
}
void CreateSDGRequest::setFromSDGId(const std::string &fromSDGId) {
fromSDGId_ = fromSDGId;
setParameter(std::string("FromSDGId"), fromSDGId);
}
std::string CreateSDGRequest::getDescription() const {
return description_;
}
void CreateSDGRequest::setDescription(const std::string &description) {
description_ = description;
setParameter(std::string("Description"), description);
}
std::string CreateSDGRequest::getInstanceId() const {
return instanceId_;
}
void CreateSDGRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::string CreateSDGRequest::getSize() const {
return size_;
}
void CreateSDGRequest::setSize(const std::string &size) {
size_ = size;
setParameter(std::string("Size"), size);
}

View File

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

View File

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

View File

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

View File

@@ -34,6 +34,24 @@ void CreateSnatEntryRequest::setSnatIp(const std::string &snatIp) {
setParameter(std::string("SnatIp"), snatIp);
}
std::string CreateSnatEntryRequest::getType() const {
return type_;
}
void CreateSnatEntryRequest::setType(const std::string &type) {
type_ = type;
setParameter(std::string("Type"), type);
}
std::string CreateSnatEntryRequest::getDestCIDR() const {
return destCIDR_;
}
void CreateSnatEntryRequest::setDestCIDR(const std::string &destCIDR) {
destCIDR_ = destCIDR;
setParameter(std::string("DestCIDR"), destCIDR);
}
std::string CreateSnatEntryRequest::getSourceVSwitchId() const {
return sourceVSwitchId_;
}
@@ -79,6 +97,15 @@ void CreateSnatEntryRequest::setNatGatewayId(const std::string &natGatewayId) {
setParameter(std::string("NatGatewayId"), natGatewayId);
}
int CreateSnatEntryRequest::getIdleTimeout() const {
return idleTimeout_;
}
void CreateSnatEntryRequest::setIdleTimeout(int idleTimeout) {
idleTimeout_ = idleTimeout;
setParameter(std::string("IdleTimeout"), std::to_string(idleTimeout));
}
std::string CreateSnatEntryRequest::getSnatEntryName() const {
return snatEntryName_;
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ens/model/DeleteBucketLifecycleRequest.h>
using AlibabaCloud::Ens::Model::DeleteBucketLifecycleRequest;
DeleteBucketLifecycleRequest::DeleteBucketLifecycleRequest()
: RpcServiceRequest("ens", "2017-11-10", "DeleteBucketLifecycle") {
setMethod(HttpRequest::Method::Post);
}
DeleteBucketLifecycleRequest::~DeleteBucketLifecycleRequest() {}
std::string DeleteBucketLifecycleRequest::getBucketName() const {
return bucketName_;
}
void DeleteBucketLifecycleRequest::setBucketName(const std::string &bucketName) {
bucketName_ = bucketName;
setParameter(std::string("BucketName"), bucketName);
}
std::string DeleteBucketLifecycleRequest::getRuleId() const {
return ruleId_;
}
void DeleteBucketLifecycleRequest::setRuleId(const std::string &ruleId) {
ruleId_ = ruleId;
setParameter(std::string("RuleId"), ruleId);
}

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