Support Fileset for BmCPFS.
This commit is contained in:
@@ -33,24 +33,36 @@ set(nas_public_header_model
|
|||||||
include/alibabacloud/nas/model/CancelAutoSnapshotPolicyResult.h
|
include/alibabacloud/nas/model/CancelAutoSnapshotPolicyResult.h
|
||||||
include/alibabacloud/nas/model/CancelDataFlowAutoRefreshRequest.h
|
include/alibabacloud/nas/model/CancelDataFlowAutoRefreshRequest.h
|
||||||
include/alibabacloud/nas/model/CancelDataFlowAutoRefreshResult.h
|
include/alibabacloud/nas/model/CancelDataFlowAutoRefreshResult.h
|
||||||
|
include/alibabacloud/nas/model/CancelDataFlowSubTaskRequest.h
|
||||||
|
include/alibabacloud/nas/model/CancelDataFlowSubTaskResult.h
|
||||||
include/alibabacloud/nas/model/CancelDataFlowTaskRequest.h
|
include/alibabacloud/nas/model/CancelDataFlowTaskRequest.h
|
||||||
include/alibabacloud/nas/model/CancelDataFlowTaskResult.h
|
include/alibabacloud/nas/model/CancelDataFlowTaskResult.h
|
||||||
include/alibabacloud/nas/model/CancelDirQuotaRequest.h
|
include/alibabacloud/nas/model/CancelDirQuotaRequest.h
|
||||||
include/alibabacloud/nas/model/CancelDirQuotaResult.h
|
include/alibabacloud/nas/model/CancelDirQuotaResult.h
|
||||||
|
include/alibabacloud/nas/model/CancelFilesetQuotaRequest.h
|
||||||
|
include/alibabacloud/nas/model/CancelFilesetQuotaResult.h
|
||||||
include/alibabacloud/nas/model/CancelLifecycleRetrieveJobRequest.h
|
include/alibabacloud/nas/model/CancelLifecycleRetrieveJobRequest.h
|
||||||
include/alibabacloud/nas/model/CancelLifecycleRetrieveJobResult.h
|
include/alibabacloud/nas/model/CancelLifecycleRetrieveJobResult.h
|
||||||
include/alibabacloud/nas/model/CancelRecycleBinJobRequest.h
|
include/alibabacloud/nas/model/CancelRecycleBinJobRequest.h
|
||||||
include/alibabacloud/nas/model/CancelRecycleBinJobResult.h
|
include/alibabacloud/nas/model/CancelRecycleBinJobResult.h
|
||||||
|
include/alibabacloud/nas/model/ChangeResourceGroupRequest.h
|
||||||
|
include/alibabacloud/nas/model/ChangeResourceGroupResult.h
|
||||||
include/alibabacloud/nas/model/CreateAccessGroupRequest.h
|
include/alibabacloud/nas/model/CreateAccessGroupRequest.h
|
||||||
include/alibabacloud/nas/model/CreateAccessGroupResult.h
|
include/alibabacloud/nas/model/CreateAccessGroupResult.h
|
||||||
|
include/alibabacloud/nas/model/CreateAccessPointRequest.h
|
||||||
|
include/alibabacloud/nas/model/CreateAccessPointResult.h
|
||||||
include/alibabacloud/nas/model/CreateAccessRuleRequest.h
|
include/alibabacloud/nas/model/CreateAccessRuleRequest.h
|
||||||
include/alibabacloud/nas/model/CreateAccessRuleResult.h
|
include/alibabacloud/nas/model/CreateAccessRuleResult.h
|
||||||
include/alibabacloud/nas/model/CreateAutoSnapshotPolicyRequest.h
|
include/alibabacloud/nas/model/CreateAutoSnapshotPolicyRequest.h
|
||||||
include/alibabacloud/nas/model/CreateAutoSnapshotPolicyResult.h
|
include/alibabacloud/nas/model/CreateAutoSnapshotPolicyResult.h
|
||||||
include/alibabacloud/nas/model/CreateDataFlowRequest.h
|
include/alibabacloud/nas/model/CreateDataFlowRequest.h
|
||||||
include/alibabacloud/nas/model/CreateDataFlowResult.h
|
include/alibabacloud/nas/model/CreateDataFlowResult.h
|
||||||
|
include/alibabacloud/nas/model/CreateDataFlowSubTaskRequest.h
|
||||||
|
include/alibabacloud/nas/model/CreateDataFlowSubTaskResult.h
|
||||||
include/alibabacloud/nas/model/CreateDataFlowTaskRequest.h
|
include/alibabacloud/nas/model/CreateDataFlowTaskRequest.h
|
||||||
include/alibabacloud/nas/model/CreateDataFlowTaskResult.h
|
include/alibabacloud/nas/model/CreateDataFlowTaskResult.h
|
||||||
|
include/alibabacloud/nas/model/CreateDirRequest.h
|
||||||
|
include/alibabacloud/nas/model/CreateDirResult.h
|
||||||
include/alibabacloud/nas/model/CreateFileRequest.h
|
include/alibabacloud/nas/model/CreateFileRequest.h
|
||||||
include/alibabacloud/nas/model/CreateFileResult.h
|
include/alibabacloud/nas/model/CreateFileResult.h
|
||||||
include/alibabacloud/nas/model/CreateFileSystemRequest.h
|
include/alibabacloud/nas/model/CreateFileSystemRequest.h
|
||||||
@@ -63,6 +75,8 @@ set(nas_public_header_model
|
|||||||
include/alibabacloud/nas/model/CreateLifecyclePolicyResult.h
|
include/alibabacloud/nas/model/CreateLifecyclePolicyResult.h
|
||||||
include/alibabacloud/nas/model/CreateLifecycleRetrieveJobRequest.h
|
include/alibabacloud/nas/model/CreateLifecycleRetrieveJobRequest.h
|
||||||
include/alibabacloud/nas/model/CreateLifecycleRetrieveJobResult.h
|
include/alibabacloud/nas/model/CreateLifecycleRetrieveJobResult.h
|
||||||
|
include/alibabacloud/nas/model/CreateLogAnalysisRequest.h
|
||||||
|
include/alibabacloud/nas/model/CreateLogAnalysisResult.h
|
||||||
include/alibabacloud/nas/model/CreateMountTargetRequest.h
|
include/alibabacloud/nas/model/CreateMountTargetRequest.h
|
||||||
include/alibabacloud/nas/model/CreateMountTargetResult.h
|
include/alibabacloud/nas/model/CreateMountTargetResult.h
|
||||||
include/alibabacloud/nas/model/CreateProtocolMountTargetRequest.h
|
include/alibabacloud/nas/model/CreateProtocolMountTargetRequest.h
|
||||||
@@ -77,6 +91,8 @@ set(nas_public_header_model
|
|||||||
include/alibabacloud/nas/model/CreateSnapshotResult.h
|
include/alibabacloud/nas/model/CreateSnapshotResult.h
|
||||||
include/alibabacloud/nas/model/DeleteAccessGroupRequest.h
|
include/alibabacloud/nas/model/DeleteAccessGroupRequest.h
|
||||||
include/alibabacloud/nas/model/DeleteAccessGroupResult.h
|
include/alibabacloud/nas/model/DeleteAccessGroupResult.h
|
||||||
|
include/alibabacloud/nas/model/DeleteAccessPointRequest.h
|
||||||
|
include/alibabacloud/nas/model/DeleteAccessPointResult.h
|
||||||
include/alibabacloud/nas/model/DeleteAccessRuleRequest.h
|
include/alibabacloud/nas/model/DeleteAccessRuleRequest.h
|
||||||
include/alibabacloud/nas/model/DeleteAccessRuleResult.h
|
include/alibabacloud/nas/model/DeleteAccessRuleResult.h
|
||||||
include/alibabacloud/nas/model/DeleteAutoSnapshotPolicyRequest.h
|
include/alibabacloud/nas/model/DeleteAutoSnapshotPolicyRequest.h
|
||||||
@@ -91,6 +107,8 @@ set(nas_public_header_model
|
|||||||
include/alibabacloud/nas/model/DeleteLDAPConfigResult.h
|
include/alibabacloud/nas/model/DeleteLDAPConfigResult.h
|
||||||
include/alibabacloud/nas/model/DeleteLifecyclePolicyRequest.h
|
include/alibabacloud/nas/model/DeleteLifecyclePolicyRequest.h
|
||||||
include/alibabacloud/nas/model/DeleteLifecyclePolicyResult.h
|
include/alibabacloud/nas/model/DeleteLifecyclePolicyResult.h
|
||||||
|
include/alibabacloud/nas/model/DeleteLogAnalysisRequest.h
|
||||||
|
include/alibabacloud/nas/model/DeleteLogAnalysisResult.h
|
||||||
include/alibabacloud/nas/model/DeleteMountTargetRequest.h
|
include/alibabacloud/nas/model/DeleteMountTargetRequest.h
|
||||||
include/alibabacloud/nas/model/DeleteMountTargetResult.h
|
include/alibabacloud/nas/model/DeleteMountTargetResult.h
|
||||||
include/alibabacloud/nas/model/DeleteProtocolMountTargetRequest.h
|
include/alibabacloud/nas/model/DeleteProtocolMountTargetRequest.h
|
||||||
@@ -101,6 +119,10 @@ set(nas_public_header_model
|
|||||||
include/alibabacloud/nas/model/DeleteSnapshotResult.h
|
include/alibabacloud/nas/model/DeleteSnapshotResult.h
|
||||||
include/alibabacloud/nas/model/DescribeAccessGroupsRequest.h
|
include/alibabacloud/nas/model/DescribeAccessGroupsRequest.h
|
||||||
include/alibabacloud/nas/model/DescribeAccessGroupsResult.h
|
include/alibabacloud/nas/model/DescribeAccessGroupsResult.h
|
||||||
|
include/alibabacloud/nas/model/DescribeAccessPointRequest.h
|
||||||
|
include/alibabacloud/nas/model/DescribeAccessPointResult.h
|
||||||
|
include/alibabacloud/nas/model/DescribeAccessPointsRequest.h
|
||||||
|
include/alibabacloud/nas/model/DescribeAccessPointsResult.h
|
||||||
include/alibabacloud/nas/model/DescribeAccessRulesRequest.h
|
include/alibabacloud/nas/model/DescribeAccessRulesRequest.h
|
||||||
include/alibabacloud/nas/model/DescribeAccessRulesResult.h
|
include/alibabacloud/nas/model/DescribeAccessRulesResult.h
|
||||||
include/alibabacloud/nas/model/DescribeAutoSnapshotPoliciesRequest.h
|
include/alibabacloud/nas/model/DescribeAutoSnapshotPoliciesRequest.h
|
||||||
@@ -109,6 +131,8 @@ set(nas_public_header_model
|
|||||||
include/alibabacloud/nas/model/DescribeAutoSnapshotTasksResult.h
|
include/alibabacloud/nas/model/DescribeAutoSnapshotTasksResult.h
|
||||||
include/alibabacloud/nas/model/DescribeBlackListClientsRequest.h
|
include/alibabacloud/nas/model/DescribeBlackListClientsRequest.h
|
||||||
include/alibabacloud/nas/model/DescribeBlackListClientsResult.h
|
include/alibabacloud/nas/model/DescribeBlackListClientsResult.h
|
||||||
|
include/alibabacloud/nas/model/DescribeDataFlowSubTasksRequest.h
|
||||||
|
include/alibabacloud/nas/model/DescribeDataFlowSubTasksResult.h
|
||||||
include/alibabacloud/nas/model/DescribeDataFlowTasksRequest.h
|
include/alibabacloud/nas/model/DescribeDataFlowTasksRequest.h
|
||||||
include/alibabacloud/nas/model/DescribeDataFlowTasksResult.h
|
include/alibabacloud/nas/model/DescribeDataFlowTasksResult.h
|
||||||
include/alibabacloud/nas/model/DescribeDataFlowsRequest.h
|
include/alibabacloud/nas/model/DescribeDataFlowsRequest.h
|
||||||
@@ -121,8 +145,6 @@ set(nas_public_header_model
|
|||||||
include/alibabacloud/nas/model/DescribeFileSystemsResult.h
|
include/alibabacloud/nas/model/DescribeFileSystemsResult.h
|
||||||
include/alibabacloud/nas/model/DescribeFilesetsRequest.h
|
include/alibabacloud/nas/model/DescribeFilesetsRequest.h
|
||||||
include/alibabacloud/nas/model/DescribeFilesetsResult.h
|
include/alibabacloud/nas/model/DescribeFilesetsResult.h
|
||||||
include/alibabacloud/nas/model/DescribeLDAPConfigRequest.h
|
|
||||||
include/alibabacloud/nas/model/DescribeLDAPConfigResult.h
|
|
||||||
include/alibabacloud/nas/model/DescribeLifecyclePoliciesRequest.h
|
include/alibabacloud/nas/model/DescribeLifecyclePoliciesRequest.h
|
||||||
include/alibabacloud/nas/model/DescribeLifecyclePoliciesResult.h
|
include/alibabacloud/nas/model/DescribeLifecyclePoliciesResult.h
|
||||||
include/alibabacloud/nas/model/DescribeLogAnalysisRequest.h
|
include/alibabacloud/nas/model/DescribeLogAnalysisRequest.h
|
||||||
@@ -131,6 +153,8 @@ set(nas_public_header_model
|
|||||||
include/alibabacloud/nas/model/DescribeMountTargetsResult.h
|
include/alibabacloud/nas/model/DescribeMountTargetsResult.h
|
||||||
include/alibabacloud/nas/model/DescribeMountedClientsRequest.h
|
include/alibabacloud/nas/model/DescribeMountedClientsRequest.h
|
||||||
include/alibabacloud/nas/model/DescribeMountedClientsResult.h
|
include/alibabacloud/nas/model/DescribeMountedClientsResult.h
|
||||||
|
include/alibabacloud/nas/model/DescribeNfsAclRequest.h
|
||||||
|
include/alibabacloud/nas/model/DescribeNfsAclResult.h
|
||||||
include/alibabacloud/nas/model/DescribeProtocolMountTargetRequest.h
|
include/alibabacloud/nas/model/DescribeProtocolMountTargetRequest.h
|
||||||
include/alibabacloud/nas/model/DescribeProtocolMountTargetResult.h
|
include/alibabacloud/nas/model/DescribeProtocolMountTargetResult.h
|
||||||
include/alibabacloud/nas/model/DescribeProtocolServiceRequest.h
|
include/alibabacloud/nas/model/DescribeProtocolServiceRequest.h
|
||||||
@@ -143,14 +167,16 @@ set(nas_public_header_model
|
|||||||
include/alibabacloud/nas/model/DescribeSnapshotsResult.h
|
include/alibabacloud/nas/model/DescribeSnapshotsResult.h
|
||||||
include/alibabacloud/nas/model/DescribeStoragePackagesRequest.h
|
include/alibabacloud/nas/model/DescribeStoragePackagesRequest.h
|
||||||
include/alibabacloud/nas/model/DescribeStoragePackagesResult.h
|
include/alibabacloud/nas/model/DescribeStoragePackagesResult.h
|
||||||
include/alibabacloud/nas/model/DescribeTagsRequest.h
|
|
||||||
include/alibabacloud/nas/model/DescribeTagsResult.h
|
|
||||||
include/alibabacloud/nas/model/DescribeZonesRequest.h
|
include/alibabacloud/nas/model/DescribeZonesRequest.h
|
||||||
include/alibabacloud/nas/model/DescribeZonesResult.h
|
include/alibabacloud/nas/model/DescribeZonesResult.h
|
||||||
include/alibabacloud/nas/model/DisableAndCleanRecycleBinRequest.h
|
include/alibabacloud/nas/model/DisableAndCleanRecycleBinRequest.h
|
||||||
include/alibabacloud/nas/model/DisableAndCleanRecycleBinResult.h
|
include/alibabacloud/nas/model/DisableAndCleanRecycleBinResult.h
|
||||||
|
include/alibabacloud/nas/model/DisableNfsAclRequest.h
|
||||||
|
include/alibabacloud/nas/model/DisableNfsAclResult.h
|
||||||
include/alibabacloud/nas/model/DisableSmbAclRequest.h
|
include/alibabacloud/nas/model/DisableSmbAclRequest.h
|
||||||
include/alibabacloud/nas/model/DisableSmbAclResult.h
|
include/alibabacloud/nas/model/DisableSmbAclResult.h
|
||||||
|
include/alibabacloud/nas/model/EnableNfsAclRequest.h
|
||||||
|
include/alibabacloud/nas/model/EnableNfsAclResult.h
|
||||||
include/alibabacloud/nas/model/EnableRecycleBinRequest.h
|
include/alibabacloud/nas/model/EnableRecycleBinRequest.h
|
||||||
include/alibabacloud/nas/model/EnableRecycleBinResult.h
|
include/alibabacloud/nas/model/EnableRecycleBinResult.h
|
||||||
include/alibabacloud/nas/model/EnableSmbAclRequest.h
|
include/alibabacloud/nas/model/EnableSmbAclRequest.h
|
||||||
@@ -173,6 +199,8 @@ set(nas_public_header_model
|
|||||||
include/alibabacloud/nas/model/ListTagResourcesResult.h
|
include/alibabacloud/nas/model/ListTagResourcesResult.h
|
||||||
include/alibabacloud/nas/model/ModifyAccessGroupRequest.h
|
include/alibabacloud/nas/model/ModifyAccessGroupRequest.h
|
||||||
include/alibabacloud/nas/model/ModifyAccessGroupResult.h
|
include/alibabacloud/nas/model/ModifyAccessGroupResult.h
|
||||||
|
include/alibabacloud/nas/model/ModifyAccessPointRequest.h
|
||||||
|
include/alibabacloud/nas/model/ModifyAccessPointResult.h
|
||||||
include/alibabacloud/nas/model/ModifyAccessRuleRequest.h
|
include/alibabacloud/nas/model/ModifyAccessRuleRequest.h
|
||||||
include/alibabacloud/nas/model/ModifyAccessRuleResult.h
|
include/alibabacloud/nas/model/ModifyAccessRuleResult.h
|
||||||
include/alibabacloud/nas/model/ModifyAutoSnapshotPolicyRequest.h
|
include/alibabacloud/nas/model/ModifyAutoSnapshotPolicyRequest.h
|
||||||
@@ -209,6 +237,8 @@ set(nas_public_header_model
|
|||||||
include/alibabacloud/nas/model/RetryLifecycleRetrieveJobResult.h
|
include/alibabacloud/nas/model/RetryLifecycleRetrieveJobResult.h
|
||||||
include/alibabacloud/nas/model/SetDirQuotaRequest.h
|
include/alibabacloud/nas/model/SetDirQuotaRequest.h
|
||||||
include/alibabacloud/nas/model/SetDirQuotaResult.h
|
include/alibabacloud/nas/model/SetDirQuotaResult.h
|
||||||
|
include/alibabacloud/nas/model/SetFilesetQuotaRequest.h
|
||||||
|
include/alibabacloud/nas/model/SetFilesetQuotaResult.h
|
||||||
include/alibabacloud/nas/model/StartDataFlowRequest.h
|
include/alibabacloud/nas/model/StartDataFlowRequest.h
|
||||||
include/alibabacloud/nas/model/StartDataFlowResult.h
|
include/alibabacloud/nas/model/StartDataFlowResult.h
|
||||||
include/alibabacloud/nas/model/StopDataFlowRequest.h
|
include/alibabacloud/nas/model/StopDataFlowRequest.h
|
||||||
@@ -236,24 +266,36 @@ set(nas_src
|
|||||||
src/model/CancelAutoSnapshotPolicyResult.cc
|
src/model/CancelAutoSnapshotPolicyResult.cc
|
||||||
src/model/CancelDataFlowAutoRefreshRequest.cc
|
src/model/CancelDataFlowAutoRefreshRequest.cc
|
||||||
src/model/CancelDataFlowAutoRefreshResult.cc
|
src/model/CancelDataFlowAutoRefreshResult.cc
|
||||||
|
src/model/CancelDataFlowSubTaskRequest.cc
|
||||||
|
src/model/CancelDataFlowSubTaskResult.cc
|
||||||
src/model/CancelDataFlowTaskRequest.cc
|
src/model/CancelDataFlowTaskRequest.cc
|
||||||
src/model/CancelDataFlowTaskResult.cc
|
src/model/CancelDataFlowTaskResult.cc
|
||||||
src/model/CancelDirQuotaRequest.cc
|
src/model/CancelDirQuotaRequest.cc
|
||||||
src/model/CancelDirQuotaResult.cc
|
src/model/CancelDirQuotaResult.cc
|
||||||
|
src/model/CancelFilesetQuotaRequest.cc
|
||||||
|
src/model/CancelFilesetQuotaResult.cc
|
||||||
src/model/CancelLifecycleRetrieveJobRequest.cc
|
src/model/CancelLifecycleRetrieveJobRequest.cc
|
||||||
src/model/CancelLifecycleRetrieveJobResult.cc
|
src/model/CancelLifecycleRetrieveJobResult.cc
|
||||||
src/model/CancelRecycleBinJobRequest.cc
|
src/model/CancelRecycleBinJobRequest.cc
|
||||||
src/model/CancelRecycleBinJobResult.cc
|
src/model/CancelRecycleBinJobResult.cc
|
||||||
|
src/model/ChangeResourceGroupRequest.cc
|
||||||
|
src/model/ChangeResourceGroupResult.cc
|
||||||
src/model/CreateAccessGroupRequest.cc
|
src/model/CreateAccessGroupRequest.cc
|
||||||
src/model/CreateAccessGroupResult.cc
|
src/model/CreateAccessGroupResult.cc
|
||||||
|
src/model/CreateAccessPointRequest.cc
|
||||||
|
src/model/CreateAccessPointResult.cc
|
||||||
src/model/CreateAccessRuleRequest.cc
|
src/model/CreateAccessRuleRequest.cc
|
||||||
src/model/CreateAccessRuleResult.cc
|
src/model/CreateAccessRuleResult.cc
|
||||||
src/model/CreateAutoSnapshotPolicyRequest.cc
|
src/model/CreateAutoSnapshotPolicyRequest.cc
|
||||||
src/model/CreateAutoSnapshotPolicyResult.cc
|
src/model/CreateAutoSnapshotPolicyResult.cc
|
||||||
src/model/CreateDataFlowRequest.cc
|
src/model/CreateDataFlowRequest.cc
|
||||||
src/model/CreateDataFlowResult.cc
|
src/model/CreateDataFlowResult.cc
|
||||||
|
src/model/CreateDataFlowSubTaskRequest.cc
|
||||||
|
src/model/CreateDataFlowSubTaskResult.cc
|
||||||
src/model/CreateDataFlowTaskRequest.cc
|
src/model/CreateDataFlowTaskRequest.cc
|
||||||
src/model/CreateDataFlowTaskResult.cc
|
src/model/CreateDataFlowTaskResult.cc
|
||||||
|
src/model/CreateDirRequest.cc
|
||||||
|
src/model/CreateDirResult.cc
|
||||||
src/model/CreateFileRequest.cc
|
src/model/CreateFileRequest.cc
|
||||||
src/model/CreateFileResult.cc
|
src/model/CreateFileResult.cc
|
||||||
src/model/CreateFileSystemRequest.cc
|
src/model/CreateFileSystemRequest.cc
|
||||||
@@ -266,6 +308,8 @@ set(nas_src
|
|||||||
src/model/CreateLifecyclePolicyResult.cc
|
src/model/CreateLifecyclePolicyResult.cc
|
||||||
src/model/CreateLifecycleRetrieveJobRequest.cc
|
src/model/CreateLifecycleRetrieveJobRequest.cc
|
||||||
src/model/CreateLifecycleRetrieveJobResult.cc
|
src/model/CreateLifecycleRetrieveJobResult.cc
|
||||||
|
src/model/CreateLogAnalysisRequest.cc
|
||||||
|
src/model/CreateLogAnalysisResult.cc
|
||||||
src/model/CreateMountTargetRequest.cc
|
src/model/CreateMountTargetRequest.cc
|
||||||
src/model/CreateMountTargetResult.cc
|
src/model/CreateMountTargetResult.cc
|
||||||
src/model/CreateProtocolMountTargetRequest.cc
|
src/model/CreateProtocolMountTargetRequest.cc
|
||||||
@@ -280,6 +324,8 @@ set(nas_src
|
|||||||
src/model/CreateSnapshotResult.cc
|
src/model/CreateSnapshotResult.cc
|
||||||
src/model/DeleteAccessGroupRequest.cc
|
src/model/DeleteAccessGroupRequest.cc
|
||||||
src/model/DeleteAccessGroupResult.cc
|
src/model/DeleteAccessGroupResult.cc
|
||||||
|
src/model/DeleteAccessPointRequest.cc
|
||||||
|
src/model/DeleteAccessPointResult.cc
|
||||||
src/model/DeleteAccessRuleRequest.cc
|
src/model/DeleteAccessRuleRequest.cc
|
||||||
src/model/DeleteAccessRuleResult.cc
|
src/model/DeleteAccessRuleResult.cc
|
||||||
src/model/DeleteAutoSnapshotPolicyRequest.cc
|
src/model/DeleteAutoSnapshotPolicyRequest.cc
|
||||||
@@ -294,6 +340,8 @@ set(nas_src
|
|||||||
src/model/DeleteLDAPConfigResult.cc
|
src/model/DeleteLDAPConfigResult.cc
|
||||||
src/model/DeleteLifecyclePolicyRequest.cc
|
src/model/DeleteLifecyclePolicyRequest.cc
|
||||||
src/model/DeleteLifecyclePolicyResult.cc
|
src/model/DeleteLifecyclePolicyResult.cc
|
||||||
|
src/model/DeleteLogAnalysisRequest.cc
|
||||||
|
src/model/DeleteLogAnalysisResult.cc
|
||||||
src/model/DeleteMountTargetRequest.cc
|
src/model/DeleteMountTargetRequest.cc
|
||||||
src/model/DeleteMountTargetResult.cc
|
src/model/DeleteMountTargetResult.cc
|
||||||
src/model/DeleteProtocolMountTargetRequest.cc
|
src/model/DeleteProtocolMountTargetRequest.cc
|
||||||
@@ -304,6 +352,10 @@ set(nas_src
|
|||||||
src/model/DeleteSnapshotResult.cc
|
src/model/DeleteSnapshotResult.cc
|
||||||
src/model/DescribeAccessGroupsRequest.cc
|
src/model/DescribeAccessGroupsRequest.cc
|
||||||
src/model/DescribeAccessGroupsResult.cc
|
src/model/DescribeAccessGroupsResult.cc
|
||||||
|
src/model/DescribeAccessPointRequest.cc
|
||||||
|
src/model/DescribeAccessPointResult.cc
|
||||||
|
src/model/DescribeAccessPointsRequest.cc
|
||||||
|
src/model/DescribeAccessPointsResult.cc
|
||||||
src/model/DescribeAccessRulesRequest.cc
|
src/model/DescribeAccessRulesRequest.cc
|
||||||
src/model/DescribeAccessRulesResult.cc
|
src/model/DescribeAccessRulesResult.cc
|
||||||
src/model/DescribeAutoSnapshotPoliciesRequest.cc
|
src/model/DescribeAutoSnapshotPoliciesRequest.cc
|
||||||
@@ -312,6 +364,8 @@ set(nas_src
|
|||||||
src/model/DescribeAutoSnapshotTasksResult.cc
|
src/model/DescribeAutoSnapshotTasksResult.cc
|
||||||
src/model/DescribeBlackListClientsRequest.cc
|
src/model/DescribeBlackListClientsRequest.cc
|
||||||
src/model/DescribeBlackListClientsResult.cc
|
src/model/DescribeBlackListClientsResult.cc
|
||||||
|
src/model/DescribeDataFlowSubTasksRequest.cc
|
||||||
|
src/model/DescribeDataFlowSubTasksResult.cc
|
||||||
src/model/DescribeDataFlowTasksRequest.cc
|
src/model/DescribeDataFlowTasksRequest.cc
|
||||||
src/model/DescribeDataFlowTasksResult.cc
|
src/model/DescribeDataFlowTasksResult.cc
|
||||||
src/model/DescribeDataFlowsRequest.cc
|
src/model/DescribeDataFlowsRequest.cc
|
||||||
@@ -324,8 +378,6 @@ set(nas_src
|
|||||||
src/model/DescribeFileSystemsResult.cc
|
src/model/DescribeFileSystemsResult.cc
|
||||||
src/model/DescribeFilesetsRequest.cc
|
src/model/DescribeFilesetsRequest.cc
|
||||||
src/model/DescribeFilesetsResult.cc
|
src/model/DescribeFilesetsResult.cc
|
||||||
src/model/DescribeLDAPConfigRequest.cc
|
|
||||||
src/model/DescribeLDAPConfigResult.cc
|
|
||||||
src/model/DescribeLifecyclePoliciesRequest.cc
|
src/model/DescribeLifecyclePoliciesRequest.cc
|
||||||
src/model/DescribeLifecyclePoliciesResult.cc
|
src/model/DescribeLifecyclePoliciesResult.cc
|
||||||
src/model/DescribeLogAnalysisRequest.cc
|
src/model/DescribeLogAnalysisRequest.cc
|
||||||
@@ -334,6 +386,8 @@ set(nas_src
|
|||||||
src/model/DescribeMountTargetsResult.cc
|
src/model/DescribeMountTargetsResult.cc
|
||||||
src/model/DescribeMountedClientsRequest.cc
|
src/model/DescribeMountedClientsRequest.cc
|
||||||
src/model/DescribeMountedClientsResult.cc
|
src/model/DescribeMountedClientsResult.cc
|
||||||
|
src/model/DescribeNfsAclRequest.cc
|
||||||
|
src/model/DescribeNfsAclResult.cc
|
||||||
src/model/DescribeProtocolMountTargetRequest.cc
|
src/model/DescribeProtocolMountTargetRequest.cc
|
||||||
src/model/DescribeProtocolMountTargetResult.cc
|
src/model/DescribeProtocolMountTargetResult.cc
|
||||||
src/model/DescribeProtocolServiceRequest.cc
|
src/model/DescribeProtocolServiceRequest.cc
|
||||||
@@ -346,14 +400,16 @@ set(nas_src
|
|||||||
src/model/DescribeSnapshotsResult.cc
|
src/model/DescribeSnapshotsResult.cc
|
||||||
src/model/DescribeStoragePackagesRequest.cc
|
src/model/DescribeStoragePackagesRequest.cc
|
||||||
src/model/DescribeStoragePackagesResult.cc
|
src/model/DescribeStoragePackagesResult.cc
|
||||||
src/model/DescribeTagsRequest.cc
|
|
||||||
src/model/DescribeTagsResult.cc
|
|
||||||
src/model/DescribeZonesRequest.cc
|
src/model/DescribeZonesRequest.cc
|
||||||
src/model/DescribeZonesResult.cc
|
src/model/DescribeZonesResult.cc
|
||||||
src/model/DisableAndCleanRecycleBinRequest.cc
|
src/model/DisableAndCleanRecycleBinRequest.cc
|
||||||
src/model/DisableAndCleanRecycleBinResult.cc
|
src/model/DisableAndCleanRecycleBinResult.cc
|
||||||
|
src/model/DisableNfsAclRequest.cc
|
||||||
|
src/model/DisableNfsAclResult.cc
|
||||||
src/model/DisableSmbAclRequest.cc
|
src/model/DisableSmbAclRequest.cc
|
||||||
src/model/DisableSmbAclResult.cc
|
src/model/DisableSmbAclResult.cc
|
||||||
|
src/model/EnableNfsAclRequest.cc
|
||||||
|
src/model/EnableNfsAclResult.cc
|
||||||
src/model/EnableRecycleBinRequest.cc
|
src/model/EnableRecycleBinRequest.cc
|
||||||
src/model/EnableRecycleBinResult.cc
|
src/model/EnableRecycleBinResult.cc
|
||||||
src/model/EnableSmbAclRequest.cc
|
src/model/EnableSmbAclRequest.cc
|
||||||
@@ -376,6 +432,8 @@ set(nas_src
|
|||||||
src/model/ListTagResourcesResult.cc
|
src/model/ListTagResourcesResult.cc
|
||||||
src/model/ModifyAccessGroupRequest.cc
|
src/model/ModifyAccessGroupRequest.cc
|
||||||
src/model/ModifyAccessGroupResult.cc
|
src/model/ModifyAccessGroupResult.cc
|
||||||
|
src/model/ModifyAccessPointRequest.cc
|
||||||
|
src/model/ModifyAccessPointResult.cc
|
||||||
src/model/ModifyAccessRuleRequest.cc
|
src/model/ModifyAccessRuleRequest.cc
|
||||||
src/model/ModifyAccessRuleResult.cc
|
src/model/ModifyAccessRuleResult.cc
|
||||||
src/model/ModifyAutoSnapshotPolicyRequest.cc
|
src/model/ModifyAutoSnapshotPolicyRequest.cc
|
||||||
@@ -412,6 +470,8 @@ set(nas_src
|
|||||||
src/model/RetryLifecycleRetrieveJobResult.cc
|
src/model/RetryLifecycleRetrieveJobResult.cc
|
||||||
src/model/SetDirQuotaRequest.cc
|
src/model/SetDirQuotaRequest.cc
|
||||||
src/model/SetDirQuotaResult.cc
|
src/model/SetDirQuotaResult.cc
|
||||||
|
src/model/SetFilesetQuotaRequest.cc
|
||||||
|
src/model/SetFilesetQuotaResult.cc
|
||||||
src/model/StartDataFlowRequest.cc
|
src/model/StartDataFlowRequest.cc
|
||||||
src/model/StartDataFlowResult.cc
|
src/model/StartDataFlowResult.cc
|
||||||
src/model/StopDataFlowRequest.cc
|
src/model/StopDataFlowRequest.cc
|
||||||
|
|||||||
@@ -34,24 +34,36 @@
|
|||||||
#include "model/CancelAutoSnapshotPolicyResult.h"
|
#include "model/CancelAutoSnapshotPolicyResult.h"
|
||||||
#include "model/CancelDataFlowAutoRefreshRequest.h"
|
#include "model/CancelDataFlowAutoRefreshRequest.h"
|
||||||
#include "model/CancelDataFlowAutoRefreshResult.h"
|
#include "model/CancelDataFlowAutoRefreshResult.h"
|
||||||
|
#include "model/CancelDataFlowSubTaskRequest.h"
|
||||||
|
#include "model/CancelDataFlowSubTaskResult.h"
|
||||||
#include "model/CancelDataFlowTaskRequest.h"
|
#include "model/CancelDataFlowTaskRequest.h"
|
||||||
#include "model/CancelDataFlowTaskResult.h"
|
#include "model/CancelDataFlowTaskResult.h"
|
||||||
#include "model/CancelDirQuotaRequest.h"
|
#include "model/CancelDirQuotaRequest.h"
|
||||||
#include "model/CancelDirQuotaResult.h"
|
#include "model/CancelDirQuotaResult.h"
|
||||||
|
#include "model/CancelFilesetQuotaRequest.h"
|
||||||
|
#include "model/CancelFilesetQuotaResult.h"
|
||||||
#include "model/CancelLifecycleRetrieveJobRequest.h"
|
#include "model/CancelLifecycleRetrieveJobRequest.h"
|
||||||
#include "model/CancelLifecycleRetrieveJobResult.h"
|
#include "model/CancelLifecycleRetrieveJobResult.h"
|
||||||
#include "model/CancelRecycleBinJobRequest.h"
|
#include "model/CancelRecycleBinJobRequest.h"
|
||||||
#include "model/CancelRecycleBinJobResult.h"
|
#include "model/CancelRecycleBinJobResult.h"
|
||||||
|
#include "model/ChangeResourceGroupRequest.h"
|
||||||
|
#include "model/ChangeResourceGroupResult.h"
|
||||||
#include "model/CreateAccessGroupRequest.h"
|
#include "model/CreateAccessGroupRequest.h"
|
||||||
#include "model/CreateAccessGroupResult.h"
|
#include "model/CreateAccessGroupResult.h"
|
||||||
|
#include "model/CreateAccessPointRequest.h"
|
||||||
|
#include "model/CreateAccessPointResult.h"
|
||||||
#include "model/CreateAccessRuleRequest.h"
|
#include "model/CreateAccessRuleRequest.h"
|
||||||
#include "model/CreateAccessRuleResult.h"
|
#include "model/CreateAccessRuleResult.h"
|
||||||
#include "model/CreateAutoSnapshotPolicyRequest.h"
|
#include "model/CreateAutoSnapshotPolicyRequest.h"
|
||||||
#include "model/CreateAutoSnapshotPolicyResult.h"
|
#include "model/CreateAutoSnapshotPolicyResult.h"
|
||||||
#include "model/CreateDataFlowRequest.h"
|
#include "model/CreateDataFlowRequest.h"
|
||||||
#include "model/CreateDataFlowResult.h"
|
#include "model/CreateDataFlowResult.h"
|
||||||
|
#include "model/CreateDataFlowSubTaskRequest.h"
|
||||||
|
#include "model/CreateDataFlowSubTaskResult.h"
|
||||||
#include "model/CreateDataFlowTaskRequest.h"
|
#include "model/CreateDataFlowTaskRequest.h"
|
||||||
#include "model/CreateDataFlowTaskResult.h"
|
#include "model/CreateDataFlowTaskResult.h"
|
||||||
|
#include "model/CreateDirRequest.h"
|
||||||
|
#include "model/CreateDirResult.h"
|
||||||
#include "model/CreateFileRequest.h"
|
#include "model/CreateFileRequest.h"
|
||||||
#include "model/CreateFileResult.h"
|
#include "model/CreateFileResult.h"
|
||||||
#include "model/CreateFileSystemRequest.h"
|
#include "model/CreateFileSystemRequest.h"
|
||||||
@@ -64,6 +76,8 @@
|
|||||||
#include "model/CreateLifecyclePolicyResult.h"
|
#include "model/CreateLifecyclePolicyResult.h"
|
||||||
#include "model/CreateLifecycleRetrieveJobRequest.h"
|
#include "model/CreateLifecycleRetrieveJobRequest.h"
|
||||||
#include "model/CreateLifecycleRetrieveJobResult.h"
|
#include "model/CreateLifecycleRetrieveJobResult.h"
|
||||||
|
#include "model/CreateLogAnalysisRequest.h"
|
||||||
|
#include "model/CreateLogAnalysisResult.h"
|
||||||
#include "model/CreateMountTargetRequest.h"
|
#include "model/CreateMountTargetRequest.h"
|
||||||
#include "model/CreateMountTargetResult.h"
|
#include "model/CreateMountTargetResult.h"
|
||||||
#include "model/CreateProtocolMountTargetRequest.h"
|
#include "model/CreateProtocolMountTargetRequest.h"
|
||||||
@@ -78,6 +92,8 @@
|
|||||||
#include "model/CreateSnapshotResult.h"
|
#include "model/CreateSnapshotResult.h"
|
||||||
#include "model/DeleteAccessGroupRequest.h"
|
#include "model/DeleteAccessGroupRequest.h"
|
||||||
#include "model/DeleteAccessGroupResult.h"
|
#include "model/DeleteAccessGroupResult.h"
|
||||||
|
#include "model/DeleteAccessPointRequest.h"
|
||||||
|
#include "model/DeleteAccessPointResult.h"
|
||||||
#include "model/DeleteAccessRuleRequest.h"
|
#include "model/DeleteAccessRuleRequest.h"
|
||||||
#include "model/DeleteAccessRuleResult.h"
|
#include "model/DeleteAccessRuleResult.h"
|
||||||
#include "model/DeleteAutoSnapshotPolicyRequest.h"
|
#include "model/DeleteAutoSnapshotPolicyRequest.h"
|
||||||
@@ -92,6 +108,8 @@
|
|||||||
#include "model/DeleteLDAPConfigResult.h"
|
#include "model/DeleteLDAPConfigResult.h"
|
||||||
#include "model/DeleteLifecyclePolicyRequest.h"
|
#include "model/DeleteLifecyclePolicyRequest.h"
|
||||||
#include "model/DeleteLifecyclePolicyResult.h"
|
#include "model/DeleteLifecyclePolicyResult.h"
|
||||||
|
#include "model/DeleteLogAnalysisRequest.h"
|
||||||
|
#include "model/DeleteLogAnalysisResult.h"
|
||||||
#include "model/DeleteMountTargetRequest.h"
|
#include "model/DeleteMountTargetRequest.h"
|
||||||
#include "model/DeleteMountTargetResult.h"
|
#include "model/DeleteMountTargetResult.h"
|
||||||
#include "model/DeleteProtocolMountTargetRequest.h"
|
#include "model/DeleteProtocolMountTargetRequest.h"
|
||||||
@@ -102,6 +120,10 @@
|
|||||||
#include "model/DeleteSnapshotResult.h"
|
#include "model/DeleteSnapshotResult.h"
|
||||||
#include "model/DescribeAccessGroupsRequest.h"
|
#include "model/DescribeAccessGroupsRequest.h"
|
||||||
#include "model/DescribeAccessGroupsResult.h"
|
#include "model/DescribeAccessGroupsResult.h"
|
||||||
|
#include "model/DescribeAccessPointRequest.h"
|
||||||
|
#include "model/DescribeAccessPointResult.h"
|
||||||
|
#include "model/DescribeAccessPointsRequest.h"
|
||||||
|
#include "model/DescribeAccessPointsResult.h"
|
||||||
#include "model/DescribeAccessRulesRequest.h"
|
#include "model/DescribeAccessRulesRequest.h"
|
||||||
#include "model/DescribeAccessRulesResult.h"
|
#include "model/DescribeAccessRulesResult.h"
|
||||||
#include "model/DescribeAutoSnapshotPoliciesRequest.h"
|
#include "model/DescribeAutoSnapshotPoliciesRequest.h"
|
||||||
@@ -110,6 +132,8 @@
|
|||||||
#include "model/DescribeAutoSnapshotTasksResult.h"
|
#include "model/DescribeAutoSnapshotTasksResult.h"
|
||||||
#include "model/DescribeBlackListClientsRequest.h"
|
#include "model/DescribeBlackListClientsRequest.h"
|
||||||
#include "model/DescribeBlackListClientsResult.h"
|
#include "model/DescribeBlackListClientsResult.h"
|
||||||
|
#include "model/DescribeDataFlowSubTasksRequest.h"
|
||||||
|
#include "model/DescribeDataFlowSubTasksResult.h"
|
||||||
#include "model/DescribeDataFlowTasksRequest.h"
|
#include "model/DescribeDataFlowTasksRequest.h"
|
||||||
#include "model/DescribeDataFlowTasksResult.h"
|
#include "model/DescribeDataFlowTasksResult.h"
|
||||||
#include "model/DescribeDataFlowsRequest.h"
|
#include "model/DescribeDataFlowsRequest.h"
|
||||||
@@ -122,8 +146,6 @@
|
|||||||
#include "model/DescribeFileSystemsResult.h"
|
#include "model/DescribeFileSystemsResult.h"
|
||||||
#include "model/DescribeFilesetsRequest.h"
|
#include "model/DescribeFilesetsRequest.h"
|
||||||
#include "model/DescribeFilesetsResult.h"
|
#include "model/DescribeFilesetsResult.h"
|
||||||
#include "model/DescribeLDAPConfigRequest.h"
|
|
||||||
#include "model/DescribeLDAPConfigResult.h"
|
|
||||||
#include "model/DescribeLifecyclePoliciesRequest.h"
|
#include "model/DescribeLifecyclePoliciesRequest.h"
|
||||||
#include "model/DescribeLifecyclePoliciesResult.h"
|
#include "model/DescribeLifecyclePoliciesResult.h"
|
||||||
#include "model/DescribeLogAnalysisRequest.h"
|
#include "model/DescribeLogAnalysisRequest.h"
|
||||||
@@ -132,6 +154,8 @@
|
|||||||
#include "model/DescribeMountTargetsResult.h"
|
#include "model/DescribeMountTargetsResult.h"
|
||||||
#include "model/DescribeMountedClientsRequest.h"
|
#include "model/DescribeMountedClientsRequest.h"
|
||||||
#include "model/DescribeMountedClientsResult.h"
|
#include "model/DescribeMountedClientsResult.h"
|
||||||
|
#include "model/DescribeNfsAclRequest.h"
|
||||||
|
#include "model/DescribeNfsAclResult.h"
|
||||||
#include "model/DescribeProtocolMountTargetRequest.h"
|
#include "model/DescribeProtocolMountTargetRequest.h"
|
||||||
#include "model/DescribeProtocolMountTargetResult.h"
|
#include "model/DescribeProtocolMountTargetResult.h"
|
||||||
#include "model/DescribeProtocolServiceRequest.h"
|
#include "model/DescribeProtocolServiceRequest.h"
|
||||||
@@ -144,14 +168,16 @@
|
|||||||
#include "model/DescribeSnapshotsResult.h"
|
#include "model/DescribeSnapshotsResult.h"
|
||||||
#include "model/DescribeStoragePackagesRequest.h"
|
#include "model/DescribeStoragePackagesRequest.h"
|
||||||
#include "model/DescribeStoragePackagesResult.h"
|
#include "model/DescribeStoragePackagesResult.h"
|
||||||
#include "model/DescribeTagsRequest.h"
|
|
||||||
#include "model/DescribeTagsResult.h"
|
|
||||||
#include "model/DescribeZonesRequest.h"
|
#include "model/DescribeZonesRequest.h"
|
||||||
#include "model/DescribeZonesResult.h"
|
#include "model/DescribeZonesResult.h"
|
||||||
#include "model/DisableAndCleanRecycleBinRequest.h"
|
#include "model/DisableAndCleanRecycleBinRequest.h"
|
||||||
#include "model/DisableAndCleanRecycleBinResult.h"
|
#include "model/DisableAndCleanRecycleBinResult.h"
|
||||||
|
#include "model/DisableNfsAclRequest.h"
|
||||||
|
#include "model/DisableNfsAclResult.h"
|
||||||
#include "model/DisableSmbAclRequest.h"
|
#include "model/DisableSmbAclRequest.h"
|
||||||
#include "model/DisableSmbAclResult.h"
|
#include "model/DisableSmbAclResult.h"
|
||||||
|
#include "model/EnableNfsAclRequest.h"
|
||||||
|
#include "model/EnableNfsAclResult.h"
|
||||||
#include "model/EnableRecycleBinRequest.h"
|
#include "model/EnableRecycleBinRequest.h"
|
||||||
#include "model/EnableRecycleBinResult.h"
|
#include "model/EnableRecycleBinResult.h"
|
||||||
#include "model/EnableSmbAclRequest.h"
|
#include "model/EnableSmbAclRequest.h"
|
||||||
@@ -174,6 +200,8 @@
|
|||||||
#include "model/ListTagResourcesResult.h"
|
#include "model/ListTagResourcesResult.h"
|
||||||
#include "model/ModifyAccessGroupRequest.h"
|
#include "model/ModifyAccessGroupRequest.h"
|
||||||
#include "model/ModifyAccessGroupResult.h"
|
#include "model/ModifyAccessGroupResult.h"
|
||||||
|
#include "model/ModifyAccessPointRequest.h"
|
||||||
|
#include "model/ModifyAccessPointResult.h"
|
||||||
#include "model/ModifyAccessRuleRequest.h"
|
#include "model/ModifyAccessRuleRequest.h"
|
||||||
#include "model/ModifyAccessRuleResult.h"
|
#include "model/ModifyAccessRuleResult.h"
|
||||||
#include "model/ModifyAutoSnapshotPolicyRequest.h"
|
#include "model/ModifyAutoSnapshotPolicyRequest.h"
|
||||||
@@ -210,6 +238,8 @@
|
|||||||
#include "model/RetryLifecycleRetrieveJobResult.h"
|
#include "model/RetryLifecycleRetrieveJobResult.h"
|
||||||
#include "model/SetDirQuotaRequest.h"
|
#include "model/SetDirQuotaRequest.h"
|
||||||
#include "model/SetDirQuotaResult.h"
|
#include "model/SetDirQuotaResult.h"
|
||||||
|
#include "model/SetFilesetQuotaRequest.h"
|
||||||
|
#include "model/SetFilesetQuotaResult.h"
|
||||||
#include "model/StartDataFlowRequest.h"
|
#include "model/StartDataFlowRequest.h"
|
||||||
#include "model/StartDataFlowResult.h"
|
#include "model/StartDataFlowResult.h"
|
||||||
#include "model/StopDataFlowRequest.h"
|
#include "model/StopDataFlowRequest.h"
|
||||||
@@ -249,21 +279,33 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::CancelDataFlowAutoRefreshResult> CancelDataFlowAutoRefreshOutcome;
|
typedef Outcome<Error, Model::CancelDataFlowAutoRefreshResult> CancelDataFlowAutoRefreshOutcome;
|
||||||
typedef std::future<CancelDataFlowAutoRefreshOutcome> CancelDataFlowAutoRefreshOutcomeCallable;
|
typedef std::future<CancelDataFlowAutoRefreshOutcome> CancelDataFlowAutoRefreshOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::CancelDataFlowAutoRefreshRequest&, const CancelDataFlowAutoRefreshOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelDataFlowAutoRefreshAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::CancelDataFlowAutoRefreshRequest&, const CancelDataFlowAutoRefreshOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelDataFlowAutoRefreshAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::CancelDataFlowSubTaskResult> CancelDataFlowSubTaskOutcome;
|
||||||
|
typedef std::future<CancelDataFlowSubTaskOutcome> CancelDataFlowSubTaskOutcomeCallable;
|
||||||
|
typedef std::function<void(const NASClient*, const Model::CancelDataFlowSubTaskRequest&, const CancelDataFlowSubTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelDataFlowSubTaskAsyncHandler;
|
||||||
typedef Outcome<Error, Model::CancelDataFlowTaskResult> CancelDataFlowTaskOutcome;
|
typedef Outcome<Error, Model::CancelDataFlowTaskResult> CancelDataFlowTaskOutcome;
|
||||||
typedef std::future<CancelDataFlowTaskOutcome> CancelDataFlowTaskOutcomeCallable;
|
typedef std::future<CancelDataFlowTaskOutcome> CancelDataFlowTaskOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::CancelDataFlowTaskRequest&, const CancelDataFlowTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelDataFlowTaskAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::CancelDataFlowTaskRequest&, const CancelDataFlowTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelDataFlowTaskAsyncHandler;
|
||||||
typedef Outcome<Error, Model::CancelDirQuotaResult> CancelDirQuotaOutcome;
|
typedef Outcome<Error, Model::CancelDirQuotaResult> CancelDirQuotaOutcome;
|
||||||
typedef std::future<CancelDirQuotaOutcome> CancelDirQuotaOutcomeCallable;
|
typedef std::future<CancelDirQuotaOutcome> CancelDirQuotaOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::CancelDirQuotaRequest&, const CancelDirQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelDirQuotaAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::CancelDirQuotaRequest&, const CancelDirQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelDirQuotaAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::CancelFilesetQuotaResult> CancelFilesetQuotaOutcome;
|
||||||
|
typedef std::future<CancelFilesetQuotaOutcome> CancelFilesetQuotaOutcomeCallable;
|
||||||
|
typedef std::function<void(const NASClient*, const Model::CancelFilesetQuotaRequest&, const CancelFilesetQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelFilesetQuotaAsyncHandler;
|
||||||
typedef Outcome<Error, Model::CancelLifecycleRetrieveJobResult> CancelLifecycleRetrieveJobOutcome;
|
typedef Outcome<Error, Model::CancelLifecycleRetrieveJobResult> CancelLifecycleRetrieveJobOutcome;
|
||||||
typedef std::future<CancelLifecycleRetrieveJobOutcome> CancelLifecycleRetrieveJobOutcomeCallable;
|
typedef std::future<CancelLifecycleRetrieveJobOutcome> CancelLifecycleRetrieveJobOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::CancelLifecycleRetrieveJobRequest&, const CancelLifecycleRetrieveJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelLifecycleRetrieveJobAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::CancelLifecycleRetrieveJobRequest&, const CancelLifecycleRetrieveJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelLifecycleRetrieveJobAsyncHandler;
|
||||||
typedef Outcome<Error, Model::CancelRecycleBinJobResult> CancelRecycleBinJobOutcome;
|
typedef Outcome<Error, Model::CancelRecycleBinJobResult> CancelRecycleBinJobOutcome;
|
||||||
typedef std::future<CancelRecycleBinJobOutcome> CancelRecycleBinJobOutcomeCallable;
|
typedef std::future<CancelRecycleBinJobOutcome> CancelRecycleBinJobOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::CancelRecycleBinJobRequest&, const CancelRecycleBinJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelRecycleBinJobAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::CancelRecycleBinJobRequest&, const CancelRecycleBinJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelRecycleBinJobAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ChangeResourceGroupResult> ChangeResourceGroupOutcome;
|
||||||
|
typedef std::future<ChangeResourceGroupOutcome> ChangeResourceGroupOutcomeCallable;
|
||||||
|
typedef std::function<void(const NASClient*, const Model::ChangeResourceGroupRequest&, const ChangeResourceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeResourceGroupAsyncHandler;
|
||||||
typedef Outcome<Error, Model::CreateAccessGroupResult> CreateAccessGroupOutcome;
|
typedef Outcome<Error, Model::CreateAccessGroupResult> CreateAccessGroupOutcome;
|
||||||
typedef std::future<CreateAccessGroupOutcome> CreateAccessGroupOutcomeCallable;
|
typedef std::future<CreateAccessGroupOutcome> CreateAccessGroupOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::CreateAccessGroupRequest&, const CreateAccessGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAccessGroupAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::CreateAccessGroupRequest&, const CreateAccessGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAccessGroupAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::CreateAccessPointResult> CreateAccessPointOutcome;
|
||||||
|
typedef std::future<CreateAccessPointOutcome> CreateAccessPointOutcomeCallable;
|
||||||
|
typedef std::function<void(const NASClient*, const Model::CreateAccessPointRequest&, const CreateAccessPointOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAccessPointAsyncHandler;
|
||||||
typedef Outcome<Error, Model::CreateAccessRuleResult> CreateAccessRuleOutcome;
|
typedef Outcome<Error, Model::CreateAccessRuleResult> CreateAccessRuleOutcome;
|
||||||
typedef std::future<CreateAccessRuleOutcome> CreateAccessRuleOutcomeCallable;
|
typedef std::future<CreateAccessRuleOutcome> CreateAccessRuleOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::CreateAccessRuleRequest&, const CreateAccessRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAccessRuleAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::CreateAccessRuleRequest&, const CreateAccessRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAccessRuleAsyncHandler;
|
||||||
@@ -273,9 +315,15 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::CreateDataFlowResult> CreateDataFlowOutcome;
|
typedef Outcome<Error, Model::CreateDataFlowResult> CreateDataFlowOutcome;
|
||||||
typedef std::future<CreateDataFlowOutcome> CreateDataFlowOutcomeCallable;
|
typedef std::future<CreateDataFlowOutcome> CreateDataFlowOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::CreateDataFlowRequest&, const CreateDataFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDataFlowAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::CreateDataFlowRequest&, const CreateDataFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDataFlowAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::CreateDataFlowSubTaskResult> CreateDataFlowSubTaskOutcome;
|
||||||
|
typedef std::future<CreateDataFlowSubTaskOutcome> CreateDataFlowSubTaskOutcomeCallable;
|
||||||
|
typedef std::function<void(const NASClient*, const Model::CreateDataFlowSubTaskRequest&, const CreateDataFlowSubTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDataFlowSubTaskAsyncHandler;
|
||||||
typedef Outcome<Error, Model::CreateDataFlowTaskResult> CreateDataFlowTaskOutcome;
|
typedef Outcome<Error, Model::CreateDataFlowTaskResult> CreateDataFlowTaskOutcome;
|
||||||
typedef std::future<CreateDataFlowTaskOutcome> CreateDataFlowTaskOutcomeCallable;
|
typedef std::future<CreateDataFlowTaskOutcome> CreateDataFlowTaskOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::CreateDataFlowTaskRequest&, const CreateDataFlowTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDataFlowTaskAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::CreateDataFlowTaskRequest&, const CreateDataFlowTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDataFlowTaskAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::CreateDirResult> CreateDirOutcome;
|
||||||
|
typedef std::future<CreateDirOutcome> CreateDirOutcomeCallable;
|
||||||
|
typedef std::function<void(const NASClient*, const Model::CreateDirRequest&, const CreateDirOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDirAsyncHandler;
|
||||||
typedef Outcome<Error, Model::CreateFileResult> CreateFileOutcome;
|
typedef Outcome<Error, Model::CreateFileResult> CreateFileOutcome;
|
||||||
typedef std::future<CreateFileOutcome> CreateFileOutcomeCallable;
|
typedef std::future<CreateFileOutcome> CreateFileOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::CreateFileRequest&, const CreateFileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateFileAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::CreateFileRequest&, const CreateFileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateFileAsyncHandler;
|
||||||
@@ -294,6 +342,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::CreateLifecycleRetrieveJobResult> CreateLifecycleRetrieveJobOutcome;
|
typedef Outcome<Error, Model::CreateLifecycleRetrieveJobResult> CreateLifecycleRetrieveJobOutcome;
|
||||||
typedef std::future<CreateLifecycleRetrieveJobOutcome> CreateLifecycleRetrieveJobOutcomeCallable;
|
typedef std::future<CreateLifecycleRetrieveJobOutcome> CreateLifecycleRetrieveJobOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::CreateLifecycleRetrieveJobRequest&, const CreateLifecycleRetrieveJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateLifecycleRetrieveJobAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::CreateLifecycleRetrieveJobRequest&, const CreateLifecycleRetrieveJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateLifecycleRetrieveJobAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::CreateLogAnalysisResult> CreateLogAnalysisOutcome;
|
||||||
|
typedef std::future<CreateLogAnalysisOutcome> CreateLogAnalysisOutcomeCallable;
|
||||||
|
typedef std::function<void(const NASClient*, const Model::CreateLogAnalysisRequest&, const CreateLogAnalysisOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateLogAnalysisAsyncHandler;
|
||||||
typedef Outcome<Error, Model::CreateMountTargetResult> CreateMountTargetOutcome;
|
typedef Outcome<Error, Model::CreateMountTargetResult> CreateMountTargetOutcome;
|
||||||
typedef std::future<CreateMountTargetOutcome> CreateMountTargetOutcomeCallable;
|
typedef std::future<CreateMountTargetOutcome> CreateMountTargetOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::CreateMountTargetRequest&, const CreateMountTargetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMountTargetAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::CreateMountTargetRequest&, const CreateMountTargetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMountTargetAsyncHandler;
|
||||||
@@ -315,6 +366,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DeleteAccessGroupResult> DeleteAccessGroupOutcome;
|
typedef Outcome<Error, Model::DeleteAccessGroupResult> DeleteAccessGroupOutcome;
|
||||||
typedef std::future<DeleteAccessGroupOutcome> DeleteAccessGroupOutcomeCallable;
|
typedef std::future<DeleteAccessGroupOutcome> DeleteAccessGroupOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::DeleteAccessGroupRequest&, const DeleteAccessGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAccessGroupAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::DeleteAccessGroupRequest&, const DeleteAccessGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAccessGroupAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DeleteAccessPointResult> DeleteAccessPointOutcome;
|
||||||
|
typedef std::future<DeleteAccessPointOutcome> DeleteAccessPointOutcomeCallable;
|
||||||
|
typedef std::function<void(const NASClient*, const Model::DeleteAccessPointRequest&, const DeleteAccessPointOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAccessPointAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DeleteAccessRuleResult> DeleteAccessRuleOutcome;
|
typedef Outcome<Error, Model::DeleteAccessRuleResult> DeleteAccessRuleOutcome;
|
||||||
typedef std::future<DeleteAccessRuleOutcome> DeleteAccessRuleOutcomeCallable;
|
typedef std::future<DeleteAccessRuleOutcome> DeleteAccessRuleOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::DeleteAccessRuleRequest&, const DeleteAccessRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAccessRuleAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::DeleteAccessRuleRequest&, const DeleteAccessRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAccessRuleAsyncHandler;
|
||||||
@@ -336,6 +390,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DeleteLifecyclePolicyResult> DeleteLifecyclePolicyOutcome;
|
typedef Outcome<Error, Model::DeleteLifecyclePolicyResult> DeleteLifecyclePolicyOutcome;
|
||||||
typedef std::future<DeleteLifecyclePolicyOutcome> DeleteLifecyclePolicyOutcomeCallable;
|
typedef std::future<DeleteLifecyclePolicyOutcome> DeleteLifecyclePolicyOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::DeleteLifecyclePolicyRequest&, const DeleteLifecyclePolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLifecyclePolicyAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::DeleteLifecyclePolicyRequest&, const DeleteLifecyclePolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLifecyclePolicyAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DeleteLogAnalysisResult> DeleteLogAnalysisOutcome;
|
||||||
|
typedef std::future<DeleteLogAnalysisOutcome> DeleteLogAnalysisOutcomeCallable;
|
||||||
|
typedef std::function<void(const NASClient*, const Model::DeleteLogAnalysisRequest&, const DeleteLogAnalysisOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLogAnalysisAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DeleteMountTargetResult> DeleteMountTargetOutcome;
|
typedef Outcome<Error, Model::DeleteMountTargetResult> DeleteMountTargetOutcome;
|
||||||
typedef std::future<DeleteMountTargetOutcome> DeleteMountTargetOutcomeCallable;
|
typedef std::future<DeleteMountTargetOutcome> DeleteMountTargetOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::DeleteMountTargetRequest&, const DeleteMountTargetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMountTargetAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::DeleteMountTargetRequest&, const DeleteMountTargetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMountTargetAsyncHandler;
|
||||||
@@ -351,6 +408,12 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DescribeAccessGroupsResult> DescribeAccessGroupsOutcome;
|
typedef Outcome<Error, Model::DescribeAccessGroupsResult> DescribeAccessGroupsOutcome;
|
||||||
typedef std::future<DescribeAccessGroupsOutcome> DescribeAccessGroupsOutcomeCallable;
|
typedef std::future<DescribeAccessGroupsOutcome> DescribeAccessGroupsOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::DescribeAccessGroupsRequest&, const DescribeAccessGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAccessGroupsAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::DescribeAccessGroupsRequest&, const DescribeAccessGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAccessGroupsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeAccessPointResult> DescribeAccessPointOutcome;
|
||||||
|
typedef std::future<DescribeAccessPointOutcome> DescribeAccessPointOutcomeCallable;
|
||||||
|
typedef std::function<void(const NASClient*, const Model::DescribeAccessPointRequest&, const DescribeAccessPointOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAccessPointAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeAccessPointsResult> DescribeAccessPointsOutcome;
|
||||||
|
typedef std::future<DescribeAccessPointsOutcome> DescribeAccessPointsOutcomeCallable;
|
||||||
|
typedef std::function<void(const NASClient*, const Model::DescribeAccessPointsRequest&, const DescribeAccessPointsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAccessPointsAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeAccessRulesResult> DescribeAccessRulesOutcome;
|
typedef Outcome<Error, Model::DescribeAccessRulesResult> DescribeAccessRulesOutcome;
|
||||||
typedef std::future<DescribeAccessRulesOutcome> DescribeAccessRulesOutcomeCallable;
|
typedef std::future<DescribeAccessRulesOutcome> DescribeAccessRulesOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::DescribeAccessRulesRequest&, const DescribeAccessRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAccessRulesAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::DescribeAccessRulesRequest&, const DescribeAccessRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAccessRulesAsyncHandler;
|
||||||
@@ -363,6 +426,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DescribeBlackListClientsResult> DescribeBlackListClientsOutcome;
|
typedef Outcome<Error, Model::DescribeBlackListClientsResult> DescribeBlackListClientsOutcome;
|
||||||
typedef std::future<DescribeBlackListClientsOutcome> DescribeBlackListClientsOutcomeCallable;
|
typedef std::future<DescribeBlackListClientsOutcome> DescribeBlackListClientsOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::DescribeBlackListClientsRequest&, const DescribeBlackListClientsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBlackListClientsAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::DescribeBlackListClientsRequest&, const DescribeBlackListClientsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBlackListClientsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeDataFlowSubTasksResult> DescribeDataFlowSubTasksOutcome;
|
||||||
|
typedef std::future<DescribeDataFlowSubTasksOutcome> DescribeDataFlowSubTasksOutcomeCallable;
|
||||||
|
typedef std::function<void(const NASClient*, const Model::DescribeDataFlowSubTasksRequest&, const DescribeDataFlowSubTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDataFlowSubTasksAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeDataFlowTasksResult> DescribeDataFlowTasksOutcome;
|
typedef Outcome<Error, Model::DescribeDataFlowTasksResult> DescribeDataFlowTasksOutcome;
|
||||||
typedef std::future<DescribeDataFlowTasksOutcome> DescribeDataFlowTasksOutcomeCallable;
|
typedef std::future<DescribeDataFlowTasksOutcome> DescribeDataFlowTasksOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::DescribeDataFlowTasksRequest&, const DescribeDataFlowTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDataFlowTasksAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::DescribeDataFlowTasksRequest&, const DescribeDataFlowTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDataFlowTasksAsyncHandler;
|
||||||
@@ -381,9 +447,6 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DescribeFilesetsResult> DescribeFilesetsOutcome;
|
typedef Outcome<Error, Model::DescribeFilesetsResult> DescribeFilesetsOutcome;
|
||||||
typedef std::future<DescribeFilesetsOutcome> DescribeFilesetsOutcomeCallable;
|
typedef std::future<DescribeFilesetsOutcome> DescribeFilesetsOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::DescribeFilesetsRequest&, const DescribeFilesetsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFilesetsAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::DescribeFilesetsRequest&, const DescribeFilesetsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFilesetsAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeLDAPConfigResult> DescribeLDAPConfigOutcome;
|
|
||||||
typedef std::future<DescribeLDAPConfigOutcome> DescribeLDAPConfigOutcomeCallable;
|
|
||||||
typedef std::function<void(const NASClient*, const Model::DescribeLDAPConfigRequest&, const DescribeLDAPConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLDAPConfigAsyncHandler;
|
|
||||||
typedef Outcome<Error, Model::DescribeLifecyclePoliciesResult> DescribeLifecyclePoliciesOutcome;
|
typedef Outcome<Error, Model::DescribeLifecyclePoliciesResult> DescribeLifecyclePoliciesOutcome;
|
||||||
typedef std::future<DescribeLifecyclePoliciesOutcome> DescribeLifecyclePoliciesOutcomeCallable;
|
typedef std::future<DescribeLifecyclePoliciesOutcome> DescribeLifecyclePoliciesOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::DescribeLifecyclePoliciesRequest&, const DescribeLifecyclePoliciesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLifecyclePoliciesAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::DescribeLifecyclePoliciesRequest&, const DescribeLifecyclePoliciesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLifecyclePoliciesAsyncHandler;
|
||||||
@@ -396,6 +459,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DescribeMountedClientsResult> DescribeMountedClientsOutcome;
|
typedef Outcome<Error, Model::DescribeMountedClientsResult> DescribeMountedClientsOutcome;
|
||||||
typedef std::future<DescribeMountedClientsOutcome> DescribeMountedClientsOutcomeCallable;
|
typedef std::future<DescribeMountedClientsOutcome> DescribeMountedClientsOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::DescribeMountedClientsRequest&, const DescribeMountedClientsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMountedClientsAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::DescribeMountedClientsRequest&, const DescribeMountedClientsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMountedClientsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeNfsAclResult> DescribeNfsAclOutcome;
|
||||||
|
typedef std::future<DescribeNfsAclOutcome> DescribeNfsAclOutcomeCallable;
|
||||||
|
typedef std::function<void(const NASClient*, const Model::DescribeNfsAclRequest&, const DescribeNfsAclOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNfsAclAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeProtocolMountTargetResult> DescribeProtocolMountTargetOutcome;
|
typedef Outcome<Error, Model::DescribeProtocolMountTargetResult> DescribeProtocolMountTargetOutcome;
|
||||||
typedef std::future<DescribeProtocolMountTargetOutcome> DescribeProtocolMountTargetOutcomeCallable;
|
typedef std::future<DescribeProtocolMountTargetOutcome> DescribeProtocolMountTargetOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::DescribeProtocolMountTargetRequest&, const DescribeProtocolMountTargetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeProtocolMountTargetAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::DescribeProtocolMountTargetRequest&, const DescribeProtocolMountTargetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeProtocolMountTargetAsyncHandler;
|
||||||
@@ -414,18 +480,21 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DescribeStoragePackagesResult> DescribeStoragePackagesOutcome;
|
typedef Outcome<Error, Model::DescribeStoragePackagesResult> DescribeStoragePackagesOutcome;
|
||||||
typedef std::future<DescribeStoragePackagesOutcome> DescribeStoragePackagesOutcomeCallable;
|
typedef std::future<DescribeStoragePackagesOutcome> DescribeStoragePackagesOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::DescribeStoragePackagesRequest&, const DescribeStoragePackagesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeStoragePackagesAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::DescribeStoragePackagesRequest&, const DescribeStoragePackagesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeStoragePackagesAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeTagsResult> DescribeTagsOutcome;
|
|
||||||
typedef std::future<DescribeTagsOutcome> DescribeTagsOutcomeCallable;
|
|
||||||
typedef std::function<void(const NASClient*, const Model::DescribeTagsRequest&, const DescribeTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTagsAsyncHandler;
|
|
||||||
typedef Outcome<Error, Model::DescribeZonesResult> DescribeZonesOutcome;
|
typedef Outcome<Error, Model::DescribeZonesResult> DescribeZonesOutcome;
|
||||||
typedef std::future<DescribeZonesOutcome> DescribeZonesOutcomeCallable;
|
typedef std::future<DescribeZonesOutcome> DescribeZonesOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::DescribeZonesRequest&, const DescribeZonesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeZonesAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::DescribeZonesRequest&, const DescribeZonesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeZonesAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DisableAndCleanRecycleBinResult> DisableAndCleanRecycleBinOutcome;
|
typedef Outcome<Error, Model::DisableAndCleanRecycleBinResult> DisableAndCleanRecycleBinOutcome;
|
||||||
typedef std::future<DisableAndCleanRecycleBinOutcome> DisableAndCleanRecycleBinOutcomeCallable;
|
typedef std::future<DisableAndCleanRecycleBinOutcome> DisableAndCleanRecycleBinOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::DisableAndCleanRecycleBinRequest&, const DisableAndCleanRecycleBinOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableAndCleanRecycleBinAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::DisableAndCleanRecycleBinRequest&, const DisableAndCleanRecycleBinOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableAndCleanRecycleBinAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DisableNfsAclResult> DisableNfsAclOutcome;
|
||||||
|
typedef std::future<DisableNfsAclOutcome> DisableNfsAclOutcomeCallable;
|
||||||
|
typedef std::function<void(const NASClient*, const Model::DisableNfsAclRequest&, const DisableNfsAclOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableNfsAclAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DisableSmbAclResult> DisableSmbAclOutcome;
|
typedef Outcome<Error, Model::DisableSmbAclResult> DisableSmbAclOutcome;
|
||||||
typedef std::future<DisableSmbAclOutcome> DisableSmbAclOutcomeCallable;
|
typedef std::future<DisableSmbAclOutcome> DisableSmbAclOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::DisableSmbAclRequest&, const DisableSmbAclOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableSmbAclAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::DisableSmbAclRequest&, const DisableSmbAclOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableSmbAclAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::EnableNfsAclResult> EnableNfsAclOutcome;
|
||||||
|
typedef std::future<EnableNfsAclOutcome> EnableNfsAclOutcomeCallable;
|
||||||
|
typedef std::function<void(const NASClient*, const Model::EnableNfsAclRequest&, const EnableNfsAclOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableNfsAclAsyncHandler;
|
||||||
typedef Outcome<Error, Model::EnableRecycleBinResult> EnableRecycleBinOutcome;
|
typedef Outcome<Error, Model::EnableRecycleBinResult> EnableRecycleBinOutcome;
|
||||||
typedef std::future<EnableRecycleBinOutcome> EnableRecycleBinOutcomeCallable;
|
typedef std::future<EnableRecycleBinOutcome> EnableRecycleBinOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::EnableRecycleBinRequest&, const EnableRecycleBinOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableRecycleBinAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::EnableRecycleBinRequest&, const EnableRecycleBinOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableRecycleBinAsyncHandler;
|
||||||
@@ -459,6 +528,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::ModifyAccessGroupResult> ModifyAccessGroupOutcome;
|
typedef Outcome<Error, Model::ModifyAccessGroupResult> ModifyAccessGroupOutcome;
|
||||||
typedef std::future<ModifyAccessGroupOutcome> ModifyAccessGroupOutcomeCallable;
|
typedef std::future<ModifyAccessGroupOutcome> ModifyAccessGroupOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::ModifyAccessGroupRequest&, const ModifyAccessGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAccessGroupAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::ModifyAccessGroupRequest&, const ModifyAccessGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAccessGroupAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ModifyAccessPointResult> ModifyAccessPointOutcome;
|
||||||
|
typedef std::future<ModifyAccessPointOutcome> ModifyAccessPointOutcomeCallable;
|
||||||
|
typedef std::function<void(const NASClient*, const Model::ModifyAccessPointRequest&, const ModifyAccessPointOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAccessPointAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ModifyAccessRuleResult> ModifyAccessRuleOutcome;
|
typedef Outcome<Error, Model::ModifyAccessRuleResult> ModifyAccessRuleOutcome;
|
||||||
typedef std::future<ModifyAccessRuleOutcome> ModifyAccessRuleOutcomeCallable;
|
typedef std::future<ModifyAccessRuleOutcome> ModifyAccessRuleOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::ModifyAccessRuleRequest&, const ModifyAccessRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAccessRuleAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::ModifyAccessRuleRequest&, const ModifyAccessRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAccessRuleAsyncHandler;
|
||||||
@@ -513,6 +585,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::SetDirQuotaResult> SetDirQuotaOutcome;
|
typedef Outcome<Error, Model::SetDirQuotaResult> SetDirQuotaOutcome;
|
||||||
typedef std::future<SetDirQuotaOutcome> SetDirQuotaOutcomeCallable;
|
typedef std::future<SetDirQuotaOutcome> SetDirQuotaOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::SetDirQuotaRequest&, const SetDirQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDirQuotaAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::SetDirQuotaRequest&, const SetDirQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDirQuotaAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::SetFilesetQuotaResult> SetFilesetQuotaOutcome;
|
||||||
|
typedef std::future<SetFilesetQuotaOutcome> SetFilesetQuotaOutcomeCallable;
|
||||||
|
typedef std::function<void(const NASClient*, const Model::SetFilesetQuotaRequest&, const SetFilesetQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetFilesetQuotaAsyncHandler;
|
||||||
typedef Outcome<Error, Model::StartDataFlowResult> StartDataFlowOutcome;
|
typedef Outcome<Error, Model::StartDataFlowResult> StartDataFlowOutcome;
|
||||||
typedef std::future<StartDataFlowOutcome> StartDataFlowOutcomeCallable;
|
typedef std::future<StartDataFlowOutcome> StartDataFlowOutcomeCallable;
|
||||||
typedef std::function<void(const NASClient*, const Model::StartDataFlowRequest&, const StartDataFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartDataFlowAsyncHandler;
|
typedef std::function<void(const NASClient*, const Model::StartDataFlowRequest&, const StartDataFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartDataFlowAsyncHandler;
|
||||||
@@ -554,21 +629,33 @@ namespace AlibabaCloud
|
|||||||
CancelDataFlowAutoRefreshOutcome cancelDataFlowAutoRefresh(const Model::CancelDataFlowAutoRefreshRequest &request)const;
|
CancelDataFlowAutoRefreshOutcome cancelDataFlowAutoRefresh(const Model::CancelDataFlowAutoRefreshRequest &request)const;
|
||||||
void cancelDataFlowAutoRefreshAsync(const Model::CancelDataFlowAutoRefreshRequest& request, const CancelDataFlowAutoRefreshAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void cancelDataFlowAutoRefreshAsync(const Model::CancelDataFlowAutoRefreshRequest& request, const CancelDataFlowAutoRefreshAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
CancelDataFlowAutoRefreshOutcomeCallable cancelDataFlowAutoRefreshCallable(const Model::CancelDataFlowAutoRefreshRequest& request) const;
|
CancelDataFlowAutoRefreshOutcomeCallable cancelDataFlowAutoRefreshCallable(const Model::CancelDataFlowAutoRefreshRequest& request) const;
|
||||||
|
CancelDataFlowSubTaskOutcome cancelDataFlowSubTask(const Model::CancelDataFlowSubTaskRequest &request)const;
|
||||||
|
void cancelDataFlowSubTaskAsync(const Model::CancelDataFlowSubTaskRequest& request, const CancelDataFlowSubTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
CancelDataFlowSubTaskOutcomeCallable cancelDataFlowSubTaskCallable(const Model::CancelDataFlowSubTaskRequest& request) const;
|
||||||
CancelDataFlowTaskOutcome cancelDataFlowTask(const Model::CancelDataFlowTaskRequest &request)const;
|
CancelDataFlowTaskOutcome cancelDataFlowTask(const Model::CancelDataFlowTaskRequest &request)const;
|
||||||
void cancelDataFlowTaskAsync(const Model::CancelDataFlowTaskRequest& request, const CancelDataFlowTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void cancelDataFlowTaskAsync(const Model::CancelDataFlowTaskRequest& request, const CancelDataFlowTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
CancelDataFlowTaskOutcomeCallable cancelDataFlowTaskCallable(const Model::CancelDataFlowTaskRequest& request) const;
|
CancelDataFlowTaskOutcomeCallable cancelDataFlowTaskCallable(const Model::CancelDataFlowTaskRequest& request) const;
|
||||||
CancelDirQuotaOutcome cancelDirQuota(const Model::CancelDirQuotaRequest &request)const;
|
CancelDirQuotaOutcome cancelDirQuota(const Model::CancelDirQuotaRequest &request)const;
|
||||||
void cancelDirQuotaAsync(const Model::CancelDirQuotaRequest& request, const CancelDirQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void cancelDirQuotaAsync(const Model::CancelDirQuotaRequest& request, const CancelDirQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
CancelDirQuotaOutcomeCallable cancelDirQuotaCallable(const Model::CancelDirQuotaRequest& request) const;
|
CancelDirQuotaOutcomeCallable cancelDirQuotaCallable(const Model::CancelDirQuotaRequest& request) const;
|
||||||
|
CancelFilesetQuotaOutcome cancelFilesetQuota(const Model::CancelFilesetQuotaRequest &request)const;
|
||||||
|
void cancelFilesetQuotaAsync(const Model::CancelFilesetQuotaRequest& request, const CancelFilesetQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
CancelFilesetQuotaOutcomeCallable cancelFilesetQuotaCallable(const Model::CancelFilesetQuotaRequest& request) const;
|
||||||
CancelLifecycleRetrieveJobOutcome cancelLifecycleRetrieveJob(const Model::CancelLifecycleRetrieveJobRequest &request)const;
|
CancelLifecycleRetrieveJobOutcome cancelLifecycleRetrieveJob(const Model::CancelLifecycleRetrieveJobRequest &request)const;
|
||||||
void cancelLifecycleRetrieveJobAsync(const Model::CancelLifecycleRetrieveJobRequest& request, const CancelLifecycleRetrieveJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void cancelLifecycleRetrieveJobAsync(const Model::CancelLifecycleRetrieveJobRequest& request, const CancelLifecycleRetrieveJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
CancelLifecycleRetrieveJobOutcomeCallable cancelLifecycleRetrieveJobCallable(const Model::CancelLifecycleRetrieveJobRequest& request) const;
|
CancelLifecycleRetrieveJobOutcomeCallable cancelLifecycleRetrieveJobCallable(const Model::CancelLifecycleRetrieveJobRequest& request) const;
|
||||||
CancelRecycleBinJobOutcome cancelRecycleBinJob(const Model::CancelRecycleBinJobRequest &request)const;
|
CancelRecycleBinJobOutcome cancelRecycleBinJob(const Model::CancelRecycleBinJobRequest &request)const;
|
||||||
void cancelRecycleBinJobAsync(const Model::CancelRecycleBinJobRequest& request, const CancelRecycleBinJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void cancelRecycleBinJobAsync(const Model::CancelRecycleBinJobRequest& request, const CancelRecycleBinJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
CancelRecycleBinJobOutcomeCallable cancelRecycleBinJobCallable(const Model::CancelRecycleBinJobRequest& request) const;
|
CancelRecycleBinJobOutcomeCallable cancelRecycleBinJobCallable(const Model::CancelRecycleBinJobRequest& request) const;
|
||||||
|
ChangeResourceGroupOutcome changeResourceGroup(const Model::ChangeResourceGroupRequest &request)const;
|
||||||
|
void changeResourceGroupAsync(const Model::ChangeResourceGroupRequest& request, const ChangeResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ChangeResourceGroupOutcomeCallable changeResourceGroupCallable(const Model::ChangeResourceGroupRequest& request) const;
|
||||||
CreateAccessGroupOutcome createAccessGroup(const Model::CreateAccessGroupRequest &request)const;
|
CreateAccessGroupOutcome createAccessGroup(const Model::CreateAccessGroupRequest &request)const;
|
||||||
void createAccessGroupAsync(const Model::CreateAccessGroupRequest& request, const CreateAccessGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void createAccessGroupAsync(const Model::CreateAccessGroupRequest& request, const CreateAccessGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
CreateAccessGroupOutcomeCallable createAccessGroupCallable(const Model::CreateAccessGroupRequest& request) const;
|
CreateAccessGroupOutcomeCallable createAccessGroupCallable(const Model::CreateAccessGroupRequest& request) const;
|
||||||
|
CreateAccessPointOutcome createAccessPoint(const Model::CreateAccessPointRequest &request)const;
|
||||||
|
void createAccessPointAsync(const Model::CreateAccessPointRequest& request, const CreateAccessPointAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
CreateAccessPointOutcomeCallable createAccessPointCallable(const Model::CreateAccessPointRequest& request) const;
|
||||||
CreateAccessRuleOutcome createAccessRule(const Model::CreateAccessRuleRequest &request)const;
|
CreateAccessRuleOutcome createAccessRule(const Model::CreateAccessRuleRequest &request)const;
|
||||||
void createAccessRuleAsync(const Model::CreateAccessRuleRequest& request, const CreateAccessRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void createAccessRuleAsync(const Model::CreateAccessRuleRequest& request, const CreateAccessRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
CreateAccessRuleOutcomeCallable createAccessRuleCallable(const Model::CreateAccessRuleRequest& request) const;
|
CreateAccessRuleOutcomeCallable createAccessRuleCallable(const Model::CreateAccessRuleRequest& request) const;
|
||||||
@@ -578,9 +665,15 @@ namespace AlibabaCloud
|
|||||||
CreateDataFlowOutcome createDataFlow(const Model::CreateDataFlowRequest &request)const;
|
CreateDataFlowOutcome createDataFlow(const Model::CreateDataFlowRequest &request)const;
|
||||||
void createDataFlowAsync(const Model::CreateDataFlowRequest& request, const CreateDataFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void createDataFlowAsync(const Model::CreateDataFlowRequest& request, const CreateDataFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
CreateDataFlowOutcomeCallable createDataFlowCallable(const Model::CreateDataFlowRequest& request) const;
|
CreateDataFlowOutcomeCallable createDataFlowCallable(const Model::CreateDataFlowRequest& request) const;
|
||||||
|
CreateDataFlowSubTaskOutcome createDataFlowSubTask(const Model::CreateDataFlowSubTaskRequest &request)const;
|
||||||
|
void createDataFlowSubTaskAsync(const Model::CreateDataFlowSubTaskRequest& request, const CreateDataFlowSubTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
CreateDataFlowSubTaskOutcomeCallable createDataFlowSubTaskCallable(const Model::CreateDataFlowSubTaskRequest& request) const;
|
||||||
CreateDataFlowTaskOutcome createDataFlowTask(const Model::CreateDataFlowTaskRequest &request)const;
|
CreateDataFlowTaskOutcome createDataFlowTask(const Model::CreateDataFlowTaskRequest &request)const;
|
||||||
void createDataFlowTaskAsync(const Model::CreateDataFlowTaskRequest& request, const CreateDataFlowTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void createDataFlowTaskAsync(const Model::CreateDataFlowTaskRequest& request, const CreateDataFlowTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
CreateDataFlowTaskOutcomeCallable createDataFlowTaskCallable(const Model::CreateDataFlowTaskRequest& request) const;
|
CreateDataFlowTaskOutcomeCallable createDataFlowTaskCallable(const Model::CreateDataFlowTaskRequest& request) const;
|
||||||
|
CreateDirOutcome createDir(const Model::CreateDirRequest &request)const;
|
||||||
|
void createDirAsync(const Model::CreateDirRequest& request, const CreateDirAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
CreateDirOutcomeCallable createDirCallable(const Model::CreateDirRequest& request) const;
|
||||||
CreateFileOutcome createFile(const Model::CreateFileRequest &request)const;
|
CreateFileOutcome createFile(const Model::CreateFileRequest &request)const;
|
||||||
void createFileAsync(const Model::CreateFileRequest& request, const CreateFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void createFileAsync(const Model::CreateFileRequest& request, const CreateFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
CreateFileOutcomeCallable createFileCallable(const Model::CreateFileRequest& request) const;
|
CreateFileOutcomeCallable createFileCallable(const Model::CreateFileRequest& request) const;
|
||||||
@@ -599,6 +692,9 @@ namespace AlibabaCloud
|
|||||||
CreateLifecycleRetrieveJobOutcome createLifecycleRetrieveJob(const Model::CreateLifecycleRetrieveJobRequest &request)const;
|
CreateLifecycleRetrieveJobOutcome createLifecycleRetrieveJob(const Model::CreateLifecycleRetrieveJobRequest &request)const;
|
||||||
void createLifecycleRetrieveJobAsync(const Model::CreateLifecycleRetrieveJobRequest& request, const CreateLifecycleRetrieveJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void createLifecycleRetrieveJobAsync(const Model::CreateLifecycleRetrieveJobRequest& request, const CreateLifecycleRetrieveJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
CreateLifecycleRetrieveJobOutcomeCallable createLifecycleRetrieveJobCallable(const Model::CreateLifecycleRetrieveJobRequest& request) const;
|
CreateLifecycleRetrieveJobOutcomeCallable createLifecycleRetrieveJobCallable(const Model::CreateLifecycleRetrieveJobRequest& request) const;
|
||||||
|
CreateLogAnalysisOutcome createLogAnalysis(const Model::CreateLogAnalysisRequest &request)const;
|
||||||
|
void createLogAnalysisAsync(const Model::CreateLogAnalysisRequest& request, const CreateLogAnalysisAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
CreateLogAnalysisOutcomeCallable createLogAnalysisCallable(const Model::CreateLogAnalysisRequest& request) const;
|
||||||
CreateMountTargetOutcome createMountTarget(const Model::CreateMountTargetRequest &request)const;
|
CreateMountTargetOutcome createMountTarget(const Model::CreateMountTargetRequest &request)const;
|
||||||
void createMountTargetAsync(const Model::CreateMountTargetRequest& request, const CreateMountTargetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void createMountTargetAsync(const Model::CreateMountTargetRequest& request, const CreateMountTargetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
CreateMountTargetOutcomeCallable createMountTargetCallable(const Model::CreateMountTargetRequest& request) const;
|
CreateMountTargetOutcomeCallable createMountTargetCallable(const Model::CreateMountTargetRequest& request) const;
|
||||||
@@ -620,6 +716,9 @@ namespace AlibabaCloud
|
|||||||
DeleteAccessGroupOutcome deleteAccessGroup(const Model::DeleteAccessGroupRequest &request)const;
|
DeleteAccessGroupOutcome deleteAccessGroup(const Model::DeleteAccessGroupRequest &request)const;
|
||||||
void deleteAccessGroupAsync(const Model::DeleteAccessGroupRequest& request, const DeleteAccessGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void deleteAccessGroupAsync(const Model::DeleteAccessGroupRequest& request, const DeleteAccessGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DeleteAccessGroupOutcomeCallable deleteAccessGroupCallable(const Model::DeleteAccessGroupRequest& request) const;
|
DeleteAccessGroupOutcomeCallable deleteAccessGroupCallable(const Model::DeleteAccessGroupRequest& request) const;
|
||||||
|
DeleteAccessPointOutcome deleteAccessPoint(const Model::DeleteAccessPointRequest &request)const;
|
||||||
|
void deleteAccessPointAsync(const Model::DeleteAccessPointRequest& request, const DeleteAccessPointAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DeleteAccessPointOutcomeCallable deleteAccessPointCallable(const Model::DeleteAccessPointRequest& request) const;
|
||||||
DeleteAccessRuleOutcome deleteAccessRule(const Model::DeleteAccessRuleRequest &request)const;
|
DeleteAccessRuleOutcome deleteAccessRule(const Model::DeleteAccessRuleRequest &request)const;
|
||||||
void deleteAccessRuleAsync(const Model::DeleteAccessRuleRequest& request, const DeleteAccessRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void deleteAccessRuleAsync(const Model::DeleteAccessRuleRequest& request, const DeleteAccessRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DeleteAccessRuleOutcomeCallable deleteAccessRuleCallable(const Model::DeleteAccessRuleRequest& request) const;
|
DeleteAccessRuleOutcomeCallable deleteAccessRuleCallable(const Model::DeleteAccessRuleRequest& request) const;
|
||||||
@@ -641,6 +740,9 @@ namespace AlibabaCloud
|
|||||||
DeleteLifecyclePolicyOutcome deleteLifecyclePolicy(const Model::DeleteLifecyclePolicyRequest &request)const;
|
DeleteLifecyclePolicyOutcome deleteLifecyclePolicy(const Model::DeleteLifecyclePolicyRequest &request)const;
|
||||||
void deleteLifecyclePolicyAsync(const Model::DeleteLifecyclePolicyRequest& request, const DeleteLifecyclePolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void deleteLifecyclePolicyAsync(const Model::DeleteLifecyclePolicyRequest& request, const DeleteLifecyclePolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DeleteLifecyclePolicyOutcomeCallable deleteLifecyclePolicyCallable(const Model::DeleteLifecyclePolicyRequest& request) const;
|
DeleteLifecyclePolicyOutcomeCallable deleteLifecyclePolicyCallable(const Model::DeleteLifecyclePolicyRequest& request) const;
|
||||||
|
DeleteLogAnalysisOutcome deleteLogAnalysis(const Model::DeleteLogAnalysisRequest &request)const;
|
||||||
|
void deleteLogAnalysisAsync(const Model::DeleteLogAnalysisRequest& request, const DeleteLogAnalysisAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DeleteLogAnalysisOutcomeCallable deleteLogAnalysisCallable(const Model::DeleteLogAnalysisRequest& request) const;
|
||||||
DeleteMountTargetOutcome deleteMountTarget(const Model::DeleteMountTargetRequest &request)const;
|
DeleteMountTargetOutcome deleteMountTarget(const Model::DeleteMountTargetRequest &request)const;
|
||||||
void deleteMountTargetAsync(const Model::DeleteMountTargetRequest& request, const DeleteMountTargetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void deleteMountTargetAsync(const Model::DeleteMountTargetRequest& request, const DeleteMountTargetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DeleteMountTargetOutcomeCallable deleteMountTargetCallable(const Model::DeleteMountTargetRequest& request) const;
|
DeleteMountTargetOutcomeCallable deleteMountTargetCallable(const Model::DeleteMountTargetRequest& request) const;
|
||||||
@@ -656,6 +758,12 @@ namespace AlibabaCloud
|
|||||||
DescribeAccessGroupsOutcome describeAccessGroups(const Model::DescribeAccessGroupsRequest &request)const;
|
DescribeAccessGroupsOutcome describeAccessGroups(const Model::DescribeAccessGroupsRequest &request)const;
|
||||||
void describeAccessGroupsAsync(const Model::DescribeAccessGroupsRequest& request, const DescribeAccessGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeAccessGroupsAsync(const Model::DescribeAccessGroupsRequest& request, const DescribeAccessGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeAccessGroupsOutcomeCallable describeAccessGroupsCallable(const Model::DescribeAccessGroupsRequest& request) const;
|
DescribeAccessGroupsOutcomeCallable describeAccessGroupsCallable(const Model::DescribeAccessGroupsRequest& request) const;
|
||||||
|
DescribeAccessPointOutcome describeAccessPoint(const Model::DescribeAccessPointRequest &request)const;
|
||||||
|
void describeAccessPointAsync(const Model::DescribeAccessPointRequest& request, const DescribeAccessPointAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeAccessPointOutcomeCallable describeAccessPointCallable(const Model::DescribeAccessPointRequest& 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;
|
||||||
DescribeAccessRulesOutcome describeAccessRules(const Model::DescribeAccessRulesRequest &request)const;
|
DescribeAccessRulesOutcome describeAccessRules(const Model::DescribeAccessRulesRequest &request)const;
|
||||||
void describeAccessRulesAsync(const Model::DescribeAccessRulesRequest& request, const DescribeAccessRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeAccessRulesAsync(const Model::DescribeAccessRulesRequest& request, const DescribeAccessRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeAccessRulesOutcomeCallable describeAccessRulesCallable(const Model::DescribeAccessRulesRequest& request) const;
|
DescribeAccessRulesOutcomeCallable describeAccessRulesCallable(const Model::DescribeAccessRulesRequest& request) const;
|
||||||
@@ -668,6 +776,9 @@ namespace AlibabaCloud
|
|||||||
DescribeBlackListClientsOutcome describeBlackListClients(const Model::DescribeBlackListClientsRequest &request)const;
|
DescribeBlackListClientsOutcome describeBlackListClients(const Model::DescribeBlackListClientsRequest &request)const;
|
||||||
void describeBlackListClientsAsync(const Model::DescribeBlackListClientsRequest& request, const DescribeBlackListClientsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeBlackListClientsAsync(const Model::DescribeBlackListClientsRequest& request, const DescribeBlackListClientsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeBlackListClientsOutcomeCallable describeBlackListClientsCallable(const Model::DescribeBlackListClientsRequest& request) const;
|
DescribeBlackListClientsOutcomeCallable describeBlackListClientsCallable(const Model::DescribeBlackListClientsRequest& request) const;
|
||||||
|
DescribeDataFlowSubTasksOutcome describeDataFlowSubTasks(const Model::DescribeDataFlowSubTasksRequest &request)const;
|
||||||
|
void describeDataFlowSubTasksAsync(const Model::DescribeDataFlowSubTasksRequest& request, const DescribeDataFlowSubTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeDataFlowSubTasksOutcomeCallable describeDataFlowSubTasksCallable(const Model::DescribeDataFlowSubTasksRequest& request) const;
|
||||||
DescribeDataFlowTasksOutcome describeDataFlowTasks(const Model::DescribeDataFlowTasksRequest &request)const;
|
DescribeDataFlowTasksOutcome describeDataFlowTasks(const Model::DescribeDataFlowTasksRequest &request)const;
|
||||||
void describeDataFlowTasksAsync(const Model::DescribeDataFlowTasksRequest& request, const DescribeDataFlowTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeDataFlowTasksAsync(const Model::DescribeDataFlowTasksRequest& request, const DescribeDataFlowTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeDataFlowTasksOutcomeCallable describeDataFlowTasksCallable(const Model::DescribeDataFlowTasksRequest& request) const;
|
DescribeDataFlowTasksOutcomeCallable describeDataFlowTasksCallable(const Model::DescribeDataFlowTasksRequest& request) const;
|
||||||
@@ -686,9 +797,6 @@ namespace AlibabaCloud
|
|||||||
DescribeFilesetsOutcome describeFilesets(const Model::DescribeFilesetsRequest &request)const;
|
DescribeFilesetsOutcome describeFilesets(const Model::DescribeFilesetsRequest &request)const;
|
||||||
void describeFilesetsAsync(const Model::DescribeFilesetsRequest& request, const DescribeFilesetsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeFilesetsAsync(const Model::DescribeFilesetsRequest& request, const DescribeFilesetsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeFilesetsOutcomeCallable describeFilesetsCallable(const Model::DescribeFilesetsRequest& request) const;
|
DescribeFilesetsOutcomeCallable describeFilesetsCallable(const Model::DescribeFilesetsRequest& request) const;
|
||||||
DescribeLDAPConfigOutcome describeLDAPConfig(const Model::DescribeLDAPConfigRequest &request)const;
|
|
||||||
void describeLDAPConfigAsync(const Model::DescribeLDAPConfigRequest& request, const DescribeLDAPConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
||||||
DescribeLDAPConfigOutcomeCallable describeLDAPConfigCallable(const Model::DescribeLDAPConfigRequest& request) const;
|
|
||||||
DescribeLifecyclePoliciesOutcome describeLifecyclePolicies(const Model::DescribeLifecyclePoliciesRequest &request)const;
|
DescribeLifecyclePoliciesOutcome describeLifecyclePolicies(const Model::DescribeLifecyclePoliciesRequest &request)const;
|
||||||
void describeLifecyclePoliciesAsync(const Model::DescribeLifecyclePoliciesRequest& request, const DescribeLifecyclePoliciesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeLifecyclePoliciesAsync(const Model::DescribeLifecyclePoliciesRequest& request, const DescribeLifecyclePoliciesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeLifecyclePoliciesOutcomeCallable describeLifecyclePoliciesCallable(const Model::DescribeLifecyclePoliciesRequest& request) const;
|
DescribeLifecyclePoliciesOutcomeCallable describeLifecyclePoliciesCallable(const Model::DescribeLifecyclePoliciesRequest& request) const;
|
||||||
@@ -701,6 +809,9 @@ namespace AlibabaCloud
|
|||||||
DescribeMountedClientsOutcome describeMountedClients(const Model::DescribeMountedClientsRequest &request)const;
|
DescribeMountedClientsOutcome describeMountedClients(const Model::DescribeMountedClientsRequest &request)const;
|
||||||
void describeMountedClientsAsync(const Model::DescribeMountedClientsRequest& request, const DescribeMountedClientsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeMountedClientsAsync(const Model::DescribeMountedClientsRequest& request, const DescribeMountedClientsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeMountedClientsOutcomeCallable describeMountedClientsCallable(const Model::DescribeMountedClientsRequest& request) const;
|
DescribeMountedClientsOutcomeCallable describeMountedClientsCallable(const Model::DescribeMountedClientsRequest& request) const;
|
||||||
|
DescribeNfsAclOutcome describeNfsAcl(const Model::DescribeNfsAclRequest &request)const;
|
||||||
|
void describeNfsAclAsync(const Model::DescribeNfsAclRequest& request, const DescribeNfsAclAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeNfsAclOutcomeCallable describeNfsAclCallable(const Model::DescribeNfsAclRequest& request) const;
|
||||||
DescribeProtocolMountTargetOutcome describeProtocolMountTarget(const Model::DescribeProtocolMountTargetRequest &request)const;
|
DescribeProtocolMountTargetOutcome describeProtocolMountTarget(const Model::DescribeProtocolMountTargetRequest &request)const;
|
||||||
void describeProtocolMountTargetAsync(const Model::DescribeProtocolMountTargetRequest& request, const DescribeProtocolMountTargetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeProtocolMountTargetAsync(const Model::DescribeProtocolMountTargetRequest& request, const DescribeProtocolMountTargetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeProtocolMountTargetOutcomeCallable describeProtocolMountTargetCallable(const Model::DescribeProtocolMountTargetRequest& request) const;
|
DescribeProtocolMountTargetOutcomeCallable describeProtocolMountTargetCallable(const Model::DescribeProtocolMountTargetRequest& request) const;
|
||||||
@@ -719,18 +830,21 @@ namespace AlibabaCloud
|
|||||||
DescribeStoragePackagesOutcome describeStoragePackages(const Model::DescribeStoragePackagesRequest &request)const;
|
DescribeStoragePackagesOutcome describeStoragePackages(const Model::DescribeStoragePackagesRequest &request)const;
|
||||||
void describeStoragePackagesAsync(const Model::DescribeStoragePackagesRequest& request, const DescribeStoragePackagesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeStoragePackagesAsync(const Model::DescribeStoragePackagesRequest& request, const DescribeStoragePackagesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeStoragePackagesOutcomeCallable describeStoragePackagesCallable(const Model::DescribeStoragePackagesRequest& request) const;
|
DescribeStoragePackagesOutcomeCallable describeStoragePackagesCallable(const Model::DescribeStoragePackagesRequest& request) const;
|
||||||
DescribeTagsOutcome describeTags(const Model::DescribeTagsRequest &request)const;
|
|
||||||
void describeTagsAsync(const Model::DescribeTagsRequest& request, const DescribeTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
||||||
DescribeTagsOutcomeCallable describeTagsCallable(const Model::DescribeTagsRequest& request) const;
|
|
||||||
DescribeZonesOutcome describeZones(const Model::DescribeZonesRequest &request)const;
|
DescribeZonesOutcome describeZones(const Model::DescribeZonesRequest &request)const;
|
||||||
void describeZonesAsync(const Model::DescribeZonesRequest& request, const DescribeZonesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeZonesAsync(const Model::DescribeZonesRequest& request, const DescribeZonesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeZonesOutcomeCallable describeZonesCallable(const Model::DescribeZonesRequest& request) const;
|
DescribeZonesOutcomeCallable describeZonesCallable(const Model::DescribeZonesRequest& request) const;
|
||||||
DisableAndCleanRecycleBinOutcome disableAndCleanRecycleBin(const Model::DisableAndCleanRecycleBinRequest &request)const;
|
DisableAndCleanRecycleBinOutcome disableAndCleanRecycleBin(const Model::DisableAndCleanRecycleBinRequest &request)const;
|
||||||
void disableAndCleanRecycleBinAsync(const Model::DisableAndCleanRecycleBinRequest& request, const DisableAndCleanRecycleBinAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void disableAndCleanRecycleBinAsync(const Model::DisableAndCleanRecycleBinRequest& request, const DisableAndCleanRecycleBinAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DisableAndCleanRecycleBinOutcomeCallable disableAndCleanRecycleBinCallable(const Model::DisableAndCleanRecycleBinRequest& request) const;
|
DisableAndCleanRecycleBinOutcomeCallable disableAndCleanRecycleBinCallable(const Model::DisableAndCleanRecycleBinRequest& request) const;
|
||||||
|
DisableNfsAclOutcome disableNfsAcl(const Model::DisableNfsAclRequest &request)const;
|
||||||
|
void disableNfsAclAsync(const Model::DisableNfsAclRequest& request, const DisableNfsAclAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DisableNfsAclOutcomeCallable disableNfsAclCallable(const Model::DisableNfsAclRequest& request) const;
|
||||||
DisableSmbAclOutcome disableSmbAcl(const Model::DisableSmbAclRequest &request)const;
|
DisableSmbAclOutcome disableSmbAcl(const Model::DisableSmbAclRequest &request)const;
|
||||||
void disableSmbAclAsync(const Model::DisableSmbAclRequest& request, const DisableSmbAclAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void disableSmbAclAsync(const Model::DisableSmbAclRequest& request, const DisableSmbAclAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DisableSmbAclOutcomeCallable disableSmbAclCallable(const Model::DisableSmbAclRequest& request) const;
|
DisableSmbAclOutcomeCallable disableSmbAclCallable(const Model::DisableSmbAclRequest& request) const;
|
||||||
|
EnableNfsAclOutcome enableNfsAcl(const Model::EnableNfsAclRequest &request)const;
|
||||||
|
void enableNfsAclAsync(const Model::EnableNfsAclRequest& request, const EnableNfsAclAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
EnableNfsAclOutcomeCallable enableNfsAclCallable(const Model::EnableNfsAclRequest& request) const;
|
||||||
EnableRecycleBinOutcome enableRecycleBin(const Model::EnableRecycleBinRequest &request)const;
|
EnableRecycleBinOutcome enableRecycleBin(const Model::EnableRecycleBinRequest &request)const;
|
||||||
void enableRecycleBinAsync(const Model::EnableRecycleBinRequest& request, const EnableRecycleBinAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void enableRecycleBinAsync(const Model::EnableRecycleBinRequest& request, const EnableRecycleBinAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
EnableRecycleBinOutcomeCallable enableRecycleBinCallable(const Model::EnableRecycleBinRequest& request) const;
|
EnableRecycleBinOutcomeCallable enableRecycleBinCallable(const Model::EnableRecycleBinRequest& request) const;
|
||||||
@@ -764,6 +878,9 @@ namespace AlibabaCloud
|
|||||||
ModifyAccessGroupOutcome modifyAccessGroup(const Model::ModifyAccessGroupRequest &request)const;
|
ModifyAccessGroupOutcome modifyAccessGroup(const Model::ModifyAccessGroupRequest &request)const;
|
||||||
void modifyAccessGroupAsync(const Model::ModifyAccessGroupRequest& request, const ModifyAccessGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void modifyAccessGroupAsync(const Model::ModifyAccessGroupRequest& request, const ModifyAccessGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ModifyAccessGroupOutcomeCallable modifyAccessGroupCallable(const Model::ModifyAccessGroupRequest& request) const;
|
ModifyAccessGroupOutcomeCallable modifyAccessGroupCallable(const Model::ModifyAccessGroupRequest& request) const;
|
||||||
|
ModifyAccessPointOutcome modifyAccessPoint(const Model::ModifyAccessPointRequest &request)const;
|
||||||
|
void modifyAccessPointAsync(const Model::ModifyAccessPointRequest& request, const ModifyAccessPointAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ModifyAccessPointOutcomeCallable modifyAccessPointCallable(const Model::ModifyAccessPointRequest& request) const;
|
||||||
ModifyAccessRuleOutcome modifyAccessRule(const Model::ModifyAccessRuleRequest &request)const;
|
ModifyAccessRuleOutcome modifyAccessRule(const Model::ModifyAccessRuleRequest &request)const;
|
||||||
void modifyAccessRuleAsync(const Model::ModifyAccessRuleRequest& request, const ModifyAccessRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void modifyAccessRuleAsync(const Model::ModifyAccessRuleRequest& request, const ModifyAccessRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ModifyAccessRuleOutcomeCallable modifyAccessRuleCallable(const Model::ModifyAccessRuleRequest& request) const;
|
ModifyAccessRuleOutcomeCallable modifyAccessRuleCallable(const Model::ModifyAccessRuleRequest& request) const;
|
||||||
@@ -818,6 +935,9 @@ namespace AlibabaCloud
|
|||||||
SetDirQuotaOutcome setDirQuota(const Model::SetDirQuotaRequest &request)const;
|
SetDirQuotaOutcome setDirQuota(const Model::SetDirQuotaRequest &request)const;
|
||||||
void setDirQuotaAsync(const Model::SetDirQuotaRequest& request, const SetDirQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void setDirQuotaAsync(const Model::SetDirQuotaRequest& request, const SetDirQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
SetDirQuotaOutcomeCallable setDirQuotaCallable(const Model::SetDirQuotaRequest& request) const;
|
SetDirQuotaOutcomeCallable setDirQuotaCallable(const Model::SetDirQuotaRequest& request) const;
|
||||||
|
SetFilesetQuotaOutcome setFilesetQuota(const Model::SetFilesetQuotaRequest &request)const;
|
||||||
|
void setFilesetQuotaAsync(const Model::SetFilesetQuotaRequest& request, const SetFilesetQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
SetFilesetQuotaOutcomeCallable setFilesetQuotaCallable(const Model::SetFilesetQuotaRequest& request) const;
|
||||||
StartDataFlowOutcome startDataFlow(const Model::StartDataFlowRequest &request)const;
|
StartDataFlowOutcome startDataFlow(const Model::StartDataFlowRequest &request)const;
|
||||||
void startDataFlowAsync(const Model::StartDataFlowRequest& request, const StartDataFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void startDataFlowAsync(const Model::StartDataFlowRequest& request, const StartDataFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
StartDataFlowOutcomeCallable startDataFlowCallable(const Model::StartDataFlowRequest& request) const;
|
StartDataFlowOutcomeCallable startDataFlowCallable(const Model::StartDataFlowRequest& request) const;
|
||||||
|
|||||||
@@ -0,0 +1,57 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_NAS_MODEL_CANCELDATAFLOWSUBTASKREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_CANCELDATAFLOWSUBTASKREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace NAS {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT CancelDataFlowSubTaskRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
CancelDataFlowSubTaskRequest();
|
||||||
|
~CancelDataFlowSubTaskRequest();
|
||||||
|
std::string getClientToken() const;
|
||||||
|
void setClientToken(const std::string &clientToken);
|
||||||
|
std::string getDataFlowTaskId() const;
|
||||||
|
void setDataFlowTaskId(const std::string &dataFlowTaskId);
|
||||||
|
std::string getDataFlowSubTaskId() const;
|
||||||
|
void setDataFlowSubTaskId(const std::string &dataFlowSubTaskId);
|
||||||
|
std::string getFileSystemId() const;
|
||||||
|
void setFileSystemId(const std::string &fileSystemId);
|
||||||
|
bool getDryRun() const;
|
||||||
|
void setDryRun(bool dryRun);
|
||||||
|
std::string getDataFlowId() const;
|
||||||
|
void setDataFlowId(const std::string &dataFlowId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string clientToken_;
|
||||||
|
std::string dataFlowTaskId_;
|
||||||
|
std::string dataFlowSubTaskId_;
|
||||||
|
std::string fileSystemId_;
|
||||||
|
bool dryRun_;
|
||||||
|
std::string dataFlowId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace NAS
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_CANCELDATAFLOWSUBTASKREQUEST_H_
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_NAS_MODEL_CANCELDATAFLOWSUBTASKRESULT_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_CANCELDATAFLOWSUBTASKRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace NAS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT CancelDataFlowSubTaskResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
CancelDataFlowSubTaskResult();
|
||||||
|
explicit CancelDataFlowSubTaskResult(const std::string &payload);
|
||||||
|
~CancelDataFlowSubTaskResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_CANCELDATAFLOWSUBTASKRESULT_H_
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_NAS_MODEL_CANCELFILESETQUOTAREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_CANCELFILESETQUOTAREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace NAS {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT CancelFilesetQuotaRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
CancelFilesetQuotaRequest();
|
||||||
|
~CancelFilesetQuotaRequest();
|
||||||
|
std::string getFsetId() const;
|
||||||
|
void setFsetId(const std::string &fsetId);
|
||||||
|
std::string getClientToken() const;
|
||||||
|
void setClientToken(const std::string &clientToken);
|
||||||
|
std::string getFileSystemId() const;
|
||||||
|
void setFileSystemId(const std::string &fileSystemId);
|
||||||
|
bool getDryRun() const;
|
||||||
|
void setDryRun(bool dryRun);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string fsetId_;
|
||||||
|
std::string clientToken_;
|
||||||
|
std::string fileSystemId_;
|
||||||
|
bool dryRun_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace NAS
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_CANCELFILESETQUOTAREQUEST_H_
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_NAS_MODEL_DESCRIBELDAPCONFIGRESULT_H_
|
#ifndef ALIBABACLOUD_NAS_MODEL_CANCELFILESETQUOTARESULT_H_
|
||||||
#define ALIBABACLOUD_NAS_MODEL_DESCRIBELDAPCONFIGRESULT_H_
|
#define ALIBABACLOUD_NAS_MODEL_CANCELFILESETQUOTARESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -29,29 +29,21 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_NAS_EXPORT DescribeLDAPConfigResult : public ServiceResult
|
class ALIBABACLOUD_NAS_EXPORT CancelFilesetQuotaResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
struct Ldap
|
|
||||||
{
|
|
||||||
std::string searchBase;
|
|
||||||
std::string bindDN;
|
|
||||||
std::string uRI;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
DescribeLDAPConfigResult();
|
CancelFilesetQuotaResult();
|
||||||
explicit DescribeLDAPConfigResult(const std::string &payload);
|
explicit CancelFilesetQuotaResult(const std::string &payload);
|
||||||
~DescribeLDAPConfigResult();
|
~CancelFilesetQuotaResult();
|
||||||
Ldap getLdap()const;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
Ldap ldap_;
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_NAS_MODEL_DESCRIBELDAPCONFIGRESULT_H_
|
#endif // !ALIBABACLOUD_NAS_MODEL_CANCELFILESETQUOTARESULT_H_
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_NAS_MODEL_CHANGERESOURCEGROUPREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_CHANGERESOURCEGROUPREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace NAS {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT ChangeResourceGroupRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
ChangeResourceGroupRequest();
|
||||||
|
~ChangeResourceGroupRequest();
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
|
std::string getResourceId() const;
|
||||||
|
void setResourceId(const std::string &resourceId);
|
||||||
|
std::string getResourceType() const;
|
||||||
|
void setResourceType(const std::string &resourceType);
|
||||||
|
std::string getNewResourceGroupId() const;
|
||||||
|
void setNewResourceGroupId(const std::string &newResourceGroupId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string regionId_;
|
||||||
|
std::string resourceId_;
|
||||||
|
std::string resourceType_;
|
||||||
|
std::string newResourceGroupId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace NAS
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_CHANGERESOURCEGROUPREQUEST_H_
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_NAS_MODEL_CHANGERESOURCEGROUPRESULT_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_CHANGERESOURCEGROUPRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace NAS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT ChangeResourceGroupResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
ChangeResourceGroupResult();
|
||||||
|
explicit ChangeResourceGroupResult(const std::string &payload);
|
||||||
|
~ChangeResourceGroupResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_CHANGERESOURCEGROUPRESULT_H_
|
||||||
@@ -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_NAS_MODEL_CREATEACCESSPOINTREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_CREATEACCESSPOINTREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace NAS {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT CreateAccessPointRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
CreateAccessPointRequest();
|
||||||
|
~CreateAccessPointRequest();
|
||||||
|
std::string getVswId() const;
|
||||||
|
void setVswId(const std::string &vswId);
|
||||||
|
std::string getAccessPointName() const;
|
||||||
|
void setAccessPointName(const std::string &accessPointName);
|
||||||
|
int getPosixGroupId() const;
|
||||||
|
void setPosixGroupId(int posixGroupId);
|
||||||
|
std::string getPosixSecondaryGroupIds() const;
|
||||||
|
void setPosixSecondaryGroupIds(const std::string &posixSecondaryGroupIds);
|
||||||
|
std::string getFileSystemId() const;
|
||||||
|
void setFileSystemId(const std::string &fileSystemId);
|
||||||
|
int getOwnerGroupId() const;
|
||||||
|
void setOwnerGroupId(int ownerGroupId);
|
||||||
|
bool getEnabledRam() const;
|
||||||
|
void setEnabledRam(bool enabledRam);
|
||||||
|
int getOwnerUserId() const;
|
||||||
|
void setOwnerUserId(int ownerUserId);
|
||||||
|
std::string getPermission() const;
|
||||||
|
void setPermission(const std::string &permission);
|
||||||
|
std::string getVpcId() const;
|
||||||
|
void setVpcId(const std::string &vpcId);
|
||||||
|
std::string getProtocolType() const;
|
||||||
|
void setProtocolType(const std::string &protocolType);
|
||||||
|
std::string getRootDirectory() const;
|
||||||
|
void setRootDirectory(const std::string &rootDirectory);
|
||||||
|
std::string getAccessGroup() const;
|
||||||
|
void setAccessGroup(const std::string &accessGroup);
|
||||||
|
int getPosixUserId() const;
|
||||||
|
void setPosixUserId(int posixUserId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string vswId_;
|
||||||
|
std::string accessPointName_;
|
||||||
|
int posixGroupId_;
|
||||||
|
std::string posixSecondaryGroupIds_;
|
||||||
|
std::string fileSystemId_;
|
||||||
|
int ownerGroupId_;
|
||||||
|
bool enabledRam_;
|
||||||
|
int ownerUserId_;
|
||||||
|
std::string permission_;
|
||||||
|
std::string vpcId_;
|
||||||
|
std::string protocolType_;
|
||||||
|
std::string rootDirectory_;
|
||||||
|
std::string accessGroup_;
|
||||||
|
int posixUserId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace NAS
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_CREATEACCESSPOINTREQUEST_H_
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_NAS_MODEL_DESCRIBETAGSRESULT_H_
|
#ifndef ALIBABACLOUD_NAS_MODEL_CREATEACCESSPOINTRESULT_H_
|
||||||
#define ALIBABACLOUD_NAS_MODEL_DESCRIBETAGSRESULT_H_
|
#define ALIBABACLOUD_NAS_MODEL_CREATEACCESSPOINTRESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -29,35 +29,28 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_NAS_EXPORT DescribeTagsResult : public ServiceResult
|
class ALIBABACLOUD_NAS_EXPORT CreateAccessPointResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
struct Tag
|
struct AccessPoint
|
||||||
{
|
{
|
||||||
std::string value;
|
std::string accessPointId;
|
||||||
std::vector<std::string> fileSystemIds;
|
std::string accessPointDomain;
|
||||||
std::string key;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
DescribeTagsResult();
|
CreateAccessPointResult();
|
||||||
explicit DescribeTagsResult(const std::string &payload);
|
explicit CreateAccessPointResult(const std::string &payload);
|
||||||
~DescribeTagsResult();
|
~CreateAccessPointResult();
|
||||||
int getTotalCount()const;
|
AccessPoint getAccessPoint()const;
|
||||||
int getPageSize()const;
|
|
||||||
int getPageNumber()const;
|
|
||||||
std::vector<Tag> getTags()const;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
int totalCount_;
|
AccessPoint accessPoint_;
|
||||||
int pageSize_;
|
|
||||||
int pageNumber_;
|
|
||||||
std::vector<Tag> tags_;
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_NAS_MODEL_DESCRIBETAGSRESULT_H_
|
#endif // !ALIBABACLOUD_NAS_MODEL_CREATEACCESSPOINTRESULT_H_
|
||||||
@@ -55,6 +55,10 @@ public:
|
|||||||
void setDryRun(bool dryRun);
|
void setDryRun(bool dryRun);
|
||||||
long getAutoRefreshInterval() const;
|
long getAutoRefreshInterval() const;
|
||||||
void setAutoRefreshInterval(long autoRefreshInterval);
|
void setAutoRefreshInterval(long autoRefreshInterval);
|
||||||
|
std::string getSourceStoragePath() const;
|
||||||
|
void setSourceStoragePath(const std::string &sourceStoragePath);
|
||||||
|
std::string getFileSystemPath() const;
|
||||||
|
void setFileSystemPath(const std::string &fileSystemPath);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string autoRefreshPolicy_;
|
std::string autoRefreshPolicy_;
|
||||||
@@ -68,6 +72,8 @@ private:
|
|||||||
std::string fileSystemId_;
|
std::string fileSystemId_;
|
||||||
bool dryRun_;
|
bool dryRun_;
|
||||||
long autoRefreshInterval_;
|
long autoRefreshInterval_;
|
||||||
|
std::string sourceStoragePath_;
|
||||||
|
std::string fileSystemPath_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace NAS
|
} // namespace NAS
|
||||||
|
|||||||
@@ -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_NAS_MODEL_CREATEDATAFLOWSUBTASKREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_CREATEDATAFLOWSUBTASKREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace NAS {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT CreateDataFlowSubTaskRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
struct Condition {
|
||||||
|
long size;
|
||||||
|
long modifyTime;
|
||||||
|
};
|
||||||
|
CreateDataFlowSubTaskRequest();
|
||||||
|
~CreateDataFlowSubTaskRequest();
|
||||||
|
std::string getClientToken() const;
|
||||||
|
void setClientToken(const std::string &clientToken);
|
||||||
|
std::string getDataFlowTaskId() const;
|
||||||
|
void setDataFlowTaskId(const std::string &dataFlowTaskId);
|
||||||
|
std::string getSrcFilePath() const;
|
||||||
|
void setSrcFilePath(const std::string &srcFilePath);
|
||||||
|
std::string getFileSystemId() const;
|
||||||
|
void setFileSystemId(const std::string &fileSystemId);
|
||||||
|
bool getDryRun() const;
|
||||||
|
void setDryRun(bool dryRun);
|
||||||
|
std::string getDataFlowId() const;
|
||||||
|
void setDataFlowId(const std::string &dataFlowId);
|
||||||
|
std::string getDstFilePath() const;
|
||||||
|
void setDstFilePath(const std::string &dstFilePath);
|
||||||
|
Condition getCondition() const;
|
||||||
|
void setCondition(const Condition &condition);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string clientToken_;
|
||||||
|
std::string dataFlowTaskId_;
|
||||||
|
std::string srcFilePath_;
|
||||||
|
std::string fileSystemId_;
|
||||||
|
bool dryRun_;
|
||||||
|
std::string dataFlowId_;
|
||||||
|
std::string dstFilePath_;
|
||||||
|
Condition condition_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace NAS
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_CREATEDATAFLOWSUBTASKREQUEST_H_
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_NAS_MODEL_CREATEDATAFLOWSUBTASKRESULT_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_CREATEDATAFLOWSUBTASKRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace NAS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT CreateDataFlowSubTaskResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
CreateDataFlowSubTaskResult();
|
||||||
|
explicit CreateDataFlowSubTaskResult(const std::string &payload);
|
||||||
|
~CreateDataFlowSubTaskResult();
|
||||||
|
std::string getDataFlowSubTaskId()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string dataFlowSubTaskId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_CREATEDATAFLOWSUBTASKRESULT_H_
|
||||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_NAS_EXPORT CreateDataFlowTaskRequest : public RpcServiceReque
|
|||||||
public:
|
public:
|
||||||
CreateDataFlowTaskRequest();
|
CreateDataFlowTaskRequest();
|
||||||
~CreateDataFlowTaskRequest();
|
~CreateDataFlowTaskRequest();
|
||||||
|
std::string getDstDirectory() const;
|
||||||
|
void setDstDirectory(const std::string &dstDirectory);
|
||||||
std::string getClientToken() const;
|
std::string getClientToken() const;
|
||||||
void setClientToken(const std::string &clientToken);
|
void setClientToken(const std::string &clientToken);
|
||||||
std::string getDirectory() const;
|
std::string getDirectory() const;
|
||||||
@@ -38,6 +40,8 @@ public:
|
|||||||
void setSrcTaskId(const std::string &srcTaskId);
|
void setSrcTaskId(const std::string &srcTaskId);
|
||||||
std::string getDataType() const;
|
std::string getDataType() const;
|
||||||
void setDataType(const std::string &dataType);
|
void setDataType(const std::string &dataType);
|
||||||
|
bool getCreateDirIfNotExist() const;
|
||||||
|
void setCreateDirIfNotExist(bool createDirIfNotExist);
|
||||||
std::string getFileSystemId() const;
|
std::string getFileSystemId() const;
|
||||||
void setFileSystemId(const std::string &fileSystemId);
|
void setFileSystemId(const std::string &fileSystemId);
|
||||||
bool getDryRun() const;
|
bool getDryRun() const;
|
||||||
@@ -46,18 +50,23 @@ public:
|
|||||||
void setDataFlowId(const std::string &dataFlowId);
|
void setDataFlowId(const std::string &dataFlowId);
|
||||||
std::string getEntryList() const;
|
std::string getEntryList() const;
|
||||||
void setEntryList(const std::string &entryList);
|
void setEntryList(const std::string &entryList);
|
||||||
|
std::string getConflictPolicy() const;
|
||||||
|
void setConflictPolicy(const std::string &conflictPolicy);
|
||||||
std::string getTaskAction() const;
|
std::string getTaskAction() const;
|
||||||
void setTaskAction(const std::string &taskAction);
|
void setTaskAction(const std::string &taskAction);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string dstDirectory_;
|
||||||
std::string clientToken_;
|
std::string clientToken_;
|
||||||
std::string directory_;
|
std::string directory_;
|
||||||
std::string srcTaskId_;
|
std::string srcTaskId_;
|
||||||
std::string dataType_;
|
std::string dataType_;
|
||||||
|
bool createDirIfNotExist_;
|
||||||
std::string fileSystemId_;
|
std::string fileSystemId_;
|
||||||
bool dryRun_;
|
bool dryRun_;
|
||||||
std::string dataFlowId_;
|
std::string dataFlowId_;
|
||||||
std::string entryList_;
|
std::string entryList_;
|
||||||
|
std::string conflictPolicy_;
|
||||||
std::string taskAction_;
|
std::string taskAction_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
|
|||||||
57
nas/include/alibabacloud/nas/model/CreateDirRequest.h
Normal file
57
nas/include/alibabacloud/nas/model/CreateDirRequest.h
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_NAS_MODEL_CREATEDIRREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_CREATEDIRREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace NAS {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT CreateDirRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
CreateDirRequest();
|
||||||
|
~CreateDirRequest();
|
||||||
|
bool getRecursion() const;
|
||||||
|
void setRecursion(bool recursion);
|
||||||
|
std::string getFileSystemId() const;
|
||||||
|
void setFileSystemId(const std::string &fileSystemId);
|
||||||
|
int getOwnerGroupId() const;
|
||||||
|
void setOwnerGroupId(int ownerGroupId);
|
||||||
|
int getOwnerUserId() const;
|
||||||
|
void setOwnerUserId(int ownerUserId);
|
||||||
|
std::string getPermission() const;
|
||||||
|
void setPermission(const std::string &permission);
|
||||||
|
std::string getRootDirectory() const;
|
||||||
|
void setRootDirectory(const std::string &rootDirectory);
|
||||||
|
|
||||||
|
private:
|
||||||
|
bool recursion_;
|
||||||
|
std::string fileSystemId_;
|
||||||
|
int ownerGroupId_;
|
||||||
|
int ownerUserId_;
|
||||||
|
std::string permission_;
|
||||||
|
std::string rootDirectory_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace NAS
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_CREATEDIRREQUEST_H_
|
||||||
49
nas/include/alibabacloud/nas/model/CreateDirResult.h
Normal file
49
nas/include/alibabacloud/nas/model/CreateDirResult.h
Normal 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_NAS_MODEL_CREATEDIRRESULT_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_CREATEDIRRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace NAS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT CreateDirResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
CreateDirResult();
|
||||||
|
explicit CreateDirResult(const std::string &payload);
|
||||||
|
~CreateDirResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_CREATEDIRRESULT_H_
|
||||||
@@ -46,6 +46,8 @@ public:
|
|||||||
void setEncryptType(int encryptType);
|
void setEncryptType(int encryptType);
|
||||||
int getDuration() const;
|
int getDuration() const;
|
||||||
void setDuration(int duration);
|
void setDuration(int duration);
|
||||||
|
std::string getResourceGroupId() const;
|
||||||
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
bool getDryRun() const;
|
bool getDryRun() const;
|
||||||
void setDryRun(bool dryRun);
|
void setDryRun(bool dryRun);
|
||||||
long getBandwidth() const;
|
long getBandwidth() const;
|
||||||
@@ -72,6 +74,7 @@ private:
|
|||||||
long capacity_;
|
long capacity_;
|
||||||
int encryptType_;
|
int encryptType_;
|
||||||
int duration_;
|
int duration_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
bool dryRun_;
|
bool dryRun_;
|
||||||
long bandwidth_;
|
long bandwidth_;
|
||||||
std::string vSwitchId_;
|
std::string vSwitchId_;
|
||||||
|
|||||||
@@ -28,12 +28,20 @@ namespace NAS {
|
|||||||
namespace Model {
|
namespace Model {
|
||||||
class ALIBABACLOUD_NAS_EXPORT CreateFilesetRequest : public RpcServiceRequest {
|
class ALIBABACLOUD_NAS_EXPORT CreateFilesetRequest : public RpcServiceRequest {
|
||||||
public:
|
public:
|
||||||
|
struct Quota {
|
||||||
|
long sizeLimit;
|
||||||
|
long fileCountLimit;
|
||||||
|
};
|
||||||
CreateFilesetRequest();
|
CreateFilesetRequest();
|
||||||
~CreateFilesetRequest();
|
~CreateFilesetRequest();
|
||||||
std::string getClientToken() const;
|
std::string getClientToken() const;
|
||||||
void setClientToken(const std::string &clientToken);
|
void setClientToken(const std::string &clientToken);
|
||||||
std::string getDescription() const;
|
std::string getDescription() const;
|
||||||
void setDescription(const std::string &description);
|
void setDescription(const std::string &description);
|
||||||
|
bool getDeletionProtection() const;
|
||||||
|
void setDeletionProtection(bool deletionProtection);
|
||||||
|
Quota getQuota() const;
|
||||||
|
void setQuota(const Quota "a);
|
||||||
std::string getFileSystemId() const;
|
std::string getFileSystemId() const;
|
||||||
void setFileSystemId(const std::string &fileSystemId);
|
void setFileSystemId(const std::string &fileSystemId);
|
||||||
bool getDryRun() const;
|
bool getDryRun() const;
|
||||||
@@ -44,6 +52,8 @@ public:
|
|||||||
private:
|
private:
|
||||||
std::string clientToken_;
|
std::string clientToken_;
|
||||||
std::string description_;
|
std::string description_;
|
||||||
|
bool deletionProtection_;
|
||||||
|
Quota quota_;
|
||||||
std::string fileSystemId_;
|
std::string fileSystemId_;
|
||||||
bool dryRun_;
|
bool dryRun_;
|
||||||
std::string fileSystemPath_;
|
std::string fileSystemPath_;
|
||||||
|
|||||||
@@ -40,6 +40,8 @@ public:
|
|||||||
void setFileSystemId(const std::string &fileSystemId);
|
void setFileSystemId(const std::string &fileSystemId);
|
||||||
std::string getLifecycleRuleName() const;
|
std::string getLifecycleRuleName() const;
|
||||||
void setLifecycleRuleName(const std::string &lifecycleRuleName);
|
void setLifecycleRuleName(const std::string &lifecycleRuleName);
|
||||||
|
int getLifecycleRuleInactiveDays() const;
|
||||||
|
void setLifecycleRuleInactiveDays(int lifecycleRuleInactiveDays);
|
||||||
std::vector<std::string> getPaths() const;
|
std::vector<std::string> getPaths() const;
|
||||||
void setPaths(const std::vector<std::string> &paths);
|
void setPaths(const std::vector<std::string> &paths);
|
||||||
|
|
||||||
@@ -49,6 +51,7 @@ private:
|
|||||||
std::string lifecyclePolicyName_;
|
std::string lifecyclePolicyName_;
|
||||||
std::string fileSystemId_;
|
std::string fileSystemId_;
|
||||||
std::string lifecycleRuleName_;
|
std::string lifecycleRuleName_;
|
||||||
|
int lifecycleRuleInactiveDays_;
|
||||||
std::vector<std::string> paths_;
|
std::vector<std::string> paths_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
|
|||||||
@@ -30,12 +30,15 @@ class ALIBABACLOUD_NAS_EXPORT CreateLifecycleRetrieveJobRequest : public RpcServ
|
|||||||
public:
|
public:
|
||||||
CreateLifecycleRetrieveJobRequest();
|
CreateLifecycleRetrieveJobRequest();
|
||||||
~CreateLifecycleRetrieveJobRequest();
|
~CreateLifecycleRetrieveJobRequest();
|
||||||
|
std::string getStorageType() const;
|
||||||
|
void setStorageType(const std::string &storageType);
|
||||||
std::string getFileSystemId() const;
|
std::string getFileSystemId() const;
|
||||||
void setFileSystemId(const std::string &fileSystemId);
|
void setFileSystemId(const std::string &fileSystemId);
|
||||||
std::vector<std::string> getPaths() const;
|
std::vector<std::string> getPaths() const;
|
||||||
void setPaths(const std::vector<std::string> &paths);
|
void setPaths(const std::vector<std::string> &paths);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string storageType_;
|
||||||
std::string fileSystemId_;
|
std::string fileSystemId_;
|
||||||
std::vector<std::string> paths_;
|
std::vector<std::string> paths_;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_NAS_MODEL_CREATELOGANALYSISREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_CREATELOGANALYSISREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace NAS {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT CreateLogAnalysisRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
CreateLogAnalysisRequest();
|
||||||
|
~CreateLogAnalysisRequest();
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
|
std::string getFileSystemId() const;
|
||||||
|
void setFileSystemId(const std::string &fileSystemId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string regionId_;
|
||||||
|
std::string fileSystemId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace NAS
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_CREATELOGANALYSISREQUEST_H_
|
||||||
49
nas/include/alibabacloud/nas/model/CreateLogAnalysisResult.h
Normal file
49
nas/include/alibabacloud/nas/model/CreateLogAnalysisResult.h
Normal 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_NAS_MODEL_CREATELOGANALYSISRESULT_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_CREATELOGANALYSISRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace NAS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT CreateLogAnalysisResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
CreateLogAnalysisResult();
|
||||||
|
explicit CreateLogAnalysisResult(const std::string &payload);
|
||||||
|
~CreateLogAnalysisResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_CREATELOGANALYSISRESULT_H_
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_NAS_MODEL_DELETEACCESSPOINTREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_DELETEACCESSPOINTREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace NAS {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT DeleteAccessPointRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
DeleteAccessPointRequest();
|
||||||
|
~DeleteAccessPointRequest();
|
||||||
|
std::string getAccessPointId() const;
|
||||||
|
void setAccessPointId(const std::string &accessPointId);
|
||||||
|
std::string getFileSystemId() const;
|
||||||
|
void setFileSystemId(const std::string &fileSystemId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string accessPointId_;
|
||||||
|
std::string fileSystemId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace NAS
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_DELETEACCESSPOINTREQUEST_H_
|
||||||
49
nas/include/alibabacloud/nas/model/DeleteAccessPointResult.h
Normal file
49
nas/include/alibabacloud/nas/model/DeleteAccessPointResult.h
Normal 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_NAS_MODEL_DELETEACCESSPOINTRESULT_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_DELETEACCESSPOINTRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace NAS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT DeleteAccessPointResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DeleteAccessPointResult();
|
||||||
|
explicit DeleteAccessPointResult(const std::string &payload);
|
||||||
|
~DeleteAccessPointResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_DELETEACCESSPOINTRESULT_H_
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_NAS_MODEL_DELETELOGANALYSISREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_DELETELOGANALYSISREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace NAS {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT DeleteLogAnalysisRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
DeleteLogAnalysisRequest();
|
||||||
|
~DeleteLogAnalysisRequest();
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
|
std::string getFileSystemId() const;
|
||||||
|
void setFileSystemId(const std::string &fileSystemId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string regionId_;
|
||||||
|
std::string fileSystemId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace NAS
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_DELETELOGANALYSISREQUEST_H_
|
||||||
49
nas/include/alibabacloud/nas/model/DeleteLogAnalysisResult.h
Normal file
49
nas/include/alibabacloud/nas/model/DeleteLogAnalysisResult.h
Normal 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_NAS_MODEL_DELETELOGANALYSISRESULT_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_DELETELOGANALYSISRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace NAS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT DeleteLogAnalysisResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DeleteLogAnalysisResult();
|
||||||
|
explicit DeleteLogAnalysisResult(const std::string &payload);
|
||||||
|
~DeleteLogAnalysisResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_DELETELOGANALYSISRESULT_H_
|
||||||
@@ -44,6 +44,8 @@ namespace AlibabaCloud
|
|||||||
std::string description;
|
std::string description;
|
||||||
std::string accessGroupName;
|
std::string accessGroupName;
|
||||||
std::string createTime;
|
std::string createTime;
|
||||||
|
std::string fileSystemType;
|
||||||
|
std::string regionId;
|
||||||
int mountTargetCount;
|
int mountTargetCount;
|
||||||
std::vector<AccessGroup::Tag> tags;
|
std::vector<AccessGroup::Tag> tags;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_NAS_MODEL_DESCRIBEACCESSPOINTREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_DESCRIBEACCESSPOINTREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace NAS {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT DescribeAccessPointRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
DescribeAccessPointRequest();
|
||||||
|
~DescribeAccessPointRequest();
|
||||||
|
std::string getAccessPointId() const;
|
||||||
|
void setAccessPointId(const std::string &accessPointId);
|
||||||
|
std::string getFileSystemId() const;
|
||||||
|
void setFileSystemId(const std::string &fileSystemId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string accessPointId_;
|
||||||
|
std::string fileSystemId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace NAS
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_DESCRIBEACCESSPOINTREQUEST_H_
|
||||||
@@ -0,0 +1,89 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_NAS_MODEL_DESCRIBEACCESSPOINTRESULT_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_DESCRIBEACCESSPOINTRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace NAS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT DescribeAccessPointResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct AccessPoint
|
||||||
|
{
|
||||||
|
struct RootPathPermission
|
||||||
|
{
|
||||||
|
int ownerUserId;
|
||||||
|
std::string permission;
|
||||||
|
int ownerGroupId;
|
||||||
|
};
|
||||||
|
struct PosixUser
|
||||||
|
{
|
||||||
|
int posixGroupId;
|
||||||
|
int posixUserId;
|
||||||
|
std::vector<std::string> posixSecondaryGroupIds;
|
||||||
|
};
|
||||||
|
struct Tag
|
||||||
|
{
|
||||||
|
std::string value;
|
||||||
|
std::string key;
|
||||||
|
};
|
||||||
|
std::string status;
|
||||||
|
std::string modifyTime;
|
||||||
|
std::string rootPath;
|
||||||
|
std::string domainName;
|
||||||
|
std::string createTime;
|
||||||
|
std::string vSwitchId;
|
||||||
|
PosixUser posixUser;
|
||||||
|
bool enabledRam;
|
||||||
|
std::string accessPointName;
|
||||||
|
std::string vpcId;
|
||||||
|
RootPathPermission rootPathPermission;
|
||||||
|
std::string accessGroup;
|
||||||
|
std::string accessPointId;
|
||||||
|
std::string fileSystemId;
|
||||||
|
std::string regionId;
|
||||||
|
std::string aRN;
|
||||||
|
std::vector<Tag> tags;
|
||||||
|
std::string rootPathStatus;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeAccessPointResult();
|
||||||
|
explicit DescribeAccessPointResult(const std::string &payload);
|
||||||
|
~DescribeAccessPointResult();
|
||||||
|
AccessPoint getAccessPoint()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
AccessPoint accessPoint_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_DESCRIBEACCESSPOINTRESULT_H_
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_NAS_MODEL_DESCRIBEACCESSPOINTSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_DESCRIBEACCESSPOINTSREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace NAS {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT DescribeAccessPointsRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
DescribeAccessPointsRequest();
|
||||||
|
~DescribeAccessPointsRequest();
|
||||||
|
std::string getNextToken() const;
|
||||||
|
void setNextToken(const std::string &nextToken);
|
||||||
|
std::string getFileSystemId() const;
|
||||||
|
void setFileSystemId(const std::string &fileSystemId);
|
||||||
|
int getMaxResults() const;
|
||||||
|
void setMaxResults(int maxResults);
|
||||||
|
std::string getAccessGroup() const;
|
||||||
|
void setAccessGroup(const std::string &accessGroup);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string nextToken_;
|
||||||
|
std::string fileSystemId_;
|
||||||
|
int maxResults_;
|
||||||
|
std::string accessGroup_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace NAS
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_DESCRIBEACCESSPOINTSREQUEST_H_
|
||||||
@@ -0,0 +1,86 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_NAS_MODEL_DESCRIBEACCESSPOINTSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_DESCRIBEACCESSPOINTSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace NAS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT DescribeAccessPointsResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct AccessPoint
|
||||||
|
{
|
||||||
|
struct PosixUser
|
||||||
|
{
|
||||||
|
int posixGroupId;
|
||||||
|
int posixUserId;
|
||||||
|
std::vector<std::string> posixSecondaryGroupIds;
|
||||||
|
};
|
||||||
|
struct RootPathPermission
|
||||||
|
{
|
||||||
|
long ownerUserId;
|
||||||
|
std::string permission;
|
||||||
|
long ownerGroupId;
|
||||||
|
};
|
||||||
|
std::string status;
|
||||||
|
std::string modifyTime;
|
||||||
|
std::string rootPath;
|
||||||
|
std::string domainName;
|
||||||
|
std::string createTime;
|
||||||
|
std::string vSwitchId;
|
||||||
|
PosixUser posixUser;
|
||||||
|
bool enabledRam;
|
||||||
|
std::string accessPointName;
|
||||||
|
std::string vpcId;
|
||||||
|
RootPathPermission rootPathPermission;
|
||||||
|
std::string accessGroup;
|
||||||
|
std::string accessPointId;
|
||||||
|
std::string fileSystemId;
|
||||||
|
std::string aRN;
|
||||||
|
std::string rootPathStatus;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeAccessPointsResult();
|
||||||
|
explicit DescribeAccessPointsResult(const std::string &payload);
|
||||||
|
~DescribeAccessPointsResult();
|
||||||
|
std::vector<AccessPoint> getAccessPoints()const;
|
||||||
|
int getTotalCount()const;
|
||||||
|
std::string getNextToken()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::vector<AccessPoint> accessPoints_;
|
||||||
|
int totalCount_;
|
||||||
|
std::string nextToken_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_DESCRIBEACCESSPOINTSRESULT_H_
|
||||||
@@ -38,7 +38,10 @@ namespace AlibabaCloud
|
|||||||
std::string userAccess;
|
std::string userAccess;
|
||||||
int priority;
|
int priority;
|
||||||
std::string sourceCidrIp;
|
std::string sourceCidrIp;
|
||||||
|
std::string fileSystemType;
|
||||||
|
std::string accessGroupName;
|
||||||
std::string ipv6SourceCidrIp;
|
std::string ipv6SourceCidrIp;
|
||||||
|
std::string regionId;
|
||||||
std::string accessRuleId;
|
std::string accessRuleId;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ namespace AlibabaCloud
|
|||||||
std::string timePoints;
|
std::string timePoints;
|
||||||
std::string createTime;
|
std::string createTime;
|
||||||
int fileSystemNums;
|
int fileSystemNums;
|
||||||
|
std::string fileSystemType;
|
||||||
std::string autoSnapshotPolicyId;
|
std::string autoSnapshotPolicyId;
|
||||||
int retentionDays;
|
int retentionDays;
|
||||||
std::string repeatWeekdays;
|
std::string repeatWeekdays;
|
||||||
|
|||||||
@@ -0,0 +1,55 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_NAS_MODEL_DESCRIBEDATAFLOWSUBTASKSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_DESCRIBEDATAFLOWSUBTASKSREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace NAS {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT DescribeDataFlowSubTasksRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
struct Filters {
|
||||||
|
std::string value;
|
||||||
|
std::string key;
|
||||||
|
};
|
||||||
|
DescribeDataFlowSubTasksRequest();
|
||||||
|
~DescribeDataFlowSubTasksRequest();
|
||||||
|
std::string getNextToken() const;
|
||||||
|
void setNextToken(const std::string &nextToken);
|
||||||
|
std::string getFileSystemId() const;
|
||||||
|
void setFileSystemId(const std::string &fileSystemId);
|
||||||
|
std::vector<Filters> getFilters() const;
|
||||||
|
void setFilters(const std::vector<Filters> &filters);
|
||||||
|
long getMaxResults() const;
|
||||||
|
void setMaxResults(long maxResults);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string nextToken_;
|
||||||
|
std::string fileSystemId_;
|
||||||
|
std::vector<Filters> filters_;
|
||||||
|
long maxResults_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace NAS
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_DESCRIBEDATAFLOWSUBTASKSREQUEST_H_
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_NAS_MODEL_DESCRIBEDATAFLOWSUBTASKSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_DESCRIBEDATAFLOWSUBTASKSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace NAS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT DescribeDataFlowSubTasksResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct DataFlowSubTaskItem
|
||||||
|
{
|
||||||
|
struct ProgressStats
|
||||||
|
{
|
||||||
|
long averageSpeed;
|
||||||
|
long bytesDone;
|
||||||
|
long actualBytes;
|
||||||
|
long bytesTotal;
|
||||||
|
};
|
||||||
|
struct FileDetail
|
||||||
|
{
|
||||||
|
long modifyTime;
|
||||||
|
long size;
|
||||||
|
std::string checksum;
|
||||||
|
};
|
||||||
|
std::string status;
|
||||||
|
int progress;
|
||||||
|
FileDetail fileDetail;
|
||||||
|
std::string dataFlowSubTaskId;
|
||||||
|
std::string endTime;
|
||||||
|
std::string dstFilePath;
|
||||||
|
std::string createTime;
|
||||||
|
std::string startTime;
|
||||||
|
std::string errorMsg;
|
||||||
|
std::string dataFlowTaskId;
|
||||||
|
ProgressStats progressStats;
|
||||||
|
std::string srcFilePath;
|
||||||
|
std::string fileSystemId;
|
||||||
|
std::string dataFlowId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeDataFlowSubTasksResult();
|
||||||
|
explicit DescribeDataFlowSubTasksResult(const std::string &payload);
|
||||||
|
~DescribeDataFlowSubTasksResult();
|
||||||
|
std::string getNextToken()const;
|
||||||
|
std::vector<DataFlowSubTaskItem> getDataFlowSubTask()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string nextToken_;
|
||||||
|
std::vector<DataFlowSubTaskItem> dataFlowSubTask_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_DESCRIBEDATAFLOWSUBTASKSRESULT_H_
|
||||||
@@ -34,6 +34,22 @@ namespace AlibabaCloud
|
|||||||
public:
|
public:
|
||||||
struct Task
|
struct Task
|
||||||
{
|
{
|
||||||
|
struct ProgressStats
|
||||||
|
{
|
||||||
|
long averageSpeed;
|
||||||
|
long filesTotal;
|
||||||
|
long filesDone;
|
||||||
|
long bytesDone;
|
||||||
|
long actualBytes;
|
||||||
|
long remainTime;
|
||||||
|
long actualFiles;
|
||||||
|
long bytesTotal;
|
||||||
|
};
|
||||||
|
struct Report
|
||||||
|
{
|
||||||
|
std::string path;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
std::string fileSystemPath;
|
std::string fileSystemPath;
|
||||||
std::string status;
|
std::string status;
|
||||||
std::string filesystemId;
|
std::string filesystemId;
|
||||||
@@ -43,12 +59,18 @@ namespace AlibabaCloud
|
|||||||
std::string taskAction;
|
std::string taskAction;
|
||||||
std::string createTime;
|
std::string createTime;
|
||||||
std::string startTime;
|
std::string startTime;
|
||||||
|
std::string errorMsg;
|
||||||
|
std::vector<Task::Report> reports;
|
||||||
|
std::string dstDirectory;
|
||||||
std::string sourceStorage;
|
std::string sourceStorage;
|
||||||
|
std::string conflictPolicy;
|
||||||
std::string originator;
|
std::string originator;
|
||||||
|
ProgressStats progressStats;
|
||||||
std::string reportPath;
|
std::string reportPath;
|
||||||
std::string dataType;
|
std::string dataType;
|
||||||
std::string dataFlowId;
|
std::string dataFlowId;
|
||||||
std::string fsPath;
|
std::string fsPath;
|
||||||
|
std::string directory;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ namespace AlibabaCloud
|
|||||||
long autoRefreshInterval;
|
long autoRefreshInterval;
|
||||||
std::string fsetDescription;
|
std::string fsetDescription;
|
||||||
std::string sourceStorage;
|
std::string sourceStorage;
|
||||||
|
std::string sourceStoragePath;
|
||||||
std::string sourceSecurityType;
|
std::string sourceSecurityType;
|
||||||
std::string updateTime;
|
std::string updateTime;
|
||||||
std::string fileSystemId;
|
std::string fileSystemId;
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ namespace AlibabaCloud
|
|||||||
long fileCountReal;
|
long fileCountReal;
|
||||||
long sizeReal;
|
long sizeReal;
|
||||||
std::string userType;
|
std::string userType;
|
||||||
|
long sizeRealInByte;
|
||||||
};
|
};
|
||||||
std::string status;
|
std::string status;
|
||||||
std::string path;
|
std::string path;
|
||||||
|
|||||||
@@ -48,6 +48,8 @@ public:
|
|||||||
void setPageNumber(int pageNumber);
|
void setPageNumber(int pageNumber);
|
||||||
std::string getStorageType() const;
|
std::string getStorageType() const;
|
||||||
void setStorageType(const std::string &storageType);
|
void setStorageType(const std::string &storageType);
|
||||||
|
std::string getResourceGroupId() const;
|
||||||
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
int getPageSize() const;
|
int getPageSize() const;
|
||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
std::string getSortOrder() const;
|
std::string getSortOrder() const;
|
||||||
@@ -71,6 +73,7 @@ private:
|
|||||||
std::string packageIds_;
|
std::string packageIds_;
|
||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
std::string storageType_;
|
std::string storageType_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
std::string sortOrder_;
|
std::string sortOrder_;
|
||||||
std::vector<Tag> tag_;
|
std::vector<Tag> tag_;
|
||||||
|
|||||||
@@ -40,6 +40,16 @@ namespace AlibabaCloud
|
|||||||
std::string bindDN;
|
std::string bindDN;
|
||||||
std::string uRI;
|
std::string uRI;
|
||||||
};
|
};
|
||||||
|
struct GuiInfo
|
||||||
|
{
|
||||||
|
std::string user;
|
||||||
|
std::string endpoint;
|
||||||
|
std::string password;
|
||||||
|
};
|
||||||
|
struct Options
|
||||||
|
{
|
||||||
|
bool enableOplock;
|
||||||
|
};
|
||||||
struct Tag
|
struct Tag
|
||||||
{
|
{
|
||||||
std::string value;
|
std::string value;
|
||||||
@@ -66,6 +76,7 @@ namespace AlibabaCloud
|
|||||||
std::string mountTargetDomain;
|
std::string mountTargetDomain;
|
||||||
std::string networkType;
|
std::string networkType;
|
||||||
std::string accessGroupName;
|
std::string accessGroupName;
|
||||||
|
std::string mountTargetIp;
|
||||||
std::vector<MountTarget::ClientMasterNode> clientMasterNodes;
|
std::vector<MountTarget::ClientMasterNode> clientMasterNodes;
|
||||||
};
|
};
|
||||||
struct Package
|
struct Package
|
||||||
@@ -76,9 +87,14 @@ namespace AlibabaCloud
|
|||||||
std::string startTime;
|
std::string startTime;
|
||||||
std::string packageId;
|
std::string packageId;
|
||||||
};
|
};
|
||||||
|
Options options;
|
||||||
|
GuiInfo guiInfo;
|
||||||
long mountTargetCountLimit;
|
long mountTargetCountLimit;
|
||||||
std::string description;
|
std::string description;
|
||||||
std::string kMSKeyId;
|
std::string kMSKeyId;
|
||||||
|
int nodeNum;
|
||||||
|
std::string resourceGroupId;
|
||||||
|
std::string hpnZone;
|
||||||
long meteredSize;
|
long meteredSize;
|
||||||
std::vector<std::string> vswIds;
|
std::vector<std::string> vswIds;
|
||||||
long capacity;
|
long capacity;
|
||||||
@@ -87,8 +103,11 @@ namespace AlibabaCloud
|
|||||||
long bandwidth;
|
long bandwidth;
|
||||||
std::string expiredTime;
|
std::string expiredTime;
|
||||||
std::string fileSystemId;
|
std::string fileSystemId;
|
||||||
|
long meteredArchiveSize;
|
||||||
|
std::string quorumVswId;
|
||||||
std::vector<FileSystem::Tag> tags;
|
std::vector<FileSystem::Tag> tags;
|
||||||
std::string status;
|
std::string status;
|
||||||
|
std::string accessPointCount;
|
||||||
Ldap ldap;
|
Ldap ldap;
|
||||||
std::string storageType;
|
std::string storageType;
|
||||||
std::string zoneId;
|
std::string zoneId;
|
||||||
|
|||||||
@@ -34,12 +34,22 @@ namespace AlibabaCloud
|
|||||||
public:
|
public:
|
||||||
struct Entrie
|
struct Entrie
|
||||||
{
|
{
|
||||||
|
struct Quota
|
||||||
|
{
|
||||||
|
long fileCountLimit;
|
||||||
|
long sizeLimit;
|
||||||
|
};
|
||||||
std::string fileSystemPath;
|
std::string fileSystemPath;
|
||||||
std::string fsetId;
|
std::string fsetId;
|
||||||
std::string status;
|
std::string status;
|
||||||
std::string description;
|
std::string description;
|
||||||
|
long spaceUsage;
|
||||||
|
Quota quota;
|
||||||
std::string createTime;
|
std::string createTime;
|
||||||
std::string updateTime;
|
std::string updateTime;
|
||||||
|
std::string fileSystemId;
|
||||||
|
bool deletionProtection;
|
||||||
|
long fileCountUsage;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -32,6 +32,10 @@ public:
|
|||||||
~DescribeLifecyclePoliciesRequest();
|
~DescribeLifecyclePoliciesRequest();
|
||||||
int getPageNumber() const;
|
int getPageNumber() const;
|
||||||
void setPageNumber(int pageNumber);
|
void setPageNumber(int pageNumber);
|
||||||
|
std::string getStorageType() const;
|
||||||
|
void setStorageType(const std::string &storageType);
|
||||||
|
std::string getLifecyclePolicyName() const;
|
||||||
|
void setLifecyclePolicyName(const std::string &lifecyclePolicyName);
|
||||||
int getPageSize() const;
|
int getPageSize() const;
|
||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
std::string getFileSystemId() const;
|
std::string getFileSystemId() const;
|
||||||
@@ -39,6 +43,8 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
|
std::string storageType_;
|
||||||
|
std::string lifecyclePolicyName_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
std::string fileSystemId_;
|
std::string fileSystemId_;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_NAS_EXPORT DescribeLogAnalysisRequest : public RpcServiceRequ
|
|||||||
public:
|
public:
|
||||||
DescribeLogAnalysisRequest();
|
DescribeLogAnalysisRequest();
|
||||||
~DescribeLogAnalysisRequest();
|
~DescribeLogAnalysisRequest();
|
||||||
|
std::string getFileSystemType() const;
|
||||||
|
void setFileSystemType(const std::string &fileSystemType);
|
||||||
int getPageNumber() const;
|
int getPageNumber() const;
|
||||||
void setPageNumber(int pageNumber);
|
void setPageNumber(int pageNumber);
|
||||||
std::string getRegionId() const;
|
std::string getRegionId() const;
|
||||||
@@ -38,6 +40,7 @@ public:
|
|||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string fileSystemType_;
|
||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
std::string regionId_;
|
std::string regionId_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
|
|||||||
@@ -52,6 +52,7 @@ namespace AlibabaCloud
|
|||||||
std::string mountTargetDomain;
|
std::string mountTargetDomain;
|
||||||
std::string accessGroup;
|
std::string accessGroup;
|
||||||
std::string networkType;
|
std::string networkType;
|
||||||
|
std::string mountTargetIp;
|
||||||
std::vector<MountTarget::ClientMasterNode> clientMasterNodes;
|
std::vector<MountTarget::ClientMasterNode> clientMasterNodes;
|
||||||
std::vector<MountTarget::Tag> tags;
|
std::vector<MountTarget::Tag> tags;
|
||||||
std::string iPVersion;
|
std::string iPVersion;
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_NAS_MODEL_DESCRIBELDAPCONFIGREQUEST_H_
|
#ifndef ALIBABACLOUD_NAS_MODEL_DESCRIBENFSACLREQUEST_H_
|
||||||
#define ALIBABACLOUD_NAS_MODEL_DESCRIBELDAPCONFIGREQUEST_H_
|
#define ALIBABACLOUD_NAS_MODEL_DESCRIBENFSACLREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/nas/NASExport.h>
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
@@ -26,10 +26,10 @@
|
|||||||
namespace AlibabaCloud {
|
namespace AlibabaCloud {
|
||||||
namespace NAS {
|
namespace NAS {
|
||||||
namespace Model {
|
namespace Model {
|
||||||
class ALIBABACLOUD_NAS_EXPORT DescribeLDAPConfigRequest : public RpcServiceRequest {
|
class ALIBABACLOUD_NAS_EXPORT DescribeNfsAclRequest : public RpcServiceRequest {
|
||||||
public:
|
public:
|
||||||
DescribeLDAPConfigRequest();
|
DescribeNfsAclRequest();
|
||||||
~DescribeLDAPConfigRequest();
|
~DescribeNfsAclRequest();
|
||||||
std::string getFileSystemId() const;
|
std::string getFileSystemId() const;
|
||||||
void setFileSystemId(const std::string &fileSystemId);
|
void setFileSystemId(const std::string &fileSystemId);
|
||||||
|
|
||||||
@@ -39,4 +39,4 @@ private:
|
|||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace NAS
|
} // namespace NAS
|
||||||
} // namespace AlibabaCloud
|
} // namespace AlibabaCloud
|
||||||
#endif // !ALIBABACLOUD_NAS_MODEL_DESCRIBELDAPCONFIGREQUEST_H_
|
#endif // !ALIBABACLOUD_NAS_MODEL_DESCRIBENFSACLREQUEST_H_
|
||||||
55
nas/include/alibabacloud/nas/model/DescribeNfsAclResult.h
Normal file
55
nas/include/alibabacloud/nas/model/DescribeNfsAclResult.h
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_NAS_MODEL_DESCRIBENFSACLRESULT_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_DESCRIBENFSACLRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace NAS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT DescribeNfsAclResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Acl
|
||||||
|
{
|
||||||
|
bool enabled;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeNfsAclResult();
|
||||||
|
explicit DescribeNfsAclResult(const std::string &payload);
|
||||||
|
~DescribeNfsAclResult();
|
||||||
|
Acl getAcl()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
Acl acl_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_DESCRIBENFSACLRESULT_H_
|
||||||
@@ -35,17 +35,19 @@ namespace AlibabaCloud
|
|||||||
struct Snapshot
|
struct Snapshot
|
||||||
{
|
{
|
||||||
std::string status;
|
std::string status;
|
||||||
std::string snapshotId;
|
|
||||||
std::string progress;
|
std::string progress;
|
||||||
long sourceFileSystemSize;
|
|
||||||
std::string description;
|
std::string description;
|
||||||
int encryptType;
|
|
||||||
std::string sourceFileSystemVersion;
|
std::string sourceFileSystemVersion;
|
||||||
std::string createTime;
|
std::string createTime;
|
||||||
std::string sourceFileSystemId;
|
std::string sourceFileSystemId;
|
||||||
int retentionDays;
|
int retentionDays;
|
||||||
int remainTime;
|
|
||||||
std::string snapshotName;
|
std::string snapshotName;
|
||||||
|
std::string snapshotId;
|
||||||
|
long sourceFileSystemSize;
|
||||||
|
int encryptType;
|
||||||
|
std::string fileSystemType;
|
||||||
|
std::string snapshotType;
|
||||||
|
int remainTime;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
42
nas/include/alibabacloud/nas/model/DisableNfsAclRequest.h
Normal file
42
nas/include/alibabacloud/nas/model/DisableNfsAclRequest.h
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_NAS_MODEL_DISABLENFSACLREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_DISABLENFSACLREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace NAS {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT DisableNfsAclRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
DisableNfsAclRequest();
|
||||||
|
~DisableNfsAclRequest();
|
||||||
|
std::string getFileSystemId() const;
|
||||||
|
void setFileSystemId(const std::string &fileSystemId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string fileSystemId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace NAS
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_DISABLENFSACLREQUEST_H_
|
||||||
49
nas/include/alibabacloud/nas/model/DisableNfsAclResult.h
Normal file
49
nas/include/alibabacloud/nas/model/DisableNfsAclResult.h
Normal 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_NAS_MODEL_DISABLENFSACLRESULT_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_DISABLENFSACLRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace NAS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT DisableNfsAclResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DisableNfsAclResult();
|
||||||
|
explicit DisableNfsAclResult(const std::string &payload);
|
||||||
|
~DisableNfsAclResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_DISABLENFSACLRESULT_H_
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_NAS_MODEL_DESCRIBETAGSREQUEST_H_
|
#ifndef ALIBABACLOUD_NAS_MODEL_ENABLENFSACLREQUEST_H_
|
||||||
#define ALIBABACLOUD_NAS_MODEL_DESCRIBETAGSREQUEST_H_
|
#define ALIBABACLOUD_NAS_MODEL_ENABLENFSACLREQUEST_H_
|
||||||
|
|
||||||
#include <alibabacloud/nas/NASExport.h>
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
@@ -26,30 +26,17 @@
|
|||||||
namespace AlibabaCloud {
|
namespace AlibabaCloud {
|
||||||
namespace NAS {
|
namespace NAS {
|
||||||
namespace Model {
|
namespace Model {
|
||||||
class ALIBABACLOUD_NAS_EXPORT DescribeTagsRequest : public RpcServiceRequest {
|
class ALIBABACLOUD_NAS_EXPORT EnableNfsAclRequest : public RpcServiceRequest {
|
||||||
public:
|
public:
|
||||||
struct Tag {
|
EnableNfsAclRequest();
|
||||||
std::string value;
|
~EnableNfsAclRequest();
|
||||||
std::string key;
|
|
||||||
};
|
|
||||||
DescribeTagsRequest();
|
|
||||||
~DescribeTagsRequest();
|
|
||||||
int getPageNumber() const;
|
|
||||||
void setPageNumber(int pageNumber);
|
|
||||||
int getPageSize() const;
|
|
||||||
void setPageSize(int pageSize);
|
|
||||||
std::vector<Tag> getTag() const;
|
|
||||||
void setTag(const std::vector<Tag> &tag);
|
|
||||||
std::string getFileSystemId() const;
|
std::string getFileSystemId() const;
|
||||||
void setFileSystemId(const std::string &fileSystemId);
|
void setFileSystemId(const std::string &fileSystemId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int pageNumber_;
|
|
||||||
int pageSize_;
|
|
||||||
std::vector<Tag> tag_;
|
|
||||||
std::string fileSystemId_;
|
std::string fileSystemId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace NAS
|
} // namespace NAS
|
||||||
} // namespace AlibabaCloud
|
} // namespace AlibabaCloud
|
||||||
#endif // !ALIBABACLOUD_NAS_MODEL_DESCRIBETAGSREQUEST_H_
|
#endif // !ALIBABACLOUD_NAS_MODEL_ENABLENFSACLREQUEST_H_
|
||||||
49
nas/include/alibabacloud/nas/model/EnableNfsAclResult.h
Normal file
49
nas/include/alibabacloud/nas/model/EnableNfsAclResult.h
Normal 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_NAS_MODEL_ENABLENFSACLRESULT_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_ENABLENFSACLRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace NAS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT EnableNfsAclResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
EnableNfsAclResult();
|
||||||
|
explicit EnableNfsAclResult(const std::string &payload);
|
||||||
|
~EnableNfsAclResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_ENABLENFSACLRESULT_H_
|
||||||
@@ -34,6 +34,7 @@ namespace AlibabaCloud
|
|||||||
public:
|
public:
|
||||||
struct Entry
|
struct Entry
|
||||||
{
|
{
|
||||||
|
bool hasArchiveFile;
|
||||||
std::string type;
|
std::string type;
|
||||||
std::string storageType;
|
std::string storageType;
|
||||||
std::string inode;
|
std::string inode;
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
std::string status;
|
std::string status;
|
||||||
long reservedDays;
|
long reservedDays;
|
||||||
|
long archiveSize;
|
||||||
long size;
|
long size;
|
||||||
long secondarySize;
|
long secondarySize;
|
||||||
std::string enableTime;
|
std::string enableTime;
|
||||||
|
|||||||
@@ -34,18 +34,19 @@ namespace AlibabaCloud
|
|||||||
public:
|
public:
|
||||||
struct Entry
|
struct Entry
|
||||||
{
|
{
|
||||||
std::string type;
|
std::string hasArchiveFile;
|
||||||
std::string owner;
|
std::string owner;
|
||||||
std::string storageType;
|
std::string storageType;
|
||||||
std::string inode;
|
|
||||||
std::string atime;
|
std::string atime;
|
||||||
bool hasInfrequentAccessFile;
|
|
||||||
std::string ctime;
|
|
||||||
long size;
|
long size;
|
||||||
std::string mtime;
|
std::string mtime;
|
||||||
std::string fileId;
|
|
||||||
std::string retrieveTime;
|
std::string retrieveTime;
|
||||||
std::string name;
|
std::string name;
|
||||||
|
std::string type;
|
||||||
|
std::string inode;
|
||||||
|
bool hasInfrequentAccessFile;
|
||||||
|
std::string ctime;
|
||||||
|
std::string fileId;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -32,6 +32,8 @@ public:
|
|||||||
~ListLifecycleRetrieveJobsRequest();
|
~ListLifecycleRetrieveJobsRequest();
|
||||||
int getPageNumber() const;
|
int getPageNumber() const;
|
||||||
void setPageNumber(int pageNumber);
|
void setPageNumber(int pageNumber);
|
||||||
|
std::string getStorageType() const;
|
||||||
|
void setStorageType(const std::string &storageType);
|
||||||
int getPageSize() const;
|
int getPageSize() const;
|
||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
std::string getFileSystemId() const;
|
std::string getFileSystemId() const;
|
||||||
@@ -41,6 +43,7 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
|
std::string storageType_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
std::string fileSystemId_;
|
std::string fileSystemId_;
|
||||||
std::string status_;
|
std::string status_;
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ namespace AlibabaCloud
|
|||||||
struct LifecycleRetrieveJob
|
struct LifecycleRetrieveJob
|
||||||
{
|
{
|
||||||
std::string status;
|
std::string status;
|
||||||
|
std::string storageType;
|
||||||
std::string createTime;
|
std::string createTime;
|
||||||
std::string updateTime;
|
std::string updateTime;
|
||||||
long retrievedFileCount;
|
long retrievedFileCount;
|
||||||
|
|||||||
@@ -0,0 +1,54 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_NAS_MODEL_MODIFYACCESSPOINTREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_MODIFYACCESSPOINTREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace NAS {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT ModifyAccessPointRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
ModifyAccessPointRequest();
|
||||||
|
~ModifyAccessPointRequest();
|
||||||
|
std::string getAccessPointId() const;
|
||||||
|
void setAccessPointId(const std::string &accessPointId);
|
||||||
|
std::string getAccessPointName() const;
|
||||||
|
void setAccessPointName(const std::string &accessPointName);
|
||||||
|
std::string getFileSystemId() const;
|
||||||
|
void setFileSystemId(const std::string &fileSystemId);
|
||||||
|
bool getEnabledRam() const;
|
||||||
|
void setEnabledRam(bool enabledRam);
|
||||||
|
std::string getAccessGroup() const;
|
||||||
|
void setAccessGroup(const std::string &accessGroup);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string accessPointId_;
|
||||||
|
std::string accessPointName_;
|
||||||
|
std::string fileSystemId_;
|
||||||
|
bool enabledRam_;
|
||||||
|
std::string accessGroup_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace NAS
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_MODIFYACCESSPOINTREQUEST_H_
|
||||||
49
nas/include/alibabacloud/nas/model/ModifyAccessPointResult.h
Normal file
49
nas/include/alibabacloud/nas/model/ModifyAccessPointResult.h
Normal 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_NAS_MODEL_MODIFYACCESSPOINTRESULT_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_MODIFYACCESSPOINTRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace NAS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT ModifyAccessPointResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
ModifyAccessPointResult();
|
||||||
|
explicit ModifyAccessPointResult(const std::string &payload);
|
||||||
|
~ModifyAccessPointResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_MODIFYACCESSPOINTRESULT_H_
|
||||||
@@ -28,15 +28,21 @@ namespace NAS {
|
|||||||
namespace Model {
|
namespace Model {
|
||||||
class ALIBABACLOUD_NAS_EXPORT ModifyFileSystemRequest : public RpcServiceRequest {
|
class ALIBABACLOUD_NAS_EXPORT ModifyFileSystemRequest : public RpcServiceRequest {
|
||||||
public:
|
public:
|
||||||
|
struct Options {
|
||||||
|
bool enableOplock;
|
||||||
|
};
|
||||||
ModifyFileSystemRequest();
|
ModifyFileSystemRequest();
|
||||||
~ModifyFileSystemRequest();
|
~ModifyFileSystemRequest();
|
||||||
std::string getDescription() const;
|
std::string getDescription() const;
|
||||||
void setDescription(const std::string &description);
|
void setDescription(const std::string &description);
|
||||||
|
Options getOptions() const;
|
||||||
|
void setOptions(const Options &options);
|
||||||
std::string getFileSystemId() const;
|
std::string getFileSystemId() const;
|
||||||
void setFileSystemId(const std::string &fileSystemId);
|
void setFileSystemId(const std::string &fileSystemId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string description_;
|
std::string description_;
|
||||||
|
Options options_;
|
||||||
std::string fileSystemId_;
|
std::string fileSystemId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
|
|||||||
@@ -36,6 +36,8 @@ public:
|
|||||||
void setClientToken(const std::string &clientToken);
|
void setClientToken(const std::string &clientToken);
|
||||||
std::string getDescription() const;
|
std::string getDescription() const;
|
||||||
void setDescription(const std::string &description);
|
void setDescription(const std::string &description);
|
||||||
|
bool getDeletionProtection() const;
|
||||||
|
void setDeletionProtection(bool deletionProtection);
|
||||||
std::string getFileSystemId() const;
|
std::string getFileSystemId() const;
|
||||||
void setFileSystemId(const std::string &fileSystemId);
|
void setFileSystemId(const std::string &fileSystemId);
|
||||||
bool getDryRun() const;
|
bool getDryRun() const;
|
||||||
@@ -45,6 +47,7 @@ private:
|
|||||||
std::string fsetId_;
|
std::string fsetId_;
|
||||||
std::string clientToken_;
|
std::string clientToken_;
|
||||||
std::string description_;
|
std::string description_;
|
||||||
|
bool deletionProtection_;
|
||||||
std::string fileSystemId_;
|
std::string fileSystemId_;
|
||||||
bool dryRun_;
|
bool dryRun_;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -37,11 +37,13 @@ namespace AlibabaCloud
|
|||||||
OpenNASServiceResult();
|
OpenNASServiceResult();
|
||||||
explicit OpenNASServiceResult(const std::string &payload);
|
explicit OpenNASServiceResult(const std::string &payload);
|
||||||
~OpenNASServiceResult();
|
~OpenNASServiceResult();
|
||||||
|
std::string getAccessDeniedDetail()const;
|
||||||
std::string getOrderId()const;
|
std::string getOrderId()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
|
std::string accessDeniedDetail_;
|
||||||
std::string orderId_;
|
std::string orderId_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
57
nas/include/alibabacloud/nas/model/SetFilesetQuotaRequest.h
Normal file
57
nas/include/alibabacloud/nas/model/SetFilesetQuotaRequest.h
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_NAS_MODEL_SETFILESETQUOTAREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_SETFILESETQUOTAREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace NAS {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT SetFilesetQuotaRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
SetFilesetQuotaRequest();
|
||||||
|
~SetFilesetQuotaRequest();
|
||||||
|
std::string getFsetId() const;
|
||||||
|
void setFsetId(const std::string &fsetId);
|
||||||
|
std::string getClientToken() const;
|
||||||
|
void setClientToken(const std::string &clientToken);
|
||||||
|
long getFileCountLimit() const;
|
||||||
|
void setFileCountLimit(long fileCountLimit);
|
||||||
|
long getSizeLimit() const;
|
||||||
|
void setSizeLimit(long sizeLimit);
|
||||||
|
std::string getFileSystemId() const;
|
||||||
|
void setFileSystemId(const std::string &fileSystemId);
|
||||||
|
bool getDryRun() const;
|
||||||
|
void setDryRun(bool dryRun);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string fsetId_;
|
||||||
|
std::string clientToken_;
|
||||||
|
long fileCountLimit_;
|
||||||
|
long sizeLimit_;
|
||||||
|
std::string fileSystemId_;
|
||||||
|
bool dryRun_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace NAS
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_SETFILESETQUOTAREQUEST_H_
|
||||||
49
nas/include/alibabacloud/nas/model/SetFilesetQuotaResult.h
Normal file
49
nas/include/alibabacloud/nas/model/SetFilesetQuotaResult.h
Normal 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_NAS_MODEL_SETFILESETQUOTARESULT_H_
|
||||||
|
#define ALIBABACLOUD_NAS_MODEL_SETFILESETQUOTARESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/nas/NASExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace NAS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_NAS_EXPORT SetFilesetQuotaResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
SetFilesetQuotaResult();
|
||||||
|
explicit SetFilesetQuotaResult(const std::string &payload);
|
||||||
|
~SetFilesetQuotaResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_NAS_MODEL_SETFILESETQUOTARESULT_H_
|
||||||
@@ -31,21 +31,21 @@ NASClient::NASClient(const Credentials &credentials, const ClientConfiguration &
|
|||||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||||
{
|
{
|
||||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "NAS");
|
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "nas");
|
||||||
}
|
}
|
||||||
|
|
||||||
NASClient::NASClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
NASClient::NASClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||||
{
|
{
|
||||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "NAS");
|
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "nas");
|
||||||
}
|
}
|
||||||
|
|
||||||
NASClient::NASClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
NASClient::NASClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||||
{
|
{
|
||||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "NAS");
|
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "nas");
|
||||||
}
|
}
|
||||||
|
|
||||||
NASClient::~NASClient()
|
NASClient::~NASClient()
|
||||||
@@ -267,6 +267,42 @@ NASClient::CancelDataFlowAutoRefreshOutcomeCallable NASClient::cancelDataFlowAut
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NASClient::CancelDataFlowSubTaskOutcome NASClient::cancelDataFlowSubTask(const CancelDataFlowSubTaskRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return CancelDataFlowSubTaskOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return CancelDataFlowSubTaskOutcome(CancelDataFlowSubTaskResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return CancelDataFlowSubTaskOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void NASClient::cancelDataFlowSubTaskAsync(const CancelDataFlowSubTaskRequest& request, const CancelDataFlowSubTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, cancelDataFlowSubTask(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
NASClient::CancelDataFlowSubTaskOutcomeCallable NASClient::cancelDataFlowSubTaskCallable(const CancelDataFlowSubTaskRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<CancelDataFlowSubTaskOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->cancelDataFlowSubTask(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
NASClient::CancelDataFlowTaskOutcome NASClient::cancelDataFlowTask(const CancelDataFlowTaskRequest &request) const
|
NASClient::CancelDataFlowTaskOutcome NASClient::cancelDataFlowTask(const CancelDataFlowTaskRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -339,6 +375,42 @@ NASClient::CancelDirQuotaOutcomeCallable NASClient::cancelDirQuotaCallable(const
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NASClient::CancelFilesetQuotaOutcome NASClient::cancelFilesetQuota(const CancelFilesetQuotaRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return CancelFilesetQuotaOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return CancelFilesetQuotaOutcome(CancelFilesetQuotaResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return CancelFilesetQuotaOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void NASClient::cancelFilesetQuotaAsync(const CancelFilesetQuotaRequest& request, const CancelFilesetQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, cancelFilesetQuota(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
NASClient::CancelFilesetQuotaOutcomeCallable NASClient::cancelFilesetQuotaCallable(const CancelFilesetQuotaRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<CancelFilesetQuotaOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->cancelFilesetQuota(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
NASClient::CancelLifecycleRetrieveJobOutcome NASClient::cancelLifecycleRetrieveJob(const CancelLifecycleRetrieveJobRequest &request) const
|
NASClient::CancelLifecycleRetrieveJobOutcome NASClient::cancelLifecycleRetrieveJob(const CancelLifecycleRetrieveJobRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -411,6 +483,42 @@ NASClient::CancelRecycleBinJobOutcomeCallable NASClient::cancelRecycleBinJobCall
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NASClient::ChangeResourceGroupOutcome NASClient::changeResourceGroup(const ChangeResourceGroupRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return ChangeResourceGroupOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return ChangeResourceGroupOutcome(ChangeResourceGroupResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return ChangeResourceGroupOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void NASClient::changeResourceGroupAsync(const ChangeResourceGroupRequest& request, const ChangeResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, changeResourceGroup(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
NASClient::ChangeResourceGroupOutcomeCallable NASClient::changeResourceGroupCallable(const ChangeResourceGroupRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<ChangeResourceGroupOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->changeResourceGroup(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
NASClient::CreateAccessGroupOutcome NASClient::createAccessGroup(const CreateAccessGroupRequest &request) const
|
NASClient::CreateAccessGroupOutcome NASClient::createAccessGroup(const CreateAccessGroupRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -447,6 +555,42 @@ NASClient::CreateAccessGroupOutcomeCallable NASClient::createAccessGroupCallable
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NASClient::CreateAccessPointOutcome NASClient::createAccessPoint(const CreateAccessPointRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return CreateAccessPointOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return CreateAccessPointOutcome(CreateAccessPointResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return CreateAccessPointOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void NASClient::createAccessPointAsync(const CreateAccessPointRequest& request, const CreateAccessPointAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, createAccessPoint(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
NASClient::CreateAccessPointOutcomeCallable NASClient::createAccessPointCallable(const CreateAccessPointRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<CreateAccessPointOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->createAccessPoint(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
NASClient::CreateAccessRuleOutcome NASClient::createAccessRule(const CreateAccessRuleRequest &request) const
|
NASClient::CreateAccessRuleOutcome NASClient::createAccessRule(const CreateAccessRuleRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -555,6 +699,42 @@ NASClient::CreateDataFlowOutcomeCallable NASClient::createDataFlowCallable(const
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NASClient::CreateDataFlowSubTaskOutcome NASClient::createDataFlowSubTask(const CreateDataFlowSubTaskRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return CreateDataFlowSubTaskOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return CreateDataFlowSubTaskOutcome(CreateDataFlowSubTaskResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return CreateDataFlowSubTaskOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void NASClient::createDataFlowSubTaskAsync(const CreateDataFlowSubTaskRequest& request, const CreateDataFlowSubTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, createDataFlowSubTask(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
NASClient::CreateDataFlowSubTaskOutcomeCallable NASClient::createDataFlowSubTaskCallable(const CreateDataFlowSubTaskRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<CreateDataFlowSubTaskOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->createDataFlowSubTask(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
NASClient::CreateDataFlowTaskOutcome NASClient::createDataFlowTask(const CreateDataFlowTaskRequest &request) const
|
NASClient::CreateDataFlowTaskOutcome NASClient::createDataFlowTask(const CreateDataFlowTaskRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -591,6 +771,42 @@ NASClient::CreateDataFlowTaskOutcomeCallable NASClient::createDataFlowTaskCallab
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NASClient::CreateDirOutcome NASClient::createDir(const CreateDirRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return CreateDirOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return CreateDirOutcome(CreateDirResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return CreateDirOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void NASClient::createDirAsync(const CreateDirRequest& request, const CreateDirAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, createDir(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
NASClient::CreateDirOutcomeCallable NASClient::createDirCallable(const CreateDirRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<CreateDirOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->createDir(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
NASClient::CreateFileOutcome NASClient::createFile(const CreateFileRequest &request) const
|
NASClient::CreateFileOutcome NASClient::createFile(const CreateFileRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -807,6 +1023,42 @@ NASClient::CreateLifecycleRetrieveJobOutcomeCallable NASClient::createLifecycleR
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NASClient::CreateLogAnalysisOutcome NASClient::createLogAnalysis(const CreateLogAnalysisRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return CreateLogAnalysisOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return CreateLogAnalysisOutcome(CreateLogAnalysisResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return CreateLogAnalysisOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void NASClient::createLogAnalysisAsync(const CreateLogAnalysisRequest& request, const CreateLogAnalysisAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, createLogAnalysis(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
NASClient::CreateLogAnalysisOutcomeCallable NASClient::createLogAnalysisCallable(const CreateLogAnalysisRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<CreateLogAnalysisOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->createLogAnalysis(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
NASClient::CreateMountTargetOutcome NASClient::createMountTarget(const CreateMountTargetRequest &request) const
|
NASClient::CreateMountTargetOutcome NASClient::createMountTarget(const CreateMountTargetRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1059,6 +1311,42 @@ NASClient::DeleteAccessGroupOutcomeCallable NASClient::deleteAccessGroupCallable
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NASClient::DeleteAccessPointOutcome NASClient::deleteAccessPoint(const DeleteAccessPointRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DeleteAccessPointOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DeleteAccessPointOutcome(DeleteAccessPointResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DeleteAccessPointOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void NASClient::deleteAccessPointAsync(const DeleteAccessPointRequest& request, const DeleteAccessPointAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, deleteAccessPoint(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
NASClient::DeleteAccessPointOutcomeCallable NASClient::deleteAccessPointCallable(const DeleteAccessPointRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DeleteAccessPointOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->deleteAccessPoint(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
NASClient::DeleteAccessRuleOutcome NASClient::deleteAccessRule(const DeleteAccessRuleRequest &request) const
|
NASClient::DeleteAccessRuleOutcome NASClient::deleteAccessRule(const DeleteAccessRuleRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1311,6 +1599,42 @@ NASClient::DeleteLifecyclePolicyOutcomeCallable NASClient::deleteLifecyclePolicy
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NASClient::DeleteLogAnalysisOutcome NASClient::deleteLogAnalysis(const DeleteLogAnalysisRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DeleteLogAnalysisOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DeleteLogAnalysisOutcome(DeleteLogAnalysisResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DeleteLogAnalysisOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void NASClient::deleteLogAnalysisAsync(const DeleteLogAnalysisRequest& request, const DeleteLogAnalysisAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, deleteLogAnalysis(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
NASClient::DeleteLogAnalysisOutcomeCallable NASClient::deleteLogAnalysisCallable(const DeleteLogAnalysisRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DeleteLogAnalysisOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->deleteLogAnalysis(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
NASClient::DeleteMountTargetOutcome NASClient::deleteMountTarget(const DeleteMountTargetRequest &request) const
|
NASClient::DeleteMountTargetOutcome NASClient::deleteMountTarget(const DeleteMountTargetRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1491,6 +1815,78 @@ NASClient::DescribeAccessGroupsOutcomeCallable NASClient::describeAccessGroupsCa
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NASClient::DescribeAccessPointOutcome NASClient::describeAccessPoint(const DescribeAccessPointRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeAccessPointOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeAccessPointOutcome(DescribeAccessPointResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeAccessPointOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void NASClient::describeAccessPointAsync(const DescribeAccessPointRequest& request, const DescribeAccessPointAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeAccessPoint(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
NASClient::DescribeAccessPointOutcomeCallable NASClient::describeAccessPointCallable(const DescribeAccessPointRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeAccessPointOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeAccessPoint(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
NASClient::DescribeAccessPointsOutcome NASClient::describeAccessPoints(const DescribeAccessPointsRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeAccessPointsOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeAccessPointsOutcome(DescribeAccessPointsResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeAccessPointsOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void NASClient::describeAccessPointsAsync(const DescribeAccessPointsRequest& request, const DescribeAccessPointsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeAccessPoints(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
NASClient::DescribeAccessPointsOutcomeCallable NASClient::describeAccessPointsCallable(const DescribeAccessPointsRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeAccessPointsOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeAccessPoints(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
NASClient::DescribeAccessRulesOutcome NASClient::describeAccessRules(const DescribeAccessRulesRequest &request) const
|
NASClient::DescribeAccessRulesOutcome NASClient::describeAccessRules(const DescribeAccessRulesRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1635,6 +2031,42 @@ NASClient::DescribeBlackListClientsOutcomeCallable NASClient::describeBlackListC
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NASClient::DescribeDataFlowSubTasksOutcome NASClient::describeDataFlowSubTasks(const DescribeDataFlowSubTasksRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeDataFlowSubTasksOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeDataFlowSubTasksOutcome(DescribeDataFlowSubTasksResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeDataFlowSubTasksOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void NASClient::describeDataFlowSubTasksAsync(const DescribeDataFlowSubTasksRequest& request, const DescribeDataFlowSubTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeDataFlowSubTasks(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
NASClient::DescribeDataFlowSubTasksOutcomeCallable NASClient::describeDataFlowSubTasksCallable(const DescribeDataFlowSubTasksRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeDataFlowSubTasksOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeDataFlowSubTasks(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
NASClient::DescribeDataFlowTasksOutcome NASClient::describeDataFlowTasks(const DescribeDataFlowTasksRequest &request) const
|
NASClient::DescribeDataFlowTasksOutcome NASClient::describeDataFlowTasks(const DescribeDataFlowTasksRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1851,42 +2283,6 @@ NASClient::DescribeFilesetsOutcomeCallable NASClient::describeFilesetsCallable(c
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
NASClient::DescribeLDAPConfigOutcome NASClient::describeLDAPConfig(const DescribeLDAPConfigRequest &request) const
|
|
||||||
{
|
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
|
||||||
if (!endpointOutcome.isSuccess())
|
|
||||||
return DescribeLDAPConfigOutcome(endpointOutcome.error());
|
|
||||||
|
|
||||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
|
||||||
|
|
||||||
if (outcome.isSuccess())
|
|
||||||
return DescribeLDAPConfigOutcome(DescribeLDAPConfigResult(outcome.result()));
|
|
||||||
else
|
|
||||||
return DescribeLDAPConfigOutcome(outcome.error());
|
|
||||||
}
|
|
||||||
|
|
||||||
void NASClient::describeLDAPConfigAsync(const DescribeLDAPConfigRequest& request, const DescribeLDAPConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
|
||||||
{
|
|
||||||
auto fn = [this, request, handler, context]()
|
|
||||||
{
|
|
||||||
handler(this, request, describeLDAPConfig(request), context);
|
|
||||||
};
|
|
||||||
|
|
||||||
asyncExecute(new Runnable(fn));
|
|
||||||
}
|
|
||||||
|
|
||||||
NASClient::DescribeLDAPConfigOutcomeCallable NASClient::describeLDAPConfigCallable(const DescribeLDAPConfigRequest &request) const
|
|
||||||
{
|
|
||||||
auto task = std::make_shared<std::packaged_task<DescribeLDAPConfigOutcome()>>(
|
|
||||||
[this, request]()
|
|
||||||
{
|
|
||||||
return this->describeLDAPConfig(request);
|
|
||||||
});
|
|
||||||
|
|
||||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
|
||||||
return task->get_future();
|
|
||||||
}
|
|
||||||
|
|
||||||
NASClient::DescribeLifecyclePoliciesOutcome NASClient::describeLifecyclePolicies(const DescribeLifecyclePoliciesRequest &request) const
|
NASClient::DescribeLifecyclePoliciesOutcome NASClient::describeLifecyclePolicies(const DescribeLifecyclePoliciesRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -2031,6 +2427,42 @@ NASClient::DescribeMountedClientsOutcomeCallable NASClient::describeMountedClien
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NASClient::DescribeNfsAclOutcome NASClient::describeNfsAcl(const DescribeNfsAclRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeNfsAclOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeNfsAclOutcome(DescribeNfsAclResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeNfsAclOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void NASClient::describeNfsAclAsync(const DescribeNfsAclRequest& request, const DescribeNfsAclAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeNfsAcl(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
NASClient::DescribeNfsAclOutcomeCallable NASClient::describeNfsAclCallable(const DescribeNfsAclRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeNfsAclOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeNfsAcl(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
NASClient::DescribeProtocolMountTargetOutcome NASClient::describeProtocolMountTarget(const DescribeProtocolMountTargetRequest &request) const
|
NASClient::DescribeProtocolMountTargetOutcome NASClient::describeProtocolMountTarget(const DescribeProtocolMountTargetRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -2247,42 +2679,6 @@ NASClient::DescribeStoragePackagesOutcomeCallable NASClient::describeStoragePack
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
NASClient::DescribeTagsOutcome NASClient::describeTags(const DescribeTagsRequest &request) const
|
|
||||||
{
|
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
|
||||||
if (!endpointOutcome.isSuccess())
|
|
||||||
return DescribeTagsOutcome(endpointOutcome.error());
|
|
||||||
|
|
||||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
|
||||||
|
|
||||||
if (outcome.isSuccess())
|
|
||||||
return DescribeTagsOutcome(DescribeTagsResult(outcome.result()));
|
|
||||||
else
|
|
||||||
return DescribeTagsOutcome(outcome.error());
|
|
||||||
}
|
|
||||||
|
|
||||||
void NASClient::describeTagsAsync(const DescribeTagsRequest& request, const DescribeTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
|
||||||
{
|
|
||||||
auto fn = [this, request, handler, context]()
|
|
||||||
{
|
|
||||||
handler(this, request, describeTags(request), context);
|
|
||||||
};
|
|
||||||
|
|
||||||
asyncExecute(new Runnable(fn));
|
|
||||||
}
|
|
||||||
|
|
||||||
NASClient::DescribeTagsOutcomeCallable NASClient::describeTagsCallable(const DescribeTagsRequest &request) const
|
|
||||||
{
|
|
||||||
auto task = std::make_shared<std::packaged_task<DescribeTagsOutcome()>>(
|
|
||||||
[this, request]()
|
|
||||||
{
|
|
||||||
return this->describeTags(request);
|
|
||||||
});
|
|
||||||
|
|
||||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
|
||||||
return task->get_future();
|
|
||||||
}
|
|
||||||
|
|
||||||
NASClient::DescribeZonesOutcome NASClient::describeZones(const DescribeZonesRequest &request) const
|
NASClient::DescribeZonesOutcome NASClient::describeZones(const DescribeZonesRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -2355,6 +2751,42 @@ NASClient::DisableAndCleanRecycleBinOutcomeCallable NASClient::disableAndCleanRe
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NASClient::DisableNfsAclOutcome NASClient::disableNfsAcl(const DisableNfsAclRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DisableNfsAclOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DisableNfsAclOutcome(DisableNfsAclResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DisableNfsAclOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void NASClient::disableNfsAclAsync(const DisableNfsAclRequest& request, const DisableNfsAclAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, disableNfsAcl(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
NASClient::DisableNfsAclOutcomeCallable NASClient::disableNfsAclCallable(const DisableNfsAclRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DisableNfsAclOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->disableNfsAcl(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
NASClient::DisableSmbAclOutcome NASClient::disableSmbAcl(const DisableSmbAclRequest &request) const
|
NASClient::DisableSmbAclOutcome NASClient::disableSmbAcl(const DisableSmbAclRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -2391,6 +2823,42 @@ NASClient::DisableSmbAclOutcomeCallable NASClient::disableSmbAclCallable(const D
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NASClient::EnableNfsAclOutcome NASClient::enableNfsAcl(const EnableNfsAclRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return EnableNfsAclOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return EnableNfsAclOutcome(EnableNfsAclResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return EnableNfsAclOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void NASClient::enableNfsAclAsync(const EnableNfsAclRequest& request, const EnableNfsAclAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, enableNfsAcl(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
NASClient::EnableNfsAclOutcomeCallable NASClient::enableNfsAclCallable(const EnableNfsAclRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<EnableNfsAclOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->enableNfsAcl(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
NASClient::EnableRecycleBinOutcome NASClient::enableRecycleBin(const EnableRecycleBinRequest &request) const
|
NASClient::EnableRecycleBinOutcome NASClient::enableRecycleBin(const EnableRecycleBinRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -2787,6 +3255,42 @@ NASClient::ModifyAccessGroupOutcomeCallable NASClient::modifyAccessGroupCallable
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NASClient::ModifyAccessPointOutcome NASClient::modifyAccessPoint(const ModifyAccessPointRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return ModifyAccessPointOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return ModifyAccessPointOutcome(ModifyAccessPointResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return ModifyAccessPointOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void NASClient::modifyAccessPointAsync(const ModifyAccessPointRequest& request, const ModifyAccessPointAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, modifyAccessPoint(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
NASClient::ModifyAccessPointOutcomeCallable NASClient::modifyAccessPointCallable(const ModifyAccessPointRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<ModifyAccessPointOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->modifyAccessPoint(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
NASClient::ModifyAccessRuleOutcome NASClient::modifyAccessRule(const ModifyAccessRuleRequest &request) const
|
NASClient::ModifyAccessRuleOutcome NASClient::modifyAccessRule(const ModifyAccessRuleRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -3435,6 +3939,42 @@ NASClient::SetDirQuotaOutcomeCallable NASClient::setDirQuotaCallable(const SetDi
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NASClient::SetFilesetQuotaOutcome NASClient::setFilesetQuota(const SetFilesetQuotaRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return SetFilesetQuotaOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return SetFilesetQuotaOutcome(SetFilesetQuotaResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return SetFilesetQuotaOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void NASClient::setFilesetQuotaAsync(const SetFilesetQuotaRequest& request, const SetFilesetQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, setFilesetQuota(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
NASClient::SetFilesetQuotaOutcomeCallable NASClient::setFilesetQuotaCallable(const SetFilesetQuotaRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<SetFilesetQuotaOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->setFilesetQuota(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
NASClient::StartDataFlowOutcome NASClient::startDataFlow(const StartDataFlowRequest &request) const
|
NASClient::StartDataFlowOutcome NASClient::startDataFlow(const StartDataFlowRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
|||||||
81
nas/src/model/CancelDataFlowSubTaskRequest.cc
Normal file
81
nas/src/model/CancelDataFlowSubTaskRequest.cc
Normal file
@@ -0,0 +1,81 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/nas/model/CancelDataFlowSubTaskRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::NAS::Model::CancelDataFlowSubTaskRequest;
|
||||||
|
|
||||||
|
CancelDataFlowSubTaskRequest::CancelDataFlowSubTaskRequest()
|
||||||
|
: RpcServiceRequest("nas", "2017-06-26", "CancelDataFlowSubTask") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
CancelDataFlowSubTaskRequest::~CancelDataFlowSubTaskRequest() {}
|
||||||
|
|
||||||
|
std::string CancelDataFlowSubTaskRequest::getClientToken() const {
|
||||||
|
return clientToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CancelDataFlowSubTaskRequest::setClientToken(const std::string &clientToken) {
|
||||||
|
clientToken_ = clientToken;
|
||||||
|
setParameter(std::string("ClientToken"), clientToken);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CancelDataFlowSubTaskRequest::getDataFlowTaskId() const {
|
||||||
|
return dataFlowTaskId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CancelDataFlowSubTaskRequest::setDataFlowTaskId(const std::string &dataFlowTaskId) {
|
||||||
|
dataFlowTaskId_ = dataFlowTaskId;
|
||||||
|
setParameter(std::string("DataFlowTaskId"), dataFlowTaskId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CancelDataFlowSubTaskRequest::getDataFlowSubTaskId() const {
|
||||||
|
return dataFlowSubTaskId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CancelDataFlowSubTaskRequest::setDataFlowSubTaskId(const std::string &dataFlowSubTaskId) {
|
||||||
|
dataFlowSubTaskId_ = dataFlowSubTaskId;
|
||||||
|
setParameter(std::string("DataFlowSubTaskId"), dataFlowSubTaskId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CancelDataFlowSubTaskRequest::getFileSystemId() const {
|
||||||
|
return fileSystemId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CancelDataFlowSubTaskRequest::setFileSystemId(const std::string &fileSystemId) {
|
||||||
|
fileSystemId_ = fileSystemId;
|
||||||
|
setParameter(std::string("FileSystemId"), fileSystemId);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool CancelDataFlowSubTaskRequest::getDryRun() const {
|
||||||
|
return dryRun_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CancelDataFlowSubTaskRequest::setDryRun(bool dryRun) {
|
||||||
|
dryRun_ = dryRun;
|
||||||
|
setParameter(std::string("DryRun"), dryRun ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CancelDataFlowSubTaskRequest::getDataFlowId() const {
|
||||||
|
return dataFlowId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CancelDataFlowSubTaskRequest::setDataFlowId(const std::string &dataFlowId) {
|
||||||
|
dataFlowId_ = dataFlowId;
|
||||||
|
setParameter(std::string("DataFlowId"), dataFlowId);
|
||||||
|
}
|
||||||
|
|
||||||
44
nas/src/model/CancelDataFlowSubTaskResult.cc
Normal file
44
nas/src/model/CancelDataFlowSubTaskResult.cc
Normal 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/nas/model/CancelDataFlowSubTaskResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::NAS;
|
||||||
|
using namespace AlibabaCloud::NAS::Model;
|
||||||
|
|
||||||
|
CancelDataFlowSubTaskResult::CancelDataFlowSubTaskResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
CancelDataFlowSubTaskResult::CancelDataFlowSubTaskResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
CancelDataFlowSubTaskResult::~CancelDataFlowSubTaskResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void CancelDataFlowSubTaskResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
63
nas/src/model/CancelFilesetQuotaRequest.cc
Normal file
63
nas/src/model/CancelFilesetQuotaRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/nas/model/CancelFilesetQuotaRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::NAS::Model::CancelFilesetQuotaRequest;
|
||||||
|
|
||||||
|
CancelFilesetQuotaRequest::CancelFilesetQuotaRequest()
|
||||||
|
: RpcServiceRequest("nas", "2017-06-26", "CancelFilesetQuota") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
CancelFilesetQuotaRequest::~CancelFilesetQuotaRequest() {}
|
||||||
|
|
||||||
|
std::string CancelFilesetQuotaRequest::getFsetId() const {
|
||||||
|
return fsetId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CancelFilesetQuotaRequest::setFsetId(const std::string &fsetId) {
|
||||||
|
fsetId_ = fsetId;
|
||||||
|
setParameter(std::string("FsetId"), fsetId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CancelFilesetQuotaRequest::getClientToken() const {
|
||||||
|
return clientToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CancelFilesetQuotaRequest::setClientToken(const std::string &clientToken) {
|
||||||
|
clientToken_ = clientToken;
|
||||||
|
setParameter(std::string("ClientToken"), clientToken);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CancelFilesetQuotaRequest::getFileSystemId() const {
|
||||||
|
return fileSystemId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CancelFilesetQuotaRequest::setFileSystemId(const std::string &fileSystemId) {
|
||||||
|
fileSystemId_ = fileSystemId;
|
||||||
|
setParameter(std::string("FileSystemId"), fileSystemId);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool CancelFilesetQuotaRequest::getDryRun() const {
|
||||||
|
return dryRun_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CancelFilesetQuotaRequest::setDryRun(bool dryRun) {
|
||||||
|
dryRun_ = dryRun;
|
||||||
|
setParameter(std::string("DryRun"), dryRun ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
@@ -14,43 +14,31 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/nas/model/DescribeLDAPConfigResult.h>
|
#include <alibabacloud/nas/model/CancelFilesetQuotaResult.h>
|
||||||
#include <json/json.h>
|
#include <json/json.h>
|
||||||
|
|
||||||
using namespace AlibabaCloud::NAS;
|
using namespace AlibabaCloud::NAS;
|
||||||
using namespace AlibabaCloud::NAS::Model;
|
using namespace AlibabaCloud::NAS::Model;
|
||||||
|
|
||||||
DescribeLDAPConfigResult::DescribeLDAPConfigResult() :
|
CancelFilesetQuotaResult::CancelFilesetQuotaResult() :
|
||||||
ServiceResult()
|
ServiceResult()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
DescribeLDAPConfigResult::DescribeLDAPConfigResult(const std::string &payload) :
|
CancelFilesetQuotaResult::CancelFilesetQuotaResult(const std::string &payload) :
|
||||||
ServiceResult()
|
ServiceResult()
|
||||||
{
|
{
|
||||||
parse(payload);
|
parse(payload);
|
||||||
}
|
}
|
||||||
|
|
||||||
DescribeLDAPConfigResult::~DescribeLDAPConfigResult()
|
CancelFilesetQuotaResult::~CancelFilesetQuotaResult()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
void DescribeLDAPConfigResult::parse(const std::string &payload)
|
void CancelFilesetQuotaResult::parse(const std::string &payload)
|
||||||
{
|
{
|
||||||
Json::Reader reader;
|
Json::Reader reader;
|
||||||
Json::Value value;
|
Json::Value value;
|
||||||
reader.parse(payload, value);
|
reader.parse(payload, value);
|
||||||
setRequestId(value["RequestId"].asString());
|
setRequestId(value["RequestId"].asString());
|
||||||
auto ldapNode = value["Ldap"];
|
|
||||||
if(!ldapNode["BindDN"].isNull())
|
|
||||||
ldap_.bindDN = ldapNode["BindDN"].asString();
|
|
||||||
if(!ldapNode["SearchBase"].isNull())
|
|
||||||
ldap_.searchBase = ldapNode["SearchBase"].asString();
|
|
||||||
if(!ldapNode["URI"].isNull())
|
|
||||||
ldap_.uRI = ldapNode["URI"].asString();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
DescribeLDAPConfigResult::Ldap DescribeLDAPConfigResult::getLdap()const
|
|
||||||
{
|
|
||||||
return ldap_;
|
|
||||||
}
|
|
||||||
|
|
||||||
63
nas/src/model/ChangeResourceGroupRequest.cc
Normal file
63
nas/src/model/ChangeResourceGroupRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/nas/model/ChangeResourceGroupRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::NAS::Model::ChangeResourceGroupRequest;
|
||||||
|
|
||||||
|
ChangeResourceGroupRequest::ChangeResourceGroupRequest()
|
||||||
|
: RpcServiceRequest("nas", "2017-06-26", "ChangeResourceGroup") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
ChangeResourceGroupRequest::~ChangeResourceGroupRequest() {}
|
||||||
|
|
||||||
|
std::string ChangeResourceGroupRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ChangeResourceGroupRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ChangeResourceGroupRequest::getResourceId() const {
|
||||||
|
return resourceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ChangeResourceGroupRequest::setResourceId(const std::string &resourceId) {
|
||||||
|
resourceId_ = resourceId;
|
||||||
|
setParameter(std::string("ResourceId"), resourceId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ChangeResourceGroupRequest::getResourceType() const {
|
||||||
|
return resourceType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ChangeResourceGroupRequest::setResourceType(const std::string &resourceType) {
|
||||||
|
resourceType_ = resourceType;
|
||||||
|
setParameter(std::string("ResourceType"), resourceType);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ChangeResourceGroupRequest::getNewResourceGroupId() const {
|
||||||
|
return newResourceGroupId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ChangeResourceGroupRequest::setNewResourceGroupId(const std::string &newResourceGroupId) {
|
||||||
|
newResourceGroupId_ = newResourceGroupId;
|
||||||
|
setParameter(std::string("NewResourceGroupId"), newResourceGroupId);
|
||||||
|
}
|
||||||
|
|
||||||
44
nas/src/model/ChangeResourceGroupResult.cc
Normal file
44
nas/src/model/ChangeResourceGroupResult.cc
Normal 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/nas/model/ChangeResourceGroupResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::NAS;
|
||||||
|
using namespace AlibabaCloud::NAS::Model;
|
||||||
|
|
||||||
|
ChangeResourceGroupResult::ChangeResourceGroupResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
ChangeResourceGroupResult::ChangeResourceGroupResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
ChangeResourceGroupResult::~ChangeResourceGroupResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void ChangeResourceGroupResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
153
nas/src/model/CreateAccessPointRequest.cc
Normal file
153
nas/src/model/CreateAccessPointRequest.cc
Normal file
@@ -0,0 +1,153 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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/nas/model/CreateAccessPointRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::NAS::Model::CreateAccessPointRequest;
|
||||||
|
|
||||||
|
CreateAccessPointRequest::CreateAccessPointRequest()
|
||||||
|
: RpcServiceRequest("nas", "2017-06-26", "CreateAccessPoint") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateAccessPointRequest::~CreateAccessPointRequest() {}
|
||||||
|
|
||||||
|
std::string CreateAccessPointRequest::getVswId() const {
|
||||||
|
return vswId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateAccessPointRequest::setVswId(const std::string &vswId) {
|
||||||
|
vswId_ = vswId;
|
||||||
|
setParameter(std::string("VswId"), vswId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateAccessPointRequest::getAccessPointName() const {
|
||||||
|
return accessPointName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateAccessPointRequest::setAccessPointName(const std::string &accessPointName) {
|
||||||
|
accessPointName_ = accessPointName;
|
||||||
|
setParameter(std::string("AccessPointName"), accessPointName);
|
||||||
|
}
|
||||||
|
|
||||||
|
int CreateAccessPointRequest::getPosixGroupId() const {
|
||||||
|
return posixGroupId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateAccessPointRequest::setPosixGroupId(int posixGroupId) {
|
||||||
|
posixGroupId_ = posixGroupId;
|
||||||
|
setParameter(std::string("PosixGroupId"), std::to_string(posixGroupId));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateAccessPointRequest::getPosixSecondaryGroupIds() const {
|
||||||
|
return posixSecondaryGroupIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateAccessPointRequest::setPosixSecondaryGroupIds(const std::string &posixSecondaryGroupIds) {
|
||||||
|
posixSecondaryGroupIds_ = posixSecondaryGroupIds;
|
||||||
|
setParameter(std::string("PosixSecondaryGroupIds"), posixSecondaryGroupIds);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateAccessPointRequest::getFileSystemId() const {
|
||||||
|
return fileSystemId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateAccessPointRequest::setFileSystemId(const std::string &fileSystemId) {
|
||||||
|
fileSystemId_ = fileSystemId;
|
||||||
|
setParameter(std::string("FileSystemId"), fileSystemId);
|
||||||
|
}
|
||||||
|
|
||||||
|
int CreateAccessPointRequest::getOwnerGroupId() const {
|
||||||
|
return ownerGroupId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateAccessPointRequest::setOwnerGroupId(int ownerGroupId) {
|
||||||
|
ownerGroupId_ = ownerGroupId;
|
||||||
|
setParameter(std::string("OwnerGroupId"), std::to_string(ownerGroupId));
|
||||||
|
}
|
||||||
|
|
||||||
|
bool CreateAccessPointRequest::getEnabledRam() const {
|
||||||
|
return enabledRam_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateAccessPointRequest::setEnabledRam(bool enabledRam) {
|
||||||
|
enabledRam_ = enabledRam;
|
||||||
|
setParameter(std::string("EnabledRam"), enabledRam ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
int CreateAccessPointRequest::getOwnerUserId() const {
|
||||||
|
return ownerUserId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateAccessPointRequest::setOwnerUserId(int ownerUserId) {
|
||||||
|
ownerUserId_ = ownerUserId;
|
||||||
|
setParameter(std::string("OwnerUserId"), std::to_string(ownerUserId));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateAccessPointRequest::getPermission() const {
|
||||||
|
return permission_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateAccessPointRequest::setPermission(const std::string &permission) {
|
||||||
|
permission_ = permission;
|
||||||
|
setParameter(std::string("Permission"), permission);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateAccessPointRequest::getVpcId() const {
|
||||||
|
return vpcId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateAccessPointRequest::setVpcId(const std::string &vpcId) {
|
||||||
|
vpcId_ = vpcId;
|
||||||
|
setParameter(std::string("VpcId"), vpcId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateAccessPointRequest::getProtocolType() const {
|
||||||
|
return protocolType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateAccessPointRequest::setProtocolType(const std::string &protocolType) {
|
||||||
|
protocolType_ = protocolType;
|
||||||
|
setParameter(std::string("ProtocolType"), protocolType);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateAccessPointRequest::getRootDirectory() const {
|
||||||
|
return rootDirectory_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateAccessPointRequest::setRootDirectory(const std::string &rootDirectory) {
|
||||||
|
rootDirectory_ = rootDirectory;
|
||||||
|
setParameter(std::string("RootDirectory"), rootDirectory);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateAccessPointRequest::getAccessGroup() const {
|
||||||
|
return accessGroup_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateAccessPointRequest::setAccessGroup(const std::string &accessGroup) {
|
||||||
|
accessGroup_ = accessGroup;
|
||||||
|
setParameter(std::string("AccessGroup"), accessGroup);
|
||||||
|
}
|
||||||
|
|
||||||
|
int CreateAccessPointRequest::getPosixUserId() const {
|
||||||
|
return posixUserId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateAccessPointRequest::setPosixUserId(int posixUserId) {
|
||||||
|
posixUserId_ = posixUserId;
|
||||||
|
setParameter(std::string("PosixUserId"), std::to_string(posixUserId));
|
||||||
|
}
|
||||||
|
|
||||||
54
nas/src/model/CreateAccessPointResult.cc
Normal file
54
nas/src/model/CreateAccessPointResult.cc
Normal 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/nas/model/CreateAccessPointResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::NAS;
|
||||||
|
using namespace AlibabaCloud::NAS::Model;
|
||||||
|
|
||||||
|
CreateAccessPointResult::CreateAccessPointResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
CreateAccessPointResult::CreateAccessPointResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateAccessPointResult::~CreateAccessPointResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void CreateAccessPointResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto accessPointNode = value["AccessPoint"];
|
||||||
|
if(!accessPointNode["AccessPointDomain"].isNull())
|
||||||
|
accessPoint_.accessPointDomain = accessPointNode["AccessPointDomain"].asString();
|
||||||
|
if(!accessPointNode["AccessPointId"].isNull())
|
||||||
|
accessPoint_.accessPointId = accessPointNode["AccessPointId"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateAccessPointResult::AccessPoint CreateAccessPointResult::getAccessPoint()const
|
||||||
|
{
|
||||||
|
return accessPoint_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -128,3 +128,21 @@ void CreateDataFlowRequest::setAutoRefreshInterval(long autoRefreshInterval) {
|
|||||||
setParameter(std::string("AutoRefreshInterval"), std::to_string(autoRefreshInterval));
|
setParameter(std::string("AutoRefreshInterval"), std::to_string(autoRefreshInterval));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string CreateDataFlowRequest::getSourceStoragePath() const {
|
||||||
|
return sourceStoragePath_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateDataFlowRequest::setSourceStoragePath(const std::string &sourceStoragePath) {
|
||||||
|
sourceStoragePath_ = sourceStoragePath;
|
||||||
|
setParameter(std::string("SourceStoragePath"), sourceStoragePath);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateDataFlowRequest::getFileSystemPath() const {
|
||||||
|
return fileSystemPath_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateDataFlowRequest::setFileSystemPath(const std::string &fileSystemPath) {
|
||||||
|
fileSystemPath_ = fileSystemPath;
|
||||||
|
setParameter(std::string("FileSystemPath"), fileSystemPath);
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
100
nas/src/model/CreateDataFlowSubTaskRequest.cc
Normal file
100
nas/src/model/CreateDataFlowSubTaskRequest.cc
Normal 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/nas/model/CreateDataFlowSubTaskRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::NAS::Model::CreateDataFlowSubTaskRequest;
|
||||||
|
|
||||||
|
CreateDataFlowSubTaskRequest::CreateDataFlowSubTaskRequest()
|
||||||
|
: RpcServiceRequest("nas", "2017-06-26", "CreateDataFlowSubTask") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateDataFlowSubTaskRequest::~CreateDataFlowSubTaskRequest() {}
|
||||||
|
|
||||||
|
std::string CreateDataFlowSubTaskRequest::getClientToken() const {
|
||||||
|
return clientToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateDataFlowSubTaskRequest::setClientToken(const std::string &clientToken) {
|
||||||
|
clientToken_ = clientToken;
|
||||||
|
setParameter(std::string("ClientToken"), clientToken);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateDataFlowSubTaskRequest::getDataFlowTaskId() const {
|
||||||
|
return dataFlowTaskId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateDataFlowSubTaskRequest::setDataFlowTaskId(const std::string &dataFlowTaskId) {
|
||||||
|
dataFlowTaskId_ = dataFlowTaskId;
|
||||||
|
setParameter(std::string("DataFlowTaskId"), dataFlowTaskId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateDataFlowSubTaskRequest::getSrcFilePath() const {
|
||||||
|
return srcFilePath_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateDataFlowSubTaskRequest::setSrcFilePath(const std::string &srcFilePath) {
|
||||||
|
srcFilePath_ = srcFilePath;
|
||||||
|
setParameter(std::string("SrcFilePath"), srcFilePath);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateDataFlowSubTaskRequest::getFileSystemId() const {
|
||||||
|
return fileSystemId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateDataFlowSubTaskRequest::setFileSystemId(const std::string &fileSystemId) {
|
||||||
|
fileSystemId_ = fileSystemId;
|
||||||
|
setParameter(std::string("FileSystemId"), fileSystemId);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool CreateDataFlowSubTaskRequest::getDryRun() const {
|
||||||
|
return dryRun_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateDataFlowSubTaskRequest::setDryRun(bool dryRun) {
|
||||||
|
dryRun_ = dryRun;
|
||||||
|
setParameter(std::string("DryRun"), dryRun ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateDataFlowSubTaskRequest::getDataFlowId() const {
|
||||||
|
return dataFlowId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateDataFlowSubTaskRequest::setDataFlowId(const std::string &dataFlowId) {
|
||||||
|
dataFlowId_ = dataFlowId;
|
||||||
|
setParameter(std::string("DataFlowId"), dataFlowId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateDataFlowSubTaskRequest::getDstFilePath() const {
|
||||||
|
return dstFilePath_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateDataFlowSubTaskRequest::setDstFilePath(const std::string &dstFilePath) {
|
||||||
|
dstFilePath_ = dstFilePath;
|
||||||
|
setParameter(std::string("DstFilePath"), dstFilePath);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateDataFlowSubTaskRequest::Condition CreateDataFlowSubTaskRequest::getCondition() const {
|
||||||
|
return condition_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateDataFlowSubTaskRequest::setCondition(const CreateDataFlowSubTaskRequest::Condition &condition) {
|
||||||
|
condition_ = condition;
|
||||||
|
setParameter(std::string("Condition") + ".Size", std::to_string(condition.size));
|
||||||
|
setParameter(std::string("Condition") + ".ModifyTime", std::to_string(condition.modifyTime));
|
||||||
|
}
|
||||||
|
|
||||||
51
nas/src/model/CreateDataFlowSubTaskResult.cc
Normal file
51
nas/src/model/CreateDataFlowSubTaskResult.cc
Normal 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/nas/model/CreateDataFlowSubTaskResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::NAS;
|
||||||
|
using namespace AlibabaCloud::NAS::Model;
|
||||||
|
|
||||||
|
CreateDataFlowSubTaskResult::CreateDataFlowSubTaskResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
CreateDataFlowSubTaskResult::CreateDataFlowSubTaskResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateDataFlowSubTaskResult::~CreateDataFlowSubTaskResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void CreateDataFlowSubTaskResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["DataFlowSubTaskId"].isNull())
|
||||||
|
dataFlowSubTaskId_ = value["DataFlowSubTaskId"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateDataFlowSubTaskResult::getDataFlowSubTaskId()const
|
||||||
|
{
|
||||||
|
return dataFlowSubTaskId_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -25,6 +25,15 @@ CreateDataFlowTaskRequest::CreateDataFlowTaskRequest()
|
|||||||
|
|
||||||
CreateDataFlowTaskRequest::~CreateDataFlowTaskRequest() {}
|
CreateDataFlowTaskRequest::~CreateDataFlowTaskRequest() {}
|
||||||
|
|
||||||
|
std::string CreateDataFlowTaskRequest::getDstDirectory() const {
|
||||||
|
return dstDirectory_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateDataFlowTaskRequest::setDstDirectory(const std::string &dstDirectory) {
|
||||||
|
dstDirectory_ = dstDirectory;
|
||||||
|
setParameter(std::string("DstDirectory"), dstDirectory);
|
||||||
|
}
|
||||||
|
|
||||||
std::string CreateDataFlowTaskRequest::getClientToken() const {
|
std::string CreateDataFlowTaskRequest::getClientToken() const {
|
||||||
return clientToken_;
|
return clientToken_;
|
||||||
}
|
}
|
||||||
@@ -61,6 +70,15 @@ void CreateDataFlowTaskRequest::setDataType(const std::string &dataType) {
|
|||||||
setParameter(std::string("DataType"), dataType);
|
setParameter(std::string("DataType"), dataType);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool CreateDataFlowTaskRequest::getCreateDirIfNotExist() const {
|
||||||
|
return createDirIfNotExist_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateDataFlowTaskRequest::setCreateDirIfNotExist(bool createDirIfNotExist) {
|
||||||
|
createDirIfNotExist_ = createDirIfNotExist;
|
||||||
|
setParameter(std::string("CreateDirIfNotExist"), createDirIfNotExist ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
std::string CreateDataFlowTaskRequest::getFileSystemId() const {
|
std::string CreateDataFlowTaskRequest::getFileSystemId() const {
|
||||||
return fileSystemId_;
|
return fileSystemId_;
|
||||||
}
|
}
|
||||||
@@ -97,6 +115,15 @@ void CreateDataFlowTaskRequest::setEntryList(const std::string &entryList) {
|
|||||||
setParameter(std::string("EntryList"), entryList);
|
setParameter(std::string("EntryList"), entryList);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string CreateDataFlowTaskRequest::getConflictPolicy() const {
|
||||||
|
return conflictPolicy_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateDataFlowTaskRequest::setConflictPolicy(const std::string &conflictPolicy) {
|
||||||
|
conflictPolicy_ = conflictPolicy;
|
||||||
|
setParameter(std::string("ConflictPolicy"), conflictPolicy);
|
||||||
|
}
|
||||||
|
|
||||||
std::string CreateDataFlowTaskRequest::getTaskAction() const {
|
std::string CreateDataFlowTaskRequest::getTaskAction() const {
|
||||||
return taskAction_;
|
return taskAction_;
|
||||||
}
|
}
|
||||||
|
|||||||
81
nas/src/model/CreateDirRequest.cc
Normal file
81
nas/src/model/CreateDirRequest.cc
Normal file
@@ -0,0 +1,81 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/nas/model/CreateDirRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::NAS::Model::CreateDirRequest;
|
||||||
|
|
||||||
|
CreateDirRequest::CreateDirRequest()
|
||||||
|
: RpcServiceRequest("nas", "2017-06-26", "CreateDir") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateDirRequest::~CreateDirRequest() {}
|
||||||
|
|
||||||
|
bool CreateDirRequest::getRecursion() const {
|
||||||
|
return recursion_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateDirRequest::setRecursion(bool recursion) {
|
||||||
|
recursion_ = recursion;
|
||||||
|
setParameter(std::string("Recursion"), recursion ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateDirRequest::getFileSystemId() const {
|
||||||
|
return fileSystemId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateDirRequest::setFileSystemId(const std::string &fileSystemId) {
|
||||||
|
fileSystemId_ = fileSystemId;
|
||||||
|
setParameter(std::string("FileSystemId"), fileSystemId);
|
||||||
|
}
|
||||||
|
|
||||||
|
int CreateDirRequest::getOwnerGroupId() const {
|
||||||
|
return ownerGroupId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateDirRequest::setOwnerGroupId(int ownerGroupId) {
|
||||||
|
ownerGroupId_ = ownerGroupId;
|
||||||
|
setParameter(std::string("OwnerGroupId"), std::to_string(ownerGroupId));
|
||||||
|
}
|
||||||
|
|
||||||
|
int CreateDirRequest::getOwnerUserId() const {
|
||||||
|
return ownerUserId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateDirRequest::setOwnerUserId(int ownerUserId) {
|
||||||
|
ownerUserId_ = ownerUserId;
|
||||||
|
setParameter(std::string("OwnerUserId"), std::to_string(ownerUserId));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateDirRequest::getPermission() const {
|
||||||
|
return permission_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateDirRequest::setPermission(const std::string &permission) {
|
||||||
|
permission_ = permission;
|
||||||
|
setParameter(std::string("Permission"), permission);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateDirRequest::getRootDirectory() const {
|
||||||
|
return rootDirectory_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateDirRequest::setRootDirectory(const std::string &rootDirectory) {
|
||||||
|
rootDirectory_ = rootDirectory;
|
||||||
|
setParameter(std::string("RootDirectory"), rootDirectory);
|
||||||
|
}
|
||||||
|
|
||||||
44
nas/src/model/CreateDirResult.cc
Normal file
44
nas/src/model/CreateDirResult.cc
Normal 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/nas/model/CreateDirResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::NAS;
|
||||||
|
using namespace AlibabaCloud::NAS::Model;
|
||||||
|
|
||||||
|
CreateDirResult::CreateDirResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
CreateDirResult::CreateDirResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateDirResult::~CreateDirResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void CreateDirResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
@@ -97,6 +97,15 @@ void CreateFileSystemRequest::setDuration(int duration) {
|
|||||||
setParameter(std::string("Duration"), std::to_string(duration));
|
setParameter(std::string("Duration"), std::to_string(duration));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string CreateFileSystemRequest::getResourceGroupId() const {
|
||||||
|
return resourceGroupId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateFileSystemRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||||
|
resourceGroupId_ = resourceGroupId;
|
||||||
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
|
}
|
||||||
|
|
||||||
bool CreateFileSystemRequest::getDryRun() const {
|
bool CreateFileSystemRequest::getDryRun() const {
|
||||||
return dryRun_;
|
return dryRun_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,6 +43,25 @@ void CreateFilesetRequest::setDescription(const std::string &description) {
|
|||||||
setParameter(std::string("Description"), description);
|
setParameter(std::string("Description"), description);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool CreateFilesetRequest::getDeletionProtection() const {
|
||||||
|
return deletionProtection_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateFilesetRequest::setDeletionProtection(bool deletionProtection) {
|
||||||
|
deletionProtection_ = deletionProtection;
|
||||||
|
setParameter(std::string("DeletionProtection"), deletionProtection ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateFilesetRequest::Quota CreateFilesetRequest::getQuota() const {
|
||||||
|
return quota_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateFilesetRequest::setQuota(const CreateFilesetRequest::Quota "a) {
|
||||||
|
quota_ = quota;
|
||||||
|
setParameter(std::string("Quota") + ".SizeLimit", std::to_string(quota.sizeLimit));
|
||||||
|
setParameter(std::string("Quota") + ".FileCountLimit", std::to_string(quota.fileCountLimit));
|
||||||
|
}
|
||||||
|
|
||||||
std::string CreateFilesetRequest::getFileSystemId() const {
|
std::string CreateFilesetRequest::getFileSystemId() const {
|
||||||
return fileSystemId_;
|
return fileSystemId_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -70,6 +70,15 @@ void CreateLifecyclePolicyRequest::setLifecycleRuleName(const std::string &lifec
|
|||||||
setParameter(std::string("LifecycleRuleName"), lifecycleRuleName);
|
setParameter(std::string("LifecycleRuleName"), lifecycleRuleName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int CreateLifecyclePolicyRequest::getLifecycleRuleInactiveDays() const {
|
||||||
|
return lifecycleRuleInactiveDays_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateLifecyclePolicyRequest::setLifecycleRuleInactiveDays(int lifecycleRuleInactiveDays) {
|
||||||
|
lifecycleRuleInactiveDays_ = lifecycleRuleInactiveDays;
|
||||||
|
setParameter(std::string("LifecycleRuleInactiveDays"), std::to_string(lifecycleRuleInactiveDays));
|
||||||
|
}
|
||||||
|
|
||||||
std::vector<std::string> CreateLifecyclePolicyRequest::getPaths() const {
|
std::vector<std::string> CreateLifecyclePolicyRequest::getPaths() const {
|
||||||
return paths_;
|
return paths_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,6 +25,15 @@ CreateLifecycleRetrieveJobRequest::CreateLifecycleRetrieveJobRequest()
|
|||||||
|
|
||||||
CreateLifecycleRetrieveJobRequest::~CreateLifecycleRetrieveJobRequest() {}
|
CreateLifecycleRetrieveJobRequest::~CreateLifecycleRetrieveJobRequest() {}
|
||||||
|
|
||||||
|
std::string CreateLifecycleRetrieveJobRequest::getStorageType() const {
|
||||||
|
return storageType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateLifecycleRetrieveJobRequest::setStorageType(const std::string &storageType) {
|
||||||
|
storageType_ = storageType;
|
||||||
|
setParameter(std::string("StorageType"), storageType);
|
||||||
|
}
|
||||||
|
|
||||||
std::string CreateLifecycleRetrieveJobRequest::getFileSystemId() const {
|
std::string CreateLifecycleRetrieveJobRequest::getFileSystemId() const {
|
||||||
return fileSystemId_;
|
return fileSystemId_;
|
||||||
}
|
}
|
||||||
|
|||||||
45
nas/src/model/CreateLogAnalysisRequest.cc
Normal file
45
nas/src/model/CreateLogAnalysisRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/nas/model/CreateLogAnalysisRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::NAS::Model::CreateLogAnalysisRequest;
|
||||||
|
|
||||||
|
CreateLogAnalysisRequest::CreateLogAnalysisRequest()
|
||||||
|
: RpcServiceRequest("nas", "2017-06-26", "CreateLogAnalysis") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateLogAnalysisRequest::~CreateLogAnalysisRequest() {}
|
||||||
|
|
||||||
|
std::string CreateLogAnalysisRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateLogAnalysisRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateLogAnalysisRequest::getFileSystemId() const {
|
||||||
|
return fileSystemId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateLogAnalysisRequest::setFileSystemId(const std::string &fileSystemId) {
|
||||||
|
fileSystemId_ = fileSystemId;
|
||||||
|
setParameter(std::string("FileSystemId"), fileSystemId);
|
||||||
|
}
|
||||||
|
|
||||||
44
nas/src/model/CreateLogAnalysisResult.cc
Normal file
44
nas/src/model/CreateLogAnalysisResult.cc
Normal 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/nas/model/CreateLogAnalysisResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::NAS;
|
||||||
|
using namespace AlibabaCloud::NAS::Model;
|
||||||
|
|
||||||
|
CreateLogAnalysisResult::CreateLogAnalysisResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
CreateLogAnalysisResult::CreateLogAnalysisResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateLogAnalysisResult::~CreateLogAnalysisResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void CreateLogAnalysisResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
45
nas/src/model/DeleteAccessPointRequest.cc
Normal file
45
nas/src/model/DeleteAccessPointRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/nas/model/DeleteAccessPointRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::NAS::Model::DeleteAccessPointRequest;
|
||||||
|
|
||||||
|
DeleteAccessPointRequest::DeleteAccessPointRequest()
|
||||||
|
: RpcServiceRequest("nas", "2017-06-26", "DeleteAccessPoint") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DeleteAccessPointRequest::~DeleteAccessPointRequest() {}
|
||||||
|
|
||||||
|
std::string DeleteAccessPointRequest::getAccessPointId() const {
|
||||||
|
return accessPointId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteAccessPointRequest::setAccessPointId(const std::string &accessPointId) {
|
||||||
|
accessPointId_ = accessPointId;
|
||||||
|
setParameter(std::string("AccessPointId"), accessPointId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DeleteAccessPointRequest::getFileSystemId() const {
|
||||||
|
return fileSystemId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteAccessPointRequest::setFileSystemId(const std::string &fileSystemId) {
|
||||||
|
fileSystemId_ = fileSystemId;
|
||||||
|
setParameter(std::string("FileSystemId"), fileSystemId);
|
||||||
|
}
|
||||||
|
|
||||||
44
nas/src/model/DeleteAccessPointResult.cc
Normal file
44
nas/src/model/DeleteAccessPointResult.cc
Normal 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/nas/model/DeleteAccessPointResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::NAS;
|
||||||
|
using namespace AlibabaCloud::NAS::Model;
|
||||||
|
|
||||||
|
DeleteAccessPointResult::DeleteAccessPointResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DeleteAccessPointResult::DeleteAccessPointResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DeleteAccessPointResult::~DeleteAccessPointResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DeleteAccessPointResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
45
nas/src/model/DeleteLogAnalysisRequest.cc
Normal file
45
nas/src/model/DeleteLogAnalysisRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/nas/model/DeleteLogAnalysisRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::NAS::Model::DeleteLogAnalysisRequest;
|
||||||
|
|
||||||
|
DeleteLogAnalysisRequest::DeleteLogAnalysisRequest()
|
||||||
|
: RpcServiceRequest("nas", "2017-06-26", "DeleteLogAnalysis") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DeleteLogAnalysisRequest::~DeleteLogAnalysisRequest() {}
|
||||||
|
|
||||||
|
std::string DeleteLogAnalysisRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteLogAnalysisRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DeleteLogAnalysisRequest::getFileSystemId() const {
|
||||||
|
return fileSystemId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteLogAnalysisRequest::setFileSystemId(const std::string &fileSystemId) {
|
||||||
|
fileSystemId_ = fileSystemId;
|
||||||
|
setParameter(std::string("FileSystemId"), fileSystemId);
|
||||||
|
}
|
||||||
|
|
||||||
44
nas/src/model/DeleteLogAnalysisResult.cc
Normal file
44
nas/src/model/DeleteLogAnalysisResult.cc
Normal 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/nas/model/DeleteLogAnalysisResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::NAS;
|
||||||
|
using namespace AlibabaCloud::NAS::Model;
|
||||||
|
|
||||||
|
DeleteLogAnalysisResult::DeleteLogAnalysisResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DeleteLogAnalysisResult::DeleteLogAnalysisResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DeleteLogAnalysisResult::~DeleteLogAnalysisResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DeleteLogAnalysisResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
@@ -55,6 +55,10 @@ void DescribeAccessGroupsResult::parse(const std::string &payload)
|
|||||||
accessGroupsObject.ruleCount = std::stoi(valueAccessGroupsAccessGroup["RuleCount"].asString());
|
accessGroupsObject.ruleCount = std::stoi(valueAccessGroupsAccessGroup["RuleCount"].asString());
|
||||||
if(!valueAccessGroupsAccessGroup["MountTargetCount"].isNull())
|
if(!valueAccessGroupsAccessGroup["MountTargetCount"].isNull())
|
||||||
accessGroupsObject.mountTargetCount = std::stoi(valueAccessGroupsAccessGroup["MountTargetCount"].asString());
|
accessGroupsObject.mountTargetCount = std::stoi(valueAccessGroupsAccessGroup["MountTargetCount"].asString());
|
||||||
|
if(!valueAccessGroupsAccessGroup["FileSystemType"].isNull())
|
||||||
|
accessGroupsObject.fileSystemType = valueAccessGroupsAccessGroup["FileSystemType"].asString();
|
||||||
|
if(!valueAccessGroupsAccessGroup["RegionId"].isNull())
|
||||||
|
accessGroupsObject.regionId = valueAccessGroupsAccessGroup["RegionId"].asString();
|
||||||
auto allTagsNode = valueAccessGroupsAccessGroup["Tags"]["Tag"];
|
auto allTagsNode = valueAccessGroupsAccessGroup["Tags"]["Tag"];
|
||||||
for (auto valueAccessGroupsAccessGroupTagsTag : allTagsNode)
|
for (auto valueAccessGroupsAccessGroupTagsTag : allTagsNode)
|
||||||
{
|
{
|
||||||
|
|||||||
45
nas/src/model/DescribeAccessPointRequest.cc
Normal file
45
nas/src/model/DescribeAccessPointRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/nas/model/DescribeAccessPointRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::NAS::Model::DescribeAccessPointRequest;
|
||||||
|
|
||||||
|
DescribeAccessPointRequest::DescribeAccessPointRequest()
|
||||||
|
: RpcServiceRequest("nas", "2017-06-26", "DescribeAccessPoint") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeAccessPointRequest::~DescribeAccessPointRequest() {}
|
||||||
|
|
||||||
|
std::string DescribeAccessPointRequest::getAccessPointId() const {
|
||||||
|
return accessPointId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeAccessPointRequest::setAccessPointId(const std::string &accessPointId) {
|
||||||
|
accessPointId_ = accessPointId;
|
||||||
|
setParameter(std::string("AccessPointId"), accessPointId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeAccessPointRequest::getFileSystemId() const {
|
||||||
|
return fileSystemId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeAccessPointRequest::setFileSystemId(const std::string &fileSystemId) {
|
||||||
|
fileSystemId_ = fileSystemId;
|
||||||
|
setParameter(std::string("FileSystemId"), fileSystemId);
|
||||||
|
}
|
||||||
|
|
||||||
105
nas/src/model/DescribeAccessPointResult.cc
Normal file
105
nas/src/model/DescribeAccessPointResult.cc
Normal file
@@ -0,0 +1,105 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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/nas/model/DescribeAccessPointResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::NAS;
|
||||||
|
using namespace AlibabaCloud::NAS::Model;
|
||||||
|
|
||||||
|
DescribeAccessPointResult::DescribeAccessPointResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeAccessPointResult::DescribeAccessPointResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeAccessPointResult::~DescribeAccessPointResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeAccessPointResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto accessPointNode = value["AccessPoint"];
|
||||||
|
if(!accessPointNode["ARN"].isNull())
|
||||||
|
accessPoint_.aRN = accessPointNode["ARN"].asString();
|
||||||
|
if(!accessPointNode["AccessGroup"].isNull())
|
||||||
|
accessPoint_.accessGroup = accessPointNode["AccessGroup"].asString();
|
||||||
|
if(!accessPointNode["AccessPointId"].isNull())
|
||||||
|
accessPoint_.accessPointId = accessPointNode["AccessPointId"].asString();
|
||||||
|
if(!accessPointNode["AccessPointName"].isNull())
|
||||||
|
accessPoint_.accessPointName = accessPointNode["AccessPointName"].asString();
|
||||||
|
if(!accessPointNode["CreateTime"].isNull())
|
||||||
|
accessPoint_.createTime = accessPointNode["CreateTime"].asString();
|
||||||
|
if(!accessPointNode["DomainName"].isNull())
|
||||||
|
accessPoint_.domainName = accessPointNode["DomainName"].asString();
|
||||||
|
if(!accessPointNode["EnabledRam"].isNull())
|
||||||
|
accessPoint_.enabledRam = accessPointNode["EnabledRam"].asString() == "true";
|
||||||
|
if(!accessPointNode["FileSystemId"].isNull())
|
||||||
|
accessPoint_.fileSystemId = accessPointNode["FileSystemId"].asString();
|
||||||
|
if(!accessPointNode["ModifyTime"].isNull())
|
||||||
|
accessPoint_.modifyTime = accessPointNode["ModifyTime"].asString();
|
||||||
|
if(!accessPointNode["RootPath"].isNull())
|
||||||
|
accessPoint_.rootPath = accessPointNode["RootPath"].asString();
|
||||||
|
if(!accessPointNode["RootPathStatus"].isNull())
|
||||||
|
accessPoint_.rootPathStatus = accessPointNode["RootPathStatus"].asString();
|
||||||
|
if(!accessPointNode["Status"].isNull())
|
||||||
|
accessPoint_.status = accessPointNode["Status"].asString();
|
||||||
|
if(!accessPointNode["VSwitchId"].isNull())
|
||||||
|
accessPoint_.vSwitchId = accessPointNode["VSwitchId"].asString();
|
||||||
|
if(!accessPointNode["VpcId"].isNull())
|
||||||
|
accessPoint_.vpcId = accessPointNode["VpcId"].asString();
|
||||||
|
if(!accessPointNode["RegionId"].isNull())
|
||||||
|
accessPoint_.regionId = accessPointNode["RegionId"].asString();
|
||||||
|
auto allTagsNode = accessPointNode["Tags"]["Tag"];
|
||||||
|
for (auto accessPointNodeTagsTag : allTagsNode)
|
||||||
|
{
|
||||||
|
AccessPoint::Tag tagObject;
|
||||||
|
if(!accessPointNodeTagsTag["Key"].isNull())
|
||||||
|
tagObject.key = accessPointNodeTagsTag["Key"].asString();
|
||||||
|
if(!accessPointNodeTagsTag["Value"].isNull())
|
||||||
|
tagObject.value = accessPointNodeTagsTag["Value"].asString();
|
||||||
|
accessPoint_.tags.push_back(tagObject);
|
||||||
|
}
|
||||||
|
auto rootPathPermissionNode = accessPointNode["RootPathPermission"];
|
||||||
|
if(!rootPathPermissionNode["OwnerGroupId"].isNull())
|
||||||
|
accessPoint_.rootPathPermission.ownerGroupId = std::stoi(rootPathPermissionNode["OwnerGroupId"].asString());
|
||||||
|
if(!rootPathPermissionNode["OwnerUserId"].isNull())
|
||||||
|
accessPoint_.rootPathPermission.ownerUserId = std::stoi(rootPathPermissionNode["OwnerUserId"].asString());
|
||||||
|
if(!rootPathPermissionNode["Permission"].isNull())
|
||||||
|
accessPoint_.rootPathPermission.permission = rootPathPermissionNode["Permission"].asString();
|
||||||
|
auto posixUserNode = accessPointNode["PosixUser"];
|
||||||
|
if(!posixUserNode["PosixGroupId"].isNull())
|
||||||
|
accessPoint_.posixUser.posixGroupId = std::stoi(posixUserNode["PosixGroupId"].asString());
|
||||||
|
if(!posixUserNode["PosixUserId"].isNull())
|
||||||
|
accessPoint_.posixUser.posixUserId = std::stoi(posixUserNode["PosixUserId"].asString());
|
||||||
|
auto allPosixSecondaryGroupIds = posixUserNode["PosixSecondaryGroupIds"]["posixSecondaryGid"];
|
||||||
|
for (auto value : allPosixSecondaryGroupIds)
|
||||||
|
accessPoint_.posixUser.posixSecondaryGroupIds.push_back(value.asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeAccessPointResult::AccessPoint DescribeAccessPointResult::getAccessPoint()const
|
||||||
|
{
|
||||||
|
return accessPoint_;
|
||||||
|
}
|
||||||
|
|
||||||
63
nas/src/model/DescribeAccessPointsRequest.cc
Normal file
63
nas/src/model/DescribeAccessPointsRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/nas/model/DescribeAccessPointsRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::NAS::Model::DescribeAccessPointsRequest;
|
||||||
|
|
||||||
|
DescribeAccessPointsRequest::DescribeAccessPointsRequest()
|
||||||
|
: RpcServiceRequest("nas", "2017-06-26", "DescribeAccessPoints") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeAccessPointsRequest::~DescribeAccessPointsRequest() {}
|
||||||
|
|
||||||
|
std::string DescribeAccessPointsRequest::getNextToken() const {
|
||||||
|
return nextToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeAccessPointsRequest::setNextToken(const std::string &nextToken) {
|
||||||
|
nextToken_ = nextToken;
|
||||||
|
setParameter(std::string("NextToken"), nextToken);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeAccessPointsRequest::getFileSystemId() const {
|
||||||
|
return fileSystemId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeAccessPointsRequest::setFileSystemId(const std::string &fileSystemId) {
|
||||||
|
fileSystemId_ = fileSystemId;
|
||||||
|
setParameter(std::string("FileSystemId"), fileSystemId);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeAccessPointsRequest::getMaxResults() const {
|
||||||
|
return maxResults_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeAccessPointsRequest::setMaxResults(int maxResults) {
|
||||||
|
maxResults_ = maxResults;
|
||||||
|
setParameter(std::string("MaxResults"), std::to_string(maxResults));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeAccessPointsRequest::getAccessGroup() const {
|
||||||
|
return accessGroup_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeAccessPointsRequest::setAccessGroup(const std::string &accessGroup) {
|
||||||
|
accessGroup_ = accessGroup;
|
||||||
|
setParameter(std::string("AccessGroup"), accessGroup);
|
||||||
|
}
|
||||||
|
|
||||||
112
nas/src/model/DescribeAccessPointsResult.cc
Normal file
112
nas/src/model/DescribeAccessPointsResult.cc
Normal file
@@ -0,0 +1,112 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/nas/model/DescribeAccessPointsResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::NAS;
|
||||||
|
using namespace AlibabaCloud::NAS::Model;
|
||||||
|
|
||||||
|
DescribeAccessPointsResult::DescribeAccessPointsResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeAccessPointsResult::DescribeAccessPointsResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeAccessPointsResult::~DescribeAccessPointsResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeAccessPointsResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allAccessPointsNode = value["AccessPoints"]["AccessPoint"];
|
||||||
|
for (auto valueAccessPointsAccessPoint : allAccessPointsNode)
|
||||||
|
{
|
||||||
|
AccessPoint accessPointsObject;
|
||||||
|
if(!valueAccessPointsAccessPoint["ARN"].isNull())
|
||||||
|
accessPointsObject.aRN = valueAccessPointsAccessPoint["ARN"].asString();
|
||||||
|
if(!valueAccessPointsAccessPoint["AccessGroup"].isNull())
|
||||||
|
accessPointsObject.accessGroup = valueAccessPointsAccessPoint["AccessGroup"].asString();
|
||||||
|
if(!valueAccessPointsAccessPoint["AccessPointId"].isNull())
|
||||||
|
accessPointsObject.accessPointId = valueAccessPointsAccessPoint["AccessPointId"].asString();
|
||||||
|
if(!valueAccessPointsAccessPoint["AccessPointName"].isNull())
|
||||||
|
accessPointsObject.accessPointName = valueAccessPointsAccessPoint["AccessPointName"].asString();
|
||||||
|
if(!valueAccessPointsAccessPoint["CreateTime"].isNull())
|
||||||
|
accessPointsObject.createTime = valueAccessPointsAccessPoint["CreateTime"].asString();
|
||||||
|
if(!valueAccessPointsAccessPoint["DomainName"].isNull())
|
||||||
|
accessPointsObject.domainName = valueAccessPointsAccessPoint["DomainName"].asString();
|
||||||
|
if(!valueAccessPointsAccessPoint["EnabledRam"].isNull())
|
||||||
|
accessPointsObject.enabledRam = valueAccessPointsAccessPoint["EnabledRam"].asString() == "true";
|
||||||
|
if(!valueAccessPointsAccessPoint["FileSystemId"].isNull())
|
||||||
|
accessPointsObject.fileSystemId = valueAccessPointsAccessPoint["FileSystemId"].asString();
|
||||||
|
if(!valueAccessPointsAccessPoint["ModifyTime"].isNull())
|
||||||
|
accessPointsObject.modifyTime = valueAccessPointsAccessPoint["ModifyTime"].asString();
|
||||||
|
if(!valueAccessPointsAccessPoint["RootPath"].isNull())
|
||||||
|
accessPointsObject.rootPath = valueAccessPointsAccessPoint["RootPath"].asString();
|
||||||
|
if(!valueAccessPointsAccessPoint["RootPathStatus"].isNull())
|
||||||
|
accessPointsObject.rootPathStatus = valueAccessPointsAccessPoint["RootPathStatus"].asString();
|
||||||
|
if(!valueAccessPointsAccessPoint["Status"].isNull())
|
||||||
|
accessPointsObject.status = valueAccessPointsAccessPoint["Status"].asString();
|
||||||
|
if(!valueAccessPointsAccessPoint["VSwitchId"].isNull())
|
||||||
|
accessPointsObject.vSwitchId = valueAccessPointsAccessPoint["VSwitchId"].asString();
|
||||||
|
if(!valueAccessPointsAccessPoint["VpcId"].isNull())
|
||||||
|
accessPointsObject.vpcId = valueAccessPointsAccessPoint["VpcId"].asString();
|
||||||
|
auto posixUserNode = value["PosixUser"];
|
||||||
|
if(!posixUserNode["PosixGroupId"].isNull())
|
||||||
|
accessPointsObject.posixUser.posixGroupId = std::stoi(posixUserNode["PosixGroupId"].asString());
|
||||||
|
if(!posixUserNode["PosixUserId"].isNull())
|
||||||
|
accessPointsObject.posixUser.posixUserId = std::stoi(posixUserNode["PosixUserId"].asString());
|
||||||
|
auto allPosixSecondaryGroupIds = posixUserNode["PosixSecondaryGroupIds"]["posixSecondaryGid"];
|
||||||
|
for (auto value : allPosixSecondaryGroupIds)
|
||||||
|
accessPointsObject.posixUser.posixSecondaryGroupIds.push_back(value.asString());
|
||||||
|
auto rootPathPermissionNode = value["RootPathPermission"];
|
||||||
|
if(!rootPathPermissionNode["OwnerGroupId"].isNull())
|
||||||
|
accessPointsObject.rootPathPermission.ownerGroupId = std::stol(rootPathPermissionNode["OwnerGroupId"].asString());
|
||||||
|
if(!rootPathPermissionNode["OwnerUserId"].isNull())
|
||||||
|
accessPointsObject.rootPathPermission.ownerUserId = std::stol(rootPathPermissionNode["OwnerUserId"].asString());
|
||||||
|
if(!rootPathPermissionNode["Permission"].isNull())
|
||||||
|
accessPointsObject.rootPathPermission.permission = rootPathPermissionNode["Permission"].asString();
|
||||||
|
accessPoints_.push_back(accessPointsObject);
|
||||||
|
}
|
||||||
|
if(!value["NextToken"].isNull())
|
||||||
|
nextToken_ = value["NextToken"].asString();
|
||||||
|
if(!value["TotalCount"].isNull())
|
||||||
|
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeAccessPointsResult::AccessPoint> DescribeAccessPointsResult::getAccessPoints()const
|
||||||
|
{
|
||||||
|
return accessPoints_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeAccessPointsResult::getTotalCount()const
|
||||||
|
{
|
||||||
|
return totalCount_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeAccessPointsResult::getNextToken()const
|
||||||
|
{
|
||||||
|
return nextToken_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -55,6 +55,12 @@ void DescribeAccessRulesResult::parse(const std::string &payload)
|
|||||||
accessRulesObject.userAccess = valueAccessRulesAccessRule["UserAccess"].asString();
|
accessRulesObject.userAccess = valueAccessRulesAccessRule["UserAccess"].asString();
|
||||||
if(!valueAccessRulesAccessRule["Priority"].isNull())
|
if(!valueAccessRulesAccessRule["Priority"].isNull())
|
||||||
accessRulesObject.priority = std::stoi(valueAccessRulesAccessRule["Priority"].asString());
|
accessRulesObject.priority = std::stoi(valueAccessRulesAccessRule["Priority"].asString());
|
||||||
|
if(!valueAccessRulesAccessRule["FileSystemType"].isNull())
|
||||||
|
accessRulesObject.fileSystemType = valueAccessRulesAccessRule["FileSystemType"].asString();
|
||||||
|
if(!valueAccessRulesAccessRule["AccessGroupName"].isNull())
|
||||||
|
accessRulesObject.accessGroupName = valueAccessRulesAccessRule["AccessGroupName"].asString();
|
||||||
|
if(!valueAccessRulesAccessRule["RegionId"].isNull())
|
||||||
|
accessRulesObject.regionId = valueAccessRulesAccessRule["RegionId"].asString();
|
||||||
accessRules_.push_back(accessRulesObject);
|
accessRules_.push_back(accessRulesObject);
|
||||||
}
|
}
|
||||||
if(!value["TotalCount"].isNull())
|
if(!value["TotalCount"].isNull())
|
||||||
|
|||||||
@@ -61,6 +61,8 @@ void DescribeAutoSnapshotPoliciesResult::parse(const std::string &payload)
|
|||||||
autoSnapshotPoliciesObject.fileSystemNums = std::stoi(valueAutoSnapshotPoliciesAutoSnapshotPolicy["FileSystemNums"].asString());
|
autoSnapshotPoliciesObject.fileSystemNums = std::stoi(valueAutoSnapshotPoliciesAutoSnapshotPolicy["FileSystemNums"].asString());
|
||||||
if(!valueAutoSnapshotPoliciesAutoSnapshotPolicy["RegionId"].isNull())
|
if(!valueAutoSnapshotPoliciesAutoSnapshotPolicy["RegionId"].isNull())
|
||||||
autoSnapshotPoliciesObject.regionId = valueAutoSnapshotPoliciesAutoSnapshotPolicy["RegionId"].asString();
|
autoSnapshotPoliciesObject.regionId = valueAutoSnapshotPoliciesAutoSnapshotPolicy["RegionId"].asString();
|
||||||
|
if(!valueAutoSnapshotPoliciesAutoSnapshotPolicy["FileSystemType"].isNull())
|
||||||
|
autoSnapshotPoliciesObject.fileSystemType = valueAutoSnapshotPoliciesAutoSnapshotPolicy["FileSystemType"].asString();
|
||||||
autoSnapshotPolicies_.push_back(autoSnapshotPoliciesObject);
|
autoSnapshotPolicies_.push_back(autoSnapshotPoliciesObject);
|
||||||
}
|
}
|
||||||
if(!value["TotalCount"].isNull())
|
if(!value["TotalCount"].isNull())
|
||||||
|
|||||||
68
nas/src/model/DescribeDataFlowSubTasksRequest.cc
Normal file
68
nas/src/model/DescribeDataFlowSubTasksRequest.cc
Normal 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/nas/model/DescribeDataFlowSubTasksRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::NAS::Model::DescribeDataFlowSubTasksRequest;
|
||||||
|
|
||||||
|
DescribeDataFlowSubTasksRequest::DescribeDataFlowSubTasksRequest()
|
||||||
|
: RpcServiceRequest("nas", "2017-06-26", "DescribeDataFlowSubTasks") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDataFlowSubTasksRequest::~DescribeDataFlowSubTasksRequest() {}
|
||||||
|
|
||||||
|
std::string DescribeDataFlowSubTasksRequest::getNextToken() const {
|
||||||
|
return nextToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataFlowSubTasksRequest::setNextToken(const std::string &nextToken) {
|
||||||
|
nextToken_ = nextToken;
|
||||||
|
setParameter(std::string("NextToken"), nextToken);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDataFlowSubTasksRequest::getFileSystemId() const {
|
||||||
|
return fileSystemId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataFlowSubTasksRequest::setFileSystemId(const std::string &fileSystemId) {
|
||||||
|
fileSystemId_ = fileSystemId;
|
||||||
|
setParameter(std::string("FileSystemId"), fileSystemId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeDataFlowSubTasksRequest::Filters> DescribeDataFlowSubTasksRequest::getFilters() const {
|
||||||
|
return filters_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataFlowSubTasksRequest::setFilters(const std::vector<DescribeDataFlowSubTasksRequest::Filters> &filters) {
|
||||||
|
filters_ = filters;
|
||||||
|
for(int dep1 = 0; dep1 != filters.size(); dep1++) {
|
||||||
|
auto filtersObj = filters.at(dep1);
|
||||||
|
std::string filtersObjStr = std::string("Filters") + "." + std::to_string(dep1 + 1);
|
||||||
|
setParameter(filtersObjStr + ".Value", filtersObj.value);
|
||||||
|
setParameter(filtersObjStr + ".Key", filtersObj.key);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
long DescribeDataFlowSubTasksRequest::getMaxResults() const {
|
||||||
|
return maxResults_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataFlowSubTasksRequest::setMaxResults(long maxResults) {
|
||||||
|
maxResults_ = maxResults;
|
||||||
|
setParameter(std::string("MaxResults"), std::to_string(maxResults));
|
||||||
|
}
|
||||||
|
|
||||||
102
nas/src/model/DescribeDataFlowSubTasksResult.cc
Normal file
102
nas/src/model/DescribeDataFlowSubTasksResult.cc
Normal 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/nas/model/DescribeDataFlowSubTasksResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::NAS;
|
||||||
|
using namespace AlibabaCloud::NAS::Model;
|
||||||
|
|
||||||
|
DescribeDataFlowSubTasksResult::DescribeDataFlowSubTasksResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeDataFlowSubTasksResult::DescribeDataFlowSubTasksResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDataFlowSubTasksResult::~DescribeDataFlowSubTasksResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeDataFlowSubTasksResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allDataFlowSubTaskNode = value["DataFlowSubTask"]["DataFlowSubTaskItem"];
|
||||||
|
for (auto valueDataFlowSubTaskDataFlowSubTaskItem : allDataFlowSubTaskNode)
|
||||||
|
{
|
||||||
|
DataFlowSubTaskItem dataFlowSubTaskObject;
|
||||||
|
if(!valueDataFlowSubTaskDataFlowSubTaskItem["FileSystemId"].isNull())
|
||||||
|
dataFlowSubTaskObject.fileSystemId = valueDataFlowSubTaskDataFlowSubTaskItem["FileSystemId"].asString();
|
||||||
|
if(!valueDataFlowSubTaskDataFlowSubTaskItem["DataFlowId"].isNull())
|
||||||
|
dataFlowSubTaskObject.dataFlowId = valueDataFlowSubTaskDataFlowSubTaskItem["DataFlowId"].asString();
|
||||||
|
if(!valueDataFlowSubTaskDataFlowSubTaskItem["DataFlowTaskId"].isNull())
|
||||||
|
dataFlowSubTaskObject.dataFlowTaskId = valueDataFlowSubTaskDataFlowSubTaskItem["DataFlowTaskId"].asString();
|
||||||
|
if(!valueDataFlowSubTaskDataFlowSubTaskItem["DataFlowSubTaskId"].isNull())
|
||||||
|
dataFlowSubTaskObject.dataFlowSubTaskId = valueDataFlowSubTaskDataFlowSubTaskItem["DataFlowSubTaskId"].asString();
|
||||||
|
if(!valueDataFlowSubTaskDataFlowSubTaskItem["SrcFilePath"].isNull())
|
||||||
|
dataFlowSubTaskObject.srcFilePath = valueDataFlowSubTaskDataFlowSubTaskItem["SrcFilePath"].asString();
|
||||||
|
if(!valueDataFlowSubTaskDataFlowSubTaskItem["DstFilePath"].isNull())
|
||||||
|
dataFlowSubTaskObject.dstFilePath = valueDataFlowSubTaskDataFlowSubTaskItem["DstFilePath"].asString();
|
||||||
|
if(!valueDataFlowSubTaskDataFlowSubTaskItem["Status"].isNull())
|
||||||
|
dataFlowSubTaskObject.status = valueDataFlowSubTaskDataFlowSubTaskItem["Status"].asString();
|
||||||
|
if(!valueDataFlowSubTaskDataFlowSubTaskItem["Progress"].isNull())
|
||||||
|
dataFlowSubTaskObject.progress = std::stoi(valueDataFlowSubTaskDataFlowSubTaskItem["Progress"].asString());
|
||||||
|
if(!valueDataFlowSubTaskDataFlowSubTaskItem["CreateTime"].isNull())
|
||||||
|
dataFlowSubTaskObject.createTime = valueDataFlowSubTaskDataFlowSubTaskItem["CreateTime"].asString();
|
||||||
|
if(!valueDataFlowSubTaskDataFlowSubTaskItem["StartTime"].isNull())
|
||||||
|
dataFlowSubTaskObject.startTime = valueDataFlowSubTaskDataFlowSubTaskItem["StartTime"].asString();
|
||||||
|
if(!valueDataFlowSubTaskDataFlowSubTaskItem["EndTime"].isNull())
|
||||||
|
dataFlowSubTaskObject.endTime = valueDataFlowSubTaskDataFlowSubTaskItem["EndTime"].asString();
|
||||||
|
if(!valueDataFlowSubTaskDataFlowSubTaskItem["ErrorMsg"].isNull())
|
||||||
|
dataFlowSubTaskObject.errorMsg = valueDataFlowSubTaskDataFlowSubTaskItem["ErrorMsg"].asString();
|
||||||
|
auto progressStatsNode = value["ProgressStats"];
|
||||||
|
if(!progressStatsNode["BytesTotal"].isNull())
|
||||||
|
dataFlowSubTaskObject.progressStats.bytesTotal = std::stol(progressStatsNode["BytesTotal"].asString());
|
||||||
|
if(!progressStatsNode["BytesDone"].isNull())
|
||||||
|
dataFlowSubTaskObject.progressStats.bytesDone = std::stol(progressStatsNode["BytesDone"].asString());
|
||||||
|
if(!progressStatsNode["ActualBytes"].isNull())
|
||||||
|
dataFlowSubTaskObject.progressStats.actualBytes = std::stol(progressStatsNode["ActualBytes"].asString());
|
||||||
|
if(!progressStatsNode["AverageSpeed"].isNull())
|
||||||
|
dataFlowSubTaskObject.progressStats.averageSpeed = std::stol(progressStatsNode["AverageSpeed"].asString());
|
||||||
|
auto fileDetailNode = value["FileDetail"];
|
||||||
|
if(!fileDetailNode["ModifyTime"].isNull())
|
||||||
|
dataFlowSubTaskObject.fileDetail.modifyTime = std::stol(fileDetailNode["ModifyTime"].asString());
|
||||||
|
if(!fileDetailNode["Size"].isNull())
|
||||||
|
dataFlowSubTaskObject.fileDetail.size = std::stol(fileDetailNode["Size"].asString());
|
||||||
|
if(!fileDetailNode["Checksum"].isNull())
|
||||||
|
dataFlowSubTaskObject.fileDetail.checksum = fileDetailNode["Checksum"].asString();
|
||||||
|
dataFlowSubTask_.push_back(dataFlowSubTaskObject);
|
||||||
|
}
|
||||||
|
if(!value["NextToken"].isNull())
|
||||||
|
nextToken_ = value["NextToken"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDataFlowSubTasksResult::getNextToken()const
|
||||||
|
{
|
||||||
|
return nextToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeDataFlowSubTasksResult::DataFlowSubTaskItem> DescribeDataFlowSubTasksResult::getDataFlowSubTask()const
|
||||||
|
{
|
||||||
|
return dataFlowSubTask_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -73,6 +73,41 @@ void DescribeDataFlowTasksResult::parse(const std::string &payload)
|
|||||||
taskInfoObject.endTime = valueTaskInfoTask["EndTime"].asString();
|
taskInfoObject.endTime = valueTaskInfoTask["EndTime"].asString();
|
||||||
if(!valueTaskInfoTask["FsPath"].isNull())
|
if(!valueTaskInfoTask["FsPath"].isNull())
|
||||||
taskInfoObject.fsPath = valueTaskInfoTask["FsPath"].asString();
|
taskInfoObject.fsPath = valueTaskInfoTask["FsPath"].asString();
|
||||||
|
if(!valueTaskInfoTask["ConflictPolicy"].isNull())
|
||||||
|
taskInfoObject.conflictPolicy = valueTaskInfoTask["ConflictPolicy"].asString();
|
||||||
|
if(!valueTaskInfoTask["Directory"].isNull())
|
||||||
|
taskInfoObject.directory = valueTaskInfoTask["Directory"].asString();
|
||||||
|
if(!valueTaskInfoTask["DstDirectory"].isNull())
|
||||||
|
taskInfoObject.dstDirectory = valueTaskInfoTask["DstDirectory"].asString();
|
||||||
|
if(!valueTaskInfoTask["ErrorMsg"].isNull())
|
||||||
|
taskInfoObject.errorMsg = valueTaskInfoTask["ErrorMsg"].asString();
|
||||||
|
auto allReportsNode = valueTaskInfoTask["Reports"]["Report"];
|
||||||
|
for (auto valueTaskInfoTaskReportsReport : allReportsNode)
|
||||||
|
{
|
||||||
|
Task::Report reportsObject;
|
||||||
|
if(!valueTaskInfoTaskReportsReport["Name"].isNull())
|
||||||
|
reportsObject.name = valueTaskInfoTaskReportsReport["Name"].asString();
|
||||||
|
if(!valueTaskInfoTaskReportsReport["Path"].isNull())
|
||||||
|
reportsObject.path = valueTaskInfoTaskReportsReport["Path"].asString();
|
||||||
|
taskInfoObject.reports.push_back(reportsObject);
|
||||||
|
}
|
||||||
|
auto progressStatsNode = value["ProgressStats"];
|
||||||
|
if(!progressStatsNode["FilesTotal"].isNull())
|
||||||
|
taskInfoObject.progressStats.filesTotal = std::stol(progressStatsNode["FilesTotal"].asString());
|
||||||
|
if(!progressStatsNode["FilesDone"].isNull())
|
||||||
|
taskInfoObject.progressStats.filesDone = std::stol(progressStatsNode["FilesDone"].asString());
|
||||||
|
if(!progressStatsNode["ActualFiles"].isNull())
|
||||||
|
taskInfoObject.progressStats.actualFiles = std::stol(progressStatsNode["ActualFiles"].asString());
|
||||||
|
if(!progressStatsNode["BytesTotal"].isNull())
|
||||||
|
taskInfoObject.progressStats.bytesTotal = std::stol(progressStatsNode["BytesTotal"].asString());
|
||||||
|
if(!progressStatsNode["BytesDone"].isNull())
|
||||||
|
taskInfoObject.progressStats.bytesDone = std::stol(progressStatsNode["BytesDone"].asString());
|
||||||
|
if(!progressStatsNode["ActualBytes"].isNull())
|
||||||
|
taskInfoObject.progressStats.actualBytes = std::stol(progressStatsNode["ActualBytes"].asString());
|
||||||
|
if(!progressStatsNode["RemainTime"].isNull())
|
||||||
|
taskInfoObject.progressStats.remainTime = std::stol(progressStatsNode["RemainTime"].asString());
|
||||||
|
if(!progressStatsNode["AverageSpeed"].isNull())
|
||||||
|
taskInfoObject.progressStats.averageSpeed = std::stol(progressStatsNode["AverageSpeed"].asString());
|
||||||
taskInfo_.push_back(taskInfoObject);
|
taskInfo_.push_back(taskInfoObject);
|
||||||
}
|
}
|
||||||
if(!value["NextToken"].isNull())
|
if(!value["NextToken"].isNull())
|
||||||
|
|||||||
@@ -73,6 +73,8 @@ void DescribeDataFlowsResult::parse(const std::string &payload)
|
|||||||
dataFlowInfoObject.autoRefreshInterval = std::stol(valueDataFlowInfoDataFlow["AutoRefreshInterval"].asString());
|
dataFlowInfoObject.autoRefreshInterval = std::stol(valueDataFlowInfoDataFlow["AutoRefreshInterval"].asString());
|
||||||
if(!valueDataFlowInfoDataFlow["AutoRefreshPolicy"].isNull())
|
if(!valueDataFlowInfoDataFlow["AutoRefreshPolicy"].isNull())
|
||||||
dataFlowInfoObject.autoRefreshPolicy = valueDataFlowInfoDataFlow["AutoRefreshPolicy"].asString();
|
dataFlowInfoObject.autoRefreshPolicy = valueDataFlowInfoDataFlow["AutoRefreshPolicy"].asString();
|
||||||
|
if(!valueDataFlowInfoDataFlow["SourceStoragePath"].isNull())
|
||||||
|
dataFlowInfoObject.sourceStoragePath = valueDataFlowInfoDataFlow["SourceStoragePath"].asString();
|
||||||
auto allAutoRefreshNode = valueDataFlowInfoDataFlow["AutoRefresh"]["AutoRefreshItem"];
|
auto allAutoRefreshNode = valueDataFlowInfoDataFlow["AutoRefresh"]["AutoRefreshItem"];
|
||||||
for (auto valueDataFlowInfoDataFlowAutoRefreshAutoRefreshItem : allAutoRefreshNode)
|
for (auto valueDataFlowInfoDataFlowAutoRefreshAutoRefreshItem : allAutoRefreshNode)
|
||||||
{
|
{
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user