Supported RunInstances specifiy Dedicated Host Cluster Id.

This commit is contained in:
sdk-team
2021-01-21 04:16:31 +00:00
parent 0802c5d8b0
commit 65a6e6b64f
104 changed files with 8251 additions and 4 deletions

View File

@@ -1,3 +1,6 @@
2021-01-21 Version: patch
- Supported RunInstances specifiy Dedicated Host Cluster Id.
2021-01-19 Version: patch
- Update Function.

View File

@@ -63,6 +63,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/CancelAutoSnapshotPolicyResult.h
include/alibabacloud/ecs/model/CancelCopyImageRequest.h
include/alibabacloud/ecs/model/CancelCopyImageResult.h
include/alibabacloud/ecs/model/CancelImagePipelineExecutionRequest.h
include/alibabacloud/ecs/model/CancelImagePipelineExecutionResult.h
include/alibabacloud/ecs/model/CancelPhysicalConnectionRequest.h
include/alibabacloud/ecs/model/CancelPhysicalConnectionResult.h
include/alibabacloud/ecs/model/CancelSimulatedSystemEventsRequest.h
@@ -77,6 +79,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/CopyImageResult.h
include/alibabacloud/ecs/model/CopySnapshotRequest.h
include/alibabacloud/ecs/model/CopySnapshotResult.h
include/alibabacloud/ecs/model/CreateActivationRequest.h
include/alibabacloud/ecs/model/CreateActivationResult.h
include/alibabacloud/ecs/model/CreateAutoProvisioningGroupRequest.h
include/alibabacloud/ecs/model/CreateAutoProvisioningGroupResult.h
include/alibabacloud/ecs/model/CreateAutoSnapshotPolicyRequest.h
@@ -103,6 +107,10 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/CreateHpcClusterResult.h
include/alibabacloud/ecs/model/CreateImageRequest.h
include/alibabacloud/ecs/model/CreateImageResult.h
include/alibabacloud/ecs/model/CreateImageComponentRequest.h
include/alibabacloud/ecs/model/CreateImageComponentResult.h
include/alibabacloud/ecs/model/CreateImagePipelineRequest.h
include/alibabacloud/ecs/model/CreateImagePipelineResult.h
include/alibabacloud/ecs/model/CreateInstanceRequest.h
include/alibabacloud/ecs/model/CreateInstanceResult.h
include/alibabacloud/ecs/model/CreateKeyPairRequest.h
@@ -129,6 +137,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/CreateSimulatedSystemEventsResult.h
include/alibabacloud/ecs/model/CreateSnapshotRequest.h
include/alibabacloud/ecs/model/CreateSnapshotResult.h
include/alibabacloud/ecs/model/CreateSnapshotGroupRequest.h
include/alibabacloud/ecs/model/CreateSnapshotGroupResult.h
include/alibabacloud/ecs/model/CreateStorageSetRequest.h
include/alibabacloud/ecs/model/CreateStorageSetResult.h
include/alibabacloud/ecs/model/CreateVSwitchRequest.h
@@ -139,6 +149,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/CreateVpcResult.h
include/alibabacloud/ecs/model/DeactivateRouterInterfaceRequest.h
include/alibabacloud/ecs/model/DeactivateRouterInterfaceResult.h
include/alibabacloud/ecs/model/DeleteActivationRequest.h
include/alibabacloud/ecs/model/DeleteActivationResult.h
include/alibabacloud/ecs/model/DeleteAutoProvisioningGroupRequest.h
include/alibabacloud/ecs/model/DeleteAutoProvisioningGroupResult.h
include/alibabacloud/ecs/model/DeleteAutoSnapshotPolicyRequest.h
@@ -163,6 +175,10 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/DeleteHpcClusterResult.h
include/alibabacloud/ecs/model/DeleteImageRequest.h
include/alibabacloud/ecs/model/DeleteImageResult.h
include/alibabacloud/ecs/model/DeleteImageComponentRequest.h
include/alibabacloud/ecs/model/DeleteImageComponentResult.h
include/alibabacloud/ecs/model/DeleteImagePipelineRequest.h
include/alibabacloud/ecs/model/DeleteImagePipelineResult.h
include/alibabacloud/ecs/model/DeleteInstanceRequest.h
include/alibabacloud/ecs/model/DeleteInstanceResult.h
include/alibabacloud/ecs/model/DeleteInstancesRequest.h
@@ -189,6 +205,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/DeleteSecurityGroupResult.h
include/alibabacloud/ecs/model/DeleteSnapshotRequest.h
include/alibabacloud/ecs/model/DeleteSnapshotResult.h
include/alibabacloud/ecs/model/DeleteSnapshotGroupRequest.h
include/alibabacloud/ecs/model/DeleteSnapshotGroupResult.h
include/alibabacloud/ecs/model/DeleteStorageSetRequest.h
include/alibabacloud/ecs/model/DeleteStorageSetResult.h
include/alibabacloud/ecs/model/DeleteVSwitchRequest.h
@@ -197,10 +215,14 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/DeleteVirtualBorderRouterResult.h
include/alibabacloud/ecs/model/DeleteVpcRequest.h
include/alibabacloud/ecs/model/DeleteVpcResult.h
include/alibabacloud/ecs/model/DeregisterManagedInstanceRequest.h
include/alibabacloud/ecs/model/DeregisterManagedInstanceResult.h
include/alibabacloud/ecs/model/DescribeAccessPointsRequest.h
include/alibabacloud/ecs/model/DescribeAccessPointsResult.h
include/alibabacloud/ecs/model/DescribeAccountAttributesRequest.h
include/alibabacloud/ecs/model/DescribeAccountAttributesResult.h
include/alibabacloud/ecs/model/DescribeActivationsRequest.h
include/alibabacloud/ecs/model/DescribeActivationsResult.h
include/alibabacloud/ecs/model/DescribeAutoProvisioningGroupHistoryRequest.h
include/alibabacloud/ecs/model/DescribeAutoProvisioningGroupHistoryResult.h
include/alibabacloud/ecs/model/DescribeAutoProvisioningGroupInstancesRequest.h
@@ -263,8 +285,14 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/DescribeHaVipsResult.h
include/alibabacloud/ecs/model/DescribeHpcClustersRequest.h
include/alibabacloud/ecs/model/DescribeHpcClustersResult.h
include/alibabacloud/ecs/model/DescribeImageComponentsRequest.h
include/alibabacloud/ecs/model/DescribeImageComponentsResult.h
include/alibabacloud/ecs/model/DescribeImageFromFamilyRequest.h
include/alibabacloud/ecs/model/DescribeImageFromFamilyResult.h
include/alibabacloud/ecs/model/DescribeImagePipelineExecutionsRequest.h
include/alibabacloud/ecs/model/DescribeImagePipelineExecutionsResult.h
include/alibabacloud/ecs/model/DescribeImagePipelinesRequest.h
include/alibabacloud/ecs/model/DescribeImagePipelinesResult.h
include/alibabacloud/ecs/model/DescribeImageSharePermissionRequest.h
include/alibabacloud/ecs/model/DescribeImageSharePermissionResult.h
include/alibabacloud/ecs/model/DescribeImageSupportInstanceTypesRequest.h
@@ -313,6 +341,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/DescribeLaunchTemplatesResult.h
include/alibabacloud/ecs/model/DescribeLimitationRequest.h
include/alibabacloud/ecs/model/DescribeLimitationResult.h
include/alibabacloud/ecs/model/DescribeManagedInstancesRequest.h
include/alibabacloud/ecs/model/DescribeManagedInstancesResult.h
include/alibabacloud/ecs/model/DescribeNatGatewaysRequest.h
include/alibabacloud/ecs/model/DescribeNatGatewaysResult.h
include/alibabacloud/ecs/model/DescribeNetworkInterfaceAttributeRequest.h
@@ -351,6 +381,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/DescribeSecurityGroupsResult.h
include/alibabacloud/ecs/model/DescribeSendFileResultsRequest.h
include/alibabacloud/ecs/model/DescribeSendFileResultsResult.h
include/alibabacloud/ecs/model/DescribeSnapshotGroupsRequest.h
include/alibabacloud/ecs/model/DescribeSnapshotGroupsResult.h
include/alibabacloud/ecs/model/DescribeSnapshotLinksRequest.h
include/alibabacloud/ecs/model/DescribeSnapshotLinksResult.h
include/alibabacloud/ecs/model/DescribeSnapshotMonitorDataRequest.h
@@ -403,6 +435,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/DetachKeyPairResult.h
include/alibabacloud/ecs/model/DetachNetworkInterfaceRequest.h
include/alibabacloud/ecs/model/DetachNetworkInterfaceResult.h
include/alibabacloud/ecs/model/DisableActivationRequest.h
include/alibabacloud/ecs/model/DisableActivationResult.h
include/alibabacloud/ecs/model/EipFillParamsRequest.h
include/alibabacloud/ecs/model/EipFillParamsResult.h
include/alibabacloud/ecs/model/EipFillProductRequest.h
@@ -511,6 +545,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/ModifyInstanceVpcAttributeResult.h
include/alibabacloud/ecs/model/ModifyLaunchTemplateDefaultVersionRequest.h
include/alibabacloud/ecs/model/ModifyLaunchTemplateDefaultVersionResult.h
include/alibabacloud/ecs/model/ModifyManagedInstanceRequest.h
include/alibabacloud/ecs/model/ModifyManagedInstanceResult.h
include/alibabacloud/ecs/model/ModifyNetworkInterfaceAttributeRequest.h
include/alibabacloud/ecs/model/ModifyNetworkInterfaceAttributeResult.h
include/alibabacloud/ecs/model/ModifyPhysicalConnectionAttributeRequest.h
@@ -535,6 +571,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/ModifySecurityGroupRuleResult.h
include/alibabacloud/ecs/model/ModifySnapshotAttributeRequest.h
include/alibabacloud/ecs/model/ModifySnapshotAttributeResult.h
include/alibabacloud/ecs/model/ModifySnapshotGroupRequest.h
include/alibabacloud/ecs/model/ModifySnapshotGroupResult.h
include/alibabacloud/ecs/model/ModifyStorageCapacityUnitAttributeRequest.h
include/alibabacloud/ecs/model/ModifyStorageCapacityUnitAttributeResult.h
include/alibabacloud/ecs/model/ModifyStorageSetAttributeRequest.h
@@ -589,6 +627,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/ReportInstancesStatusResult.h
include/alibabacloud/ecs/model/ResetDiskRequest.h
include/alibabacloud/ecs/model/ResetDiskResult.h
include/alibabacloud/ecs/model/ResetDisksRequest.h
include/alibabacloud/ecs/model/ResetDisksResult.h
include/alibabacloud/ecs/model/ResizeDiskRequest.h
include/alibabacloud/ecs/model/ResizeDiskResult.h
include/alibabacloud/ecs/model/RevokeSecurityGroupRequest.h
@@ -603,6 +643,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/SendFileResult.h
include/alibabacloud/ecs/model/StartElasticityAssuranceRequest.h
include/alibabacloud/ecs/model/StartElasticityAssuranceResult.h
include/alibabacloud/ecs/model/StartImagePipelineExecutionRequest.h
include/alibabacloud/ecs/model/StartImagePipelineExecutionResult.h
include/alibabacloud/ecs/model/StartInstanceRequest.h
include/alibabacloud/ecs/model/StartInstanceResult.h
include/alibabacloud/ecs/model/StartInstancesRequest.h
@@ -674,6 +716,8 @@ set(ecs_src
src/model/CancelAutoSnapshotPolicyResult.cc
src/model/CancelCopyImageRequest.cc
src/model/CancelCopyImageResult.cc
src/model/CancelImagePipelineExecutionRequest.cc
src/model/CancelImagePipelineExecutionResult.cc
src/model/CancelPhysicalConnectionRequest.cc
src/model/CancelPhysicalConnectionResult.cc
src/model/CancelSimulatedSystemEventsRequest.cc
@@ -688,6 +732,8 @@ set(ecs_src
src/model/CopyImageResult.cc
src/model/CopySnapshotRequest.cc
src/model/CopySnapshotResult.cc
src/model/CreateActivationRequest.cc
src/model/CreateActivationResult.cc
src/model/CreateAutoProvisioningGroupRequest.cc
src/model/CreateAutoProvisioningGroupResult.cc
src/model/CreateAutoSnapshotPolicyRequest.cc
@@ -714,6 +760,10 @@ set(ecs_src
src/model/CreateHpcClusterResult.cc
src/model/CreateImageRequest.cc
src/model/CreateImageResult.cc
src/model/CreateImageComponentRequest.cc
src/model/CreateImageComponentResult.cc
src/model/CreateImagePipelineRequest.cc
src/model/CreateImagePipelineResult.cc
src/model/CreateInstanceRequest.cc
src/model/CreateInstanceResult.cc
src/model/CreateKeyPairRequest.cc
@@ -740,6 +790,8 @@ set(ecs_src
src/model/CreateSimulatedSystemEventsResult.cc
src/model/CreateSnapshotRequest.cc
src/model/CreateSnapshotResult.cc
src/model/CreateSnapshotGroupRequest.cc
src/model/CreateSnapshotGroupResult.cc
src/model/CreateStorageSetRequest.cc
src/model/CreateStorageSetResult.cc
src/model/CreateVSwitchRequest.cc
@@ -750,6 +802,8 @@ set(ecs_src
src/model/CreateVpcResult.cc
src/model/DeactivateRouterInterfaceRequest.cc
src/model/DeactivateRouterInterfaceResult.cc
src/model/DeleteActivationRequest.cc
src/model/DeleteActivationResult.cc
src/model/DeleteAutoProvisioningGroupRequest.cc
src/model/DeleteAutoProvisioningGroupResult.cc
src/model/DeleteAutoSnapshotPolicyRequest.cc
@@ -774,6 +828,10 @@ set(ecs_src
src/model/DeleteHpcClusterResult.cc
src/model/DeleteImageRequest.cc
src/model/DeleteImageResult.cc
src/model/DeleteImageComponentRequest.cc
src/model/DeleteImageComponentResult.cc
src/model/DeleteImagePipelineRequest.cc
src/model/DeleteImagePipelineResult.cc
src/model/DeleteInstanceRequest.cc
src/model/DeleteInstanceResult.cc
src/model/DeleteInstancesRequest.cc
@@ -800,6 +858,8 @@ set(ecs_src
src/model/DeleteSecurityGroupResult.cc
src/model/DeleteSnapshotRequest.cc
src/model/DeleteSnapshotResult.cc
src/model/DeleteSnapshotGroupRequest.cc
src/model/DeleteSnapshotGroupResult.cc
src/model/DeleteStorageSetRequest.cc
src/model/DeleteStorageSetResult.cc
src/model/DeleteVSwitchRequest.cc
@@ -808,10 +868,14 @@ set(ecs_src
src/model/DeleteVirtualBorderRouterResult.cc
src/model/DeleteVpcRequest.cc
src/model/DeleteVpcResult.cc
src/model/DeregisterManagedInstanceRequest.cc
src/model/DeregisterManagedInstanceResult.cc
src/model/DescribeAccessPointsRequest.cc
src/model/DescribeAccessPointsResult.cc
src/model/DescribeAccountAttributesRequest.cc
src/model/DescribeAccountAttributesResult.cc
src/model/DescribeActivationsRequest.cc
src/model/DescribeActivationsResult.cc
src/model/DescribeAutoProvisioningGroupHistoryRequest.cc
src/model/DescribeAutoProvisioningGroupHistoryResult.cc
src/model/DescribeAutoProvisioningGroupInstancesRequest.cc
@@ -874,8 +938,14 @@ set(ecs_src
src/model/DescribeHaVipsResult.cc
src/model/DescribeHpcClustersRequest.cc
src/model/DescribeHpcClustersResult.cc
src/model/DescribeImageComponentsRequest.cc
src/model/DescribeImageComponentsResult.cc
src/model/DescribeImageFromFamilyRequest.cc
src/model/DescribeImageFromFamilyResult.cc
src/model/DescribeImagePipelineExecutionsRequest.cc
src/model/DescribeImagePipelineExecutionsResult.cc
src/model/DescribeImagePipelinesRequest.cc
src/model/DescribeImagePipelinesResult.cc
src/model/DescribeImageSharePermissionRequest.cc
src/model/DescribeImageSharePermissionResult.cc
src/model/DescribeImageSupportInstanceTypesRequest.cc
@@ -924,6 +994,8 @@ set(ecs_src
src/model/DescribeLaunchTemplatesResult.cc
src/model/DescribeLimitationRequest.cc
src/model/DescribeLimitationResult.cc
src/model/DescribeManagedInstancesRequest.cc
src/model/DescribeManagedInstancesResult.cc
src/model/DescribeNatGatewaysRequest.cc
src/model/DescribeNatGatewaysResult.cc
src/model/DescribeNetworkInterfaceAttributeRequest.cc
@@ -962,6 +1034,8 @@ set(ecs_src
src/model/DescribeSecurityGroupsResult.cc
src/model/DescribeSendFileResultsRequest.cc
src/model/DescribeSendFileResultsResult.cc
src/model/DescribeSnapshotGroupsRequest.cc
src/model/DescribeSnapshotGroupsResult.cc
src/model/DescribeSnapshotLinksRequest.cc
src/model/DescribeSnapshotLinksResult.cc
src/model/DescribeSnapshotMonitorDataRequest.cc
@@ -1014,6 +1088,8 @@ set(ecs_src
src/model/DetachKeyPairResult.cc
src/model/DetachNetworkInterfaceRequest.cc
src/model/DetachNetworkInterfaceResult.cc
src/model/DisableActivationRequest.cc
src/model/DisableActivationResult.cc
src/model/EipFillParamsRequest.cc
src/model/EipFillParamsResult.cc
src/model/EipFillProductRequest.cc
@@ -1122,6 +1198,8 @@ set(ecs_src
src/model/ModifyInstanceVpcAttributeResult.cc
src/model/ModifyLaunchTemplateDefaultVersionRequest.cc
src/model/ModifyLaunchTemplateDefaultVersionResult.cc
src/model/ModifyManagedInstanceRequest.cc
src/model/ModifyManagedInstanceResult.cc
src/model/ModifyNetworkInterfaceAttributeRequest.cc
src/model/ModifyNetworkInterfaceAttributeResult.cc
src/model/ModifyPhysicalConnectionAttributeRequest.cc
@@ -1146,6 +1224,8 @@ set(ecs_src
src/model/ModifySecurityGroupRuleResult.cc
src/model/ModifySnapshotAttributeRequest.cc
src/model/ModifySnapshotAttributeResult.cc
src/model/ModifySnapshotGroupRequest.cc
src/model/ModifySnapshotGroupResult.cc
src/model/ModifyStorageCapacityUnitAttributeRequest.cc
src/model/ModifyStorageCapacityUnitAttributeResult.cc
src/model/ModifyStorageSetAttributeRequest.cc
@@ -1200,6 +1280,8 @@ set(ecs_src
src/model/ReportInstancesStatusResult.cc
src/model/ResetDiskRequest.cc
src/model/ResetDiskResult.cc
src/model/ResetDisksRequest.cc
src/model/ResetDisksResult.cc
src/model/ResizeDiskRequest.cc
src/model/ResizeDiskResult.cc
src/model/RevokeSecurityGroupRequest.cc
@@ -1214,6 +1296,8 @@ set(ecs_src
src/model/SendFileResult.cc
src/model/StartElasticityAssuranceRequest.cc
src/model/StartElasticityAssuranceResult.cc
src/model/StartImagePipelineExecutionRequest.cc
src/model/StartImagePipelineExecutionResult.cc
src/model/StartInstanceRequest.cc
src/model/StartInstanceResult.cc
src/model/StartInstancesRequest.cc

View File

@@ -64,6 +64,8 @@
#include "model/CancelAutoSnapshotPolicyResult.h"
#include "model/CancelCopyImageRequest.h"
#include "model/CancelCopyImageResult.h"
#include "model/CancelImagePipelineExecutionRequest.h"
#include "model/CancelImagePipelineExecutionResult.h"
#include "model/CancelPhysicalConnectionRequest.h"
#include "model/CancelPhysicalConnectionResult.h"
#include "model/CancelSimulatedSystemEventsRequest.h"
@@ -78,6 +80,8 @@
#include "model/CopyImageResult.h"
#include "model/CopySnapshotRequest.h"
#include "model/CopySnapshotResult.h"
#include "model/CreateActivationRequest.h"
#include "model/CreateActivationResult.h"
#include "model/CreateAutoProvisioningGroupRequest.h"
#include "model/CreateAutoProvisioningGroupResult.h"
#include "model/CreateAutoSnapshotPolicyRequest.h"
@@ -104,6 +108,10 @@
#include "model/CreateHpcClusterResult.h"
#include "model/CreateImageRequest.h"
#include "model/CreateImageResult.h"
#include "model/CreateImageComponentRequest.h"
#include "model/CreateImageComponentResult.h"
#include "model/CreateImagePipelineRequest.h"
#include "model/CreateImagePipelineResult.h"
#include "model/CreateInstanceRequest.h"
#include "model/CreateInstanceResult.h"
#include "model/CreateKeyPairRequest.h"
@@ -130,6 +138,8 @@
#include "model/CreateSimulatedSystemEventsResult.h"
#include "model/CreateSnapshotRequest.h"
#include "model/CreateSnapshotResult.h"
#include "model/CreateSnapshotGroupRequest.h"
#include "model/CreateSnapshotGroupResult.h"
#include "model/CreateStorageSetRequest.h"
#include "model/CreateStorageSetResult.h"
#include "model/CreateVSwitchRequest.h"
@@ -140,6 +150,8 @@
#include "model/CreateVpcResult.h"
#include "model/DeactivateRouterInterfaceRequest.h"
#include "model/DeactivateRouterInterfaceResult.h"
#include "model/DeleteActivationRequest.h"
#include "model/DeleteActivationResult.h"
#include "model/DeleteAutoProvisioningGroupRequest.h"
#include "model/DeleteAutoProvisioningGroupResult.h"
#include "model/DeleteAutoSnapshotPolicyRequest.h"
@@ -164,6 +176,10 @@
#include "model/DeleteHpcClusterResult.h"
#include "model/DeleteImageRequest.h"
#include "model/DeleteImageResult.h"
#include "model/DeleteImageComponentRequest.h"
#include "model/DeleteImageComponentResult.h"
#include "model/DeleteImagePipelineRequest.h"
#include "model/DeleteImagePipelineResult.h"
#include "model/DeleteInstanceRequest.h"
#include "model/DeleteInstanceResult.h"
#include "model/DeleteInstancesRequest.h"
@@ -190,6 +206,8 @@
#include "model/DeleteSecurityGroupResult.h"
#include "model/DeleteSnapshotRequest.h"
#include "model/DeleteSnapshotResult.h"
#include "model/DeleteSnapshotGroupRequest.h"
#include "model/DeleteSnapshotGroupResult.h"
#include "model/DeleteStorageSetRequest.h"
#include "model/DeleteStorageSetResult.h"
#include "model/DeleteVSwitchRequest.h"
@@ -198,10 +216,14 @@
#include "model/DeleteVirtualBorderRouterResult.h"
#include "model/DeleteVpcRequest.h"
#include "model/DeleteVpcResult.h"
#include "model/DeregisterManagedInstanceRequest.h"
#include "model/DeregisterManagedInstanceResult.h"
#include "model/DescribeAccessPointsRequest.h"
#include "model/DescribeAccessPointsResult.h"
#include "model/DescribeAccountAttributesRequest.h"
#include "model/DescribeAccountAttributesResult.h"
#include "model/DescribeActivationsRequest.h"
#include "model/DescribeActivationsResult.h"
#include "model/DescribeAutoProvisioningGroupHistoryRequest.h"
#include "model/DescribeAutoProvisioningGroupHistoryResult.h"
#include "model/DescribeAutoProvisioningGroupInstancesRequest.h"
@@ -264,8 +286,14 @@
#include "model/DescribeHaVipsResult.h"
#include "model/DescribeHpcClustersRequest.h"
#include "model/DescribeHpcClustersResult.h"
#include "model/DescribeImageComponentsRequest.h"
#include "model/DescribeImageComponentsResult.h"
#include "model/DescribeImageFromFamilyRequest.h"
#include "model/DescribeImageFromFamilyResult.h"
#include "model/DescribeImagePipelineExecutionsRequest.h"
#include "model/DescribeImagePipelineExecutionsResult.h"
#include "model/DescribeImagePipelinesRequest.h"
#include "model/DescribeImagePipelinesResult.h"
#include "model/DescribeImageSharePermissionRequest.h"
#include "model/DescribeImageSharePermissionResult.h"
#include "model/DescribeImageSupportInstanceTypesRequest.h"
@@ -314,6 +342,8 @@
#include "model/DescribeLaunchTemplatesResult.h"
#include "model/DescribeLimitationRequest.h"
#include "model/DescribeLimitationResult.h"
#include "model/DescribeManagedInstancesRequest.h"
#include "model/DescribeManagedInstancesResult.h"
#include "model/DescribeNatGatewaysRequest.h"
#include "model/DescribeNatGatewaysResult.h"
#include "model/DescribeNetworkInterfaceAttributeRequest.h"
@@ -352,6 +382,8 @@
#include "model/DescribeSecurityGroupsResult.h"
#include "model/DescribeSendFileResultsRequest.h"
#include "model/DescribeSendFileResultsResult.h"
#include "model/DescribeSnapshotGroupsRequest.h"
#include "model/DescribeSnapshotGroupsResult.h"
#include "model/DescribeSnapshotLinksRequest.h"
#include "model/DescribeSnapshotLinksResult.h"
#include "model/DescribeSnapshotMonitorDataRequest.h"
@@ -404,6 +436,8 @@
#include "model/DetachKeyPairResult.h"
#include "model/DetachNetworkInterfaceRequest.h"
#include "model/DetachNetworkInterfaceResult.h"
#include "model/DisableActivationRequest.h"
#include "model/DisableActivationResult.h"
#include "model/EipFillParamsRequest.h"
#include "model/EipFillParamsResult.h"
#include "model/EipFillProductRequest.h"
@@ -512,6 +546,8 @@
#include "model/ModifyInstanceVpcAttributeResult.h"
#include "model/ModifyLaunchTemplateDefaultVersionRequest.h"
#include "model/ModifyLaunchTemplateDefaultVersionResult.h"
#include "model/ModifyManagedInstanceRequest.h"
#include "model/ModifyManagedInstanceResult.h"
#include "model/ModifyNetworkInterfaceAttributeRequest.h"
#include "model/ModifyNetworkInterfaceAttributeResult.h"
#include "model/ModifyPhysicalConnectionAttributeRequest.h"
@@ -536,6 +572,8 @@
#include "model/ModifySecurityGroupRuleResult.h"
#include "model/ModifySnapshotAttributeRequest.h"
#include "model/ModifySnapshotAttributeResult.h"
#include "model/ModifySnapshotGroupRequest.h"
#include "model/ModifySnapshotGroupResult.h"
#include "model/ModifyStorageCapacityUnitAttributeRequest.h"
#include "model/ModifyStorageCapacityUnitAttributeResult.h"
#include "model/ModifyStorageSetAttributeRequest.h"
@@ -590,6 +628,8 @@
#include "model/ReportInstancesStatusResult.h"
#include "model/ResetDiskRequest.h"
#include "model/ResetDiskResult.h"
#include "model/ResetDisksRequest.h"
#include "model/ResetDisksResult.h"
#include "model/ResizeDiskRequest.h"
#include "model/ResizeDiskResult.h"
#include "model/RevokeSecurityGroupRequest.h"
@@ -604,6 +644,8 @@
#include "model/SendFileResult.h"
#include "model/StartElasticityAssuranceRequest.h"
#include "model/StartElasticityAssuranceResult.h"
#include "model/StartImagePipelineExecutionRequest.h"
#include "model/StartImagePipelineExecutionResult.h"
#include "model/StartInstanceRequest.h"
#include "model/StartInstanceResult.h"
#include "model/StartInstancesRequest.h"
@@ -702,6 +744,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CancelCopyImageResult> CancelCopyImageOutcome;
typedef std::future<CancelCopyImageOutcome> CancelCopyImageOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CancelCopyImageRequest&, const CancelCopyImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelCopyImageAsyncHandler;
typedef Outcome<Error, Model::CancelImagePipelineExecutionResult> CancelImagePipelineExecutionOutcome;
typedef std::future<CancelImagePipelineExecutionOutcome> CancelImagePipelineExecutionOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CancelImagePipelineExecutionRequest&, const CancelImagePipelineExecutionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelImagePipelineExecutionAsyncHandler;
typedef Outcome<Error, Model::CancelPhysicalConnectionResult> CancelPhysicalConnectionOutcome;
typedef std::future<CancelPhysicalConnectionOutcome> CancelPhysicalConnectionOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CancelPhysicalConnectionRequest&, const CancelPhysicalConnectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelPhysicalConnectionAsyncHandler;
@@ -723,6 +768,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CopySnapshotResult> CopySnapshotOutcome;
typedef std::future<CopySnapshotOutcome> CopySnapshotOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CopySnapshotRequest&, const CopySnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CopySnapshotAsyncHandler;
typedef Outcome<Error, Model::CreateActivationResult> CreateActivationOutcome;
typedef std::future<CreateActivationOutcome> CreateActivationOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateActivationRequest&, const CreateActivationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateActivationAsyncHandler;
typedef Outcome<Error, Model::CreateAutoProvisioningGroupResult> CreateAutoProvisioningGroupOutcome;
typedef std::future<CreateAutoProvisioningGroupOutcome> CreateAutoProvisioningGroupOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateAutoProvisioningGroupRequest&, const CreateAutoProvisioningGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAutoProvisioningGroupAsyncHandler;
@@ -762,6 +810,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateImageResult> CreateImageOutcome;
typedef std::future<CreateImageOutcome> CreateImageOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateImageRequest&, const CreateImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateImageAsyncHandler;
typedef Outcome<Error, Model::CreateImageComponentResult> CreateImageComponentOutcome;
typedef std::future<CreateImageComponentOutcome> CreateImageComponentOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateImageComponentRequest&, const CreateImageComponentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateImageComponentAsyncHandler;
typedef Outcome<Error, Model::CreateImagePipelineResult> CreateImagePipelineOutcome;
typedef std::future<CreateImagePipelineOutcome> CreateImagePipelineOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateImagePipelineRequest&, const CreateImagePipelineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateImagePipelineAsyncHandler;
typedef Outcome<Error, Model::CreateInstanceResult> CreateInstanceOutcome;
typedef std::future<CreateInstanceOutcome> CreateInstanceOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateInstanceRequest&, const CreateInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateInstanceAsyncHandler;
@@ -801,6 +855,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateSnapshotResult> CreateSnapshotOutcome;
typedef std::future<CreateSnapshotOutcome> CreateSnapshotOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateSnapshotRequest&, const CreateSnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSnapshotAsyncHandler;
typedef Outcome<Error, Model::CreateSnapshotGroupResult> CreateSnapshotGroupOutcome;
typedef std::future<CreateSnapshotGroupOutcome> CreateSnapshotGroupOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateSnapshotGroupRequest&, const CreateSnapshotGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSnapshotGroupAsyncHandler;
typedef Outcome<Error, Model::CreateStorageSetResult> CreateStorageSetOutcome;
typedef std::future<CreateStorageSetOutcome> CreateStorageSetOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateStorageSetRequest&, const CreateStorageSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateStorageSetAsyncHandler;
@@ -816,6 +873,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeactivateRouterInterfaceResult> DeactivateRouterInterfaceOutcome;
typedef std::future<DeactivateRouterInterfaceOutcome> DeactivateRouterInterfaceOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DeactivateRouterInterfaceRequest&, const DeactivateRouterInterfaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeactivateRouterInterfaceAsyncHandler;
typedef Outcome<Error, Model::DeleteActivationResult> DeleteActivationOutcome;
typedef std::future<DeleteActivationOutcome> DeleteActivationOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DeleteActivationRequest&, const DeleteActivationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteActivationAsyncHandler;
typedef Outcome<Error, Model::DeleteAutoProvisioningGroupResult> DeleteAutoProvisioningGroupOutcome;
typedef std::future<DeleteAutoProvisioningGroupOutcome> DeleteAutoProvisioningGroupOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DeleteAutoProvisioningGroupRequest&, const DeleteAutoProvisioningGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAutoProvisioningGroupAsyncHandler;
@@ -852,6 +912,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteImageResult> DeleteImageOutcome;
typedef std::future<DeleteImageOutcome> DeleteImageOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DeleteImageRequest&, const DeleteImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteImageAsyncHandler;
typedef Outcome<Error, Model::DeleteImageComponentResult> DeleteImageComponentOutcome;
typedef std::future<DeleteImageComponentOutcome> DeleteImageComponentOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DeleteImageComponentRequest&, const DeleteImageComponentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteImageComponentAsyncHandler;
typedef Outcome<Error, Model::DeleteImagePipelineResult> DeleteImagePipelineOutcome;
typedef std::future<DeleteImagePipelineOutcome> DeleteImagePipelineOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DeleteImagePipelineRequest&, const DeleteImagePipelineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteImagePipelineAsyncHandler;
typedef Outcome<Error, Model::DeleteInstanceResult> DeleteInstanceOutcome;
typedef std::future<DeleteInstanceOutcome> DeleteInstanceOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DeleteInstanceRequest&, const DeleteInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteInstanceAsyncHandler;
@@ -891,6 +957,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteSnapshotResult> DeleteSnapshotOutcome;
typedef std::future<DeleteSnapshotOutcome> DeleteSnapshotOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DeleteSnapshotRequest&, const DeleteSnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSnapshotAsyncHandler;
typedef Outcome<Error, Model::DeleteSnapshotGroupResult> DeleteSnapshotGroupOutcome;
typedef std::future<DeleteSnapshotGroupOutcome> DeleteSnapshotGroupOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DeleteSnapshotGroupRequest&, const DeleteSnapshotGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSnapshotGroupAsyncHandler;
typedef Outcome<Error, Model::DeleteStorageSetResult> DeleteStorageSetOutcome;
typedef std::future<DeleteStorageSetOutcome> DeleteStorageSetOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DeleteStorageSetRequest&, const DeleteStorageSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteStorageSetAsyncHandler;
@@ -903,12 +972,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteVpcResult> DeleteVpcOutcome;
typedef std::future<DeleteVpcOutcome> DeleteVpcOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DeleteVpcRequest&, const DeleteVpcOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteVpcAsyncHandler;
typedef Outcome<Error, Model::DeregisterManagedInstanceResult> DeregisterManagedInstanceOutcome;
typedef std::future<DeregisterManagedInstanceOutcome> DeregisterManagedInstanceOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DeregisterManagedInstanceRequest&, const DeregisterManagedInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeregisterManagedInstanceAsyncHandler;
typedef Outcome<Error, Model::DescribeAccessPointsResult> DescribeAccessPointsOutcome;
typedef std::future<DescribeAccessPointsOutcome> DescribeAccessPointsOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeAccessPointsRequest&, const DescribeAccessPointsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAccessPointsAsyncHandler;
typedef Outcome<Error, Model::DescribeAccountAttributesResult> DescribeAccountAttributesOutcome;
typedef std::future<DescribeAccountAttributesOutcome> DescribeAccountAttributesOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeAccountAttributesRequest&, const DescribeAccountAttributesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAccountAttributesAsyncHandler;
typedef Outcome<Error, Model::DescribeActivationsResult> DescribeActivationsOutcome;
typedef std::future<DescribeActivationsOutcome> DescribeActivationsOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeActivationsRequest&, const DescribeActivationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeActivationsAsyncHandler;
typedef Outcome<Error, Model::DescribeAutoProvisioningGroupHistoryResult> DescribeAutoProvisioningGroupHistoryOutcome;
typedef std::future<DescribeAutoProvisioningGroupHistoryOutcome> DescribeAutoProvisioningGroupHistoryOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeAutoProvisioningGroupHistoryRequest&, const DescribeAutoProvisioningGroupHistoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAutoProvisioningGroupHistoryAsyncHandler;
@@ -1002,9 +1077,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeHpcClustersResult> DescribeHpcClustersOutcome;
typedef std::future<DescribeHpcClustersOutcome> DescribeHpcClustersOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeHpcClustersRequest&, const DescribeHpcClustersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeHpcClustersAsyncHandler;
typedef Outcome<Error, Model::DescribeImageComponentsResult> DescribeImageComponentsOutcome;
typedef std::future<DescribeImageComponentsOutcome> DescribeImageComponentsOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeImageComponentsRequest&, const DescribeImageComponentsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeImageComponentsAsyncHandler;
typedef Outcome<Error, Model::DescribeImageFromFamilyResult> DescribeImageFromFamilyOutcome;
typedef std::future<DescribeImageFromFamilyOutcome> DescribeImageFromFamilyOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeImageFromFamilyRequest&, const DescribeImageFromFamilyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeImageFromFamilyAsyncHandler;
typedef Outcome<Error, Model::DescribeImagePipelineExecutionsResult> DescribeImagePipelineExecutionsOutcome;
typedef std::future<DescribeImagePipelineExecutionsOutcome> DescribeImagePipelineExecutionsOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeImagePipelineExecutionsRequest&, const DescribeImagePipelineExecutionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeImagePipelineExecutionsAsyncHandler;
typedef Outcome<Error, Model::DescribeImagePipelinesResult> DescribeImagePipelinesOutcome;
typedef std::future<DescribeImagePipelinesOutcome> DescribeImagePipelinesOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeImagePipelinesRequest&, const DescribeImagePipelinesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeImagePipelinesAsyncHandler;
typedef Outcome<Error, Model::DescribeImageSharePermissionResult> DescribeImageSharePermissionOutcome;
typedef std::future<DescribeImageSharePermissionOutcome> DescribeImageSharePermissionOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeImageSharePermissionRequest&, const DescribeImageSharePermissionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeImageSharePermissionAsyncHandler;
@@ -1077,6 +1161,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeLimitationResult> DescribeLimitationOutcome;
typedef std::future<DescribeLimitationOutcome> DescribeLimitationOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeLimitationRequest&, const DescribeLimitationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLimitationAsyncHandler;
typedef Outcome<Error, Model::DescribeManagedInstancesResult> DescribeManagedInstancesOutcome;
typedef std::future<DescribeManagedInstancesOutcome> DescribeManagedInstancesOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeManagedInstancesRequest&, const DescribeManagedInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeManagedInstancesAsyncHandler;
typedef Outcome<Error, Model::DescribeNatGatewaysResult> DescribeNatGatewaysOutcome;
typedef std::future<DescribeNatGatewaysOutcome> DescribeNatGatewaysOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeNatGatewaysRequest&, const DescribeNatGatewaysOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNatGatewaysAsyncHandler;
@@ -1134,6 +1221,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeSendFileResultsResult> DescribeSendFileResultsOutcome;
typedef std::future<DescribeSendFileResultsOutcome> DescribeSendFileResultsOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeSendFileResultsRequest&, const DescribeSendFileResultsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSendFileResultsAsyncHandler;
typedef Outcome<Error, Model::DescribeSnapshotGroupsResult> DescribeSnapshotGroupsOutcome;
typedef std::future<DescribeSnapshotGroupsOutcome> DescribeSnapshotGroupsOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeSnapshotGroupsRequest&, const DescribeSnapshotGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSnapshotGroupsAsyncHandler;
typedef Outcome<Error, Model::DescribeSnapshotLinksResult> DescribeSnapshotLinksOutcome;
typedef std::future<DescribeSnapshotLinksOutcome> DescribeSnapshotLinksOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeSnapshotLinksRequest&, const DescribeSnapshotLinksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSnapshotLinksAsyncHandler;
@@ -1212,6 +1302,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DetachNetworkInterfaceResult> DetachNetworkInterfaceOutcome;
typedef std::future<DetachNetworkInterfaceOutcome> DetachNetworkInterfaceOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DetachNetworkInterfaceRequest&, const DetachNetworkInterfaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachNetworkInterfaceAsyncHandler;
typedef Outcome<Error, Model::DisableActivationResult> DisableActivationOutcome;
typedef std::future<DisableActivationOutcome> DisableActivationOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DisableActivationRequest&, const DisableActivationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableActivationAsyncHandler;
typedef Outcome<Error, Model::EipFillParamsResult> EipFillParamsOutcome;
typedef std::future<EipFillParamsOutcome> EipFillParamsOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::EipFillParamsRequest&, const EipFillParamsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EipFillParamsAsyncHandler;
@@ -1374,6 +1467,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyLaunchTemplateDefaultVersionResult> ModifyLaunchTemplateDefaultVersionOutcome;
typedef std::future<ModifyLaunchTemplateDefaultVersionOutcome> ModifyLaunchTemplateDefaultVersionOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ModifyLaunchTemplateDefaultVersionRequest&, const ModifyLaunchTemplateDefaultVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyLaunchTemplateDefaultVersionAsyncHandler;
typedef Outcome<Error, Model::ModifyManagedInstanceResult> ModifyManagedInstanceOutcome;
typedef std::future<ModifyManagedInstanceOutcome> ModifyManagedInstanceOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ModifyManagedInstanceRequest&, const ModifyManagedInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyManagedInstanceAsyncHandler;
typedef Outcome<Error, Model::ModifyNetworkInterfaceAttributeResult> ModifyNetworkInterfaceAttributeOutcome;
typedef std::future<ModifyNetworkInterfaceAttributeOutcome> ModifyNetworkInterfaceAttributeOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ModifyNetworkInterfaceAttributeRequest&, const ModifyNetworkInterfaceAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyNetworkInterfaceAttributeAsyncHandler;
@@ -1410,6 +1506,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifySnapshotAttributeResult> ModifySnapshotAttributeOutcome;
typedef std::future<ModifySnapshotAttributeOutcome> ModifySnapshotAttributeOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ModifySnapshotAttributeRequest&, const ModifySnapshotAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySnapshotAttributeAsyncHandler;
typedef Outcome<Error, Model::ModifySnapshotGroupResult> ModifySnapshotGroupOutcome;
typedef std::future<ModifySnapshotGroupOutcome> ModifySnapshotGroupOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ModifySnapshotGroupRequest&, const ModifySnapshotGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySnapshotGroupAsyncHandler;
typedef Outcome<Error, Model::ModifyStorageCapacityUnitAttributeResult> ModifyStorageCapacityUnitAttributeOutcome;
typedef std::future<ModifyStorageCapacityUnitAttributeOutcome> ModifyStorageCapacityUnitAttributeOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ModifyStorageCapacityUnitAttributeRequest&, const ModifyStorageCapacityUnitAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyStorageCapacityUnitAttributeAsyncHandler;
@@ -1491,6 +1590,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ResetDiskResult> ResetDiskOutcome;
typedef std::future<ResetDiskOutcome> ResetDiskOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ResetDiskRequest&, const ResetDiskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetDiskAsyncHandler;
typedef Outcome<Error, Model::ResetDisksResult> ResetDisksOutcome;
typedef std::future<ResetDisksOutcome> ResetDisksOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ResetDisksRequest&, const ResetDisksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetDisksAsyncHandler;
typedef Outcome<Error, Model::ResizeDiskResult> ResizeDiskOutcome;
typedef std::future<ResizeDiskOutcome> ResizeDiskOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ResizeDiskRequest&, const ResizeDiskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResizeDiskAsyncHandler;
@@ -1512,6 +1614,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::StartElasticityAssuranceResult> StartElasticityAssuranceOutcome;
typedef std::future<StartElasticityAssuranceOutcome> StartElasticityAssuranceOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::StartElasticityAssuranceRequest&, const StartElasticityAssuranceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartElasticityAssuranceAsyncHandler;
typedef Outcome<Error, Model::StartImagePipelineExecutionResult> StartImagePipelineExecutionOutcome;
typedef std::future<StartImagePipelineExecutionOutcome> StartImagePipelineExecutionOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::StartImagePipelineExecutionRequest&, const StartImagePipelineExecutionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartImagePipelineExecutionAsyncHandler;
typedef Outcome<Error, Model::StartInstanceResult> StartInstanceOutcome;
typedef std::future<StartInstanceOutcome> StartInstanceOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::StartInstanceRequest&, const StartInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartInstanceAsyncHandler;
@@ -1619,6 +1724,9 @@ namespace AlibabaCloud
CancelCopyImageOutcome cancelCopyImage(const Model::CancelCopyImageRequest &request)const;
void cancelCopyImageAsync(const Model::CancelCopyImageRequest& request, const CancelCopyImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CancelCopyImageOutcomeCallable cancelCopyImageCallable(const Model::CancelCopyImageRequest& request) const;
CancelImagePipelineExecutionOutcome cancelImagePipelineExecution(const Model::CancelImagePipelineExecutionRequest &request)const;
void cancelImagePipelineExecutionAsync(const Model::CancelImagePipelineExecutionRequest& request, const CancelImagePipelineExecutionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CancelImagePipelineExecutionOutcomeCallable cancelImagePipelineExecutionCallable(const Model::CancelImagePipelineExecutionRequest& request) const;
CancelPhysicalConnectionOutcome cancelPhysicalConnection(const Model::CancelPhysicalConnectionRequest &request)const;
void cancelPhysicalConnectionAsync(const Model::CancelPhysicalConnectionRequest& request, const CancelPhysicalConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CancelPhysicalConnectionOutcomeCallable cancelPhysicalConnectionCallable(const Model::CancelPhysicalConnectionRequest& request) const;
@@ -1640,6 +1748,9 @@ namespace AlibabaCloud
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;
CreateActivationOutcome createActivation(const Model::CreateActivationRequest &request)const;
void createActivationAsync(const Model::CreateActivationRequest& request, const CreateActivationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateActivationOutcomeCallable createActivationCallable(const Model::CreateActivationRequest& request) const;
CreateAutoProvisioningGroupOutcome createAutoProvisioningGroup(const Model::CreateAutoProvisioningGroupRequest &request)const;
void createAutoProvisioningGroupAsync(const Model::CreateAutoProvisioningGroupRequest& request, const CreateAutoProvisioningGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateAutoProvisioningGroupOutcomeCallable createAutoProvisioningGroupCallable(const Model::CreateAutoProvisioningGroupRequest& request) const;
@@ -1679,6 +1790,12 @@ namespace AlibabaCloud
CreateImageOutcome createImage(const Model::CreateImageRequest &request)const;
void createImageAsync(const Model::CreateImageRequest& request, const CreateImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateImageOutcomeCallable createImageCallable(const Model::CreateImageRequest& request) const;
CreateImageComponentOutcome createImageComponent(const Model::CreateImageComponentRequest &request)const;
void createImageComponentAsync(const Model::CreateImageComponentRequest& request, const CreateImageComponentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateImageComponentOutcomeCallable createImageComponentCallable(const Model::CreateImageComponentRequest& request) const;
CreateImagePipelineOutcome createImagePipeline(const Model::CreateImagePipelineRequest &request)const;
void createImagePipelineAsync(const Model::CreateImagePipelineRequest& request, const CreateImagePipelineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateImagePipelineOutcomeCallable createImagePipelineCallable(const Model::CreateImagePipelineRequest& request) const;
CreateInstanceOutcome createInstance(const Model::CreateInstanceRequest &request)const;
void createInstanceAsync(const Model::CreateInstanceRequest& request, const CreateInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateInstanceOutcomeCallable createInstanceCallable(const Model::CreateInstanceRequest& request) const;
@@ -1718,6 +1835,9 @@ namespace AlibabaCloud
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;
CreateSnapshotGroupOutcome createSnapshotGroup(const Model::CreateSnapshotGroupRequest &request)const;
void createSnapshotGroupAsync(const Model::CreateSnapshotGroupRequest& request, const CreateSnapshotGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSnapshotGroupOutcomeCallable createSnapshotGroupCallable(const Model::CreateSnapshotGroupRequest& request) const;
CreateStorageSetOutcome createStorageSet(const Model::CreateStorageSetRequest &request)const;
void createStorageSetAsync(const Model::CreateStorageSetRequest& request, const CreateStorageSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateStorageSetOutcomeCallable createStorageSetCallable(const Model::CreateStorageSetRequest& request) const;
@@ -1733,6 +1853,9 @@ namespace AlibabaCloud
DeactivateRouterInterfaceOutcome deactivateRouterInterface(const Model::DeactivateRouterInterfaceRequest &request)const;
void deactivateRouterInterfaceAsync(const Model::DeactivateRouterInterfaceRequest& request, const DeactivateRouterInterfaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeactivateRouterInterfaceOutcomeCallable deactivateRouterInterfaceCallable(const Model::DeactivateRouterInterfaceRequest& request) const;
DeleteActivationOutcome deleteActivation(const Model::DeleteActivationRequest &request)const;
void deleteActivationAsync(const Model::DeleteActivationRequest& request, const DeleteActivationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteActivationOutcomeCallable deleteActivationCallable(const Model::DeleteActivationRequest& request) const;
DeleteAutoProvisioningGroupOutcome deleteAutoProvisioningGroup(const Model::DeleteAutoProvisioningGroupRequest &request)const;
void deleteAutoProvisioningGroupAsync(const Model::DeleteAutoProvisioningGroupRequest& request, const DeleteAutoProvisioningGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteAutoProvisioningGroupOutcomeCallable deleteAutoProvisioningGroupCallable(const Model::DeleteAutoProvisioningGroupRequest& request) const;
@@ -1769,6 +1892,12 @@ namespace AlibabaCloud
DeleteImageOutcome deleteImage(const Model::DeleteImageRequest &request)const;
void deleteImageAsync(const Model::DeleteImageRequest& request, const DeleteImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteImageOutcomeCallable deleteImageCallable(const Model::DeleteImageRequest& request) const;
DeleteImageComponentOutcome deleteImageComponent(const Model::DeleteImageComponentRequest &request)const;
void deleteImageComponentAsync(const Model::DeleteImageComponentRequest& request, const DeleteImageComponentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteImageComponentOutcomeCallable deleteImageComponentCallable(const Model::DeleteImageComponentRequest& request) const;
DeleteImagePipelineOutcome deleteImagePipeline(const Model::DeleteImagePipelineRequest &request)const;
void deleteImagePipelineAsync(const Model::DeleteImagePipelineRequest& request, const DeleteImagePipelineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteImagePipelineOutcomeCallable deleteImagePipelineCallable(const Model::DeleteImagePipelineRequest& request) const;
DeleteInstanceOutcome deleteInstance(const Model::DeleteInstanceRequest &request)const;
void deleteInstanceAsync(const Model::DeleteInstanceRequest& request, const DeleteInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteInstanceOutcomeCallable deleteInstanceCallable(const Model::DeleteInstanceRequest& request) const;
@@ -1808,6 +1937,9 @@ namespace AlibabaCloud
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;
DeleteSnapshotGroupOutcome deleteSnapshotGroup(const Model::DeleteSnapshotGroupRequest &request)const;
void deleteSnapshotGroupAsync(const Model::DeleteSnapshotGroupRequest& request, const DeleteSnapshotGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSnapshotGroupOutcomeCallable deleteSnapshotGroupCallable(const Model::DeleteSnapshotGroupRequest& request) const;
DeleteStorageSetOutcome deleteStorageSet(const Model::DeleteStorageSetRequest &request)const;
void deleteStorageSetAsync(const Model::DeleteStorageSetRequest& request, const DeleteStorageSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteStorageSetOutcomeCallable deleteStorageSetCallable(const Model::DeleteStorageSetRequest& request) const;
@@ -1820,12 +1952,18 @@ namespace AlibabaCloud
DeleteVpcOutcome deleteVpc(const Model::DeleteVpcRequest &request)const;
void deleteVpcAsync(const Model::DeleteVpcRequest& request, const DeleteVpcAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteVpcOutcomeCallable deleteVpcCallable(const Model::DeleteVpcRequest& request) const;
DeregisterManagedInstanceOutcome deregisterManagedInstance(const Model::DeregisterManagedInstanceRequest &request)const;
void deregisterManagedInstanceAsync(const Model::DeregisterManagedInstanceRequest& request, const DeregisterManagedInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeregisterManagedInstanceOutcomeCallable deregisterManagedInstanceCallable(const Model::DeregisterManagedInstanceRequest& request) const;
DescribeAccessPointsOutcome describeAccessPoints(const Model::DescribeAccessPointsRequest &request)const;
void describeAccessPointsAsync(const Model::DescribeAccessPointsRequest& request, const DescribeAccessPointsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAccessPointsOutcomeCallable describeAccessPointsCallable(const Model::DescribeAccessPointsRequest& request) const;
DescribeAccountAttributesOutcome describeAccountAttributes(const Model::DescribeAccountAttributesRequest &request)const;
void describeAccountAttributesAsync(const Model::DescribeAccountAttributesRequest& request, const DescribeAccountAttributesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAccountAttributesOutcomeCallable describeAccountAttributesCallable(const Model::DescribeAccountAttributesRequest& request) const;
DescribeActivationsOutcome describeActivations(const Model::DescribeActivationsRequest &request)const;
void describeActivationsAsync(const Model::DescribeActivationsRequest& request, const DescribeActivationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeActivationsOutcomeCallable describeActivationsCallable(const Model::DescribeActivationsRequest& request) const;
DescribeAutoProvisioningGroupHistoryOutcome describeAutoProvisioningGroupHistory(const Model::DescribeAutoProvisioningGroupHistoryRequest &request)const;
void describeAutoProvisioningGroupHistoryAsync(const Model::DescribeAutoProvisioningGroupHistoryRequest& request, const DescribeAutoProvisioningGroupHistoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAutoProvisioningGroupHistoryOutcomeCallable describeAutoProvisioningGroupHistoryCallable(const Model::DescribeAutoProvisioningGroupHistoryRequest& request) const;
@@ -1919,9 +2057,18 @@ namespace AlibabaCloud
DescribeHpcClustersOutcome describeHpcClusters(const Model::DescribeHpcClustersRequest &request)const;
void describeHpcClustersAsync(const Model::DescribeHpcClustersRequest& request, const DescribeHpcClustersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeHpcClustersOutcomeCallable describeHpcClustersCallable(const Model::DescribeHpcClustersRequest& request) const;
DescribeImageComponentsOutcome describeImageComponents(const Model::DescribeImageComponentsRequest &request)const;
void describeImageComponentsAsync(const Model::DescribeImageComponentsRequest& request, const DescribeImageComponentsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeImageComponentsOutcomeCallable describeImageComponentsCallable(const Model::DescribeImageComponentsRequest& request) const;
DescribeImageFromFamilyOutcome describeImageFromFamily(const Model::DescribeImageFromFamilyRequest &request)const;
void describeImageFromFamilyAsync(const Model::DescribeImageFromFamilyRequest& request, const DescribeImageFromFamilyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeImageFromFamilyOutcomeCallable describeImageFromFamilyCallable(const Model::DescribeImageFromFamilyRequest& request) const;
DescribeImagePipelineExecutionsOutcome describeImagePipelineExecutions(const Model::DescribeImagePipelineExecutionsRequest &request)const;
void describeImagePipelineExecutionsAsync(const Model::DescribeImagePipelineExecutionsRequest& request, const DescribeImagePipelineExecutionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeImagePipelineExecutionsOutcomeCallable describeImagePipelineExecutionsCallable(const Model::DescribeImagePipelineExecutionsRequest& request) const;
DescribeImagePipelinesOutcome describeImagePipelines(const Model::DescribeImagePipelinesRequest &request)const;
void describeImagePipelinesAsync(const Model::DescribeImagePipelinesRequest& request, const DescribeImagePipelinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeImagePipelinesOutcomeCallable describeImagePipelinesCallable(const Model::DescribeImagePipelinesRequest& request) const;
DescribeImageSharePermissionOutcome describeImageSharePermission(const Model::DescribeImageSharePermissionRequest &request)const;
void describeImageSharePermissionAsync(const Model::DescribeImageSharePermissionRequest& request, const DescribeImageSharePermissionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeImageSharePermissionOutcomeCallable describeImageSharePermissionCallable(const Model::DescribeImageSharePermissionRequest& request) const;
@@ -1994,6 +2141,9 @@ namespace AlibabaCloud
DescribeLimitationOutcome describeLimitation(const Model::DescribeLimitationRequest &request)const;
void describeLimitationAsync(const Model::DescribeLimitationRequest& request, const DescribeLimitationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeLimitationOutcomeCallable describeLimitationCallable(const Model::DescribeLimitationRequest& request) const;
DescribeManagedInstancesOutcome describeManagedInstances(const Model::DescribeManagedInstancesRequest &request)const;
void describeManagedInstancesAsync(const Model::DescribeManagedInstancesRequest& request, const DescribeManagedInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeManagedInstancesOutcomeCallable describeManagedInstancesCallable(const Model::DescribeManagedInstancesRequest& request) const;
DescribeNatGatewaysOutcome describeNatGateways(const Model::DescribeNatGatewaysRequest &request)const;
void describeNatGatewaysAsync(const Model::DescribeNatGatewaysRequest& request, const DescribeNatGatewaysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeNatGatewaysOutcomeCallable describeNatGatewaysCallable(const Model::DescribeNatGatewaysRequest& request) const;
@@ -2051,6 +2201,9 @@ namespace AlibabaCloud
DescribeSendFileResultsOutcome describeSendFileResults(const Model::DescribeSendFileResultsRequest &request)const;
void describeSendFileResultsAsync(const Model::DescribeSendFileResultsRequest& request, const DescribeSendFileResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSendFileResultsOutcomeCallable describeSendFileResultsCallable(const Model::DescribeSendFileResultsRequest& request) const;
DescribeSnapshotGroupsOutcome describeSnapshotGroups(const Model::DescribeSnapshotGroupsRequest &request)const;
void describeSnapshotGroupsAsync(const Model::DescribeSnapshotGroupsRequest& request, const DescribeSnapshotGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSnapshotGroupsOutcomeCallable describeSnapshotGroupsCallable(const Model::DescribeSnapshotGroupsRequest& request) const;
DescribeSnapshotLinksOutcome describeSnapshotLinks(const Model::DescribeSnapshotLinksRequest &request)const;
void describeSnapshotLinksAsync(const Model::DescribeSnapshotLinksRequest& request, const DescribeSnapshotLinksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSnapshotLinksOutcomeCallable describeSnapshotLinksCallable(const Model::DescribeSnapshotLinksRequest& request) const;
@@ -2129,6 +2282,9 @@ namespace AlibabaCloud
DetachNetworkInterfaceOutcome detachNetworkInterface(const Model::DetachNetworkInterfaceRequest &request)const;
void detachNetworkInterfaceAsync(const Model::DetachNetworkInterfaceRequest& request, const DetachNetworkInterfaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DetachNetworkInterfaceOutcomeCallable detachNetworkInterfaceCallable(const Model::DetachNetworkInterfaceRequest& request) const;
DisableActivationOutcome disableActivation(const Model::DisableActivationRequest &request)const;
void disableActivationAsync(const Model::DisableActivationRequest& request, const DisableActivationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DisableActivationOutcomeCallable disableActivationCallable(const Model::DisableActivationRequest& request) const;
EipFillParamsOutcome eipFillParams(const Model::EipFillParamsRequest &request)const;
void eipFillParamsAsync(const Model::EipFillParamsRequest& request, const EipFillParamsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EipFillParamsOutcomeCallable eipFillParamsCallable(const Model::EipFillParamsRequest& request) const;
@@ -2291,6 +2447,9 @@ namespace AlibabaCloud
ModifyLaunchTemplateDefaultVersionOutcome modifyLaunchTemplateDefaultVersion(const Model::ModifyLaunchTemplateDefaultVersionRequest &request)const;
void modifyLaunchTemplateDefaultVersionAsync(const Model::ModifyLaunchTemplateDefaultVersionRequest& request, const ModifyLaunchTemplateDefaultVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyLaunchTemplateDefaultVersionOutcomeCallable modifyLaunchTemplateDefaultVersionCallable(const Model::ModifyLaunchTemplateDefaultVersionRequest& request) const;
ModifyManagedInstanceOutcome modifyManagedInstance(const Model::ModifyManagedInstanceRequest &request)const;
void modifyManagedInstanceAsync(const Model::ModifyManagedInstanceRequest& request, const ModifyManagedInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyManagedInstanceOutcomeCallable modifyManagedInstanceCallable(const Model::ModifyManagedInstanceRequest& request) const;
ModifyNetworkInterfaceAttributeOutcome modifyNetworkInterfaceAttribute(const Model::ModifyNetworkInterfaceAttributeRequest &request)const;
void modifyNetworkInterfaceAttributeAsync(const Model::ModifyNetworkInterfaceAttributeRequest& request, const ModifyNetworkInterfaceAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyNetworkInterfaceAttributeOutcomeCallable modifyNetworkInterfaceAttributeCallable(const Model::ModifyNetworkInterfaceAttributeRequest& request) const;
@@ -2327,6 +2486,9 @@ namespace AlibabaCloud
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;
ModifySnapshotGroupOutcome modifySnapshotGroup(const Model::ModifySnapshotGroupRequest &request)const;
void modifySnapshotGroupAsync(const Model::ModifySnapshotGroupRequest& request, const ModifySnapshotGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifySnapshotGroupOutcomeCallable modifySnapshotGroupCallable(const Model::ModifySnapshotGroupRequest& request) const;
ModifyStorageCapacityUnitAttributeOutcome modifyStorageCapacityUnitAttribute(const Model::ModifyStorageCapacityUnitAttributeRequest &request)const;
void modifyStorageCapacityUnitAttributeAsync(const Model::ModifyStorageCapacityUnitAttributeRequest& request, const ModifyStorageCapacityUnitAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyStorageCapacityUnitAttributeOutcomeCallable modifyStorageCapacityUnitAttributeCallable(const Model::ModifyStorageCapacityUnitAttributeRequest& request) const;
@@ -2408,6 +2570,9 @@ namespace AlibabaCloud
ResetDiskOutcome resetDisk(const Model::ResetDiskRequest &request)const;
void resetDiskAsync(const Model::ResetDiskRequest& request, const ResetDiskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResetDiskOutcomeCallable resetDiskCallable(const Model::ResetDiskRequest& request) const;
ResetDisksOutcome resetDisks(const Model::ResetDisksRequest &request)const;
void resetDisksAsync(const Model::ResetDisksRequest& request, const ResetDisksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResetDisksOutcomeCallable resetDisksCallable(const Model::ResetDisksRequest& request) const;
ResizeDiskOutcome resizeDisk(const Model::ResizeDiskRequest &request)const;
void resizeDiskAsync(const Model::ResizeDiskRequest& request, const ResizeDiskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResizeDiskOutcomeCallable resizeDiskCallable(const Model::ResizeDiskRequest& request) const;
@@ -2429,6 +2594,9 @@ namespace AlibabaCloud
StartElasticityAssuranceOutcome startElasticityAssurance(const Model::StartElasticityAssuranceRequest &request)const;
void startElasticityAssuranceAsync(const Model::StartElasticityAssuranceRequest& request, const StartElasticityAssuranceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartElasticityAssuranceOutcomeCallable startElasticityAssuranceCallable(const Model::StartElasticityAssuranceRequest& request) const;
StartImagePipelineExecutionOutcome startImagePipelineExecution(const Model::StartImagePipelineExecutionRequest &request)const;
void startImagePipelineExecutionAsync(const Model::StartImagePipelineExecutionRequest& request, const StartImagePipelineExecutionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartImagePipelineExecutionOutcomeCallable startImagePipelineExecutionCallable(const Model::StartImagePipelineExecutionRequest& request) const;
StartInstanceOutcome startInstance(const Model::StartInstanceRequest &request)const;
void startInstanceAsync(const Model::StartInstanceRequest& request, const StartInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartInstanceOutcomeCallable startInstanceCallable(const Model::StartInstanceRequest& request) const;

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_ECS_MODEL_CANCELIMAGEPIPELINEEXECUTIONREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CANCELIMAGEPIPELINEEXECUTIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT CancelImagePipelineExecutionRequest : public RpcServiceRequest
{
public:
struct TemplateTag
{
std::string key;
std::string value;
};
public:
CancelImagePipelineExecutionRequest();
~CancelImagePipelineExecutionRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getExecutionId()const;
void setExecutionId(const std::string& executionId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<TemplateTag> getTemplateTag()const;
void setTemplateTag(const std::vector<TemplateTag>& templateTag);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string executionId_;
std::string regionId_;
std::vector<TemplateTag> templateTag_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CANCELIMAGEPIPELINEEXECUTIONREQUEST_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_ECS_MODEL_CANCELIMAGEPIPELINEEXECUTIONRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CANCELIMAGEPIPELINEEXECUTIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT CancelImagePipelineExecutionResult : public ServiceResult
{
public:
CancelImagePipelineExecutionResult();
explicit CancelImagePipelineExecutionResult(const std::string &payload);
~CancelImagePipelineExecutionResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CANCELIMAGEPIPELINEEXECUTIONRESULT_H_

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_CREATEACTIVATIONREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEACTIVATIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT CreateActivationRequest : public RpcServiceRequest
{
public:
CreateActivationRequest();
~CreateActivationRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getInstanceCount()const;
void setInstanceCount(int instanceCount);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getInstanceName()const;
void setInstanceName(const std::string& instanceName);
long getTimeToLiveInHours()const;
void setTimeToLiveInHours(long timeToLiveInHours);
std::string getIpAddressRange()const;
void setIpAddressRange(const std::string& ipAddressRange);
private:
long resourceOwnerId_;
std::string description_;
std::string regionId_;
int instanceCount_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string instanceName_;
long timeToLiveInHours_;
std::string ipAddressRange_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEACTIVATIONREQUEST_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_ECS_MODEL_CREATEACTIVATIONRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEACTIVATIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT CreateActivationResult : public ServiceResult
{
public:
CreateActivationResult();
explicit CreateActivationResult(const std::string &payload);
~CreateActivationResult();
std::string getActivationId()const;
std::string getActivationCode()const;
protected:
void parse(const std::string &payload);
private:
std::string activationId_;
std::string activationCode_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEACTIVATIONRESULT_H_

View File

@@ -37,11 +37,13 @@ namespace AlibabaCloud
CreateDiskResult();
explicit CreateDiskResult(const std::string &payload);
~CreateDiskResult();
std::string getOrderId()const;
std::string getDiskId()const;
protected:
void parse(const std::string &payload);
private:
std::string orderId_;
std::string diskId_;
};

View File

@@ -0,0 +1,90 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_CREATEIMAGECOMPONENTREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEIMAGECOMPONENTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT CreateImageComponentRequest : public RpcServiceRequest
{
public:
struct Tag
{
std::string key;
std::string value;
};
public:
CreateImageComponentRequest();
~CreateImageComponentRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getSystemType()const;
void setSystemType(const std::string& systemType);
std::string getContent()const;
void setContent(const std::string& content);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getComponentType()const;
void setComponentType(const std::string& componentType);
std::string getName()const;
void setName(const std::string& name);
private:
long resourceOwnerId_;
std::string clientToken_;
std::string description_;
std::string systemType_;
std::string content_;
std::string resourceGroupId_;
std::string regionId_;
std::vector<Tag> tag_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string componentType_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEIMAGECOMPONENTREQUEST_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_ECS_MODEL_CREATEIMAGECOMPONENTRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEIMAGECOMPONENTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT CreateImageComponentResult : public ServiceResult
{
public:
CreateImageComponentResult();
explicit CreateImageComponentResult(const std::string &payload);
~CreateImageComponentResult();
std::string getImageComponentId()const;
protected:
void parse(const std::string &payload);
private:
std::string imageComponentId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEIMAGECOMPONENTRESULT_H_

View File

@@ -0,0 +1,114 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_CREATEIMAGEPIPELINEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEIMAGEPIPELINEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT CreateImagePipelineRequest : public RpcServiceRequest
{
public:
struct Tag
{
std::string key;
std::string value;
};
public:
CreateImagePipelineRequest();
~CreateImagePipelineRequest();
std::string getBaseImageType()const;
void setBaseImageType(const std::string& baseImageType);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::vector<std::string> getToRegionId()const;
void setToRegionId(const std::vector<std::string>& toRegionId);
int getInternetMaxBandwidthOut()const;
void setInternetMaxBandwidthOut(int internetMaxBandwidthOut);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getImageName()const;
void setImageName(const std::string& imageName);
int getSystemDiskSize()const;
void setSystemDiskSize(int systemDiskSize);
std::string getInstanceType()const;
void setInstanceType(const std::string& instanceType);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getBaseImage()const;
void setBaseImage(const std::string& baseImage);
std::string getVSwitchId()const;
void setVSwitchId(const std::string& vSwitchId);
std::vector<long> getAddAccount()const;
void setAddAccount(const std::vector<long>& addAccount);
bool getDeleteInstanceOnFailure()const;
void setDeleteInstanceOnFailure(bool deleteInstanceOnFailure);
std::string getName()const;
void setName(const std::string& name);
std::string getBuildContent()const;
void setBuildContent(const std::string& buildContent);
private:
std::string baseImageType_;
long resourceOwnerId_;
std::string clientToken_;
std::vector<std::string> toRegionId_;
int internetMaxBandwidthOut_;
std::string description_;
std::string resourceGroupId_;
std::string regionId_;
std::string imageName_;
int systemDiskSize_;
std::string instanceType_;
std::vector<Tag> tag_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string baseImage_;
std::string vSwitchId_;
std::vector<long> addAccount_;
bool deleteInstanceOnFailure_;
std::string name_;
std::string buildContent_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEIMAGEPIPELINEREQUEST_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_ECS_MODEL_CREATEIMAGEPIPELINERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEIMAGEPIPELINERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT CreateImagePipelineResult : public ServiceResult
{
public:
CreateImagePipelineResult();
explicit CreateImagePipelineResult(const std::string &payload);
~CreateImagePipelineResult();
std::string getImagePipelineId()const;
protected:
void parse(const std::string &payload);
private:
std::string imagePipelineId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEIMAGEPIPELINERESULT_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_ECS_MODEL_CREATESNAPSHOTGROUPREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATESNAPSHOTGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT CreateSnapshotGroupRequest : public RpcServiceRequest
{
public:
CreateSnapshotGroupRequest();
~CreateSnapshotGroupRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::vector<std::string> getExcludeDiskId()const;
void setExcludeDiskId(const std::vector<std::string>& excludeDiskId);
bool getInstantAccess()const;
void setInstantAccess(bool instantAccess);
std::string getDescription()const;
void setDescription(const std::string& description);
int getInstantAccessRetentionDays()const;
void setInstantAccessRetentionDays(int instantAccessRetentionDays);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getName()const;
void setName(const std::string& name);
private:
long resourceOwnerId_;
std::vector<std::string> excludeDiskId_;
bool instantAccess_;
std::string description_;
int instantAccessRetentionDays_;
std::string regionId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string instanceId_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATESNAPSHOTGROUPREQUEST_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_ECS_MODEL_CREATESNAPSHOTGROUPRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATESNAPSHOTGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT CreateSnapshotGroupResult : public ServiceResult
{
public:
CreateSnapshotGroupResult();
explicit CreateSnapshotGroupResult(const std::string &payload);
~CreateSnapshotGroupResult();
std::string getSnapshotGroupId()const;
protected:
void parse(const std::string &payload);
private:
std::string snapshotGroupId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATESNAPSHOTGROUPRESULT_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_ECS_MODEL_DELETEACTIVATIONREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DELETEACTIVATIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DeleteActivationRequest : public RpcServiceRequest
{
public:
DeleteActivationRequest();
~DeleteActivationRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getActivationId()const;
void setActivationId(const std::string& activationId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string activationId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DELETEACTIVATIONREQUEST_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_ECS_MODEL_DELETEACTIVATIONRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_DELETEACTIVATIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DeleteActivationResult : public ServiceResult
{
public:
struct Activation
{
std::string instanceName;
int instanceCount;
int deregisteredCount;
std::string description;
std::string activationId;
std::string creationTime;
long timeToLiveInHours;
int registeredCount;
std::string ipAddressRange;
};
DeleteActivationResult();
explicit DeleteActivationResult(const std::string &payload);
~DeleteActivationResult();
Activation getActivation()const;
protected:
void parse(const std::string &payload);
private:
Activation activation_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DELETEACTIVATIONRESULT_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_ECS_MODEL_DELETEIMAGECOMPONENTREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DELETEIMAGECOMPONENTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DeleteImageComponentRequest : public RpcServiceRequest
{
public:
struct TemplateTag
{
std::string key;
std::string value;
};
public:
DeleteImageComponentRequest();
~DeleteImageComponentRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getImageComponentId()const;
void setImageComponentId(const std::string& imageComponentId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<TemplateTag> getTemplateTag()const;
void setTemplateTag(const std::vector<TemplateTag>& templateTag);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string imageComponentId_;
std::string regionId_;
std::vector<TemplateTag> templateTag_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DELETEIMAGECOMPONENTREQUEST_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_ECS_MODEL_DELETEIMAGECOMPONENTRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_DELETEIMAGECOMPONENTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DeleteImageComponentResult : public ServiceResult
{
public:
DeleteImageComponentResult();
explicit DeleteImageComponentResult(const std::string &payload);
~DeleteImageComponentResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DELETEIMAGECOMPONENTRESULT_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_ECS_MODEL_DELETEIMAGEPIPELINEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DELETEIMAGEPIPELINEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DeleteImagePipelineRequest : public RpcServiceRequest
{
public:
struct TemplateTag
{
std::string key;
std::string value;
};
public:
DeleteImagePipelineRequest();
~DeleteImagePipelineRequest();
std::string getImagePipelineId()const;
void setImagePipelineId(const std::string& imagePipelineId);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<TemplateTag> getTemplateTag()const;
void setTemplateTag(const std::vector<TemplateTag>& templateTag);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string imagePipelineId_;
long resourceOwnerId_;
std::string regionId_;
std::vector<TemplateTag> templateTag_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DELETEIMAGEPIPELINEREQUEST_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_ECS_MODEL_DELETEIMAGEPIPELINERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_DELETEIMAGEPIPELINERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DeleteImagePipelineResult : public ServiceResult
{
public:
DeleteImagePipelineResult();
explicit DeleteImagePipelineResult(const std::string &payload);
~DeleteImagePipelineResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DELETEIMAGEPIPELINERESULT_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_ECS_MODEL_DELETESNAPSHOTGROUPREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DELETESNAPSHOTGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DeleteSnapshotGroupRequest : public RpcServiceRequest
{
public:
DeleteSnapshotGroupRequest();
~DeleteSnapshotGroupRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getSnapshotGroupId()const;
void setSnapshotGroupId(const std::string& snapshotGroupId);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string snapshotGroupId_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DELETESNAPSHOTGROUPREQUEST_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_ECS_MODEL_DELETESNAPSHOTGROUPRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_DELETESNAPSHOTGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DeleteSnapshotGroupResult : public ServiceResult
{
public:
struct OperationProgress
{
struct RelatedItem
{
std::string value;
std::string name;
};
std::string operationStatus;
std::string errorMsg;
std::vector<OperationProgress::RelatedItem> relatedItemSet;
std::string errorCode;
};
DeleteSnapshotGroupResult();
explicit DeleteSnapshotGroupResult(const std::string &payload);
~DeleteSnapshotGroupResult();
std::vector<OperationProgress> getOperationProgressSet()const;
protected:
void parse(const std::string &payload);
private:
std::vector<OperationProgress> operationProgressSet_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DELETESNAPSHOTGROUPRESULT_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_ECS_MODEL_DEREGISTERMANAGEDINSTANCEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DEREGISTERMANAGEDINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DeregisterManagedInstanceRequest : public RpcServiceRequest
{
public:
DeregisterManagedInstanceRequest();
~DeregisterManagedInstanceRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DEREGISTERMANAGEDINSTANCEREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_DEREGISTERMANAGEDINSTANCERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_DEREGISTERMANAGEDINSTANCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DeregisterManagedInstanceResult : public ServiceResult
{
public:
struct Instance
{
std::string machineId;
std::string instanceId;
std::string agentVersion;
long invocationCount;
std::string osVersion;
std::string activationId;
std::string hostname;
std::string registrationTime;
std::string intranetIp;
std::string instanceName;
std::string internetIp;
std::string osType;
std::string lastInvokedTime;
};
DeregisterManagedInstanceResult();
explicit DeregisterManagedInstanceResult(const std::string &payload);
~DeregisterManagedInstanceResult();
Instance getInstance()const;
protected:
void parse(const std::string &payload);
private:
Instance instance_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DEREGISTERMANAGEDINSTANCERESULT_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_ECS_MODEL_DESCRIBEACTIVATIONSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEACTIVATIONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DescribeActivationsRequest : public RpcServiceRequest
{
public:
DescribeActivationsRequest();
~DescribeActivationsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
long getPageNumber()const;
void setPageNumber(long pageNumber);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getPageSize()const;
void setPageSize(long pageSize);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getInstanceName()const;
void setInstanceName(const std::string& instanceName);
std::string getActivationId()const;
void setActivationId(const std::string& activationId);
private:
long resourceOwnerId_;
long pageNumber_;
std::string regionId_;
long pageSize_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string instanceName_;
std::string activationId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEACTIVATIONSREQUEST_H_

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_DESCRIBEACTIVATIONSRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEACTIVATIONSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DescribeActivationsResult : public ServiceResult
{
public:
struct Activation
{
std::string instanceName;
int instanceCount;
int deregisteredCount;
std::string description;
std::string activationId;
std::string creationTime;
long timeToLiveInHours;
int registeredCount;
bool disabled;
std::string ipAddressRange;
};
DescribeActivationsResult();
explicit DescribeActivationsResult(const std::string &payload);
~DescribeActivationsResult();
long getTotalCount()const;
long getPageSize()const;
long getPageNumber()const;
std::vector<Activation> getActivationList()const;
protected:
void parse(const std::string &payload);
private:
long totalCount_;
long pageSize_;
long pageNumber_;
std::vector<Activation> activationList_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEACTIVATIONSRESULT_H_

View File

@@ -47,6 +47,8 @@ namespace AlibabaCloud
void setPageNumber(long pageNumber);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getProvider()const;
void setProvider(const std::string& provider);
std::string getContentEncoding()const;
void setContentEncoding(const std::string& contentEncoding);
long getPageSize()const;
@@ -67,6 +69,7 @@ namespace AlibabaCloud
std::string commandId_;
long pageNumber_;
std::string regionId_;
std::string provider_;
std::string contentEncoding_;
long pageSize_;
std::string resourceOwnerAccount_;

View File

@@ -34,17 +34,21 @@ namespace AlibabaCloud
public:
struct Command
{
std::string commandContent;
std::string workingDir;
std::string type;
std::string category;
std::string description;
std::vector<std::string> parameterNames;
long timeout;
std::string name;
std::string provider;
std::string commandContent;
std::string workingDir;
std::string type;
int version;
int invokeTimes;
std::string creationTime;
bool latest;
bool enableParameter;
std::string commandId;
std::string name;
};

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_DESCRIBEIMAGECOMPONENTSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEIMAGECOMPONENTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DescribeImageComponentsRequest : public RpcServiceRequest
{
public:
struct Tag
{
std::string key;
std::string value;
};
public:
DescribeImageComponentsRequest();
~DescribeImageComponentsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::vector<std::string> getImageComponentId()const;
void setImageComponentId(const std::vector<std::string>& imageComponentId);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getName()const;
void setName(const std::string& name);
int getMaxResults()const;
void setMaxResults(int maxResults);
private:
long resourceOwnerId_;
std::vector<std::string> imageComponentId_;
std::string resourceGroupId_;
std::string regionId_;
std::string nextToken_;
std::vector<Tag> tag_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string name_;
int maxResults_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEIMAGECOMPONENTSREQUEST_H_

View File

@@ -0,0 +1,74 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_DESCRIBEIMAGECOMPONENTSRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEIMAGECOMPONENTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DescribeImageComponentsResult : public ServiceResult
{
public:
struct ImageComponentSet
{
struct Tag
{
std::string tagKey;
std::string tagValue;
};
std::string componentType;
std::string description;
std::string resourceGroupId;
std::string content;
std::string creationTime;
std::string systemType;
std::string imageComponentId;
std::vector<ImageComponentSet::Tag> tags;
std::string name;
};
DescribeImageComponentsResult();
explicit DescribeImageComponentsResult(const std::string &payload);
~DescribeImageComponentsResult();
int getTotalCount()const;
std::vector<ImageComponentSet> getImageComponent()const;
std::string getNextToken()const;
int getMaxResults()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::vector<ImageComponentSet> imageComponent_;
std::string nextToken_;
int maxResults_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEIMAGECOMPONENTSRESULT_H_

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_DESCRIBEIMAGEPIPELINEEXECUTIONSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEIMAGEPIPELINEEXECUTIONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DescribeImagePipelineExecutionsRequest : public RpcServiceRequest
{
public:
struct Tag
{
std::string key;
std::string value;
};
public:
DescribeImagePipelineExecutionsRequest();
~DescribeImagePipelineExecutionsRequest();
std::string getImagePipelineId()const;
void setImagePipelineId(const std::string& imagePipelineId);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getExecutionId()const;
void setExecutionId(const std::string& executionId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
int getMaxResults()const;
void setMaxResults(int maxResults);
std::string getStatus()const;
void setStatus(const std::string& status);
private:
std::string imagePipelineId_;
long resourceOwnerId_;
std::string executionId_;
std::string regionId_;
std::string nextToken_;
std::vector<Tag> tag_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
int maxResults_;
std::string status_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEIMAGEPIPELINEEXECUTIONSREQUEST_H_

View File

@@ -0,0 +1,74 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_DESCRIBEIMAGEPIPELINEEXECUTIONSRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEIMAGEPIPELINEEXECUTIONSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DescribeImagePipelineExecutionsResult : public ServiceResult
{
public:
struct ImagePipelineExecutionSet
{
struct Tag
{
std::string tagKey;
std::string tagValue;
};
std::string status;
std::string modifiedTime;
std::string message;
std::string resourceGroupId;
std::string imagePipelineId;
std::string creationTime;
std::string imageId;
std::vector<ImagePipelineExecutionSet::Tag> tags;
std::string executionId;
};
DescribeImagePipelineExecutionsResult();
explicit DescribeImagePipelineExecutionsResult(const std::string &payload);
~DescribeImagePipelineExecutionsResult();
int getTotalCount()const;
std::string getNextToken()const;
int getMaxResults()const;
std::vector<ImagePipelineExecutionSet> getImagePipelineExecution()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string nextToken_;
int maxResults_;
std::vector<ImagePipelineExecutionSet> imagePipelineExecution_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEIMAGEPIPELINEEXECUTIONSRESULT_H_

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_DESCRIBEIMAGEPIPELINESREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEIMAGEPIPELINESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DescribeImagePipelinesRequest : public RpcServiceRequest
{
public:
struct Tag
{
std::string key;
std::string value;
};
public:
DescribeImagePipelinesRequest();
~DescribeImagePipelinesRequest();
std::vector<std::string> getImagePipelineId()const;
void setImagePipelineId(const std::vector<std::string>& imagePipelineId);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getName()const;
void setName(const std::string& name);
int getMaxResults()const;
void setMaxResults(int maxResults);
private:
std::vector<std::string> imagePipelineId_;
long resourceOwnerId_;
std::string resourceGroupId_;
std::string regionId_;
std::string nextToken_;
std::vector<Tag> tag_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string name_;
int maxResults_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEIMAGEPIPELINESREQUEST_H_

View File

@@ -0,0 +1,82 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_DESCRIBEIMAGEPIPELINESRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEIMAGEPIPELINESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DescribeImagePipelinesResult : public ServiceResult
{
public:
struct ImagePipelineSet
{
struct Tag
{
std::string tagKey;
std::string tagValue;
};
std::string description;
std::string baseImageType;
std::string resourceGroupId;
int systemDiskSize;
std::string imagePipelineId;
std::string vSwitchId;
std::vector<std::string> toRegionIds;
std::string name;
std::string imageName;
bool deleteInstanceOnFailure;
std::vector<std::string> addAccounts;
int internetMaxBandwidthOut;
std::string creationTime;
std::string instanceType;
std::vector<ImagePipelineSet::Tag> tags;
std::string baseImage;
std::string buildContent;
};
DescribeImagePipelinesResult();
explicit DescribeImagePipelinesResult(const std::string &payload);
~DescribeImagePipelinesResult();
int getTotalCount()const;
std::string getNextToken()const;
int getMaxResults()const;
std::vector<ImagePipelineSet> getImagePipeline()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string nextToken_;
int maxResults_;
std::vector<ImagePipelineSet> imagePipeline_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEIMAGEPIPELINESRESULT_H_

View File

@@ -87,6 +87,8 @@ namespace AlibabaCloud
void setInternetChargeType(const std::string& internetChargeType);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
int getMaxResults()const;
void setMaxResults(int maxResults);
std::string getInstanceNetworkType()const;
void setInstanceNetworkType(const std::string& instanceNetworkType);
std::string getStatus()const;
@@ -105,6 +107,8 @@ namespace AlibabaCloud
void setPageNumber(int pageNumber);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
std::string getRdmaIpAddresses()const;
void setRdmaIpAddresses(const std::string& rdmaIpAddresses);
std::string getHttpEndpoint()const;
@@ -158,6 +162,7 @@ namespace AlibabaCloud
std::string instanceIds_;
std::string internetChargeType_;
std::string zoneId_;
int maxResults_;
std::string instanceNetworkType_;
std::string status_;
std::string imageId_;
@@ -167,6 +172,7 @@ namespace AlibabaCloud
std::string filter4Key_;
int pageNumber_;
std::string regionId_;
std::string nextToken_;
std::string rdmaIpAddresses_;
std::string httpEndpoint_;
int pageSize_;

View File

@@ -175,6 +175,7 @@ namespace AlibabaCloud
std::vector<Instance> getInstances()const;
int getTotalCount()const;
int getPageSize()const;
std::string getNextToken()const;
int getPageNumber()const;
protected:
@@ -183,6 +184,7 @@ namespace AlibabaCloud
std::vector<Instance> instances_;
int totalCount_;
int pageSize_;
std::string nextToken_;
int pageNumber_;
};

View File

@@ -0,0 +1,81 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_DESCRIBEMANAGEDINSTANCESREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEMANAGEDINSTANCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DescribeManagedInstancesRequest : public RpcServiceRequest
{
public:
DescribeManagedInstancesRequest();
~DescribeManagedInstancesRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
long getPageNumber()const;
void setPageNumber(long pageNumber);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getPageSize()const;
void setPageSize(long pageSize);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getOsType()const;
void setOsType(const std::string& osType);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getInstanceName()const;
void setInstanceName(const std::string& instanceName);
std::vector<std::string> getInstanceId()const;
void setInstanceId(const std::vector<std::string>& instanceId);
std::string getInstanceIp()const;
void setInstanceIp(const std::string& instanceIp);
std::string getActivationId()const;
void setActivationId(const std::string& activationId);
private:
long resourceOwnerId_;
long pageNumber_;
std::string regionId_;
long pageSize_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string osType_;
long ownerId_;
std::string instanceName_;
std::vector<std::string> instanceId_;
std::string instanceIp_;
std::string activationId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEMANAGEDINSTANCESREQUEST_H_

View File

@@ -0,0 +1,74 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_DESCRIBEMANAGEDINSTANCESRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEMANAGEDINSTANCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DescribeManagedInstancesResult : public ServiceResult
{
public:
struct Instance
{
std::string machineId;
std::string instanceId;
std::string agentVersion;
bool connected;
long invocationCount;
std::string osVersion;
std::string activationId;
std::string hostname;
std::string registrationTime;
std::string intranetIp;
std::string instanceName;
std::string internetIp;
std::string osType;
std::string lastInvokedTime;
};
DescribeManagedInstancesResult();
explicit DescribeManagedInstancesResult(const std::string &payload);
~DescribeManagedInstancesResult();
std::vector<Instance> getInstances()const;
long getTotalCount()const;
long getPageSize()const;
long getPageNumber()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Instance> instances_;
long totalCount_;
long pageSize_;
long pageNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEMANAGEDINSTANCESRESULT_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_ECS_MODEL_DESCRIBESNAPSHOTGROUPSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBESNAPSHOTGROUPSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DescribeSnapshotGroupsRequest : public RpcServiceRequest
{
public:
DescribeSnapshotGroupsRequest();
~DescribeSnapshotGroupsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::vector<std::string> getSnapshotGroupId()const;
void setSnapshotGroupId(const std::vector<std::string>& snapshotGroupId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getName()const;
void setName(const std::string& name);
int getMaxResults()const;
void setMaxResults(int maxResults);
std::vector<std::string> getStatus()const;
void setStatus(const std::vector<std::string>& status);
private:
long resourceOwnerId_;
std::string regionId_;
std::string nextToken_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::vector<std::string> snapshotGroupId_;
long ownerId_;
std::string instanceId_;
std::string name_;
int maxResults_;
std::vector<std::string> status_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBESNAPSHOTGROUPSREQUEST_H_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_DESCRIBESNAPSHOTGROUPSRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBESNAPSHOTGROUPSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DescribeSnapshotGroupsResult : public ServiceResult
{
public:
struct SnapshotGroup
{
struct Snapshot
{
std::string snapshotId;
bool instantAccess;
std::string progress;
std::string sourceDiskType;
std::string sourceDiskId;
};
std::string status;
std::string description;
std::string instanceId;
std::string creationTime;
std::string snapshotGroupId;
std::vector<SnapshotGroup::Snapshot> snapshots;
std::string name;
};
DescribeSnapshotGroupsResult();
explicit DescribeSnapshotGroupsResult(const std::string &payload);
~DescribeSnapshotGroupsResult();
std::string getNextToken()const;
std::vector<SnapshotGroup> getSnapshotGroups()const;
protected:
void parse(const std::string &payload);
private:
std::string nextToken_;
std::vector<SnapshotGroup> snapshotGroups_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBESNAPSHOTGROUPSRESULT_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_ECS_MODEL_DISABLEACTIVATIONREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DISABLEACTIVATIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DisableActivationRequest : public RpcServiceRequest
{
public:
DisableActivationRequest();
~DisableActivationRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getActivationId()const;
void setActivationId(const std::string& activationId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string activationId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DISABLEACTIVATIONREQUEST_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_ECS_MODEL_DISABLEACTIVATIONRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_DISABLEACTIVATIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DisableActivationResult : public ServiceResult
{
public:
struct Activation
{
std::string instanceName;
int instanceCount;
int deregisteredCount;
std::string description;
std::string activationId;
std::string creationTime;
long timeToLiveInHours;
int registeredCount;
bool disabled;
std::string ipAddressRange;
};
DisableActivationResult();
explicit DisableActivationResult(const std::string &payload);
~DisableActivationResult();
Activation getActivation()const;
protected:
void parse(const std::string &payload);
private:
Activation activation_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DISABLEACTIVATIONRESULT_H_

View File

@@ -38,11 +38,13 @@ namespace AlibabaCloud
explicit ModifyDiskSpecResult(const std::string &payload);
~ModifyDiskSpecResult();
std::string getTaskId()const;
std::string getOrderId()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
std::string orderId_;
};
}

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_MODIFYMANAGEDINSTANCEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_MODIFYMANAGEDINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT ModifyManagedInstanceRequest : public RpcServiceRequest
{
public:
ModifyManagedInstanceRequest();
~ModifyManagedInstanceRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getInstanceName()const;
void setInstanceName(const std::string& instanceName);
private:
long resourceOwnerId_;
std::string regionId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string instanceId_;
std::string instanceName_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYMANAGEDINSTANCEREQUEST_H_

View File

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

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.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_MODIFYSNAPSHOTGROUPREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_MODIFYSNAPSHOTGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT ModifySnapshotGroupRequest : public RpcServiceRequest
{
public:
ModifySnapshotGroupRequest();
~ModifySnapshotGroupRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getSnapshotGroupId()const;
void setSnapshotGroupId(const std::string& snapshotGroupId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getName()const;
void setName(const std::string& name);
private:
long resourceOwnerId_;
std::string description_;
std::string regionId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string snapshotGroupId_;
long ownerId_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYSNAPSHOTGROUPREQUEST_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_ECS_MODEL_MODIFYSNAPSHOTGROUPRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_MODIFYSNAPSHOTGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT ModifySnapshotGroupResult : public ServiceResult
{
public:
ModifySnapshotGroupResult();
explicit ModifySnapshotGroupResult(const std::string &payload);
~ModifySnapshotGroupResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYSNAPSHOTGROUPRESULT_H_

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.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_RESETDISKSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_RESETDISKSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT ResetDisksRequest : public RpcServiceRequest
{
public:
struct Disk
{
std::string diskId;
std::string snapshotId;
};
public:
ResetDisksRequest();
~ResetDisksRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::vector<Disk> getDisk()const;
void setDisk(const std::vector<Disk>& disk);
private:
long resourceOwnerId_;
std::string regionId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::vector<Disk> disk_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_RESETDISKSREQUEST_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_ECS_MODEL_RESETDISKSRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_RESETDISKSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT ResetDisksResult : public ServiceResult
{
public:
struct OperationProgress
{
struct RelatedItem
{
std::string value;
std::string name;
};
std::string operationStatus;
std::string errorMsg;
std::vector<OperationProgress::RelatedItem> relatedItemSet;
std::string errorCode;
};
ResetDisksResult();
explicit ResetDisksResult(const std::string &payload);
~ResetDisksResult();
std::vector<OperationProgress> getOperationProgressSet()const;
protected:
void parse(const std::string &payload);
private:
std::vector<OperationProgress> operationProgressSet_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_RESETDISKSRESULT_H_

View File

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

View File

@@ -140,6 +140,8 @@ namespace AlibabaCloud
void setSchedulerOptions(const std::string& schedulerOptions);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getSchedulerOptionsDedicatedHostClusterId()const;
void setSchedulerOptionsDedicatedHostClusterId(const std::string& schedulerOptionsDedicatedHostClusterId);
std::string getSystemDiskDiskName()const;
void setSystemDiskDiskName(const std::string& systemDiskDiskName);
std::string getDedicatedHostId()const;
@@ -272,6 +274,7 @@ namespace AlibabaCloud
std::vector<Arn> arn_;
std::string schedulerOptions_;
std::string resourceOwnerAccount_;
std::string schedulerOptionsDedicatedHostClusterId_;
std::string systemDiskDiskName_;
std::string dedicatedHostId_;
std::vector<std::string> securityGroupIds_;

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_STARTIMAGEPIPELINEEXECUTIONREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_STARTIMAGEPIPELINEEXECUTIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT StartImagePipelineExecutionRequest : public RpcServiceRequest
{
public:
struct TemplateTag
{
std::string key;
std::string value;
};
public:
StartImagePipelineExecutionRequest();
~StartImagePipelineExecutionRequest();
std::string getImagePipelineId()const;
void setImagePipelineId(const std::string& imagePipelineId);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<TemplateTag> getTemplateTag()const;
void setTemplateTag(const std::vector<TemplateTag>& templateTag);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string imagePipelineId_;
long resourceOwnerId_;
std::string clientToken_;
std::string regionId_;
std::vector<TemplateTag> templateTag_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_STARTIMAGEPIPELINEEXECUTIONREQUEST_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_ECS_MODEL_STARTIMAGEPIPELINEEXECUTIONRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_STARTIMAGEPIPELINEEXECUTIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT StartImagePipelineExecutionResult : public ServiceResult
{
public:
StartImagePipelineExecutionResult();
explicit StartImagePipelineExecutionResult(const std::string &payload);
~StartImagePipelineExecutionResult();
std::string getExecutionId()const;
protected:
void parse(const std::string &payload);
private:
std::string executionId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_STARTIMAGEPIPELINEEXECUTIONRESULT_H_

View File

@@ -807,6 +807,42 @@ EcsClient::CancelCopyImageOutcomeCallable EcsClient::cancelCopyImageCallable(con
return task->get_future();
}
EcsClient::CancelImagePipelineExecutionOutcome EcsClient::cancelImagePipelineExecution(const CancelImagePipelineExecutionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CancelImagePipelineExecutionOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CancelImagePipelineExecutionOutcome(CancelImagePipelineExecutionResult(outcome.result()));
else
return CancelImagePipelineExecutionOutcome(outcome.error());
}
void EcsClient::cancelImagePipelineExecutionAsync(const CancelImagePipelineExecutionRequest& request, const CancelImagePipelineExecutionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, cancelImagePipelineExecution(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::CancelImagePipelineExecutionOutcomeCallable EcsClient::cancelImagePipelineExecutionCallable(const CancelImagePipelineExecutionRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CancelImagePipelineExecutionOutcome()>>(
[this, request]()
{
return this->cancelImagePipelineExecution(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::CancelPhysicalConnectionOutcome EcsClient::cancelPhysicalConnection(const CancelPhysicalConnectionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1059,6 +1095,42 @@ EcsClient::CopySnapshotOutcomeCallable EcsClient::copySnapshotCallable(const Cop
return task->get_future();
}
EcsClient::CreateActivationOutcome EcsClient::createActivation(const CreateActivationRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateActivationOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateActivationOutcome(CreateActivationResult(outcome.result()));
else
return CreateActivationOutcome(outcome.error());
}
void EcsClient::createActivationAsync(const CreateActivationRequest& request, const CreateActivationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createActivation(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::CreateActivationOutcomeCallable EcsClient::createActivationCallable(const CreateActivationRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateActivationOutcome()>>(
[this, request]()
{
return this->createActivation(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::CreateAutoProvisioningGroupOutcome EcsClient::createAutoProvisioningGroup(const CreateAutoProvisioningGroupRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1527,6 +1599,78 @@ EcsClient::CreateImageOutcomeCallable EcsClient::createImageCallable(const Creat
return task->get_future();
}
EcsClient::CreateImageComponentOutcome EcsClient::createImageComponent(const CreateImageComponentRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateImageComponentOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateImageComponentOutcome(CreateImageComponentResult(outcome.result()));
else
return CreateImageComponentOutcome(outcome.error());
}
void EcsClient::createImageComponentAsync(const CreateImageComponentRequest& request, const CreateImageComponentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createImageComponent(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::CreateImageComponentOutcomeCallable EcsClient::createImageComponentCallable(const CreateImageComponentRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateImageComponentOutcome()>>(
[this, request]()
{
return this->createImageComponent(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::CreateImagePipelineOutcome EcsClient::createImagePipeline(const CreateImagePipelineRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateImagePipelineOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateImagePipelineOutcome(CreateImagePipelineResult(outcome.result()));
else
return CreateImagePipelineOutcome(outcome.error());
}
void EcsClient::createImagePipelineAsync(const CreateImagePipelineRequest& request, const CreateImagePipelineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createImagePipeline(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::CreateImagePipelineOutcomeCallable EcsClient::createImagePipelineCallable(const CreateImagePipelineRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateImagePipelineOutcome()>>(
[this, request]()
{
return this->createImagePipeline(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::CreateInstanceOutcome EcsClient::createInstance(const CreateInstanceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1995,6 +2139,42 @@ EcsClient::CreateSnapshotOutcomeCallable EcsClient::createSnapshotCallable(const
return task->get_future();
}
EcsClient::CreateSnapshotGroupOutcome EcsClient::createSnapshotGroup(const CreateSnapshotGroupRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateSnapshotGroupOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateSnapshotGroupOutcome(CreateSnapshotGroupResult(outcome.result()));
else
return CreateSnapshotGroupOutcome(outcome.error());
}
void EcsClient::createSnapshotGroupAsync(const CreateSnapshotGroupRequest& request, const CreateSnapshotGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createSnapshotGroup(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::CreateSnapshotGroupOutcomeCallable EcsClient::createSnapshotGroupCallable(const CreateSnapshotGroupRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateSnapshotGroupOutcome()>>(
[this, request]()
{
return this->createSnapshotGroup(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::CreateStorageSetOutcome EcsClient::createStorageSet(const CreateStorageSetRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2175,6 +2355,42 @@ EcsClient::DeactivateRouterInterfaceOutcomeCallable EcsClient::deactivateRouterI
return task->get_future();
}
EcsClient::DeleteActivationOutcome EcsClient::deleteActivation(const DeleteActivationRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteActivationOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteActivationOutcome(DeleteActivationResult(outcome.result()));
else
return DeleteActivationOutcome(outcome.error());
}
void EcsClient::deleteActivationAsync(const DeleteActivationRequest& request, const DeleteActivationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteActivation(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::DeleteActivationOutcomeCallable EcsClient::deleteActivationCallable(const DeleteActivationRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteActivationOutcome()>>(
[this, request]()
{
return this->deleteActivation(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::DeleteAutoProvisioningGroupOutcome EcsClient::deleteAutoProvisioningGroup(const DeleteAutoProvisioningGroupRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2607,6 +2823,78 @@ EcsClient::DeleteImageOutcomeCallable EcsClient::deleteImageCallable(const Delet
return task->get_future();
}
EcsClient::DeleteImageComponentOutcome EcsClient::deleteImageComponent(const DeleteImageComponentRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteImageComponentOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteImageComponentOutcome(DeleteImageComponentResult(outcome.result()));
else
return DeleteImageComponentOutcome(outcome.error());
}
void EcsClient::deleteImageComponentAsync(const DeleteImageComponentRequest& request, const DeleteImageComponentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteImageComponent(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::DeleteImageComponentOutcomeCallable EcsClient::deleteImageComponentCallable(const DeleteImageComponentRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteImageComponentOutcome()>>(
[this, request]()
{
return this->deleteImageComponent(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::DeleteImagePipelineOutcome EcsClient::deleteImagePipeline(const DeleteImagePipelineRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteImagePipelineOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteImagePipelineOutcome(DeleteImagePipelineResult(outcome.result()));
else
return DeleteImagePipelineOutcome(outcome.error());
}
void EcsClient::deleteImagePipelineAsync(const DeleteImagePipelineRequest& request, const DeleteImagePipelineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteImagePipeline(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::DeleteImagePipelineOutcomeCallable EcsClient::deleteImagePipelineCallable(const DeleteImagePipelineRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteImagePipelineOutcome()>>(
[this, request]()
{
return this->deleteImagePipeline(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::DeleteInstanceOutcome EcsClient::deleteInstance(const DeleteInstanceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -3075,6 +3363,42 @@ EcsClient::DeleteSnapshotOutcomeCallable EcsClient::deleteSnapshotCallable(const
return task->get_future();
}
EcsClient::DeleteSnapshotGroupOutcome EcsClient::deleteSnapshotGroup(const DeleteSnapshotGroupRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteSnapshotGroupOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteSnapshotGroupOutcome(DeleteSnapshotGroupResult(outcome.result()));
else
return DeleteSnapshotGroupOutcome(outcome.error());
}
void EcsClient::deleteSnapshotGroupAsync(const DeleteSnapshotGroupRequest& request, const DeleteSnapshotGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteSnapshotGroup(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::DeleteSnapshotGroupOutcomeCallable EcsClient::deleteSnapshotGroupCallable(const DeleteSnapshotGroupRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteSnapshotGroupOutcome()>>(
[this, request]()
{
return this->deleteSnapshotGroup(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::DeleteStorageSetOutcome EcsClient::deleteStorageSet(const DeleteStorageSetRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -3219,6 +3543,42 @@ EcsClient::DeleteVpcOutcomeCallable EcsClient::deleteVpcCallable(const DeleteVpc
return task->get_future();
}
EcsClient::DeregisterManagedInstanceOutcome EcsClient::deregisterManagedInstance(const DeregisterManagedInstanceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeregisterManagedInstanceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeregisterManagedInstanceOutcome(DeregisterManagedInstanceResult(outcome.result()));
else
return DeregisterManagedInstanceOutcome(outcome.error());
}
void EcsClient::deregisterManagedInstanceAsync(const DeregisterManagedInstanceRequest& request, const DeregisterManagedInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deregisterManagedInstance(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::DeregisterManagedInstanceOutcomeCallable EcsClient::deregisterManagedInstanceCallable(const DeregisterManagedInstanceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeregisterManagedInstanceOutcome()>>(
[this, request]()
{
return this->deregisterManagedInstance(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::DescribeAccessPointsOutcome EcsClient::describeAccessPoints(const DescribeAccessPointsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -3291,6 +3651,42 @@ EcsClient::DescribeAccountAttributesOutcomeCallable EcsClient::describeAccountAt
return task->get_future();
}
EcsClient::DescribeActivationsOutcome EcsClient::describeActivations(const DescribeActivationsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeActivationsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeActivationsOutcome(DescribeActivationsResult(outcome.result()));
else
return DescribeActivationsOutcome(outcome.error());
}
void EcsClient::describeActivationsAsync(const DescribeActivationsRequest& request, const DescribeActivationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeActivations(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::DescribeActivationsOutcomeCallable EcsClient::describeActivationsCallable(const DescribeActivationsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeActivationsOutcome()>>(
[this, request]()
{
return this->describeActivations(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::DescribeAutoProvisioningGroupHistoryOutcome EcsClient::describeAutoProvisioningGroupHistory(const DescribeAutoProvisioningGroupHistoryRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -4407,6 +4803,42 @@ EcsClient::DescribeHpcClustersOutcomeCallable EcsClient::describeHpcClustersCall
return task->get_future();
}
EcsClient::DescribeImageComponentsOutcome EcsClient::describeImageComponents(const DescribeImageComponentsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeImageComponentsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeImageComponentsOutcome(DescribeImageComponentsResult(outcome.result()));
else
return DescribeImageComponentsOutcome(outcome.error());
}
void EcsClient::describeImageComponentsAsync(const DescribeImageComponentsRequest& request, const DescribeImageComponentsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeImageComponents(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::DescribeImageComponentsOutcomeCallable EcsClient::describeImageComponentsCallable(const DescribeImageComponentsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeImageComponentsOutcome()>>(
[this, request]()
{
return this->describeImageComponents(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::DescribeImageFromFamilyOutcome EcsClient::describeImageFromFamily(const DescribeImageFromFamilyRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -4443,6 +4875,78 @@ EcsClient::DescribeImageFromFamilyOutcomeCallable EcsClient::describeImageFromFa
return task->get_future();
}
EcsClient::DescribeImagePipelineExecutionsOutcome EcsClient::describeImagePipelineExecutions(const DescribeImagePipelineExecutionsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeImagePipelineExecutionsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeImagePipelineExecutionsOutcome(DescribeImagePipelineExecutionsResult(outcome.result()));
else
return DescribeImagePipelineExecutionsOutcome(outcome.error());
}
void EcsClient::describeImagePipelineExecutionsAsync(const DescribeImagePipelineExecutionsRequest& request, const DescribeImagePipelineExecutionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeImagePipelineExecutions(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::DescribeImagePipelineExecutionsOutcomeCallable EcsClient::describeImagePipelineExecutionsCallable(const DescribeImagePipelineExecutionsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeImagePipelineExecutionsOutcome()>>(
[this, request]()
{
return this->describeImagePipelineExecutions(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::DescribeImagePipelinesOutcome EcsClient::describeImagePipelines(const DescribeImagePipelinesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeImagePipelinesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeImagePipelinesOutcome(DescribeImagePipelinesResult(outcome.result()));
else
return DescribeImagePipelinesOutcome(outcome.error());
}
void EcsClient::describeImagePipelinesAsync(const DescribeImagePipelinesRequest& request, const DescribeImagePipelinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeImagePipelines(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::DescribeImagePipelinesOutcomeCallable EcsClient::describeImagePipelinesCallable(const DescribeImagePipelinesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeImagePipelinesOutcome()>>(
[this, request]()
{
return this->describeImagePipelines(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::DescribeImageSharePermissionOutcome EcsClient::describeImageSharePermission(const DescribeImageSharePermissionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -5307,6 +5811,42 @@ EcsClient::DescribeLimitationOutcomeCallable EcsClient::describeLimitationCallab
return task->get_future();
}
EcsClient::DescribeManagedInstancesOutcome EcsClient::describeManagedInstances(const DescribeManagedInstancesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeManagedInstancesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeManagedInstancesOutcome(DescribeManagedInstancesResult(outcome.result()));
else
return DescribeManagedInstancesOutcome(outcome.error());
}
void EcsClient::describeManagedInstancesAsync(const DescribeManagedInstancesRequest& request, const DescribeManagedInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeManagedInstances(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::DescribeManagedInstancesOutcomeCallable EcsClient::describeManagedInstancesCallable(const DescribeManagedInstancesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeManagedInstancesOutcome()>>(
[this, request]()
{
return this->describeManagedInstances(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::DescribeNatGatewaysOutcome EcsClient::describeNatGateways(const DescribeNatGatewaysRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -5991,6 +6531,42 @@ EcsClient::DescribeSendFileResultsOutcomeCallable EcsClient::describeSendFileRes
return task->get_future();
}
EcsClient::DescribeSnapshotGroupsOutcome EcsClient::describeSnapshotGroups(const DescribeSnapshotGroupsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeSnapshotGroupsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeSnapshotGroupsOutcome(DescribeSnapshotGroupsResult(outcome.result()));
else
return DescribeSnapshotGroupsOutcome(outcome.error());
}
void EcsClient::describeSnapshotGroupsAsync(const DescribeSnapshotGroupsRequest& request, const DescribeSnapshotGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeSnapshotGroups(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::DescribeSnapshotGroupsOutcomeCallable EcsClient::describeSnapshotGroupsCallable(const DescribeSnapshotGroupsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeSnapshotGroupsOutcome()>>(
[this, request]()
{
return this->describeSnapshotGroups(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::DescribeSnapshotLinksOutcome EcsClient::describeSnapshotLinks(const DescribeSnapshotLinksRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -6927,6 +7503,42 @@ EcsClient::DetachNetworkInterfaceOutcomeCallable EcsClient::detachNetworkInterfa
return task->get_future();
}
EcsClient::DisableActivationOutcome EcsClient::disableActivation(const DisableActivationRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DisableActivationOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DisableActivationOutcome(DisableActivationResult(outcome.result()));
else
return DisableActivationOutcome(outcome.error());
}
void EcsClient::disableActivationAsync(const DisableActivationRequest& request, const DisableActivationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, disableActivation(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::DisableActivationOutcomeCallable EcsClient::disableActivationCallable(const DisableActivationRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DisableActivationOutcome()>>(
[this, request]()
{
return this->disableActivation(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::EipFillParamsOutcome EcsClient::eipFillParams(const EipFillParamsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -8871,6 +9483,42 @@ EcsClient::ModifyLaunchTemplateDefaultVersionOutcomeCallable EcsClient::modifyLa
return task->get_future();
}
EcsClient::ModifyManagedInstanceOutcome EcsClient::modifyManagedInstance(const ModifyManagedInstanceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyManagedInstanceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ModifyManagedInstanceOutcome(ModifyManagedInstanceResult(outcome.result()));
else
return ModifyManagedInstanceOutcome(outcome.error());
}
void EcsClient::modifyManagedInstanceAsync(const ModifyManagedInstanceRequest& request, const ModifyManagedInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, modifyManagedInstance(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::ModifyManagedInstanceOutcomeCallable EcsClient::modifyManagedInstanceCallable(const ModifyManagedInstanceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ModifyManagedInstanceOutcome()>>(
[this, request]()
{
return this->modifyManagedInstance(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::ModifyNetworkInterfaceAttributeOutcome EcsClient::modifyNetworkInterfaceAttribute(const ModifyNetworkInterfaceAttributeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -9303,6 +9951,42 @@ EcsClient::ModifySnapshotAttributeOutcomeCallable EcsClient::modifySnapshotAttri
return task->get_future();
}
EcsClient::ModifySnapshotGroupOutcome EcsClient::modifySnapshotGroup(const ModifySnapshotGroupRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifySnapshotGroupOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ModifySnapshotGroupOutcome(ModifySnapshotGroupResult(outcome.result()));
else
return ModifySnapshotGroupOutcome(outcome.error());
}
void EcsClient::modifySnapshotGroupAsync(const ModifySnapshotGroupRequest& request, const ModifySnapshotGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, modifySnapshotGroup(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::ModifySnapshotGroupOutcomeCallable EcsClient::modifySnapshotGroupCallable(const ModifySnapshotGroupRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ModifySnapshotGroupOutcome()>>(
[this, request]()
{
return this->modifySnapshotGroup(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::ModifyStorageCapacityUnitAttributeOutcome EcsClient::modifyStorageCapacityUnitAttribute(const ModifyStorageCapacityUnitAttributeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -10275,6 +10959,42 @@ EcsClient::ResetDiskOutcomeCallable EcsClient::resetDiskCallable(const ResetDisk
return task->get_future();
}
EcsClient::ResetDisksOutcome EcsClient::resetDisks(const ResetDisksRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ResetDisksOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ResetDisksOutcome(ResetDisksResult(outcome.result()));
else
return ResetDisksOutcome(outcome.error());
}
void EcsClient::resetDisksAsync(const ResetDisksRequest& request, const ResetDisksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, resetDisks(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::ResetDisksOutcomeCallable EcsClient::resetDisksCallable(const ResetDisksRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ResetDisksOutcome()>>(
[this, request]()
{
return this->resetDisks(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::ResizeDiskOutcome EcsClient::resizeDisk(const ResizeDiskRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -10527,6 +11247,42 @@ EcsClient::StartElasticityAssuranceOutcomeCallable EcsClient::startElasticityAss
return task->get_future();
}
EcsClient::StartImagePipelineExecutionOutcome EcsClient::startImagePipelineExecution(const StartImagePipelineExecutionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return StartImagePipelineExecutionOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return StartImagePipelineExecutionOutcome(StartImagePipelineExecutionResult(outcome.result()));
else
return StartImagePipelineExecutionOutcome(outcome.error());
}
void EcsClient::startImagePipelineExecutionAsync(const StartImagePipelineExecutionRequest& request, const StartImagePipelineExecutionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, startImagePipelineExecution(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::StartImagePipelineExecutionOutcomeCallable EcsClient::startImagePipelineExecutionCallable(const StartImagePipelineExecutionRequest &request) const
{
auto task = std::make_shared<std::packaged_task<StartImagePipelineExecutionOutcome()>>(
[this, request]()
{
return this->startImagePipelineExecution(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::StartInstanceOutcome EcsClient::startInstance(const StartInstanceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,111 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/ecs/model/CancelImagePipelineExecutionRequest.h>
using AlibabaCloud::Ecs::Model::CancelImagePipelineExecutionRequest;
CancelImagePipelineExecutionRequest::CancelImagePipelineExecutionRequest() :
RpcServiceRequest("ecs", "2014-05-26", "CancelImagePipelineExecution")
{
setMethod(HttpRequest::Method::Post);
}
CancelImagePipelineExecutionRequest::~CancelImagePipelineExecutionRequest()
{}
long CancelImagePipelineExecutionRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CancelImagePipelineExecutionRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CancelImagePipelineExecutionRequest::getExecutionId()const
{
return executionId_;
}
void CancelImagePipelineExecutionRequest::setExecutionId(const std::string& executionId)
{
executionId_ = executionId;
setParameter("ExecutionId", executionId);
}
std::string CancelImagePipelineExecutionRequest::getRegionId()const
{
return regionId_;
}
void CancelImagePipelineExecutionRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::vector<CancelImagePipelineExecutionRequest::TemplateTag> CancelImagePipelineExecutionRequest::getTemplateTag()const
{
return templateTag_;
}
void CancelImagePipelineExecutionRequest::setTemplateTag(const std::vector<TemplateTag>& templateTag)
{
templateTag_ = templateTag;
for(int dep1 = 0; dep1!= templateTag.size(); dep1++) {
auto templateTagObj = templateTag.at(dep1);
std::string templateTagObjStr = "TemplateTag." + std::to_string(dep1 + 1);
setParameter(templateTagObjStr + ".Key", templateTagObj.key);
setParameter(templateTagObjStr + ".Value", templateTagObj.value);
}
}
std::string CancelImagePipelineExecutionRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void CancelImagePipelineExecutionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CancelImagePipelineExecutionRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void CancelImagePipelineExecutionRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long CancelImagePipelineExecutionRequest::getOwnerId()const
{
return ownerId_;
}
void CancelImagePipelineExecutionRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

View File

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

View File

@@ -0,0 +1,139 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ecs/model/CreateActivationRequest.h>
using AlibabaCloud::Ecs::Model::CreateActivationRequest;
CreateActivationRequest::CreateActivationRequest() :
RpcServiceRequest("ecs", "2014-05-26", "CreateActivation")
{
setMethod(HttpRequest::Method::Post);
}
CreateActivationRequest::~CreateActivationRequest()
{}
long CreateActivationRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CreateActivationRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateActivationRequest::getDescription()const
{
return description_;
}
void CreateActivationRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
}
std::string CreateActivationRequest::getRegionId()const
{
return regionId_;
}
void CreateActivationRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
int CreateActivationRequest::getInstanceCount()const
{
return instanceCount_;
}
void CreateActivationRequest::setInstanceCount(int instanceCount)
{
instanceCount_ = instanceCount;
setParameter("InstanceCount", std::to_string(instanceCount));
}
std::string CreateActivationRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void CreateActivationRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateActivationRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void CreateActivationRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long CreateActivationRequest::getOwnerId()const
{
return ownerId_;
}
void CreateActivationRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateActivationRequest::getInstanceName()const
{
return instanceName_;
}
void CreateActivationRequest::setInstanceName(const std::string& instanceName)
{
instanceName_ = instanceName;
setParameter("InstanceName", instanceName);
}
long CreateActivationRequest::getTimeToLiveInHours()const
{
return timeToLiveInHours_;
}
void CreateActivationRequest::setTimeToLiveInHours(long timeToLiveInHours)
{
timeToLiveInHours_ = timeToLiveInHours;
setParameter("TimeToLiveInHours", std::to_string(timeToLiveInHours));
}
std::string CreateActivationRequest::getIpAddressRange()const
{
return ipAddressRange_;
}
void CreateActivationRequest::setIpAddressRange(const std::string& ipAddressRange)
{
ipAddressRange_ = ipAddressRange;
setParameter("IpAddressRange", ipAddressRange);
}

View File

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

View File

@@ -41,9 +41,16 @@ void CreateDiskResult::parse(const std::string &payload)
setRequestId(value["RequestId"].asString());
if(!value["DiskId"].isNull())
diskId_ = value["DiskId"].asString();
if(!value["OrderId"].isNull())
orderId_ = value["OrderId"].asString();
}
std::string CreateDiskResult::getOrderId()const
{
return orderId_;
}
std::string CreateDiskResult::getDiskId()const
{
return diskId_;

View File

@@ -0,0 +1,177 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ecs/model/CreateImageComponentRequest.h>
using AlibabaCloud::Ecs::Model::CreateImageComponentRequest;
CreateImageComponentRequest::CreateImageComponentRequest() :
RpcServiceRequest("ecs", "2014-05-26", "CreateImageComponent")
{
setMethod(HttpRequest::Method::Post);
}
CreateImageComponentRequest::~CreateImageComponentRequest()
{}
long CreateImageComponentRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CreateImageComponentRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateImageComponentRequest::getClientToken()const
{
return clientToken_;
}
void CreateImageComponentRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
std::string CreateImageComponentRequest::getDescription()const
{
return description_;
}
void CreateImageComponentRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
}
std::string CreateImageComponentRequest::getSystemType()const
{
return systemType_;
}
void CreateImageComponentRequest::setSystemType(const std::string& systemType)
{
systemType_ = systemType;
setParameter("SystemType", systemType);
}
std::string CreateImageComponentRequest::getContent()const
{
return content_;
}
void CreateImageComponentRequest::setContent(const std::string& content)
{
content_ = content;
setParameter("Content", content);
}
std::string CreateImageComponentRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void CreateImageComponentRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateImageComponentRequest::getRegionId()const
{
return regionId_;
}
void CreateImageComponentRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::vector<CreateImageComponentRequest::Tag> CreateImageComponentRequest::getTag()const
{
return tag_;
}
void CreateImageComponentRequest::setTag(const std::vector<Tag>& tag)
{
tag_ = tag;
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
auto tagObj = tag.at(dep1);
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
setParameter(tagObjStr + ".Key", tagObj.key);
setParameter(tagObjStr + ".Value", tagObj.value);
}
}
std::string CreateImageComponentRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void CreateImageComponentRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateImageComponentRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void CreateImageComponentRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long CreateImageComponentRequest::getOwnerId()const
{
return ownerId_;
}
void CreateImageComponentRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateImageComponentRequest::getComponentType()const
{
return componentType_;
}
void CreateImageComponentRequest::setComponentType(const std::string& componentType)
{
componentType_ = componentType;
setParameter("ComponentType", componentType);
}
std::string CreateImageComponentRequest::getName()const
{
return name_;
}
void CreateImageComponentRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}

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/ecs/model/CreateImageComponentResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ecs;
using namespace AlibabaCloud::Ecs::Model;
CreateImageComponentResult::CreateImageComponentResult() :
ServiceResult()
{}
CreateImageComponentResult::CreateImageComponentResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateImageComponentResult::~CreateImageComponentResult()
{}
void CreateImageComponentResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ImageComponentId"].isNull())
imageComponentId_ = value["ImageComponentId"].asString();
}
std::string CreateImageComponentResult::getImageComponentId()const
{
return imageComponentId_;
}

View File

@@ -0,0 +1,269 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/ecs/model/CreateImagePipelineRequest.h>
using AlibabaCloud::Ecs::Model::CreateImagePipelineRequest;
CreateImagePipelineRequest::CreateImagePipelineRequest() :
RpcServiceRequest("ecs", "2014-05-26", "CreateImagePipeline")
{
setMethod(HttpRequest::Method::Post);
}
CreateImagePipelineRequest::~CreateImagePipelineRequest()
{}
std::string CreateImagePipelineRequest::getBaseImageType()const
{
return baseImageType_;
}
void CreateImagePipelineRequest::setBaseImageType(const std::string& baseImageType)
{
baseImageType_ = baseImageType;
setParameter("BaseImageType", baseImageType);
}
long CreateImagePipelineRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CreateImagePipelineRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateImagePipelineRequest::getClientToken()const
{
return clientToken_;
}
void CreateImagePipelineRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
std::vector<std::string> CreateImagePipelineRequest::getToRegionId()const
{
return toRegionId_;
}
void CreateImagePipelineRequest::setToRegionId(const std::vector<std::string>& toRegionId)
{
toRegionId_ = toRegionId;
for(int dep1 = 0; dep1!= toRegionId.size(); dep1++) {
setParameter("ToRegionId."+ std::to_string(dep1), toRegionId.at(dep1));
}
}
int CreateImagePipelineRequest::getInternetMaxBandwidthOut()const
{
return internetMaxBandwidthOut_;
}
void CreateImagePipelineRequest::setInternetMaxBandwidthOut(int internetMaxBandwidthOut)
{
internetMaxBandwidthOut_ = internetMaxBandwidthOut;
setParameter("InternetMaxBandwidthOut", std::to_string(internetMaxBandwidthOut));
}
std::string CreateImagePipelineRequest::getDescription()const
{
return description_;
}
void CreateImagePipelineRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
}
std::string CreateImagePipelineRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void CreateImagePipelineRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateImagePipelineRequest::getRegionId()const
{
return regionId_;
}
void CreateImagePipelineRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string CreateImagePipelineRequest::getImageName()const
{
return imageName_;
}
void CreateImagePipelineRequest::setImageName(const std::string& imageName)
{
imageName_ = imageName;
setParameter("ImageName", imageName);
}
int CreateImagePipelineRequest::getSystemDiskSize()const
{
return systemDiskSize_;
}
void CreateImagePipelineRequest::setSystemDiskSize(int systemDiskSize)
{
systemDiskSize_ = systemDiskSize;
setParameter("SystemDiskSize", std::to_string(systemDiskSize));
}
std::string CreateImagePipelineRequest::getInstanceType()const
{
return instanceType_;
}
void CreateImagePipelineRequest::setInstanceType(const std::string& instanceType)
{
instanceType_ = instanceType;
setParameter("InstanceType", instanceType);
}
std::vector<CreateImagePipelineRequest::Tag> CreateImagePipelineRequest::getTag()const
{
return tag_;
}
void CreateImagePipelineRequest::setTag(const std::vector<Tag>& tag)
{
tag_ = tag;
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
auto tagObj = tag.at(dep1);
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
setParameter(tagObjStr + ".Key", tagObj.key);
setParameter(tagObjStr + ".Value", tagObj.value);
}
}
std::string CreateImagePipelineRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void CreateImagePipelineRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateImagePipelineRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void CreateImagePipelineRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long CreateImagePipelineRequest::getOwnerId()const
{
return ownerId_;
}
void CreateImagePipelineRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateImagePipelineRequest::getBaseImage()const
{
return baseImage_;
}
void CreateImagePipelineRequest::setBaseImage(const std::string& baseImage)
{
baseImage_ = baseImage;
setParameter("BaseImage", baseImage);
}
std::string CreateImagePipelineRequest::getVSwitchId()const
{
return vSwitchId_;
}
void CreateImagePipelineRequest::setVSwitchId(const std::string& vSwitchId)
{
vSwitchId_ = vSwitchId;
setParameter("VSwitchId", vSwitchId);
}
std::vector<long> CreateImagePipelineRequest::getAddAccount()const
{
return addAccount_;
}
void CreateImagePipelineRequest::setAddAccount(const std::vector<long>& addAccount)
{
addAccount_ = addAccount;
for(int dep1 = 0; dep1!= addAccount.size(); dep1++) {
setParameter("AddAccount."+ std::to_string(dep1), std::to_string(addAccount.at(dep1)));
}
}
bool CreateImagePipelineRequest::getDeleteInstanceOnFailure()const
{
return deleteInstanceOnFailure_;
}
void CreateImagePipelineRequest::setDeleteInstanceOnFailure(bool deleteInstanceOnFailure)
{
deleteInstanceOnFailure_ = deleteInstanceOnFailure;
setParameter("DeleteInstanceOnFailure", deleteInstanceOnFailure ? "true" : "false");
}
std::string CreateImagePipelineRequest::getName()const
{
return name_;
}
void CreateImagePipelineRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}
std::string CreateImagePipelineRequest::getBuildContent()const
{
return buildContent_;
}
void CreateImagePipelineRequest::setBuildContent(const std::string& buildContent)
{
buildContent_ = buildContent;
setParameter("BuildContent", buildContent);
}

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/ecs/model/CreateImagePipelineResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ecs;
using namespace AlibabaCloud::Ecs::Model;
CreateImagePipelineResult::CreateImagePipelineResult() :
ServiceResult()
{}
CreateImagePipelineResult::CreateImagePipelineResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateImagePipelineResult::~CreateImagePipelineResult()
{}
void CreateImagePipelineResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ImagePipelineId"].isNull())
imagePipelineId_ = value["ImagePipelineId"].asString();
}
std::string CreateImagePipelineResult::getImagePipelineId()const
{
return imagePipelineId_;
}

View File

@@ -0,0 +1,152 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/ecs/model/CreateSnapshotGroupRequest.h>
using AlibabaCloud::Ecs::Model::CreateSnapshotGroupRequest;
CreateSnapshotGroupRequest::CreateSnapshotGroupRequest() :
RpcServiceRequest("ecs", "2014-05-26", "CreateSnapshotGroup")
{
setMethod(HttpRequest::Method::Post);
}
CreateSnapshotGroupRequest::~CreateSnapshotGroupRequest()
{}
long CreateSnapshotGroupRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CreateSnapshotGroupRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::vector<std::string> CreateSnapshotGroupRequest::getExcludeDiskId()const
{
return excludeDiskId_;
}
void CreateSnapshotGroupRequest::setExcludeDiskId(const std::vector<std::string>& excludeDiskId)
{
excludeDiskId_ = excludeDiskId;
for(int dep1 = 0; dep1!= excludeDiskId.size(); dep1++) {
setParameter("ExcludeDiskId."+ std::to_string(dep1), excludeDiskId.at(dep1));
}
}
bool CreateSnapshotGroupRequest::getInstantAccess()const
{
return instantAccess_;
}
void CreateSnapshotGroupRequest::setInstantAccess(bool instantAccess)
{
instantAccess_ = instantAccess;
setParameter("InstantAccess", instantAccess ? "true" : "false");
}
std::string CreateSnapshotGroupRequest::getDescription()const
{
return description_;
}
void CreateSnapshotGroupRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
}
int CreateSnapshotGroupRequest::getInstantAccessRetentionDays()const
{
return instantAccessRetentionDays_;
}
void CreateSnapshotGroupRequest::setInstantAccessRetentionDays(int instantAccessRetentionDays)
{
instantAccessRetentionDays_ = instantAccessRetentionDays;
setParameter("InstantAccessRetentionDays", std::to_string(instantAccessRetentionDays));
}
std::string CreateSnapshotGroupRequest::getRegionId()const
{
return regionId_;
}
void CreateSnapshotGroupRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string CreateSnapshotGroupRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void CreateSnapshotGroupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateSnapshotGroupRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void CreateSnapshotGroupRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long CreateSnapshotGroupRequest::getOwnerId()const
{
return ownerId_;
}
void CreateSnapshotGroupRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateSnapshotGroupRequest::getInstanceId()const
{
return instanceId_;
}
void CreateSnapshotGroupRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
}
std::string CreateSnapshotGroupRequest::getName()const
{
return name_;
}
void CreateSnapshotGroupRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}

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/ecs/model/CreateSnapshotGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ecs;
using namespace AlibabaCloud::Ecs::Model;
CreateSnapshotGroupResult::CreateSnapshotGroupResult() :
ServiceResult()
{}
CreateSnapshotGroupResult::CreateSnapshotGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateSnapshotGroupResult::~CreateSnapshotGroupResult()
{}
void CreateSnapshotGroupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["SnapshotGroupId"].isNull())
snapshotGroupId_ = value["SnapshotGroupId"].asString();
}
std::string CreateSnapshotGroupResult::getSnapshotGroupId()const
{
return snapshotGroupId_;
}

View File

@@ -0,0 +1,95 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ecs/model/DeleteActivationRequest.h>
using AlibabaCloud::Ecs::Model::DeleteActivationRequest;
DeleteActivationRequest::DeleteActivationRequest() :
RpcServiceRequest("ecs", "2014-05-26", "DeleteActivation")
{
setMethod(HttpRequest::Method::Post);
}
DeleteActivationRequest::~DeleteActivationRequest()
{}
long DeleteActivationRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DeleteActivationRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteActivationRequest::getRegionId()const
{
return regionId_;
}
void DeleteActivationRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string DeleteActivationRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DeleteActivationRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteActivationRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DeleteActivationRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long DeleteActivationRequest::getOwnerId()const
{
return ownerId_;
}
void DeleteActivationRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeleteActivationRequest::getActivationId()const
{
return activationId_;
}
void DeleteActivationRequest::setActivationId(const std::string& activationId)
{
activationId_ = activationId;
setParameter("ActivationId", activationId);
}

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.
*/
#include <alibabacloud/ecs/model/DeleteActivationResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ecs;
using namespace AlibabaCloud::Ecs::Model;
DeleteActivationResult::DeleteActivationResult() :
ServiceResult()
{}
DeleteActivationResult::DeleteActivationResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteActivationResult::~DeleteActivationResult()
{}
void DeleteActivationResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto activationNode = value["Activation"];
if(!activationNode["ActivationId"].isNull())
activation_.activationId = activationNode["ActivationId"].asString();
if(!activationNode["InstanceName"].isNull())
activation_.instanceName = activationNode["InstanceName"].asString();
if(!activationNode["Description"].isNull())
activation_.description = activationNode["Description"].asString();
if(!activationNode["InstanceCount"].isNull())
activation_.instanceCount = std::stoi(activationNode["InstanceCount"].asString());
if(!activationNode["TimeToLiveInHours"].isNull())
activation_.timeToLiveInHours = std::stol(activationNode["TimeToLiveInHours"].asString());
if(!activationNode["IpAddressRange"].isNull())
activation_.ipAddressRange = activationNode["IpAddressRange"].asString();
if(!activationNode["RegisteredCount"].isNull())
activation_.registeredCount = std::stoi(activationNode["RegisteredCount"].asString());
if(!activationNode["DeregisteredCount"].isNull())
activation_.deregisteredCount = std::stoi(activationNode["DeregisteredCount"].asString());
if(!activationNode["CreationTime"].isNull())
activation_.creationTime = activationNode["CreationTime"].asString();
}
DeleteActivationResult::Activation DeleteActivationResult::getActivation()const
{
return activation_;
}

View File

@@ -0,0 +1,111 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/ecs/model/DeleteImageComponentRequest.h>
using AlibabaCloud::Ecs::Model::DeleteImageComponentRequest;
DeleteImageComponentRequest::DeleteImageComponentRequest() :
RpcServiceRequest("ecs", "2014-05-26", "DeleteImageComponent")
{
setMethod(HttpRequest::Method::Post);
}
DeleteImageComponentRequest::~DeleteImageComponentRequest()
{}
long DeleteImageComponentRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DeleteImageComponentRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteImageComponentRequest::getImageComponentId()const
{
return imageComponentId_;
}
void DeleteImageComponentRequest::setImageComponentId(const std::string& imageComponentId)
{
imageComponentId_ = imageComponentId;
setParameter("ImageComponentId", imageComponentId);
}
std::string DeleteImageComponentRequest::getRegionId()const
{
return regionId_;
}
void DeleteImageComponentRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::vector<DeleteImageComponentRequest::TemplateTag> DeleteImageComponentRequest::getTemplateTag()const
{
return templateTag_;
}
void DeleteImageComponentRequest::setTemplateTag(const std::vector<TemplateTag>& templateTag)
{
templateTag_ = templateTag;
for(int dep1 = 0; dep1!= templateTag.size(); dep1++) {
auto templateTagObj = templateTag.at(dep1);
std::string templateTagObjStr = "TemplateTag." + std::to_string(dep1 + 1);
setParameter(templateTagObjStr + ".Key", templateTagObj.key);
setParameter(templateTagObjStr + ".Value", templateTagObj.value);
}
}
std::string DeleteImageComponentRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DeleteImageComponentRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteImageComponentRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DeleteImageComponentRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long DeleteImageComponentRequest::getOwnerId()const
{
return ownerId_;
}
void DeleteImageComponentRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

View File

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

View File

@@ -0,0 +1,111 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/ecs/model/DeleteImagePipelineRequest.h>
using AlibabaCloud::Ecs::Model::DeleteImagePipelineRequest;
DeleteImagePipelineRequest::DeleteImagePipelineRequest() :
RpcServiceRequest("ecs", "2014-05-26", "DeleteImagePipeline")
{
setMethod(HttpRequest::Method::Post);
}
DeleteImagePipelineRequest::~DeleteImagePipelineRequest()
{}
std::string DeleteImagePipelineRequest::getImagePipelineId()const
{
return imagePipelineId_;
}
void DeleteImagePipelineRequest::setImagePipelineId(const std::string& imagePipelineId)
{
imagePipelineId_ = imagePipelineId;
setParameter("ImagePipelineId", imagePipelineId);
}
long DeleteImagePipelineRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DeleteImagePipelineRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteImagePipelineRequest::getRegionId()const
{
return regionId_;
}
void DeleteImagePipelineRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::vector<DeleteImagePipelineRequest::TemplateTag> DeleteImagePipelineRequest::getTemplateTag()const
{
return templateTag_;
}
void DeleteImagePipelineRequest::setTemplateTag(const std::vector<TemplateTag>& templateTag)
{
templateTag_ = templateTag;
for(int dep1 = 0; dep1!= templateTag.size(); dep1++) {
auto templateTagObj = templateTag.at(dep1);
std::string templateTagObjStr = "TemplateTag." + std::to_string(dep1 + 1);
setParameter(templateTagObjStr + ".Key", templateTagObj.key);
setParameter(templateTagObjStr + ".Value", templateTagObj.value);
}
}
std::string DeleteImagePipelineRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DeleteImagePipelineRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteImagePipelineRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DeleteImagePipelineRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long DeleteImagePipelineRequest::getOwnerId()const
{
return ownerId_;
}
void DeleteImagePipelineRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

View File

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

View File

@@ -0,0 +1,95 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ecs/model/DeleteSnapshotGroupRequest.h>
using AlibabaCloud::Ecs::Model::DeleteSnapshotGroupRequest;
DeleteSnapshotGroupRequest::DeleteSnapshotGroupRequest() :
RpcServiceRequest("ecs", "2014-05-26", "DeleteSnapshotGroup")
{
setMethod(HttpRequest::Method::Post);
}
DeleteSnapshotGroupRequest::~DeleteSnapshotGroupRequest()
{}
long DeleteSnapshotGroupRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DeleteSnapshotGroupRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteSnapshotGroupRequest::getRegionId()const
{
return regionId_;
}
void DeleteSnapshotGroupRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string DeleteSnapshotGroupRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DeleteSnapshotGroupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteSnapshotGroupRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DeleteSnapshotGroupRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
std::string DeleteSnapshotGroupRequest::getSnapshotGroupId()const
{
return snapshotGroupId_;
}
void DeleteSnapshotGroupRequest::setSnapshotGroupId(const std::string& snapshotGroupId)
{
snapshotGroupId_ = snapshotGroupId;
setParameter("SnapshotGroupId", snapshotGroupId);
}
long DeleteSnapshotGroupRequest::getOwnerId()const
{
return ownerId_;
}
void DeleteSnapshotGroupRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ecs/model/DeleteSnapshotGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ecs;
using namespace AlibabaCloud::Ecs::Model;
DeleteSnapshotGroupResult::DeleteSnapshotGroupResult() :
ServiceResult()
{}
DeleteSnapshotGroupResult::DeleteSnapshotGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteSnapshotGroupResult::~DeleteSnapshotGroupResult()
{}
void DeleteSnapshotGroupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allOperationProgressSetNode = value["OperationProgressSet"]["OperationProgress"];
for (auto valueOperationProgressSetOperationProgress : allOperationProgressSetNode)
{
OperationProgress operationProgressSetObject;
if(!valueOperationProgressSetOperationProgress["OperationStatus"].isNull())
operationProgressSetObject.operationStatus = valueOperationProgressSetOperationProgress["OperationStatus"].asString();
if(!valueOperationProgressSetOperationProgress["ErrorCode"].isNull())
operationProgressSetObject.errorCode = valueOperationProgressSetOperationProgress["ErrorCode"].asString();
if(!valueOperationProgressSetOperationProgress["ErrorMsg"].isNull())
operationProgressSetObject.errorMsg = valueOperationProgressSetOperationProgress["ErrorMsg"].asString();
auto allRelatedItemSetNode = valueOperationProgressSetOperationProgress["RelatedItemSet"]["RelatedItem"];
for (auto valueOperationProgressSetOperationProgressRelatedItemSetRelatedItem : allRelatedItemSetNode)
{
OperationProgress::RelatedItem relatedItemSetObject;
if(!valueOperationProgressSetOperationProgressRelatedItemSetRelatedItem["Name"].isNull())
relatedItemSetObject.name = valueOperationProgressSetOperationProgressRelatedItemSetRelatedItem["Name"].asString();
if(!valueOperationProgressSetOperationProgressRelatedItemSetRelatedItem["Value"].isNull())
relatedItemSetObject.value = valueOperationProgressSetOperationProgressRelatedItemSetRelatedItem["Value"].asString();
operationProgressSetObject.relatedItemSet.push_back(relatedItemSetObject);
}
operationProgressSet_.push_back(operationProgressSetObject);
}
}
std::vector<DeleteSnapshotGroupResult::OperationProgress> DeleteSnapshotGroupResult::getOperationProgressSet()const
{
return operationProgressSet_;
}

View File

@@ -0,0 +1,95 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ecs/model/DeregisterManagedInstanceRequest.h>
using AlibabaCloud::Ecs::Model::DeregisterManagedInstanceRequest;
DeregisterManagedInstanceRequest::DeregisterManagedInstanceRequest() :
RpcServiceRequest("ecs", "2014-05-26", "DeregisterManagedInstance")
{
setMethod(HttpRequest::Method::Post);
}
DeregisterManagedInstanceRequest::~DeregisterManagedInstanceRequest()
{}
long DeregisterManagedInstanceRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DeregisterManagedInstanceRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeregisterManagedInstanceRequest::getRegionId()const
{
return regionId_;
}
void DeregisterManagedInstanceRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string DeregisterManagedInstanceRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DeregisterManagedInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeregisterManagedInstanceRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DeregisterManagedInstanceRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long DeregisterManagedInstanceRequest::getOwnerId()const
{
return ownerId_;
}
void DeregisterManagedInstanceRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeregisterManagedInstanceRequest::getInstanceId()const
{
return instanceId_;
}
void DeregisterManagedInstanceRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
}

View File

@@ -0,0 +1,76 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ecs/model/DeregisterManagedInstanceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ecs;
using namespace AlibabaCloud::Ecs::Model;
DeregisterManagedInstanceResult::DeregisterManagedInstanceResult() :
ServiceResult()
{}
DeregisterManagedInstanceResult::DeregisterManagedInstanceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeregisterManagedInstanceResult::~DeregisterManagedInstanceResult()
{}
void DeregisterManagedInstanceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto instanceNode = value["Instance"];
if(!instanceNode["InstanceId"].isNull())
instance_.instanceId = instanceNode["InstanceId"].asString();
if(!instanceNode["InstanceName"].isNull())
instance_.instanceName = instanceNode["InstanceName"].asString();
if(!instanceNode["ActivationId"].isNull())
instance_.activationId = instanceNode["ActivationId"].asString();
if(!instanceNode["Hostname"].isNull())
instance_.hostname = instanceNode["Hostname"].asString();
if(!instanceNode["MachineId"].isNull())
instance_.machineId = instanceNode["MachineId"].asString();
if(!instanceNode["OsType"].isNull())
instance_.osType = instanceNode["OsType"].asString();
if(!instanceNode["OsVersion"].isNull())
instance_.osVersion = instanceNode["OsVersion"].asString();
if(!instanceNode["IntranetIp"].isNull())
instance_.intranetIp = instanceNode["IntranetIp"].asString();
if(!instanceNode["InternetIp"].isNull())
instance_.internetIp = instanceNode["InternetIp"].asString();
if(!instanceNode["AgentVersion"].isNull())
instance_.agentVersion = instanceNode["AgentVersion"].asString();
if(!instanceNode["RegistrationTime"].isNull())
instance_.registrationTime = instanceNode["RegistrationTime"].asString();
if(!instanceNode["InvocationCount"].isNull())
instance_.invocationCount = std::stol(instanceNode["InvocationCount"].asString());
if(!instanceNode["LastInvokedTime"].isNull())
instance_.lastInvokedTime = instanceNode["LastInvokedTime"].asString();
}
DeregisterManagedInstanceResult::Instance DeregisterManagedInstanceResult::getInstance()const
{
return instance_;
}

View File

@@ -0,0 +1,128 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/ecs/model/DescribeActivationsRequest.h>
using AlibabaCloud::Ecs::Model::DescribeActivationsRequest;
DescribeActivationsRequest::DescribeActivationsRequest() :
RpcServiceRequest("ecs", "2014-05-26", "DescribeActivations")
{
setMethod(HttpRequest::Method::Post);
}
DescribeActivationsRequest::~DescribeActivationsRequest()
{}
long DescribeActivationsRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeActivationsRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
long DescribeActivationsRequest::getPageNumber()const
{
return pageNumber_;
}
void DescribeActivationsRequest::setPageNumber(long pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string DescribeActivationsRequest::getRegionId()const
{
return regionId_;
}
void DescribeActivationsRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
long DescribeActivationsRequest::getPageSize()const
{
return pageSize_;
}
void DescribeActivationsRequest::setPageSize(long pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string DescribeActivationsRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DescribeActivationsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DescribeActivationsRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DescribeActivationsRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long DescribeActivationsRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeActivationsRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DescribeActivationsRequest::getInstanceName()const
{
return instanceName_;
}
void DescribeActivationsRequest::setInstanceName(const std::string& instanceName)
{
instanceName_ = instanceName;
setParameter("InstanceName", instanceName);
}
std::string DescribeActivationsRequest::getActivationId()const
{
return activationId_;
}
void DescribeActivationsRequest::setActivationId(const std::string& activationId)
{
activationId_ = activationId;
setParameter("ActivationId", activationId);
}

View File

@@ -0,0 +1,96 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ecs/model/DescribeActivationsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ecs;
using namespace AlibabaCloud::Ecs::Model;
DescribeActivationsResult::DescribeActivationsResult() :
ServiceResult()
{}
DescribeActivationsResult::DescribeActivationsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeActivationsResult::~DescribeActivationsResult()
{}
void DescribeActivationsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allActivationListNode = value["ActivationList"]["Activation"];
for (auto valueActivationListActivation : allActivationListNode)
{
Activation activationListObject;
if(!valueActivationListActivation["ActivationId"].isNull())
activationListObject.activationId = valueActivationListActivation["ActivationId"].asString();
if(!valueActivationListActivation["InstanceName"].isNull())
activationListObject.instanceName = valueActivationListActivation["InstanceName"].asString();
if(!valueActivationListActivation["Description"].isNull())
activationListObject.description = valueActivationListActivation["Description"].asString();
if(!valueActivationListActivation["InstanceCount"].isNull())
activationListObject.instanceCount = std::stoi(valueActivationListActivation["InstanceCount"].asString());
if(!valueActivationListActivation["TimeToLiveInHours"].isNull())
activationListObject.timeToLiveInHours = std::stol(valueActivationListActivation["TimeToLiveInHours"].asString());
if(!valueActivationListActivation["IpAddressRange"].isNull())
activationListObject.ipAddressRange = valueActivationListActivation["IpAddressRange"].asString();
if(!valueActivationListActivation["RegisteredCount"].isNull())
activationListObject.registeredCount = std::stoi(valueActivationListActivation["RegisteredCount"].asString());
if(!valueActivationListActivation["DeregisteredCount"].isNull())
activationListObject.deregisteredCount = std::stoi(valueActivationListActivation["DeregisteredCount"].asString());
if(!valueActivationListActivation["Disabled"].isNull())
activationListObject.disabled = valueActivationListActivation["Disabled"].asString() == "true";
if(!valueActivationListActivation["CreationTime"].isNull())
activationListObject.creationTime = valueActivationListActivation["CreationTime"].asString();
activationList_.push_back(activationListObject);
}
if(!value["TotalCount"].isNull())
totalCount_ = std::stol(value["TotalCount"].asString());
if(!value["PageNumber"].isNull())
pageNumber_ = std::stol(value["PageNumber"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stol(value["PageSize"].asString());
}
long DescribeActivationsResult::getTotalCount()const
{
return totalCount_;
}
long DescribeActivationsResult::getPageSize()const
{
return pageSize_;
}
long DescribeActivationsResult::getPageNumber()const
{
return pageNumber_;
}
std::vector<DescribeActivationsResult::Activation> DescribeActivationsResult::getActivationList()const
{
return activationList_;
}

View File

@@ -93,6 +93,17 @@ void DescribeCommandsRequest::setRegionId(const std::string& regionId)
setParameter("RegionId", regionId);
}
std::string DescribeCommandsRequest::getProvider()const
{
return provider_;
}
void DescribeCommandsRequest::setProvider(const std::string& provider)
{
provider_ = provider;
setParameter("Provider", provider);
}
std::string DescribeCommandsRequest::getContentEncoding()const
{
return contentEncoding_;

View File

@@ -49,6 +49,14 @@ void DescribeCommandsResult::parse(const std::string &payload)
commandsObject.name = valueCommandsCommand["Name"].asString();
if(!valueCommandsCommand["Type"].isNull())
commandsObject.type = valueCommandsCommand["Type"].asString();
if(!valueCommandsCommand["Version"].isNull())
commandsObject.version = std::stoi(valueCommandsCommand["Version"].asString());
if(!valueCommandsCommand["Latest"].isNull())
commandsObject.latest = valueCommandsCommand["Latest"].asString() == "true";
if(!valueCommandsCommand["Provider"].isNull())
commandsObject.provider = valueCommandsCommand["Provider"].asString();
if(!valueCommandsCommand["Category"].isNull())
commandsObject.category = valueCommandsCommand["Category"].asString();
if(!valueCommandsCommand["Description"].isNull())
commandsObject.description = valueCommandsCommand["Description"].asString();
if(!valueCommandsCommand["CommandContent"].isNull())

View File

@@ -0,0 +1,157 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/ecs/model/DescribeImageComponentsRequest.h>
using AlibabaCloud::Ecs::Model::DescribeImageComponentsRequest;
DescribeImageComponentsRequest::DescribeImageComponentsRequest() :
RpcServiceRequest("ecs", "2014-05-26", "DescribeImageComponents")
{
setMethod(HttpRequest::Method::Post);
}
DescribeImageComponentsRequest::~DescribeImageComponentsRequest()
{}
long DescribeImageComponentsRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeImageComponentsRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::vector<std::string> DescribeImageComponentsRequest::getImageComponentId()const
{
return imageComponentId_;
}
void DescribeImageComponentsRequest::setImageComponentId(const std::vector<std::string>& imageComponentId)
{
imageComponentId_ = imageComponentId;
for(int dep1 = 0; dep1!= imageComponentId.size(); dep1++) {
setParameter("ImageComponentId."+ std::to_string(dep1), imageComponentId.at(dep1));
}
}
std::string DescribeImageComponentsRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeImageComponentsRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeImageComponentsRequest::getRegionId()const
{
return regionId_;
}
void DescribeImageComponentsRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string DescribeImageComponentsRequest::getNextToken()const
{
return nextToken_;
}
void DescribeImageComponentsRequest::setNextToken(const std::string& nextToken)
{
nextToken_ = nextToken;
setParameter("NextToken", nextToken);
}
std::vector<DescribeImageComponentsRequest::Tag> DescribeImageComponentsRequest::getTag()const
{
return tag_;
}
void DescribeImageComponentsRequest::setTag(const std::vector<Tag>& tag)
{
tag_ = tag;
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
auto tagObj = tag.at(dep1);
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
setParameter(tagObjStr + ".Key", tagObj.key);
setParameter(tagObjStr + ".Value", tagObj.value);
}
}
std::string DescribeImageComponentsRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DescribeImageComponentsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DescribeImageComponentsRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DescribeImageComponentsRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long DescribeImageComponentsRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeImageComponentsRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DescribeImageComponentsRequest::getName()const
{
return name_;
}
void DescribeImageComponentsRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}
int DescribeImageComponentsRequest::getMaxResults()const
{
return maxResults_;
}
void DescribeImageComponentsRequest::setMaxResults(int maxResults)
{
maxResults_ = maxResults;
setParameter("MaxResults", std::to_string(maxResults));
}

View File

@@ -0,0 +1,102 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ecs/model/DescribeImageComponentsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ecs;
using namespace AlibabaCloud::Ecs::Model;
DescribeImageComponentsResult::DescribeImageComponentsResult() :
ServiceResult()
{}
DescribeImageComponentsResult::DescribeImageComponentsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeImageComponentsResult::~DescribeImageComponentsResult()
{}
void DescribeImageComponentsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allImageComponentNode = value["ImageComponent"]["ImageComponentSet"];
for (auto valueImageComponentImageComponentSet : allImageComponentNode)
{
ImageComponentSet imageComponentObject;
if(!valueImageComponentImageComponentSet["CreationTime"].isNull())
imageComponentObject.creationTime = valueImageComponentImageComponentSet["CreationTime"].asString();
if(!valueImageComponentImageComponentSet["ImageComponentId"].isNull())
imageComponentObject.imageComponentId = valueImageComponentImageComponentSet["ImageComponentId"].asString();
if(!valueImageComponentImageComponentSet["Name"].isNull())
imageComponentObject.name = valueImageComponentImageComponentSet["Name"].asString();
if(!valueImageComponentImageComponentSet["Description"].isNull())
imageComponentObject.description = valueImageComponentImageComponentSet["Description"].asString();
if(!valueImageComponentImageComponentSet["SystemType"].isNull())
imageComponentObject.systemType = valueImageComponentImageComponentSet["SystemType"].asString();
if(!valueImageComponentImageComponentSet["ComponentType"].isNull())
imageComponentObject.componentType = valueImageComponentImageComponentSet["ComponentType"].asString();
if(!valueImageComponentImageComponentSet["Content"].isNull())
imageComponentObject.content = valueImageComponentImageComponentSet["Content"].asString();
if(!valueImageComponentImageComponentSet["ResourceGroupId"].isNull())
imageComponentObject.resourceGroupId = valueImageComponentImageComponentSet["ResourceGroupId"].asString();
auto allTagsNode = valueImageComponentImageComponentSet["Tags"]["Tag"];
for (auto valueImageComponentImageComponentSetTagsTag : allTagsNode)
{
ImageComponentSet::Tag tagsObject;
if(!valueImageComponentImageComponentSetTagsTag["TagKey"].isNull())
tagsObject.tagKey = valueImageComponentImageComponentSetTagsTag["TagKey"].asString();
if(!valueImageComponentImageComponentSetTagsTag["TagValue"].isNull())
tagsObject.tagValue = valueImageComponentImageComponentSetTagsTag["TagValue"].asString();
imageComponentObject.tags.push_back(tagsObject);
}
imageComponent_.push_back(imageComponentObject);
}
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
if(!value["NextToken"].isNull())
nextToken_ = value["NextToken"].asString();
if(!value["MaxResults"].isNull())
maxResults_ = std::stoi(value["MaxResults"].asString());
}
int DescribeImageComponentsResult::getTotalCount()const
{
return totalCount_;
}
std::vector<DescribeImageComponentsResult::ImageComponentSet> DescribeImageComponentsResult::getImageComponent()const
{
return imageComponent_;
}
std::string DescribeImageComponentsResult::getNextToken()const
{
return nextToken_;
}
int DescribeImageComponentsResult::getMaxResults()const
{
return maxResults_;
}

View File

@@ -0,0 +1,155 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/ecs/model/DescribeImagePipelineExecutionsRequest.h>
using AlibabaCloud::Ecs::Model::DescribeImagePipelineExecutionsRequest;
DescribeImagePipelineExecutionsRequest::DescribeImagePipelineExecutionsRequest() :
RpcServiceRequest("ecs", "2014-05-26", "DescribeImagePipelineExecutions")
{
setMethod(HttpRequest::Method::Post);
}
DescribeImagePipelineExecutionsRequest::~DescribeImagePipelineExecutionsRequest()
{}
std::string DescribeImagePipelineExecutionsRequest::getImagePipelineId()const
{
return imagePipelineId_;
}
void DescribeImagePipelineExecutionsRequest::setImagePipelineId(const std::string& imagePipelineId)
{
imagePipelineId_ = imagePipelineId;
setParameter("ImagePipelineId", imagePipelineId);
}
long DescribeImagePipelineExecutionsRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeImagePipelineExecutionsRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DescribeImagePipelineExecutionsRequest::getExecutionId()const
{
return executionId_;
}
void DescribeImagePipelineExecutionsRequest::setExecutionId(const std::string& executionId)
{
executionId_ = executionId;
setParameter("ExecutionId", executionId);
}
std::string DescribeImagePipelineExecutionsRequest::getRegionId()const
{
return regionId_;
}
void DescribeImagePipelineExecutionsRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string DescribeImagePipelineExecutionsRequest::getNextToken()const
{
return nextToken_;
}
void DescribeImagePipelineExecutionsRequest::setNextToken(const std::string& nextToken)
{
nextToken_ = nextToken;
setParameter("NextToken", nextToken);
}
std::vector<DescribeImagePipelineExecutionsRequest::Tag> DescribeImagePipelineExecutionsRequest::getTag()const
{
return tag_;
}
void DescribeImagePipelineExecutionsRequest::setTag(const std::vector<Tag>& tag)
{
tag_ = tag;
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
auto tagObj = tag.at(dep1);
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
setParameter(tagObjStr + ".Key", tagObj.key);
setParameter(tagObjStr + ".Value", tagObj.value);
}
}
std::string DescribeImagePipelineExecutionsRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DescribeImagePipelineExecutionsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DescribeImagePipelineExecutionsRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DescribeImagePipelineExecutionsRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long DescribeImagePipelineExecutionsRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeImagePipelineExecutionsRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
int DescribeImagePipelineExecutionsRequest::getMaxResults()const
{
return maxResults_;
}
void DescribeImagePipelineExecutionsRequest::setMaxResults(int maxResults)
{
maxResults_ = maxResults;
setParameter("MaxResults", std::to_string(maxResults));
}
std::string DescribeImagePipelineExecutionsRequest::getStatus()const
{
return status_;
}
void DescribeImagePipelineExecutionsRequest::setStatus(const std::string& status)
{
status_ = status;
setParameter("Status", status);
}

View File

@@ -0,0 +1,102 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ecs/model/DescribeImagePipelineExecutionsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ecs;
using namespace AlibabaCloud::Ecs::Model;
DescribeImagePipelineExecutionsResult::DescribeImagePipelineExecutionsResult() :
ServiceResult()
{}
DescribeImagePipelineExecutionsResult::DescribeImagePipelineExecutionsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeImagePipelineExecutionsResult::~DescribeImagePipelineExecutionsResult()
{}
void DescribeImagePipelineExecutionsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allImagePipelineExecutionNode = value["ImagePipelineExecution"]["ImagePipelineExecutionSet"];
for (auto valueImagePipelineExecutionImagePipelineExecutionSet : allImagePipelineExecutionNode)
{
ImagePipelineExecutionSet imagePipelineExecutionObject;
if(!valueImagePipelineExecutionImagePipelineExecutionSet["CreationTime"].isNull())
imagePipelineExecutionObject.creationTime = valueImagePipelineExecutionImagePipelineExecutionSet["CreationTime"].asString();
if(!valueImagePipelineExecutionImagePipelineExecutionSet["ModifiedTime"].isNull())
imagePipelineExecutionObject.modifiedTime = valueImagePipelineExecutionImagePipelineExecutionSet["ModifiedTime"].asString();
if(!valueImagePipelineExecutionImagePipelineExecutionSet["ImageId"].isNull())
imagePipelineExecutionObject.imageId = valueImagePipelineExecutionImagePipelineExecutionSet["ImageId"].asString();
if(!valueImagePipelineExecutionImagePipelineExecutionSet["ImagePipelineId"].isNull())
imagePipelineExecutionObject.imagePipelineId = valueImagePipelineExecutionImagePipelineExecutionSet["ImagePipelineId"].asString();
if(!valueImagePipelineExecutionImagePipelineExecutionSet["ExecutionId"].isNull())
imagePipelineExecutionObject.executionId = valueImagePipelineExecutionImagePipelineExecutionSet["ExecutionId"].asString();
if(!valueImagePipelineExecutionImagePipelineExecutionSet["Status"].isNull())
imagePipelineExecutionObject.status = valueImagePipelineExecutionImagePipelineExecutionSet["Status"].asString();
if(!valueImagePipelineExecutionImagePipelineExecutionSet["Message"].isNull())
imagePipelineExecutionObject.message = valueImagePipelineExecutionImagePipelineExecutionSet["Message"].asString();
if(!valueImagePipelineExecutionImagePipelineExecutionSet["ResourceGroupId"].isNull())
imagePipelineExecutionObject.resourceGroupId = valueImagePipelineExecutionImagePipelineExecutionSet["ResourceGroupId"].asString();
auto allTagsNode = valueImagePipelineExecutionImagePipelineExecutionSet["Tags"]["Tag"];
for (auto valueImagePipelineExecutionImagePipelineExecutionSetTagsTag : allTagsNode)
{
ImagePipelineExecutionSet::Tag tagsObject;
if(!valueImagePipelineExecutionImagePipelineExecutionSetTagsTag["TagKey"].isNull())
tagsObject.tagKey = valueImagePipelineExecutionImagePipelineExecutionSetTagsTag["TagKey"].asString();
if(!valueImagePipelineExecutionImagePipelineExecutionSetTagsTag["TagValue"].isNull())
tagsObject.tagValue = valueImagePipelineExecutionImagePipelineExecutionSetTagsTag["TagValue"].asString();
imagePipelineExecutionObject.tags.push_back(tagsObject);
}
imagePipelineExecution_.push_back(imagePipelineExecutionObject);
}
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
if(!value["NextToken"].isNull())
nextToken_ = value["NextToken"].asString();
if(!value["MaxResults"].isNull())
maxResults_ = std::stoi(value["MaxResults"].asString());
}
int DescribeImagePipelineExecutionsResult::getTotalCount()const
{
return totalCount_;
}
std::string DescribeImagePipelineExecutionsResult::getNextToken()const
{
return nextToken_;
}
int DescribeImagePipelineExecutionsResult::getMaxResults()const
{
return maxResults_;
}
std::vector<DescribeImagePipelineExecutionsResult::ImagePipelineExecutionSet> DescribeImagePipelineExecutionsResult::getImagePipelineExecution()const
{
return imagePipelineExecution_;
}

View File

@@ -0,0 +1,157 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/ecs/model/DescribeImagePipelinesRequest.h>
using AlibabaCloud::Ecs::Model::DescribeImagePipelinesRequest;
DescribeImagePipelinesRequest::DescribeImagePipelinesRequest() :
RpcServiceRequest("ecs", "2014-05-26", "DescribeImagePipelines")
{
setMethod(HttpRequest::Method::Post);
}
DescribeImagePipelinesRequest::~DescribeImagePipelinesRequest()
{}
std::vector<std::string> DescribeImagePipelinesRequest::getImagePipelineId()const
{
return imagePipelineId_;
}
void DescribeImagePipelinesRequest::setImagePipelineId(const std::vector<std::string>& imagePipelineId)
{
imagePipelineId_ = imagePipelineId;
for(int dep1 = 0; dep1!= imagePipelineId.size(); dep1++) {
setParameter("ImagePipelineId."+ std::to_string(dep1), imagePipelineId.at(dep1));
}
}
long DescribeImagePipelinesRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeImagePipelinesRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DescribeImagePipelinesRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeImagePipelinesRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeImagePipelinesRequest::getRegionId()const
{
return regionId_;
}
void DescribeImagePipelinesRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string DescribeImagePipelinesRequest::getNextToken()const
{
return nextToken_;
}
void DescribeImagePipelinesRequest::setNextToken(const std::string& nextToken)
{
nextToken_ = nextToken;
setParameter("NextToken", nextToken);
}
std::vector<DescribeImagePipelinesRequest::Tag> DescribeImagePipelinesRequest::getTag()const
{
return tag_;
}
void DescribeImagePipelinesRequest::setTag(const std::vector<Tag>& tag)
{
tag_ = tag;
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
auto tagObj = tag.at(dep1);
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
setParameter(tagObjStr + ".Key", tagObj.key);
setParameter(tagObjStr + ".Value", tagObj.value);
}
}
std::string DescribeImagePipelinesRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DescribeImagePipelinesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DescribeImagePipelinesRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DescribeImagePipelinesRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long DescribeImagePipelinesRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeImagePipelinesRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DescribeImagePipelinesRequest::getName()const
{
return name_;
}
void DescribeImagePipelinesRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}
int DescribeImagePipelinesRequest::getMaxResults()const
{
return maxResults_;
}
void DescribeImagePipelinesRequest::setMaxResults(int maxResults)
{
maxResults_ = maxResults;
setParameter("MaxResults", std::to_string(maxResults));
}

View File

@@ -0,0 +1,120 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/ecs/model/DescribeImagePipelinesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ecs;
using namespace AlibabaCloud::Ecs::Model;
DescribeImagePipelinesResult::DescribeImagePipelinesResult() :
ServiceResult()
{}
DescribeImagePipelinesResult::DescribeImagePipelinesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeImagePipelinesResult::~DescribeImagePipelinesResult()
{}
void DescribeImagePipelinesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allImagePipelineNode = value["ImagePipeline"]["ImagePipelineSet"];
for (auto valueImagePipelineImagePipelineSet : allImagePipelineNode)
{
ImagePipelineSet imagePipelineObject;
if(!valueImagePipelineImagePipelineSet["CreationTime"].isNull())
imagePipelineObject.creationTime = valueImagePipelineImagePipelineSet["CreationTime"].asString();
if(!valueImagePipelineImagePipelineSet["ImagePipelineId"].isNull())
imagePipelineObject.imagePipelineId = valueImagePipelineImagePipelineSet["ImagePipelineId"].asString();
if(!valueImagePipelineImagePipelineSet["Name"].isNull())
imagePipelineObject.name = valueImagePipelineImagePipelineSet["Name"].asString();
if(!valueImagePipelineImagePipelineSet["Description"].isNull())
imagePipelineObject.description = valueImagePipelineImagePipelineSet["Description"].asString();
if(!valueImagePipelineImagePipelineSet["BaseImageType"].isNull())
imagePipelineObject.baseImageType = valueImagePipelineImagePipelineSet["BaseImageType"].asString();
if(!valueImagePipelineImagePipelineSet["BaseImage"].isNull())
imagePipelineObject.baseImage = valueImagePipelineImagePipelineSet["BaseImage"].asString();
if(!valueImagePipelineImagePipelineSet["ImageName"].isNull())
imagePipelineObject.imageName = valueImagePipelineImagePipelineSet["ImageName"].asString();
if(!valueImagePipelineImagePipelineSet["VSwitchId"].isNull())
imagePipelineObject.vSwitchId = valueImagePipelineImagePipelineSet["VSwitchId"].asString();
if(!valueImagePipelineImagePipelineSet["InstanceType"].isNull())
imagePipelineObject.instanceType = valueImagePipelineImagePipelineSet["InstanceType"].asString();
if(!valueImagePipelineImagePipelineSet["InternetMaxBandwidthOut"].isNull())
imagePipelineObject.internetMaxBandwidthOut = std::stoi(valueImagePipelineImagePipelineSet["InternetMaxBandwidthOut"].asString());
if(!valueImagePipelineImagePipelineSet["SystemDiskSize"].isNull())
imagePipelineObject.systemDiskSize = std::stoi(valueImagePipelineImagePipelineSet["SystemDiskSize"].asString());
if(!valueImagePipelineImagePipelineSet["DeleteInstanceOnFailure"].isNull())
imagePipelineObject.deleteInstanceOnFailure = valueImagePipelineImagePipelineSet["DeleteInstanceOnFailure"].asString() == "true";
if(!valueImagePipelineImagePipelineSet["BuildContent"].isNull())
imagePipelineObject.buildContent = valueImagePipelineImagePipelineSet["BuildContent"].asString();
if(!valueImagePipelineImagePipelineSet["ResourceGroupId"].isNull())
imagePipelineObject.resourceGroupId = valueImagePipelineImagePipelineSet["ResourceGroupId"].asString();
auto allTagsNode = valueImagePipelineImagePipelineSet["Tags"]["Tag"];
for (auto valueImagePipelineImagePipelineSetTagsTag : allTagsNode)
{
ImagePipelineSet::Tag tagsObject;
if(!valueImagePipelineImagePipelineSetTagsTag["TagKey"].isNull())
tagsObject.tagKey = valueImagePipelineImagePipelineSetTagsTag["TagKey"].asString();
if(!valueImagePipelineImagePipelineSetTagsTag["TagValue"].isNull())
tagsObject.tagValue = valueImagePipelineImagePipelineSetTagsTag["TagValue"].asString();
imagePipelineObject.tags.push_back(tagsObject);
}
auto allAddAccounts = value["AddAccounts"]["AddAccount"];
for (auto value : allAddAccounts)
imagePipelineObject.addAccounts.push_back(value.asString());
auto allToRegionIds = value["ToRegionIds"]["ToRegionId"];
for (auto value : allToRegionIds)
imagePipelineObject.toRegionIds.push_back(value.asString());
imagePipeline_.push_back(imagePipelineObject);
}
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
if(!value["NextToken"].isNull())
nextToken_ = value["NextToken"].asString();
if(!value["MaxResults"].isNull())
maxResults_ = std::stoi(value["MaxResults"].asString());
}
int DescribeImagePipelinesResult::getTotalCount()const
{
return totalCount_;
}
std::string DescribeImagePipelinesResult::getNextToken()const
{
return nextToken_;
}
int DescribeImagePipelinesResult::getMaxResults()const
{
return maxResults_;
}
std::vector<DescribeImagePipelinesResult::ImagePipelineSet> DescribeImagePipelinesResult::getImagePipeline()const
{
return imagePipeline_;
}

View File

@@ -287,6 +287,17 @@ void DescribeInstancesRequest::setZoneId(const std::string& zoneId)
setParameter("ZoneId", zoneId);
}
int DescribeInstancesRequest::getMaxResults()const
{
return maxResults_;
}
void DescribeInstancesRequest::setMaxResults(int maxResults)
{
maxResults_ = maxResults;
setParameter("MaxResults", std::to_string(maxResults));
}
std::string DescribeInstancesRequest::getInstanceNetworkType()const
{
return instanceNetworkType_;
@@ -386,6 +397,17 @@ void DescribeInstancesRequest::setRegionId(const std::string& regionId)
setParameter("RegionId", regionId);
}
std::string DescribeInstancesRequest::getNextToken()const
{
return nextToken_;
}
void DescribeInstancesRequest::setNextToken(const std::string& nextToken)
{
nextToken_ = nextToken;
setParameter("NextToken", nextToken);
}
std::string DescribeInstancesRequest::getRdmaIpAddresses()const
{
return rdmaIpAddresses_;

View File

@@ -261,6 +261,8 @@ void DescribeInstancesResult::parse(const std::string &payload)
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
if(!value["NextToken"].isNull())
nextToken_ = value["NextToken"].asString();
}
@@ -279,6 +281,11 @@ int DescribeInstancesResult::getPageSize()const
return pageSize_;
}
std::string DescribeInstancesResult::getNextToken()const
{
return nextToken_;
}
int DescribeInstancesResult::getPageNumber()const
{
return pageNumber_;

View File

@@ -0,0 +1,163 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/ecs/model/DescribeManagedInstancesRequest.h>
using AlibabaCloud::Ecs::Model::DescribeManagedInstancesRequest;
DescribeManagedInstancesRequest::DescribeManagedInstancesRequest() :
RpcServiceRequest("ecs", "2014-05-26", "DescribeManagedInstances")
{
setMethod(HttpRequest::Method::Post);
}
DescribeManagedInstancesRequest::~DescribeManagedInstancesRequest()
{}
long DescribeManagedInstancesRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeManagedInstancesRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
long DescribeManagedInstancesRequest::getPageNumber()const
{
return pageNumber_;
}
void DescribeManagedInstancesRequest::setPageNumber(long pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string DescribeManagedInstancesRequest::getRegionId()const
{
return regionId_;
}
void DescribeManagedInstancesRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
long DescribeManagedInstancesRequest::getPageSize()const
{
return pageSize_;
}
void DescribeManagedInstancesRequest::setPageSize(long pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string DescribeManagedInstancesRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DescribeManagedInstancesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DescribeManagedInstancesRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DescribeManagedInstancesRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
std::string DescribeManagedInstancesRequest::getOsType()const
{
return osType_;
}
void DescribeManagedInstancesRequest::setOsType(const std::string& osType)
{
osType_ = osType;
setParameter("OsType", osType);
}
long DescribeManagedInstancesRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeManagedInstancesRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DescribeManagedInstancesRequest::getInstanceName()const
{
return instanceName_;
}
void DescribeManagedInstancesRequest::setInstanceName(const std::string& instanceName)
{
instanceName_ = instanceName;
setParameter("InstanceName", instanceName);
}
std::vector<std::string> DescribeManagedInstancesRequest::getInstanceId()const
{
return instanceId_;
}
void DescribeManagedInstancesRequest::setInstanceId(const std::vector<std::string>& instanceId)
{
instanceId_ = instanceId;
for(int dep1 = 0; dep1!= instanceId.size(); dep1++) {
setParameter("InstanceId."+ std::to_string(dep1), instanceId.at(dep1));
}
}
std::string DescribeManagedInstancesRequest::getInstanceIp()const
{
return instanceIp_;
}
void DescribeManagedInstancesRequest::setInstanceIp(const std::string& instanceIp)
{
instanceIp_ = instanceIp;
setParameter("InstanceIp", instanceIp);
}
std::string DescribeManagedInstancesRequest::getActivationId()const
{
return activationId_;
}
void DescribeManagedInstancesRequest::setActivationId(const std::string& activationId)
{
activationId_ = activationId;
setParameter("ActivationId", activationId);
}

View File

@@ -0,0 +1,104 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ecs/model/DescribeManagedInstancesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ecs;
using namespace AlibabaCloud::Ecs::Model;
DescribeManagedInstancesResult::DescribeManagedInstancesResult() :
ServiceResult()
{}
DescribeManagedInstancesResult::DescribeManagedInstancesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeManagedInstancesResult::~DescribeManagedInstancesResult()
{}
void DescribeManagedInstancesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allInstancesNode = value["Instances"]["Instance"];
for (auto valueInstancesInstance : allInstancesNode)
{
Instance instancesObject;
if(!valueInstancesInstance["InstanceId"].isNull())
instancesObject.instanceId = valueInstancesInstance["InstanceId"].asString();
if(!valueInstancesInstance["InstanceName"].isNull())
instancesObject.instanceName = valueInstancesInstance["InstanceName"].asString();
if(!valueInstancesInstance["ActivationId"].isNull())
instancesObject.activationId = valueInstancesInstance["ActivationId"].asString();
if(!valueInstancesInstance["Hostname"].isNull())
instancesObject.hostname = valueInstancesInstance["Hostname"].asString();
if(!valueInstancesInstance["MachineId"].isNull())
instancesObject.machineId = valueInstancesInstance["MachineId"].asString();
if(!valueInstancesInstance["OsType"].isNull())
instancesObject.osType = valueInstancesInstance["OsType"].asString();
if(!valueInstancesInstance["OsVersion"].isNull())
instancesObject.osVersion = valueInstancesInstance["OsVersion"].asString();
if(!valueInstancesInstance["IntranetIp"].isNull())
instancesObject.intranetIp = valueInstancesInstance["IntranetIp"].asString();
if(!valueInstancesInstance["InternetIp"].isNull())
instancesObject.internetIp = valueInstancesInstance["InternetIp"].asString();
if(!valueInstancesInstance["AgentVersion"].isNull())
instancesObject.agentVersion = valueInstancesInstance["AgentVersion"].asString();
if(!valueInstancesInstance["RegistrationTime"].isNull())
instancesObject.registrationTime = valueInstancesInstance["RegistrationTime"].asString();
if(!valueInstancesInstance["InvocationCount"].isNull())
instancesObject.invocationCount = std::stol(valueInstancesInstance["InvocationCount"].asString());
if(!valueInstancesInstance["LastInvokedTime"].isNull())
instancesObject.lastInvokedTime = valueInstancesInstance["LastInvokedTime"].asString();
if(!valueInstancesInstance["Connected"].isNull())
instancesObject.connected = valueInstancesInstance["Connected"].asString() == "true";
instances_.push_back(instancesObject);
}
if(!value["TotalCount"].isNull())
totalCount_ = std::stol(value["TotalCount"].asString());
if(!value["PageNumber"].isNull())
pageNumber_ = std::stol(value["PageNumber"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stol(value["PageSize"].asString());
}
std::vector<DescribeManagedInstancesResult::Instance> DescribeManagedInstancesResult::getInstances()const
{
return instances_;
}
long DescribeManagedInstancesResult::getTotalCount()const
{
return totalCount_;
}
long DescribeManagedInstancesResult::getPageSize()const
{
return pageSize_;
}
long DescribeManagedInstancesResult::getPageNumber()const
{
return pageNumber_;
}

View File

@@ -0,0 +1,154 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/ecs/model/DescribeSnapshotGroupsRequest.h>
using AlibabaCloud::Ecs::Model::DescribeSnapshotGroupsRequest;
DescribeSnapshotGroupsRequest::DescribeSnapshotGroupsRequest() :
RpcServiceRequest("ecs", "2014-05-26", "DescribeSnapshotGroups")
{
setMethod(HttpRequest::Method::Post);
}
DescribeSnapshotGroupsRequest::~DescribeSnapshotGroupsRequest()
{}
long DescribeSnapshotGroupsRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeSnapshotGroupsRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DescribeSnapshotGroupsRequest::getRegionId()const
{
return regionId_;
}
void DescribeSnapshotGroupsRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string DescribeSnapshotGroupsRequest::getNextToken()const
{
return nextToken_;
}
void DescribeSnapshotGroupsRequest::setNextToken(const std::string& nextToken)
{
nextToken_ = nextToken;
setParameter("NextToken", nextToken);
}
std::string DescribeSnapshotGroupsRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DescribeSnapshotGroupsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DescribeSnapshotGroupsRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DescribeSnapshotGroupsRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
std::vector<std::string> DescribeSnapshotGroupsRequest::getSnapshotGroupId()const
{
return snapshotGroupId_;
}
void DescribeSnapshotGroupsRequest::setSnapshotGroupId(const std::vector<std::string>& snapshotGroupId)
{
snapshotGroupId_ = snapshotGroupId;
for(int dep1 = 0; dep1!= snapshotGroupId.size(); dep1++) {
setParameter("SnapshotGroupId."+ std::to_string(dep1), snapshotGroupId.at(dep1));
}
}
long DescribeSnapshotGroupsRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeSnapshotGroupsRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DescribeSnapshotGroupsRequest::getInstanceId()const
{
return instanceId_;
}
void DescribeSnapshotGroupsRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
}
std::string DescribeSnapshotGroupsRequest::getName()const
{
return name_;
}
void DescribeSnapshotGroupsRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}
int DescribeSnapshotGroupsRequest::getMaxResults()const
{
return maxResults_;
}
void DescribeSnapshotGroupsRequest::setMaxResults(int maxResults)
{
maxResults_ = maxResults;
setParameter("MaxResults", std::to_string(maxResults));
}
std::vector<std::string> DescribeSnapshotGroupsRequest::getStatus()const
{
return status_;
}
void DescribeSnapshotGroupsRequest::setStatus(const std::vector<std::string>& status)
{
status_ = status;
for(int dep1 = 0; dep1!= status.size(); dep1++) {
setParameter("Status."+ std::to_string(dep1), status.at(dep1));
}
}

View File

@@ -0,0 +1,90 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ecs/model/DescribeSnapshotGroupsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ecs;
using namespace AlibabaCloud::Ecs::Model;
DescribeSnapshotGroupsResult::DescribeSnapshotGroupsResult() :
ServiceResult()
{}
DescribeSnapshotGroupsResult::DescribeSnapshotGroupsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeSnapshotGroupsResult::~DescribeSnapshotGroupsResult()
{}
void DescribeSnapshotGroupsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allSnapshotGroupsNode = value["SnapshotGroups"]["SnapshotGroup"];
for (auto valueSnapshotGroupsSnapshotGroup : allSnapshotGroupsNode)
{
SnapshotGroup snapshotGroupsObject;
if(!valueSnapshotGroupsSnapshotGroup["InstanceId"].isNull())
snapshotGroupsObject.instanceId = valueSnapshotGroupsSnapshotGroup["InstanceId"].asString();
if(!valueSnapshotGroupsSnapshotGroup["SnapshotGroupId"].isNull())
snapshotGroupsObject.snapshotGroupId = valueSnapshotGroupsSnapshotGroup["SnapshotGroupId"].asString();
if(!valueSnapshotGroupsSnapshotGroup["Status"].isNull())
snapshotGroupsObject.status = valueSnapshotGroupsSnapshotGroup["Status"].asString();
if(!valueSnapshotGroupsSnapshotGroup["Name"].isNull())
snapshotGroupsObject.name = valueSnapshotGroupsSnapshotGroup["Name"].asString();
if(!valueSnapshotGroupsSnapshotGroup["Description"].isNull())
snapshotGroupsObject.description = valueSnapshotGroupsSnapshotGroup["Description"].asString();
if(!valueSnapshotGroupsSnapshotGroup["CreationTime"].isNull())
snapshotGroupsObject.creationTime = valueSnapshotGroupsSnapshotGroup["CreationTime"].asString();
auto allSnapshotsNode = valueSnapshotGroupsSnapshotGroup["Snapshots"]["Snapshot"];
for (auto valueSnapshotGroupsSnapshotGroupSnapshotsSnapshot : allSnapshotsNode)
{
SnapshotGroup::Snapshot snapshotsObject;
if(!valueSnapshotGroupsSnapshotGroupSnapshotsSnapshot["SnapshotId"].isNull())
snapshotsObject.snapshotId = valueSnapshotGroupsSnapshotGroupSnapshotsSnapshot["SnapshotId"].asString();
if(!valueSnapshotGroupsSnapshotGroupSnapshotsSnapshot["Progress"].isNull())
snapshotsObject.progress = valueSnapshotGroupsSnapshotGroupSnapshotsSnapshot["Progress"].asString();
if(!valueSnapshotGroupsSnapshotGroupSnapshotsSnapshot["SourceDiskId"].isNull())
snapshotsObject.sourceDiskId = valueSnapshotGroupsSnapshotGroupSnapshotsSnapshot["SourceDiskId"].asString();
if(!valueSnapshotGroupsSnapshotGroupSnapshotsSnapshot["SourceDiskType"].isNull())
snapshotsObject.sourceDiskType = valueSnapshotGroupsSnapshotGroupSnapshotsSnapshot["SourceDiskType"].asString();
if(!valueSnapshotGroupsSnapshotGroupSnapshotsSnapshot["InstantAccess"].isNull())
snapshotsObject.instantAccess = valueSnapshotGroupsSnapshotGroupSnapshotsSnapshot["InstantAccess"].asString() == "true";
snapshotGroupsObject.snapshots.push_back(snapshotsObject);
}
snapshotGroups_.push_back(snapshotGroupsObject);
}
if(!value["NextToken"].isNull())
nextToken_ = value["NextToken"].asString();
}
std::string DescribeSnapshotGroupsResult::getNextToken()const
{
return nextToken_;
}
std::vector<DescribeSnapshotGroupsResult::SnapshotGroup> DescribeSnapshotGroupsResult::getSnapshotGroups()const
{
return snapshotGroups_;
}

View File

@@ -0,0 +1,95 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ecs/model/DisableActivationRequest.h>
using AlibabaCloud::Ecs::Model::DisableActivationRequest;
DisableActivationRequest::DisableActivationRequest() :
RpcServiceRequest("ecs", "2014-05-26", "DisableActivation")
{
setMethod(HttpRequest::Method::Post);
}
DisableActivationRequest::~DisableActivationRequest()
{}
long DisableActivationRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DisableActivationRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DisableActivationRequest::getRegionId()const
{
return regionId_;
}
void DisableActivationRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string DisableActivationRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DisableActivationRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DisableActivationRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DisableActivationRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long DisableActivationRequest::getOwnerId()const
{
return ownerId_;
}
void DisableActivationRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DisableActivationRequest::getActivationId()const
{
return activationId_;
}
void DisableActivationRequest::setActivationId(const std::string& activationId)
{
activationId_ = activationId;
setParameter("ActivationId", activationId);
}

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ecs/model/DisableActivationResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ecs;
using namespace AlibabaCloud::Ecs::Model;
DisableActivationResult::DisableActivationResult() :
ServiceResult()
{}
DisableActivationResult::DisableActivationResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DisableActivationResult::~DisableActivationResult()
{}
void DisableActivationResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto activationNode = value["Activation"];
if(!activationNode["ActivationId"].isNull())
activation_.activationId = activationNode["ActivationId"].asString();
if(!activationNode["InstanceName"].isNull())
activation_.instanceName = activationNode["InstanceName"].asString();
if(!activationNode["Description"].isNull())
activation_.description = activationNode["Description"].asString();
if(!activationNode["InstanceCount"].isNull())
activation_.instanceCount = std::stoi(activationNode["InstanceCount"].asString());
if(!activationNode["TimeToLiveInHours"].isNull())
activation_.timeToLiveInHours = std::stol(activationNode["TimeToLiveInHours"].asString());
if(!activationNode["IpAddressRange"].isNull())
activation_.ipAddressRange = activationNode["IpAddressRange"].asString();
if(!activationNode["RegisteredCount"].isNull())
activation_.registeredCount = std::stoi(activationNode["RegisteredCount"].asString());
if(!activationNode["DeregisteredCount"].isNull())
activation_.deregisteredCount = std::stoi(activationNode["DeregisteredCount"].asString());
if(!activationNode["Disabled"].isNull())
activation_.disabled = activationNode["Disabled"].asString() == "true";
if(!activationNode["CreationTime"].isNull())
activation_.creationTime = activationNode["CreationTime"].asString();
}
DisableActivationResult::Activation DisableActivationResult::getActivation()const
{
return activation_;
}

View File

@@ -41,6 +41,8 @@ void ModifyDiskSpecResult::parse(const std::string &payload)
setRequestId(value["RequestId"].asString());
if(!value["TaskId"].isNull())
taskId_ = value["TaskId"].asString();
if(!value["OrderId"].isNull())
orderId_ = value["OrderId"].asString();
}
@@ -49,3 +51,8 @@ std::string ModifyDiskSpecResult::getTaskId()const
return taskId_;
}
std::string ModifyDiskSpecResult::getOrderId()const
{
return orderId_;
}

View File

@@ -0,0 +1,106 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ecs/model/ModifyManagedInstanceRequest.h>
using AlibabaCloud::Ecs::Model::ModifyManagedInstanceRequest;
ModifyManagedInstanceRequest::ModifyManagedInstanceRequest() :
RpcServiceRequest("ecs", "2014-05-26", "ModifyManagedInstance")
{
setMethod(HttpRequest::Method::Post);
}
ModifyManagedInstanceRequest::~ModifyManagedInstanceRequest()
{}
long ModifyManagedInstanceRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void ModifyManagedInstanceRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string ModifyManagedInstanceRequest::getRegionId()const
{
return regionId_;
}
void ModifyManagedInstanceRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string ModifyManagedInstanceRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void ModifyManagedInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string ModifyManagedInstanceRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void ModifyManagedInstanceRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long ModifyManagedInstanceRequest::getOwnerId()const
{
return ownerId_;
}
void ModifyManagedInstanceRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string ModifyManagedInstanceRequest::getInstanceId()const
{
return instanceId_;
}
void ModifyManagedInstanceRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
}
std::string ModifyManagedInstanceRequest::getInstanceName()const
{
return instanceName_;
}
void ModifyManagedInstanceRequest::setInstanceName(const std::string& instanceName)
{
instanceName_ = instanceName;
setParameter("InstanceName", instanceName);
}

View File

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

View File

@@ -0,0 +1,117 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ecs/model/ModifySnapshotGroupRequest.h>
using AlibabaCloud::Ecs::Model::ModifySnapshotGroupRequest;
ModifySnapshotGroupRequest::ModifySnapshotGroupRequest() :
RpcServiceRequest("ecs", "2014-05-26", "ModifySnapshotGroup")
{
setMethod(HttpRequest::Method::Post);
}
ModifySnapshotGroupRequest::~ModifySnapshotGroupRequest()
{}
long ModifySnapshotGroupRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void ModifySnapshotGroupRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string ModifySnapshotGroupRequest::getDescription()const
{
return description_;
}
void ModifySnapshotGroupRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
}
std::string ModifySnapshotGroupRequest::getRegionId()const
{
return regionId_;
}
void ModifySnapshotGroupRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string ModifySnapshotGroupRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void ModifySnapshotGroupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string ModifySnapshotGroupRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void ModifySnapshotGroupRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
std::string ModifySnapshotGroupRequest::getSnapshotGroupId()const
{
return snapshotGroupId_;
}
void ModifySnapshotGroupRequest::setSnapshotGroupId(const std::string& snapshotGroupId)
{
snapshotGroupId_ = snapshotGroupId;
setParameter("SnapshotGroupId", snapshotGroupId);
}
long ModifySnapshotGroupRequest::getOwnerId()const
{
return ownerId_;
}
void ModifySnapshotGroupRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string ModifySnapshotGroupRequest::getName()const
{
return name_;
}
void ModifySnapshotGroupRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}

View File

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

View File

@@ -0,0 +1,100 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ecs/model/ResetDisksRequest.h>
using AlibabaCloud::Ecs::Model::ResetDisksRequest;
ResetDisksRequest::ResetDisksRequest() :
RpcServiceRequest("ecs", "2014-05-26", "ResetDisks")
{
setMethod(HttpRequest::Method::Post);
}
ResetDisksRequest::~ResetDisksRequest()
{}
long ResetDisksRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void ResetDisksRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string ResetDisksRequest::getRegionId()const
{
return regionId_;
}
void ResetDisksRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string ResetDisksRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void ResetDisksRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string ResetDisksRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void ResetDisksRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long ResetDisksRequest::getOwnerId()const
{
return ownerId_;
}
void ResetDisksRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::vector<ResetDisksRequest::Disk> ResetDisksRequest::getDisk()const
{
return disk_;
}
void ResetDisksRequest::setDisk(const std::vector<Disk>& disk)
{
disk_ = disk;
for(int dep1 = 0; dep1!= disk.size(); dep1++) {
auto diskObj = disk.at(dep1);
std::string diskObjStr = "Disk." + std::to_string(dep1 + 1);
setParameter(diskObjStr + ".DiskId", diskObj.diskId);
setParameter(diskObjStr + ".SnapshotId", diskObj.snapshotId);
}
}

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ecs/model/ResetDisksResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ecs;
using namespace AlibabaCloud::Ecs::Model;
ResetDisksResult::ResetDisksResult() :
ServiceResult()
{}
ResetDisksResult::ResetDisksResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ResetDisksResult::~ResetDisksResult()
{}
void ResetDisksResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allOperationProgressSetNode = value["OperationProgressSet"]["OperationProgress"];
for (auto valueOperationProgressSetOperationProgress : allOperationProgressSetNode)
{
OperationProgress operationProgressSetObject;
if(!valueOperationProgressSetOperationProgress["OperationStatus"].isNull())
operationProgressSetObject.operationStatus = valueOperationProgressSetOperationProgress["OperationStatus"].asString();
if(!valueOperationProgressSetOperationProgress["ErrorCode"].isNull())
operationProgressSetObject.errorCode = valueOperationProgressSetOperationProgress["ErrorCode"].asString();
if(!valueOperationProgressSetOperationProgress["ErrorMsg"].isNull())
operationProgressSetObject.errorMsg = valueOperationProgressSetOperationProgress["ErrorMsg"].asString();
auto allRelatedItemSetNode = valueOperationProgressSetOperationProgress["RelatedItemSet"]["RelatedItem"];
for (auto valueOperationProgressSetOperationProgressRelatedItemSetRelatedItem : allRelatedItemSetNode)
{
OperationProgress::RelatedItem relatedItemSetObject;
if(!valueOperationProgressSetOperationProgressRelatedItemSetRelatedItem["Name"].isNull())
relatedItemSetObject.name = valueOperationProgressSetOperationProgressRelatedItemSetRelatedItem["Name"].asString();
if(!valueOperationProgressSetOperationProgressRelatedItemSetRelatedItem["Value"].isNull())
relatedItemSetObject.value = valueOperationProgressSetOperationProgressRelatedItemSetRelatedItem["Value"].asString();
operationProgressSetObject.relatedItemSet.push_back(relatedItemSetObject);
}
operationProgressSet_.push_back(operationProgressSetObject);
}
}
std::vector<ResetDisksResult::OperationProgress> ResetDisksResult::getOperationProgressSet()const
{
return operationProgressSet_;
}

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