From 93f7addccc7d5fa5ce23f6a94e7ec97f94b2e2fc Mon Sep 17 00:00:00 2001 From: sdk-team Date: Fri, 5 May 2023 19:59:19 +0000 Subject: [PATCH] Support desktop group auto scale. --- VERSION | 2 +- ecd/CMakeLists.txt | 156 +- ecd/include/alibabacloud/ecd/EcdClient.h | 304 +++- ...ibeDrivesRequest.h => AddDevicesRequest.h} | 27 +- .../alibabacloud/ecd/model/AddDevicesResult.h | 49 + .../ecd/model/AddFilePermissionRequest.h | 64 + .../ecd/model/AddFilePermissionResult.h | 49 + .../model/ApplyAutoSnapshotPolicyRequest.h | 48 + .../ecd/model/ApplyAutoSnapshotPolicyResult.h | 49 + .../ecd/model/AttachEndUserRequest.h | 60 + .../ecd/model/AttachEndUserResult.h | 49 + .../model/CancelAutoSnapshotPolicyRequest.h | 48 + .../model/CancelAutoSnapshotPolicyResult.h | 49 + .../ecd/model/CancelCdsFileShareLinkRequest.h | 45 + ...esult.h => CancelCdsFileShareLinkResult.h} | 14 +- .../ecd/model/CompleteCdsFileRequest.h | 54 + .../ecd/model/CompleteCdsFileResult.h | 49 + .../ecd/model/ConfigADConnectorTrustRequest.h | 3 + .../ecd/model/CopyCdsFileRequest.h | 57 + .../ecd/model/CopyCdsFileResult.h | 62 + .../model/CreateAutoSnapshotPolicyRequest.h | 51 + .../model/CreateAutoSnapshotPolicyResult.h | 51 + .../ecd/model/CreateCdsFileRequest.h | 66 + .../ecd/model/CreateCdsFileResult.h | 57 + .../ecd/model/CreateCdsFileShareLinkRequest.h | 78 + ...esult.h => CreateCdsFileShareLinkResult.h} | 66 +- .../ecd/model/CreateDesktopGroupRequest.h | 9 + .../ecd/model/CreateDesktopsRequest.h | 26 + .../ecd/model/CreateDriveRequest.h | 75 - .../ecd/model/CreateNetworkPackageRequest.h | 9 +- .../ecd/model/CreatePolicyGroupRequest.h | 201 ++- .../ecd/model/CreateSimpleOfficeSiteRequest.h | 3 + .../model/DeleteAutoSnapshotPolicyRequest.h | 45 + .../model/DeleteAutoSnapshotPolicyResult.h | 49 + .../ecd/model/DeleteCdsFileRequest.h | 51 + .../ecd/model/DeleteCdsFileResult.h | 57 + .../ecd/model/DeleteCloudDriveGroupsRequest.h | 48 + .../ecd/model/DeleteCloudDriveGroupsResult.h | 57 + .../ecd/model/DeleteDevicesRequest.h | 51 + .../ecd/model/DeleteDevicesResult.h | 49 + .../ecd/model/DeleteImagesRequest.h | 3 + .../model/DescribeAutoSnapshotPolicyRequest.h | 54 + .../model/DescribeAutoSnapshotPolicyResult.h | 65 + .../ecd/model/DescribeBundlesRequest.h | 12 + .../ecd/model/DescribeBundlesResult.h | 1 + .../model/DescribeCdsFileShareLinksRequest.h | 60 + .../model/DescribeCdsFileShareLinksResult.h | 87 ++ .../model/DescribeCloudDriveGroupsRequest.h | 75 + .../model/DescribeCloudDriveGroupsResult.h | 68 + .../ecd/model/DescribeDesktopGroupsRequest.h | 9 + .../ecd/model/DescribeDesktopGroupsResult.h | 3 + .../ecd/model/DescribeDesktopsInGroupResult.h | 4 + .../ecd/model/DescribeDesktopsRequest.h | 18 + .../ecd/model/DescribeDesktopsResult.h | 7 + .../ecd/model/DescribeDevicesRequest.h | 66 + .../ecd/model/DescribeDevicesResult.h | 63 + .../ecd/model/DescribeFotaTasksResult.h | 1 + .../ecd/model/DescribeImagesRequest.h | 3 + .../ecd/model/DescribeImagesResult.h | 2 + .../ecd/model/DescribeInvocationsRequest.h | 3 + .../ecd/model/DescribeNASFileSystemsRequest.h | 3 + .../ecd/model/DescribeNASFileSystemsResult.h | 8 + .../ecd/model/DescribeNetworkPackagesResult.h | 11 +- .../ecd/model/DescribeOfficeSitesRequest.h | 3 + .../ecd/model/DescribeOfficeSitesResult.h | 3 + .../ecd/model/DescribePolicyGroupsRequest.h | 3 + .../ecd/model/DescribePolicyGroupsResult.h | 63 +- .../ecd/model/DescribeSnapshotsRequest.h | 27 +- .../ecd/model/DescribeSnapshotsResult.h | 4 + .../ecd/model/DescribeSuspEventsResult.h | 1 + .../DescribeUserProfilePathRulesRequest.h | 48 + .../DescribeUserProfilePathRulesResult.h | 72 + .../ecd/model/DescribeUsersInGroupRequest.h | 3 + .../ecd/model/DetachEndUserRequest.h | 57 + .../ecd/model/DetachEndUserResult.h | 49 + .../ecd/model/ExportClientEventsRequest.h | 3 + .../ecd/model/GetConnectionTicketRequest.h | 3 + .../ecd/model/GetDesktopGroupDetailResult.h | 49 +- .../ecd/model/HibernateDesktopsRequest.h | 45 + .../ecd/model/HibernateDesktopsResult.h | 49 + .../ecd/model/ListCdsFilesRequest.h | 69 + .../ecd/model/ListCdsFilesResult.h | 90 ++ .../ecd/model/ListFilePermissionRequest.h | 51 + .../ecd/model/ListFilePermissionResult.h | 63 + .../ListUserAdOrganizationUnitsRequest.h | 9 + .../model/ListUserAdOrganizationUnitsResult.h | 3 + .../ecd/model/MigrateDesktopsRequest.h | 48 + .../ecd/model/MigrateDesktopsResult.h | 49 + .../model/ModifyAutoSnapshotPolicyRequest.h | 54 + .../model/ModifyAutoSnapshotPolicyResult.h | 49 + .../ecd/model/ModifyCdsFileRequest.h | 57 + .../ecd/model/ModifyCdsFileResult.h | 57 + .../ecd/model/ModifyCdsFileShareLinkRequest.h | 93 ++ .../ecd/model/ModifyCdsFileShareLinkResult.h | 85 + .../ecd/model/ModifyCloudDriveGroupsRequest.h | 54 + .../ecd/model/ModifyCloudDriveGroupsResult.h | 57 + .../ecd/model/ModifyDesktopGroupRequest.h | 6 + .../model/ModifyDesktopsPolicyGroupRequest.h | 6 + .../model/ModifyDesktopsPolicyGroupResult.h | 1 + .../model/ModifyOfficeSiteAttributeRequest.h | 3 + .../ecd/model/ModifyPolicyGroupRequest.h | 97 ++ .../ecd/model/MoveCdsFileRequest.h | 57 + ...reateDriveResult.h => MoveCdsFileResult.h} | 39 +- .../ecd/model/RebuildDesktopsRequest.h | 3 + .../ecd/model/RemoveFilePermissionRequest.h | 62 + .../ecd/model/RemoveFilePermissionResult.h | 49 + .../model/SetDesktopGroupScaleTimerRequest.h | 58 + .../model/SetDesktopGroupScaleTimerResult.h | 49 + .../ecd/model/SetDesktopGroupTimerResult.h | 4 - .../model/SetDesktopGroupTimerStatusResult.h | 4 - .../ecd/model/SetDirectorySsoStatusRequest.h | 48 + .../ecd/model/SetDirectorySsoStatusResult.h | 49 + .../model/SetUserProfilePathRulesRequest.h | 64 + .../ecd/model/SetUserProfilePathRulesResult.h | 49 + ...DriveRequest.h => WakeupDesktopsRequest.h} | 18 +- .../ecd/model/WakeupDesktopsResult.h | 49 + ecd/src/EcdClient.cc | 1368 +++++++++++++++-- ecd/src/model/AddDevicesRequest.cc | 53 + ecd/src/model/AddDevicesResult.cc | 44 + ecd/src/model/AddFilePermissionRequest.cc | 78 + ecd/src/model/AddFilePermissionResult.cc | 44 + .../model/ApplyAutoSnapshotPolicyRequest.cc | 53 + .../model/ApplyAutoSnapshotPolicyResult.cc | 44 + ecd/src/model/AttachEndUserRequest.cc | 90 ++ ecd/src/model/AttachEndUserResult.cc | 44 + .../model/CancelAutoSnapshotPolicyRequest.cc | 53 + .../model/CancelAutoSnapshotPolicyResult.cc | 44 + .../model/CancelCdsFileShareLinkRequest.cc | 45 + ecd/src/model/CancelCdsFileShareLinkResult.cc | 72 + ecd/src/model/CompleteCdsFileRequest.cc | 72 + ecd/src/model/CompleteCdsFileResult.cc | 44 + .../model/ConfigADConnectorTrustRequest.cc | 9 + ecd/src/model/CopyCdsFileRequest.cc | 81 + ecd/src/model/CopyCdsFileResult.cc | 75 + .../model/CreateAutoSnapshotPolicyRequest.cc | 63 + .../model/CreateAutoSnapshotPolicyResult.cc | 51 + ecd/src/model/CreateCdsFileRequest.cc | 108 ++ ecd/src/model/CreateCdsFileResult.cc | 56 + .../model/CreateCdsFileShareLinkRequest.cc | 143 ++ ecd/src/model/CreateCdsFileShareLinkResult.cc | 121 ++ ecd/src/model/CreateDesktopGroupRequest.cc | 27 + ecd/src/model/CreateDesktopsRequest.cc | 46 + ecd/src/model/CreateDriveRequest.cc | 135 -- ecd/src/model/CreateDriveResult.cc | 103 -- ecd/src/model/CreateNetworkPackageRequest.cc | 27 +- ecd/src/model/CreatePolicyGroupRequest.cc | 520 +++++-- .../model/CreateSimpleOfficeSiteRequest.cc | 9 + .../model/DeleteAutoSnapshotPolicyRequest.cc | 44 + .../model/DeleteAutoSnapshotPolicyResult.cc | 44 + ecd/src/model/DeleteCdsFileRequest.cc | 63 + ...eDriveResult.cc => DeleteCdsFileResult.cc} | 26 +- .../model/DeleteCloudDriveGroupsRequest.cc | 53 + ecd/src/model/DeleteCloudDriveGroupsResult.cc | 72 + ecd/src/model/DeleteDevicesRequest.cc | 62 + ecd/src/model/DeleteDevicesResult.cc | 44 + ecd/src/model/DeleteImagesRequest.cc | 9 + .../DescribeAutoSnapshotPolicyRequest.cc | 72 + .../model/DescribeAutoSnapshotPolicyResult.cc | 80 + ecd/src/model/DescribeBundlesRequest.cc | 35 + ecd/src/model/DescribeBundlesResult.cc | 2 + .../model/DescribeCdsFileShareLinksRequest.cc | 89 ++ .../model/DescribeCdsFileShareLinksResult.cc | 133 ++ .../model/DescribeCloudDriveGroupsRequest.cc | 134 ++ .../model/DescribeCloudDriveGroupsResult.cc | 92 ++ ecd/src/model/DescribeDesktopGroupsRequest.cc | 25 + ecd/src/model/DescribeDesktopGroupsResult.cc | 6 + .../model/DescribeDesktopsInGroupResult.cc | 8 + ecd/src/model/DescribeDesktopsRequest.cc | 52 + ecd/src/model/DescribeDesktopsResult.cc | 16 + ecd/src/model/DescribeDevicesRequest.cc | 108 ++ ecd/src/model/DescribeDevicesResult.cc | 71 + ecd/src/model/DescribeDrivesRequest.cc | 62 - ecd/src/model/DescribeDrivesResult.cc | 124 -- ecd/src/model/DescribeFotaTasksResult.cc | 2 + ecd/src/model/DescribeImagesRequest.cc | 9 + ecd/src/model/DescribeImagesResult.cc | 4 + ecd/src/model/DescribeInvocationsRequest.cc | 8 + .../model/DescribeNASFileSystemsRequest.cc | 9 + ecd/src/model/DescribeNASFileSystemsResult.cc | 14 + .../model/DescribeNetworkPackagesResult.cc | 10 + ecd/src/model/DescribeOfficeSitesRequest.cc | 9 + ecd/src/model/DescribeOfficeSitesResult.cc | 6 + ecd/src/model/DescribePolicyGroupsRequest.cc | 9 + ecd/src/model/DescribePolicyGroupsResult.cc | 81 + ecd/src/model/DescribeSnapshotsRequest.cc | 81 +- ecd/src/model/DescribeSnapshotsResult.cc | 12 +- ecd/src/model/DescribeSuspEventsResult.cc | 2 + .../DescribeUserProfilePathRulesRequest.cc | 54 + .../DescribeUserProfilePathRulesResult.cc | 75 + ecd/src/model/DescribeUsersInGroupRequest.cc | 8 + ecd/src/model/DetachEndUserRequest.cc | 81 + ecd/src/model/DetachEndUserResult.cc | 44 + ecd/src/model/ExportClientEventsRequest.cc | 9 + ecd/src/model/GetConnectionTicketRequest.cc | 9 + ecd/src/model/GetDesktopGroupDetailResult.cc | 34 + ecd/src/model/HibernateDesktopsRequest.cc | 44 + ecd/src/model/HibernateDesktopsResult.cc | 44 + ecd/src/model/ListCdsFilesRequest.cc | 117 ++ ecd/src/model/ListCdsFilesResult.cc | 142 ++ ecd/src/model/ListFilePermissionRequest.cc | 63 + ecd/src/model/ListFilePermissionResult.cc | 66 + .../ListUserAdOrganizationUnitsRequest.cc | 27 + .../ListUserAdOrganizationUnitsResult.cc | 9 + ecd/src/model/MigrateDesktopsRequest.cc | 53 + ecd/src/model/MigrateDesktopsResult.cc | 44 + .../model/ModifyAutoSnapshotPolicyRequest.cc | 72 + .../model/ModifyAutoSnapshotPolicyResult.cc | 44 + ecd/src/model/ModifyCdsFileRequest.cc | 81 + ecd/src/model/ModifyCdsFileResult.cc | 72 + .../model/ModifyCdsFileShareLinkRequest.cc | 189 +++ ecd/src/model/ModifyCdsFileShareLinkResult.cc | 121 ++ .../model/ModifyCloudDriveGroupsRequest.cc | 71 + ecd/src/model/ModifyCloudDriveGroupsResult.cc | 72 + ecd/src/model/ModifyDesktopGroupRequest.cc | 17 + .../model/ModifyDesktopsPolicyGroupRequest.cc | 17 + .../model/ModifyDesktopsPolicyGroupResult.cc | 2 + .../model/ModifyOfficeSiteAttributeRequest.cc | 9 + ecd/src/model/ModifyPolicyGroupRequest.cc | 270 ++++ ecd/src/model/MoveCdsFileRequest.cc | 81 + ecd/src/model/MoveCdsFileResult.cc | 77 + ecd/src/model/RebuildDesktopsRequest.cc | 9 + ecd/src/model/RemoveFilePermissionRequest.cc | 76 + ecd/src/model/RemoveFilePermissionResult.cc | 44 + .../model/SetDesktopGroupScaleTimerRequest.cc | 65 + .../model/SetDesktopGroupScaleTimerResult.cc | 44 + ecd/src/model/SetDesktopGroupTimerResult.cc | 15 - .../model/SetDesktopGroupTimerStatusResult.cc | 15 - ecd/src/model/SetDirectorySsoStatusRequest.cc | 54 + ecd/src/model/SetDirectorySsoStatusResult.cc | 44 + .../model/SetUserProfilePathRulesRequest.cc | 70 + .../model/SetUserProfilePathRulesResult.cc | 44 + ...iveRequest.cc => WakeupDesktopsRequest.cc} | 31 +- ecd/src/model/WakeupDesktopsResult.cc | 44 + 233 files changed, 12189 insertions(+), 1036 deletions(-) rename ecd/include/alibabacloud/ecd/model/{DescribeDrivesRequest.h => AddDevicesRequest.h} (58%) create mode 100644 ecd/include/alibabacloud/ecd/model/AddDevicesResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/AddFilePermissionRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/AddFilePermissionResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/ApplyAutoSnapshotPolicyRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/ApplyAutoSnapshotPolicyResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/AttachEndUserRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/AttachEndUserResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/CancelAutoSnapshotPolicyRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/CancelAutoSnapshotPolicyResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/CancelCdsFileShareLinkRequest.h rename ecd/include/alibabacloud/ecd/model/{DeleteDriveResult.h => CancelCdsFileShareLinkResult.h} (73%) create mode 100644 ecd/include/alibabacloud/ecd/model/CompleteCdsFileRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/CompleteCdsFileResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/CopyCdsFileRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/CopyCdsFileResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/CreateAutoSnapshotPolicyRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/CreateAutoSnapshotPolicyResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/CreateCdsFileRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/CreateCdsFileResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/CreateCdsFileShareLinkRequest.h rename ecd/include/alibabacloud/ecd/model/{DescribeDrivesResult.h => CreateCdsFileShareLinkResult.h} (53%) delete mode 100644 ecd/include/alibabacloud/ecd/model/CreateDriveRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/DeleteAutoSnapshotPolicyRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/DeleteAutoSnapshotPolicyResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/DeleteCdsFileRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/DeleteCdsFileResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/DeleteCloudDriveGroupsRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/DeleteCloudDriveGroupsResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/DeleteDevicesRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/DeleteDevicesResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/DescribeAutoSnapshotPolicyRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/DescribeAutoSnapshotPolicyResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/DescribeCdsFileShareLinksRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/DescribeCdsFileShareLinksResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/DescribeCloudDriveGroupsRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/DescribeCloudDriveGroupsResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/DescribeDevicesRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/DescribeDevicesResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/DescribeUserProfilePathRulesRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/DescribeUserProfilePathRulesResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/DetachEndUserRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/DetachEndUserResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/HibernateDesktopsRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/HibernateDesktopsResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/ListCdsFilesRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/ListCdsFilesResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/ListFilePermissionRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/ListFilePermissionResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/MigrateDesktopsRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/MigrateDesktopsResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/ModifyAutoSnapshotPolicyRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/ModifyAutoSnapshotPolicyResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/ModifyCdsFileRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/ModifyCdsFileResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/ModifyCdsFileShareLinkRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/ModifyCdsFileShareLinkResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/ModifyCloudDriveGroupsRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/ModifyCloudDriveGroupsResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/MoveCdsFileRequest.h rename ecd/include/alibabacloud/ecd/model/{CreateDriveResult.h => MoveCdsFileResult.h} (58%) create mode 100644 ecd/include/alibabacloud/ecd/model/RemoveFilePermissionRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/RemoveFilePermissionResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/SetDesktopGroupScaleTimerRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/SetDesktopGroupScaleTimerResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/SetDirectorySsoStatusRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/SetDirectorySsoStatusResult.h create mode 100644 ecd/include/alibabacloud/ecd/model/SetUserProfilePathRulesRequest.h create mode 100644 ecd/include/alibabacloud/ecd/model/SetUserProfilePathRulesResult.h rename ecd/include/alibabacloud/ecd/model/{DeleteDriveRequest.h => WakeupDesktopsRequest.h} (67%) create mode 100644 ecd/include/alibabacloud/ecd/model/WakeupDesktopsResult.h create mode 100644 ecd/src/model/AddDevicesRequest.cc create mode 100644 ecd/src/model/AddDevicesResult.cc create mode 100644 ecd/src/model/AddFilePermissionRequest.cc create mode 100644 ecd/src/model/AddFilePermissionResult.cc create mode 100644 ecd/src/model/ApplyAutoSnapshotPolicyRequest.cc create mode 100644 ecd/src/model/ApplyAutoSnapshotPolicyResult.cc create mode 100644 ecd/src/model/AttachEndUserRequest.cc create mode 100644 ecd/src/model/AttachEndUserResult.cc create mode 100644 ecd/src/model/CancelAutoSnapshotPolicyRequest.cc create mode 100644 ecd/src/model/CancelAutoSnapshotPolicyResult.cc create mode 100644 ecd/src/model/CancelCdsFileShareLinkRequest.cc create mode 100644 ecd/src/model/CancelCdsFileShareLinkResult.cc create mode 100644 ecd/src/model/CompleteCdsFileRequest.cc create mode 100644 ecd/src/model/CompleteCdsFileResult.cc create mode 100644 ecd/src/model/CopyCdsFileRequest.cc create mode 100644 ecd/src/model/CopyCdsFileResult.cc create mode 100644 ecd/src/model/CreateAutoSnapshotPolicyRequest.cc create mode 100644 ecd/src/model/CreateAutoSnapshotPolicyResult.cc create mode 100644 ecd/src/model/CreateCdsFileRequest.cc create mode 100644 ecd/src/model/CreateCdsFileResult.cc create mode 100644 ecd/src/model/CreateCdsFileShareLinkRequest.cc create mode 100644 ecd/src/model/CreateCdsFileShareLinkResult.cc delete mode 100644 ecd/src/model/CreateDriveRequest.cc delete mode 100644 ecd/src/model/CreateDriveResult.cc create mode 100644 ecd/src/model/DeleteAutoSnapshotPolicyRequest.cc create mode 100644 ecd/src/model/DeleteAutoSnapshotPolicyResult.cc create mode 100644 ecd/src/model/DeleteCdsFileRequest.cc rename ecd/src/model/{DeleteDriveResult.cc => DeleteCdsFileResult.cc} (71%) create mode 100644 ecd/src/model/DeleteCloudDriveGroupsRequest.cc create mode 100644 ecd/src/model/DeleteCloudDriveGroupsResult.cc create mode 100644 ecd/src/model/DeleteDevicesRequest.cc create mode 100644 ecd/src/model/DeleteDevicesResult.cc create mode 100644 ecd/src/model/DescribeAutoSnapshotPolicyRequest.cc create mode 100644 ecd/src/model/DescribeAutoSnapshotPolicyResult.cc create mode 100644 ecd/src/model/DescribeCdsFileShareLinksRequest.cc create mode 100644 ecd/src/model/DescribeCdsFileShareLinksResult.cc create mode 100644 ecd/src/model/DescribeCloudDriveGroupsRequest.cc create mode 100644 ecd/src/model/DescribeCloudDriveGroupsResult.cc create mode 100644 ecd/src/model/DescribeDevicesRequest.cc create mode 100644 ecd/src/model/DescribeDevicesResult.cc delete mode 100644 ecd/src/model/DescribeDrivesRequest.cc delete mode 100644 ecd/src/model/DescribeDrivesResult.cc create mode 100644 ecd/src/model/DescribeUserProfilePathRulesRequest.cc create mode 100644 ecd/src/model/DescribeUserProfilePathRulesResult.cc create mode 100644 ecd/src/model/DetachEndUserRequest.cc create mode 100644 ecd/src/model/DetachEndUserResult.cc create mode 100644 ecd/src/model/HibernateDesktopsRequest.cc create mode 100644 ecd/src/model/HibernateDesktopsResult.cc create mode 100644 ecd/src/model/ListCdsFilesRequest.cc create mode 100644 ecd/src/model/ListCdsFilesResult.cc create mode 100644 ecd/src/model/ListFilePermissionRequest.cc create mode 100644 ecd/src/model/ListFilePermissionResult.cc create mode 100644 ecd/src/model/MigrateDesktopsRequest.cc create mode 100644 ecd/src/model/MigrateDesktopsResult.cc create mode 100644 ecd/src/model/ModifyAutoSnapshotPolicyRequest.cc create mode 100644 ecd/src/model/ModifyAutoSnapshotPolicyResult.cc create mode 100644 ecd/src/model/ModifyCdsFileRequest.cc create mode 100644 ecd/src/model/ModifyCdsFileResult.cc create mode 100644 ecd/src/model/ModifyCdsFileShareLinkRequest.cc create mode 100644 ecd/src/model/ModifyCdsFileShareLinkResult.cc create mode 100644 ecd/src/model/ModifyCloudDriveGroupsRequest.cc create mode 100644 ecd/src/model/ModifyCloudDriveGroupsResult.cc create mode 100644 ecd/src/model/MoveCdsFileRequest.cc create mode 100644 ecd/src/model/MoveCdsFileResult.cc create mode 100644 ecd/src/model/RemoveFilePermissionRequest.cc create mode 100644 ecd/src/model/RemoveFilePermissionResult.cc create mode 100644 ecd/src/model/SetDesktopGroupScaleTimerRequest.cc create mode 100644 ecd/src/model/SetDesktopGroupScaleTimerResult.cc create mode 100644 ecd/src/model/SetDirectorySsoStatusRequest.cc create mode 100644 ecd/src/model/SetDirectorySsoStatusResult.cc create mode 100644 ecd/src/model/SetUserProfilePathRulesRequest.cc create mode 100644 ecd/src/model/SetUserProfilePathRulesResult.cc rename ecd/src/model/{DeleteDriveRequest.cc => WakeupDesktopsRequest.cc} (54%) create mode 100644 ecd/src/model/WakeupDesktopsResult.cc diff --git a/VERSION b/VERSION index e1bf116d6..65ffdbf61 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1551 \ No newline at end of file +1.36.1552 \ No newline at end of file diff --git a/ecd/CMakeLists.txt b/ecd/CMakeLists.txt index 8e0c45ff7..9d2f6ad7c 100644 --- a/ecd/CMakeLists.txt +++ b/ecd/CMakeLists.txt @@ -23,8 +23,14 @@ set(ecd_public_header set(ecd_public_header_model include/alibabacloud/ecd/model/ActivateOfficeSiteRequest.h include/alibabacloud/ecd/model/ActivateOfficeSiteResult.h + include/alibabacloud/ecd/model/AddDevicesRequest.h + include/alibabacloud/ecd/model/AddDevicesResult.h + include/alibabacloud/ecd/model/AddFilePermissionRequest.h + include/alibabacloud/ecd/model/AddFilePermissionResult.h include/alibabacloud/ecd/model/AddUserToDesktopGroupRequest.h include/alibabacloud/ecd/model/AddUserToDesktopGroupResult.h + include/alibabacloud/ecd/model/ApplyAutoSnapshotPolicyRequest.h + include/alibabacloud/ecd/model/ApplyAutoSnapshotPolicyResult.h include/alibabacloud/ecd/model/ApplyCoordinatePrivilegeRequest.h include/alibabacloud/ecd/model/ApplyCoordinatePrivilegeResult.h include/alibabacloud/ecd/model/ApplyCoordinationForMonitoringRequest.h @@ -35,16 +41,26 @@ set(ecd_public_header_model include/alibabacloud/ecd/model/AssociateNetworkPackageResult.h include/alibabacloud/ecd/model/AttachCenRequest.h include/alibabacloud/ecd/model/AttachCenResult.h + include/alibabacloud/ecd/model/AttachEndUserRequest.h + include/alibabacloud/ecd/model/AttachEndUserResult.h + include/alibabacloud/ecd/model/CancelAutoSnapshotPolicyRequest.h + include/alibabacloud/ecd/model/CancelAutoSnapshotPolicyResult.h + include/alibabacloud/ecd/model/CancelCdsFileShareLinkRequest.h + include/alibabacloud/ecd/model/CancelCdsFileShareLinkResult.h include/alibabacloud/ecd/model/CancelCoordinationForMonitoringRequest.h include/alibabacloud/ecd/model/CancelCoordinationForMonitoringResult.h include/alibabacloud/ecd/model/CancelCopyImageRequest.h include/alibabacloud/ecd/model/CancelCopyImageResult.h include/alibabacloud/ecd/model/ClonePolicyGroupRequest.h include/alibabacloud/ecd/model/ClonePolicyGroupResult.h + include/alibabacloud/ecd/model/CompleteCdsFileRequest.h + include/alibabacloud/ecd/model/CompleteCdsFileResult.h include/alibabacloud/ecd/model/ConfigADConnectorTrustRequest.h include/alibabacloud/ecd/model/ConfigADConnectorTrustResult.h include/alibabacloud/ecd/model/ConfigADConnectorUserRequest.h include/alibabacloud/ecd/model/ConfigADConnectorUserResult.h + include/alibabacloud/ecd/model/CopyCdsFileRequest.h + include/alibabacloud/ecd/model/CopyCdsFileResult.h include/alibabacloud/ecd/model/CopyImageRequest.h include/alibabacloud/ecd/model/CopyImageResult.h include/alibabacloud/ecd/model/CreateADConnectorDirectoryRequest.h @@ -53,16 +69,20 @@ set(ecd_public_header_model include/alibabacloud/ecd/model/CreateADConnectorOfficeSiteResult.h include/alibabacloud/ecd/model/CreateAndBindNasFileSystemRequest.h include/alibabacloud/ecd/model/CreateAndBindNasFileSystemResult.h + include/alibabacloud/ecd/model/CreateAutoSnapshotPolicyRequest.h + include/alibabacloud/ecd/model/CreateAutoSnapshotPolicyResult.h include/alibabacloud/ecd/model/CreateBundleRequest.h include/alibabacloud/ecd/model/CreateBundleResult.h + include/alibabacloud/ecd/model/CreateCdsFileRequest.h + include/alibabacloud/ecd/model/CreateCdsFileResult.h + include/alibabacloud/ecd/model/CreateCdsFileShareLinkRequest.h + include/alibabacloud/ecd/model/CreateCdsFileShareLinkResult.h include/alibabacloud/ecd/model/CreateDesktopGroupRequest.h include/alibabacloud/ecd/model/CreateDesktopGroupResult.h include/alibabacloud/ecd/model/CreateDesktopsRequest.h include/alibabacloud/ecd/model/CreateDesktopsResult.h include/alibabacloud/ecd/model/CreateDiskEncryptionServiceRequest.h include/alibabacloud/ecd/model/CreateDiskEncryptionServiceResult.h - include/alibabacloud/ecd/model/CreateDriveRequest.h - include/alibabacloud/ecd/model/CreateDriveResult.h include/alibabacloud/ecd/model/CreateImageRequest.h include/alibabacloud/ecd/model/CreateImageResult.h include/alibabacloud/ecd/model/CreateNASFileSystemRequest.h @@ -77,18 +97,24 @@ set(ecd_public_header_model include/alibabacloud/ecd/model/CreateSimpleOfficeSiteResult.h include/alibabacloud/ecd/model/CreateSnapshotRequest.h include/alibabacloud/ecd/model/CreateSnapshotResult.h + include/alibabacloud/ecd/model/DeleteAutoSnapshotPolicyRequest.h + include/alibabacloud/ecd/model/DeleteAutoSnapshotPolicyResult.h include/alibabacloud/ecd/model/DeleteBundlesRequest.h include/alibabacloud/ecd/model/DeleteBundlesResult.h + include/alibabacloud/ecd/model/DeleteCdsFileRequest.h + include/alibabacloud/ecd/model/DeleteCdsFileResult.h + include/alibabacloud/ecd/model/DeleteCloudDriveGroupsRequest.h + include/alibabacloud/ecd/model/DeleteCloudDriveGroupsResult.h include/alibabacloud/ecd/model/DeleteCloudDriveUsersRequest.h include/alibabacloud/ecd/model/DeleteCloudDriveUsersResult.h include/alibabacloud/ecd/model/DeleteDesktopGroupRequest.h include/alibabacloud/ecd/model/DeleteDesktopGroupResult.h include/alibabacloud/ecd/model/DeleteDesktopsRequest.h include/alibabacloud/ecd/model/DeleteDesktopsResult.h + include/alibabacloud/ecd/model/DeleteDevicesRequest.h + include/alibabacloud/ecd/model/DeleteDevicesResult.h include/alibabacloud/ecd/model/DeleteDirectoriesRequest.h include/alibabacloud/ecd/model/DeleteDirectoriesResult.h - include/alibabacloud/ecd/model/DeleteDriveRequest.h - include/alibabacloud/ecd/model/DeleteDriveResult.h include/alibabacloud/ecd/model/DeleteImagesRequest.h include/alibabacloud/ecd/model/DeleteImagesResult.h include/alibabacloud/ecd/model/DeleteNASFileSystemsRequest.h @@ -105,12 +131,18 @@ set(ecd_public_header_model include/alibabacloud/ecd/model/DeleteVirtualMFADeviceResult.h include/alibabacloud/ecd/model/DescribeAlarmEventStackInfoRequest.h include/alibabacloud/ecd/model/DescribeAlarmEventStackInfoResult.h + include/alibabacloud/ecd/model/DescribeAutoSnapshotPolicyRequest.h + include/alibabacloud/ecd/model/DescribeAutoSnapshotPolicyResult.h include/alibabacloud/ecd/model/DescribeBundlesRequest.h include/alibabacloud/ecd/model/DescribeBundlesResult.h + include/alibabacloud/ecd/model/DescribeCdsFileShareLinksRequest.h + include/alibabacloud/ecd/model/DescribeCdsFileShareLinksResult.h include/alibabacloud/ecd/model/DescribeCensRequest.h include/alibabacloud/ecd/model/DescribeCensResult.h include/alibabacloud/ecd/model/DescribeClientEventsRequest.h include/alibabacloud/ecd/model/DescribeClientEventsResult.h + include/alibabacloud/ecd/model/DescribeCloudDriveGroupsRequest.h + include/alibabacloud/ecd/model/DescribeCloudDriveGroupsResult.h include/alibabacloud/ecd/model/DescribeCloudDrivePermissionsRequest.h include/alibabacloud/ecd/model/DescribeCloudDrivePermissionsResult.h include/alibabacloud/ecd/model/DescribeCustomizedListHeadersRequest.h @@ -125,10 +157,10 @@ set(ecd_public_header_model include/alibabacloud/ecd/model/DescribeDesktopsResult.h include/alibabacloud/ecd/model/DescribeDesktopsInGroupRequest.h include/alibabacloud/ecd/model/DescribeDesktopsInGroupResult.h + include/alibabacloud/ecd/model/DescribeDevicesRequest.h + include/alibabacloud/ecd/model/DescribeDevicesResult.h include/alibabacloud/ecd/model/DescribeDirectoriesRequest.h include/alibabacloud/ecd/model/DescribeDirectoriesResult.h - include/alibabacloud/ecd/model/DescribeDrivesRequest.h - include/alibabacloud/ecd/model/DescribeDrivesResult.h include/alibabacloud/ecd/model/DescribeFlowMetricRequest.h include/alibabacloud/ecd/model/DescribeFlowMetricResult.h include/alibabacloud/ecd/model/DescribeFlowStatisticRequest.h @@ -177,6 +209,8 @@ set(ecd_public_header_model include/alibabacloud/ecd/model/DescribeSuspEventsResult.h include/alibabacloud/ecd/model/DescribeUserConnectionRecordsRequest.h include/alibabacloud/ecd/model/DescribeUserConnectionRecordsResult.h + include/alibabacloud/ecd/model/DescribeUserProfilePathRulesRequest.h + include/alibabacloud/ecd/model/DescribeUserProfilePathRulesResult.h include/alibabacloud/ecd/model/DescribeUsersInGroupRequest.h include/alibabacloud/ecd/model/DescribeUsersInGroupResult.h include/alibabacloud/ecd/model/DescribeUsersPasswordRequest.h @@ -193,6 +227,8 @@ set(ecd_public_header_model include/alibabacloud/ecd/model/DescribeZonesResult.h include/alibabacloud/ecd/model/DetachCenRequest.h include/alibabacloud/ecd/model/DetachCenResult.h + include/alibabacloud/ecd/model/DetachEndUserRequest.h + include/alibabacloud/ecd/model/DetachEndUserResult.h include/alibabacloud/ecd/model/DisableDesktopsInGroupRequest.h include/alibabacloud/ecd/model/DisableDesktopsInGroupResult.h include/alibabacloud/ecd/model/DissociateNetworkPackageRequest.h @@ -213,8 +249,14 @@ set(ecd_public_header_model include/alibabacloud/ecd/model/GetSpMetadataResult.h include/alibabacloud/ecd/model/HandleSecurityEventsRequest.h include/alibabacloud/ecd/model/HandleSecurityEventsResult.h + include/alibabacloud/ecd/model/HibernateDesktopsRequest.h + include/alibabacloud/ecd/model/HibernateDesktopsResult.h + include/alibabacloud/ecd/model/ListCdsFilesRequest.h + include/alibabacloud/ecd/model/ListCdsFilesResult.h include/alibabacloud/ecd/model/ListDirectoryUsersRequest.h include/alibabacloud/ecd/model/ListDirectoryUsersResult.h + include/alibabacloud/ecd/model/ListFilePermissionRequest.h + include/alibabacloud/ecd/model/ListFilePermissionResult.h include/alibabacloud/ecd/model/ListOfficeSiteOverviewRequest.h include/alibabacloud/ecd/model/ListOfficeSiteOverviewResult.h include/alibabacloud/ecd/model/ListOfficeSiteUsersRequest.h @@ -225,12 +267,22 @@ set(ecd_public_header_model include/alibabacloud/ecd/model/ListUserAdOrganizationUnitsResult.h include/alibabacloud/ecd/model/LockVirtualMFADeviceRequest.h include/alibabacloud/ecd/model/LockVirtualMFADeviceResult.h + include/alibabacloud/ecd/model/MigrateDesktopsRequest.h + include/alibabacloud/ecd/model/MigrateDesktopsResult.h include/alibabacloud/ecd/model/ModifyADConnectorDirectoryRequest.h include/alibabacloud/ecd/model/ModifyADConnectorDirectoryResult.h include/alibabacloud/ecd/model/ModifyADConnectorOfficeSiteRequest.h include/alibabacloud/ecd/model/ModifyADConnectorOfficeSiteResult.h + include/alibabacloud/ecd/model/ModifyAutoSnapshotPolicyRequest.h + include/alibabacloud/ecd/model/ModifyAutoSnapshotPolicyResult.h include/alibabacloud/ecd/model/ModifyBundleRequest.h include/alibabacloud/ecd/model/ModifyBundleResult.h + include/alibabacloud/ecd/model/ModifyCdsFileRequest.h + include/alibabacloud/ecd/model/ModifyCdsFileResult.h + include/alibabacloud/ecd/model/ModifyCdsFileShareLinkRequest.h + include/alibabacloud/ecd/model/ModifyCdsFileShareLinkResult.h + include/alibabacloud/ecd/model/ModifyCloudDriveGroupsRequest.h + include/alibabacloud/ecd/model/ModifyCloudDriveGroupsResult.h include/alibabacloud/ecd/model/ModifyCloudDrivePermissionRequest.h include/alibabacloud/ecd/model/ModifyCloudDrivePermissionResult.h include/alibabacloud/ecd/model/ModifyCustomizedListHeadersRequest.h @@ -275,12 +327,16 @@ set(ecd_public_header_model include/alibabacloud/ecd/model/ModifyUserEntitlementResult.h include/alibabacloud/ecd/model/ModifyUserToDesktopGroupRequest.h include/alibabacloud/ecd/model/ModifyUserToDesktopGroupResult.h + include/alibabacloud/ecd/model/MoveCdsFileRequest.h + include/alibabacloud/ecd/model/MoveCdsFileResult.h include/alibabacloud/ecd/model/OperateVulsRequest.h include/alibabacloud/ecd/model/OperateVulsResult.h include/alibabacloud/ecd/model/RebootDesktopsRequest.h include/alibabacloud/ecd/model/RebootDesktopsResult.h include/alibabacloud/ecd/model/RebuildDesktopsRequest.h include/alibabacloud/ecd/model/RebuildDesktopsResult.h + include/alibabacloud/ecd/model/RemoveFilePermissionRequest.h + include/alibabacloud/ecd/model/RemoveFilePermissionResult.h include/alibabacloud/ecd/model/RemoveUserFromDesktopGroupRequest.h include/alibabacloud/ecd/model/RemoveUserFromDesktopGroupResult.h include/alibabacloud/ecd/model/RenewDesktopsRequest.h @@ -301,14 +357,20 @@ set(ecd_public_header_model include/alibabacloud/ecd/model/RunCommandResult.h include/alibabacloud/ecd/model/SendVerifyCodeRequest.h include/alibabacloud/ecd/model/SendVerifyCodeResult.h + include/alibabacloud/ecd/model/SetDesktopGroupScaleTimerRequest.h + include/alibabacloud/ecd/model/SetDesktopGroupScaleTimerResult.h include/alibabacloud/ecd/model/SetDesktopGroupTimerRequest.h include/alibabacloud/ecd/model/SetDesktopGroupTimerResult.h include/alibabacloud/ecd/model/SetDesktopGroupTimerStatusRequest.h include/alibabacloud/ecd/model/SetDesktopGroupTimerStatusResult.h + include/alibabacloud/ecd/model/SetDirectorySsoStatusRequest.h + include/alibabacloud/ecd/model/SetDirectorySsoStatusResult.h include/alibabacloud/ecd/model/SetIdpMetadataRequest.h include/alibabacloud/ecd/model/SetIdpMetadataResult.h include/alibabacloud/ecd/model/SetOfficeSiteSsoStatusRequest.h include/alibabacloud/ecd/model/SetOfficeSiteSsoStatusResult.h + include/alibabacloud/ecd/model/SetUserProfilePathRulesRequest.h + include/alibabacloud/ecd/model/SetUserProfilePathRulesResult.h include/alibabacloud/ecd/model/StartDesktopsRequest.h include/alibabacloud/ecd/model/StartDesktopsResult.h include/alibabacloud/ecd/model/StartVirusScanTaskRequest.h @@ -328,14 +390,22 @@ set(ecd_public_header_model include/alibabacloud/ecd/model/UploadImageRequest.h include/alibabacloud/ecd/model/UploadImageResult.h include/alibabacloud/ecd/model/VerifyCenRequest.h - include/alibabacloud/ecd/model/VerifyCenResult.h ) + include/alibabacloud/ecd/model/VerifyCenResult.h + include/alibabacloud/ecd/model/WakeupDesktopsRequest.h + include/alibabacloud/ecd/model/WakeupDesktopsResult.h ) set(ecd_src src/EcdClient.cc src/model/ActivateOfficeSiteRequest.cc src/model/ActivateOfficeSiteResult.cc + src/model/AddDevicesRequest.cc + src/model/AddDevicesResult.cc + src/model/AddFilePermissionRequest.cc + src/model/AddFilePermissionResult.cc src/model/AddUserToDesktopGroupRequest.cc src/model/AddUserToDesktopGroupResult.cc + src/model/ApplyAutoSnapshotPolicyRequest.cc + src/model/ApplyAutoSnapshotPolicyResult.cc src/model/ApplyCoordinatePrivilegeRequest.cc src/model/ApplyCoordinatePrivilegeResult.cc src/model/ApplyCoordinationForMonitoringRequest.cc @@ -346,16 +416,26 @@ set(ecd_src src/model/AssociateNetworkPackageResult.cc src/model/AttachCenRequest.cc src/model/AttachCenResult.cc + src/model/AttachEndUserRequest.cc + src/model/AttachEndUserResult.cc + src/model/CancelAutoSnapshotPolicyRequest.cc + src/model/CancelAutoSnapshotPolicyResult.cc + src/model/CancelCdsFileShareLinkRequest.cc + src/model/CancelCdsFileShareLinkResult.cc src/model/CancelCoordinationForMonitoringRequest.cc src/model/CancelCoordinationForMonitoringResult.cc src/model/CancelCopyImageRequest.cc src/model/CancelCopyImageResult.cc src/model/ClonePolicyGroupRequest.cc src/model/ClonePolicyGroupResult.cc + src/model/CompleteCdsFileRequest.cc + src/model/CompleteCdsFileResult.cc src/model/ConfigADConnectorTrustRequest.cc src/model/ConfigADConnectorTrustResult.cc src/model/ConfigADConnectorUserRequest.cc src/model/ConfigADConnectorUserResult.cc + src/model/CopyCdsFileRequest.cc + src/model/CopyCdsFileResult.cc src/model/CopyImageRequest.cc src/model/CopyImageResult.cc src/model/CreateADConnectorDirectoryRequest.cc @@ -364,16 +444,20 @@ set(ecd_src src/model/CreateADConnectorOfficeSiteResult.cc src/model/CreateAndBindNasFileSystemRequest.cc src/model/CreateAndBindNasFileSystemResult.cc + src/model/CreateAutoSnapshotPolicyRequest.cc + src/model/CreateAutoSnapshotPolicyResult.cc src/model/CreateBundleRequest.cc src/model/CreateBundleResult.cc + src/model/CreateCdsFileRequest.cc + src/model/CreateCdsFileResult.cc + src/model/CreateCdsFileShareLinkRequest.cc + src/model/CreateCdsFileShareLinkResult.cc src/model/CreateDesktopGroupRequest.cc src/model/CreateDesktopGroupResult.cc src/model/CreateDesktopsRequest.cc src/model/CreateDesktopsResult.cc src/model/CreateDiskEncryptionServiceRequest.cc src/model/CreateDiskEncryptionServiceResult.cc - src/model/CreateDriveRequest.cc - src/model/CreateDriveResult.cc src/model/CreateImageRequest.cc src/model/CreateImageResult.cc src/model/CreateNASFileSystemRequest.cc @@ -388,18 +472,24 @@ set(ecd_src src/model/CreateSimpleOfficeSiteResult.cc src/model/CreateSnapshotRequest.cc src/model/CreateSnapshotResult.cc + src/model/DeleteAutoSnapshotPolicyRequest.cc + src/model/DeleteAutoSnapshotPolicyResult.cc src/model/DeleteBundlesRequest.cc src/model/DeleteBundlesResult.cc + src/model/DeleteCdsFileRequest.cc + src/model/DeleteCdsFileResult.cc + src/model/DeleteCloudDriveGroupsRequest.cc + src/model/DeleteCloudDriveGroupsResult.cc src/model/DeleteCloudDriveUsersRequest.cc src/model/DeleteCloudDriveUsersResult.cc src/model/DeleteDesktopGroupRequest.cc src/model/DeleteDesktopGroupResult.cc src/model/DeleteDesktopsRequest.cc src/model/DeleteDesktopsResult.cc + src/model/DeleteDevicesRequest.cc + src/model/DeleteDevicesResult.cc src/model/DeleteDirectoriesRequest.cc src/model/DeleteDirectoriesResult.cc - src/model/DeleteDriveRequest.cc - src/model/DeleteDriveResult.cc src/model/DeleteImagesRequest.cc src/model/DeleteImagesResult.cc src/model/DeleteNASFileSystemsRequest.cc @@ -416,12 +506,18 @@ set(ecd_src src/model/DeleteVirtualMFADeviceResult.cc src/model/DescribeAlarmEventStackInfoRequest.cc src/model/DescribeAlarmEventStackInfoResult.cc + src/model/DescribeAutoSnapshotPolicyRequest.cc + src/model/DescribeAutoSnapshotPolicyResult.cc src/model/DescribeBundlesRequest.cc src/model/DescribeBundlesResult.cc + src/model/DescribeCdsFileShareLinksRequest.cc + src/model/DescribeCdsFileShareLinksResult.cc src/model/DescribeCensRequest.cc src/model/DescribeCensResult.cc src/model/DescribeClientEventsRequest.cc src/model/DescribeClientEventsResult.cc + src/model/DescribeCloudDriveGroupsRequest.cc + src/model/DescribeCloudDriveGroupsResult.cc src/model/DescribeCloudDrivePermissionsRequest.cc src/model/DescribeCloudDrivePermissionsResult.cc src/model/DescribeCustomizedListHeadersRequest.cc @@ -436,10 +532,10 @@ set(ecd_src src/model/DescribeDesktopsResult.cc src/model/DescribeDesktopsInGroupRequest.cc src/model/DescribeDesktopsInGroupResult.cc + src/model/DescribeDevicesRequest.cc + src/model/DescribeDevicesResult.cc src/model/DescribeDirectoriesRequest.cc src/model/DescribeDirectoriesResult.cc - src/model/DescribeDrivesRequest.cc - src/model/DescribeDrivesResult.cc src/model/DescribeFlowMetricRequest.cc src/model/DescribeFlowMetricResult.cc src/model/DescribeFlowStatisticRequest.cc @@ -488,6 +584,8 @@ set(ecd_src src/model/DescribeSuspEventsResult.cc src/model/DescribeUserConnectionRecordsRequest.cc src/model/DescribeUserConnectionRecordsResult.cc + src/model/DescribeUserProfilePathRulesRequest.cc + src/model/DescribeUserProfilePathRulesResult.cc src/model/DescribeUsersInGroupRequest.cc src/model/DescribeUsersInGroupResult.cc src/model/DescribeUsersPasswordRequest.cc @@ -504,6 +602,8 @@ set(ecd_src src/model/DescribeZonesResult.cc src/model/DetachCenRequest.cc src/model/DetachCenResult.cc + src/model/DetachEndUserRequest.cc + src/model/DetachEndUserResult.cc src/model/DisableDesktopsInGroupRequest.cc src/model/DisableDesktopsInGroupResult.cc src/model/DissociateNetworkPackageRequest.cc @@ -524,8 +624,14 @@ set(ecd_src src/model/GetSpMetadataResult.cc src/model/HandleSecurityEventsRequest.cc src/model/HandleSecurityEventsResult.cc + src/model/HibernateDesktopsRequest.cc + src/model/HibernateDesktopsResult.cc + src/model/ListCdsFilesRequest.cc + src/model/ListCdsFilesResult.cc src/model/ListDirectoryUsersRequest.cc src/model/ListDirectoryUsersResult.cc + src/model/ListFilePermissionRequest.cc + src/model/ListFilePermissionResult.cc src/model/ListOfficeSiteOverviewRequest.cc src/model/ListOfficeSiteOverviewResult.cc src/model/ListOfficeSiteUsersRequest.cc @@ -536,12 +642,22 @@ set(ecd_src src/model/ListUserAdOrganizationUnitsResult.cc src/model/LockVirtualMFADeviceRequest.cc src/model/LockVirtualMFADeviceResult.cc + src/model/MigrateDesktopsRequest.cc + src/model/MigrateDesktopsResult.cc src/model/ModifyADConnectorDirectoryRequest.cc src/model/ModifyADConnectorDirectoryResult.cc src/model/ModifyADConnectorOfficeSiteRequest.cc src/model/ModifyADConnectorOfficeSiteResult.cc + src/model/ModifyAutoSnapshotPolicyRequest.cc + src/model/ModifyAutoSnapshotPolicyResult.cc src/model/ModifyBundleRequest.cc src/model/ModifyBundleResult.cc + src/model/ModifyCdsFileRequest.cc + src/model/ModifyCdsFileResult.cc + src/model/ModifyCdsFileShareLinkRequest.cc + src/model/ModifyCdsFileShareLinkResult.cc + src/model/ModifyCloudDriveGroupsRequest.cc + src/model/ModifyCloudDriveGroupsResult.cc src/model/ModifyCloudDrivePermissionRequest.cc src/model/ModifyCloudDrivePermissionResult.cc src/model/ModifyCustomizedListHeadersRequest.cc @@ -586,12 +702,16 @@ set(ecd_src src/model/ModifyUserEntitlementResult.cc src/model/ModifyUserToDesktopGroupRequest.cc src/model/ModifyUserToDesktopGroupResult.cc + src/model/MoveCdsFileRequest.cc + src/model/MoveCdsFileResult.cc src/model/OperateVulsRequest.cc src/model/OperateVulsResult.cc src/model/RebootDesktopsRequest.cc src/model/RebootDesktopsResult.cc src/model/RebuildDesktopsRequest.cc src/model/RebuildDesktopsResult.cc + src/model/RemoveFilePermissionRequest.cc + src/model/RemoveFilePermissionResult.cc src/model/RemoveUserFromDesktopGroupRequest.cc src/model/RemoveUserFromDesktopGroupResult.cc src/model/RenewDesktopsRequest.cc @@ -612,14 +732,20 @@ set(ecd_src src/model/RunCommandResult.cc src/model/SendVerifyCodeRequest.cc src/model/SendVerifyCodeResult.cc + src/model/SetDesktopGroupScaleTimerRequest.cc + src/model/SetDesktopGroupScaleTimerResult.cc src/model/SetDesktopGroupTimerRequest.cc src/model/SetDesktopGroupTimerResult.cc src/model/SetDesktopGroupTimerStatusRequest.cc src/model/SetDesktopGroupTimerStatusResult.cc + src/model/SetDirectorySsoStatusRequest.cc + src/model/SetDirectorySsoStatusResult.cc src/model/SetIdpMetadataRequest.cc src/model/SetIdpMetadataResult.cc src/model/SetOfficeSiteSsoStatusRequest.cc src/model/SetOfficeSiteSsoStatusResult.cc + src/model/SetUserProfilePathRulesRequest.cc + src/model/SetUserProfilePathRulesResult.cc src/model/StartDesktopsRequest.cc src/model/StartDesktopsResult.cc src/model/StartVirusScanTaskRequest.cc @@ -639,7 +765,9 @@ set(ecd_src src/model/UploadImageRequest.cc src/model/UploadImageResult.cc src/model/VerifyCenRequest.cc - src/model/VerifyCenResult.cc ) + src/model/VerifyCenResult.cc + src/model/WakeupDesktopsRequest.cc + src/model/WakeupDesktopsResult.cc ) add_library(ecd ${LIB_TYPE} ${ecd_public_header} diff --git a/ecd/include/alibabacloud/ecd/EcdClient.h b/ecd/include/alibabacloud/ecd/EcdClient.h index 10b7950e6..8034b30f2 100644 --- a/ecd/include/alibabacloud/ecd/EcdClient.h +++ b/ecd/include/alibabacloud/ecd/EcdClient.h @@ -24,8 +24,14 @@ #include "EcdExport.h" #include "model/ActivateOfficeSiteRequest.h" #include "model/ActivateOfficeSiteResult.h" +#include "model/AddDevicesRequest.h" +#include "model/AddDevicesResult.h" +#include "model/AddFilePermissionRequest.h" +#include "model/AddFilePermissionResult.h" #include "model/AddUserToDesktopGroupRequest.h" #include "model/AddUserToDesktopGroupResult.h" +#include "model/ApplyAutoSnapshotPolicyRequest.h" +#include "model/ApplyAutoSnapshotPolicyResult.h" #include "model/ApplyCoordinatePrivilegeRequest.h" #include "model/ApplyCoordinatePrivilegeResult.h" #include "model/ApplyCoordinationForMonitoringRequest.h" @@ -36,16 +42,26 @@ #include "model/AssociateNetworkPackageResult.h" #include "model/AttachCenRequest.h" #include "model/AttachCenResult.h" +#include "model/AttachEndUserRequest.h" +#include "model/AttachEndUserResult.h" +#include "model/CancelAutoSnapshotPolicyRequest.h" +#include "model/CancelAutoSnapshotPolicyResult.h" +#include "model/CancelCdsFileShareLinkRequest.h" +#include "model/CancelCdsFileShareLinkResult.h" #include "model/CancelCoordinationForMonitoringRequest.h" #include "model/CancelCoordinationForMonitoringResult.h" #include "model/CancelCopyImageRequest.h" #include "model/CancelCopyImageResult.h" #include "model/ClonePolicyGroupRequest.h" #include "model/ClonePolicyGroupResult.h" +#include "model/CompleteCdsFileRequest.h" +#include "model/CompleteCdsFileResult.h" #include "model/ConfigADConnectorTrustRequest.h" #include "model/ConfigADConnectorTrustResult.h" #include "model/ConfigADConnectorUserRequest.h" #include "model/ConfigADConnectorUserResult.h" +#include "model/CopyCdsFileRequest.h" +#include "model/CopyCdsFileResult.h" #include "model/CopyImageRequest.h" #include "model/CopyImageResult.h" #include "model/CreateADConnectorDirectoryRequest.h" @@ -54,16 +70,20 @@ #include "model/CreateADConnectorOfficeSiteResult.h" #include "model/CreateAndBindNasFileSystemRequest.h" #include "model/CreateAndBindNasFileSystemResult.h" +#include "model/CreateAutoSnapshotPolicyRequest.h" +#include "model/CreateAutoSnapshotPolicyResult.h" #include "model/CreateBundleRequest.h" #include "model/CreateBundleResult.h" +#include "model/CreateCdsFileRequest.h" +#include "model/CreateCdsFileResult.h" +#include "model/CreateCdsFileShareLinkRequest.h" +#include "model/CreateCdsFileShareLinkResult.h" #include "model/CreateDesktopGroupRequest.h" #include "model/CreateDesktopGroupResult.h" #include "model/CreateDesktopsRequest.h" #include "model/CreateDesktopsResult.h" #include "model/CreateDiskEncryptionServiceRequest.h" #include "model/CreateDiskEncryptionServiceResult.h" -#include "model/CreateDriveRequest.h" -#include "model/CreateDriveResult.h" #include "model/CreateImageRequest.h" #include "model/CreateImageResult.h" #include "model/CreateNASFileSystemRequest.h" @@ -78,18 +98,24 @@ #include "model/CreateSimpleOfficeSiteResult.h" #include "model/CreateSnapshotRequest.h" #include "model/CreateSnapshotResult.h" +#include "model/DeleteAutoSnapshotPolicyRequest.h" +#include "model/DeleteAutoSnapshotPolicyResult.h" #include "model/DeleteBundlesRequest.h" #include "model/DeleteBundlesResult.h" +#include "model/DeleteCdsFileRequest.h" +#include "model/DeleteCdsFileResult.h" +#include "model/DeleteCloudDriveGroupsRequest.h" +#include "model/DeleteCloudDriveGroupsResult.h" #include "model/DeleteCloudDriveUsersRequest.h" #include "model/DeleteCloudDriveUsersResult.h" #include "model/DeleteDesktopGroupRequest.h" #include "model/DeleteDesktopGroupResult.h" #include "model/DeleteDesktopsRequest.h" #include "model/DeleteDesktopsResult.h" +#include "model/DeleteDevicesRequest.h" +#include "model/DeleteDevicesResult.h" #include "model/DeleteDirectoriesRequest.h" #include "model/DeleteDirectoriesResult.h" -#include "model/DeleteDriveRequest.h" -#include "model/DeleteDriveResult.h" #include "model/DeleteImagesRequest.h" #include "model/DeleteImagesResult.h" #include "model/DeleteNASFileSystemsRequest.h" @@ -106,12 +132,18 @@ #include "model/DeleteVirtualMFADeviceResult.h" #include "model/DescribeAlarmEventStackInfoRequest.h" #include "model/DescribeAlarmEventStackInfoResult.h" +#include "model/DescribeAutoSnapshotPolicyRequest.h" +#include "model/DescribeAutoSnapshotPolicyResult.h" #include "model/DescribeBundlesRequest.h" #include "model/DescribeBundlesResult.h" +#include "model/DescribeCdsFileShareLinksRequest.h" +#include "model/DescribeCdsFileShareLinksResult.h" #include "model/DescribeCensRequest.h" #include "model/DescribeCensResult.h" #include "model/DescribeClientEventsRequest.h" #include "model/DescribeClientEventsResult.h" +#include "model/DescribeCloudDriveGroupsRequest.h" +#include "model/DescribeCloudDriveGroupsResult.h" #include "model/DescribeCloudDrivePermissionsRequest.h" #include "model/DescribeCloudDrivePermissionsResult.h" #include "model/DescribeCustomizedListHeadersRequest.h" @@ -126,10 +158,10 @@ #include "model/DescribeDesktopsResult.h" #include "model/DescribeDesktopsInGroupRequest.h" #include "model/DescribeDesktopsInGroupResult.h" +#include "model/DescribeDevicesRequest.h" +#include "model/DescribeDevicesResult.h" #include "model/DescribeDirectoriesRequest.h" #include "model/DescribeDirectoriesResult.h" -#include "model/DescribeDrivesRequest.h" -#include "model/DescribeDrivesResult.h" #include "model/DescribeFlowMetricRequest.h" #include "model/DescribeFlowMetricResult.h" #include "model/DescribeFlowStatisticRequest.h" @@ -178,6 +210,8 @@ #include "model/DescribeSuspEventsResult.h" #include "model/DescribeUserConnectionRecordsRequest.h" #include "model/DescribeUserConnectionRecordsResult.h" +#include "model/DescribeUserProfilePathRulesRequest.h" +#include "model/DescribeUserProfilePathRulesResult.h" #include "model/DescribeUsersInGroupRequest.h" #include "model/DescribeUsersInGroupResult.h" #include "model/DescribeUsersPasswordRequest.h" @@ -194,6 +228,8 @@ #include "model/DescribeZonesResult.h" #include "model/DetachCenRequest.h" #include "model/DetachCenResult.h" +#include "model/DetachEndUserRequest.h" +#include "model/DetachEndUserResult.h" #include "model/DisableDesktopsInGroupRequest.h" #include "model/DisableDesktopsInGroupResult.h" #include "model/DissociateNetworkPackageRequest.h" @@ -214,8 +250,14 @@ #include "model/GetSpMetadataResult.h" #include "model/HandleSecurityEventsRequest.h" #include "model/HandleSecurityEventsResult.h" +#include "model/HibernateDesktopsRequest.h" +#include "model/HibernateDesktopsResult.h" +#include "model/ListCdsFilesRequest.h" +#include "model/ListCdsFilesResult.h" #include "model/ListDirectoryUsersRequest.h" #include "model/ListDirectoryUsersResult.h" +#include "model/ListFilePermissionRequest.h" +#include "model/ListFilePermissionResult.h" #include "model/ListOfficeSiteOverviewRequest.h" #include "model/ListOfficeSiteOverviewResult.h" #include "model/ListOfficeSiteUsersRequest.h" @@ -226,12 +268,22 @@ #include "model/ListUserAdOrganizationUnitsResult.h" #include "model/LockVirtualMFADeviceRequest.h" #include "model/LockVirtualMFADeviceResult.h" +#include "model/MigrateDesktopsRequest.h" +#include "model/MigrateDesktopsResult.h" #include "model/ModifyADConnectorDirectoryRequest.h" #include "model/ModifyADConnectorDirectoryResult.h" #include "model/ModifyADConnectorOfficeSiteRequest.h" #include "model/ModifyADConnectorOfficeSiteResult.h" +#include "model/ModifyAutoSnapshotPolicyRequest.h" +#include "model/ModifyAutoSnapshotPolicyResult.h" #include "model/ModifyBundleRequest.h" #include "model/ModifyBundleResult.h" +#include "model/ModifyCdsFileRequest.h" +#include "model/ModifyCdsFileResult.h" +#include "model/ModifyCdsFileShareLinkRequest.h" +#include "model/ModifyCdsFileShareLinkResult.h" +#include "model/ModifyCloudDriveGroupsRequest.h" +#include "model/ModifyCloudDriveGroupsResult.h" #include "model/ModifyCloudDrivePermissionRequest.h" #include "model/ModifyCloudDrivePermissionResult.h" #include "model/ModifyCustomizedListHeadersRequest.h" @@ -276,12 +328,16 @@ #include "model/ModifyUserEntitlementResult.h" #include "model/ModifyUserToDesktopGroupRequest.h" #include "model/ModifyUserToDesktopGroupResult.h" +#include "model/MoveCdsFileRequest.h" +#include "model/MoveCdsFileResult.h" #include "model/OperateVulsRequest.h" #include "model/OperateVulsResult.h" #include "model/RebootDesktopsRequest.h" #include "model/RebootDesktopsResult.h" #include "model/RebuildDesktopsRequest.h" #include "model/RebuildDesktopsResult.h" +#include "model/RemoveFilePermissionRequest.h" +#include "model/RemoveFilePermissionResult.h" #include "model/RemoveUserFromDesktopGroupRequest.h" #include "model/RemoveUserFromDesktopGroupResult.h" #include "model/RenewDesktopsRequest.h" @@ -302,14 +358,20 @@ #include "model/RunCommandResult.h" #include "model/SendVerifyCodeRequest.h" #include "model/SendVerifyCodeResult.h" +#include "model/SetDesktopGroupScaleTimerRequest.h" +#include "model/SetDesktopGroupScaleTimerResult.h" #include "model/SetDesktopGroupTimerRequest.h" #include "model/SetDesktopGroupTimerResult.h" #include "model/SetDesktopGroupTimerStatusRequest.h" #include "model/SetDesktopGroupTimerStatusResult.h" +#include "model/SetDirectorySsoStatusRequest.h" +#include "model/SetDirectorySsoStatusResult.h" #include "model/SetIdpMetadataRequest.h" #include "model/SetIdpMetadataResult.h" #include "model/SetOfficeSiteSsoStatusRequest.h" #include "model/SetOfficeSiteSsoStatusResult.h" +#include "model/SetUserProfilePathRulesRequest.h" +#include "model/SetUserProfilePathRulesResult.h" #include "model/StartDesktopsRequest.h" #include "model/StartDesktopsResult.h" #include "model/StartVirusScanTaskRequest.h" @@ -330,6 +392,8 @@ #include "model/UploadImageResult.h" #include "model/VerifyCenRequest.h" #include "model/VerifyCenResult.h" +#include "model/WakeupDesktopsRequest.h" +#include "model/WakeupDesktopsResult.h" namespace AlibabaCloud @@ -342,9 +406,18 @@ namespace AlibabaCloud typedef Outcome ActivateOfficeSiteOutcome; typedef std::future ActivateOfficeSiteOutcomeCallable; typedef std::function&)> ActivateOfficeSiteAsyncHandler; + typedef Outcome AddDevicesOutcome; + typedef std::future AddDevicesOutcomeCallable; + typedef std::function&)> AddDevicesAsyncHandler; + typedef Outcome AddFilePermissionOutcome; + typedef std::future AddFilePermissionOutcomeCallable; + typedef std::function&)> AddFilePermissionAsyncHandler; typedef Outcome AddUserToDesktopGroupOutcome; typedef std::future AddUserToDesktopGroupOutcomeCallable; typedef std::function&)> AddUserToDesktopGroupAsyncHandler; + typedef Outcome ApplyAutoSnapshotPolicyOutcome; + typedef std::future ApplyAutoSnapshotPolicyOutcomeCallable; + typedef std::function&)> ApplyAutoSnapshotPolicyAsyncHandler; typedef Outcome ApplyCoordinatePrivilegeOutcome; typedef std::future ApplyCoordinatePrivilegeOutcomeCallable; typedef std::function&)> ApplyCoordinatePrivilegeAsyncHandler; @@ -360,6 +433,15 @@ namespace AlibabaCloud typedef Outcome AttachCenOutcome; typedef std::future AttachCenOutcomeCallable; typedef std::function&)> AttachCenAsyncHandler; + typedef Outcome AttachEndUserOutcome; + typedef std::future AttachEndUserOutcomeCallable; + typedef std::function&)> AttachEndUserAsyncHandler; + typedef Outcome CancelAutoSnapshotPolicyOutcome; + typedef std::future CancelAutoSnapshotPolicyOutcomeCallable; + typedef std::function&)> CancelAutoSnapshotPolicyAsyncHandler; + typedef Outcome CancelCdsFileShareLinkOutcome; + typedef std::future CancelCdsFileShareLinkOutcomeCallable; + typedef std::function&)> CancelCdsFileShareLinkAsyncHandler; typedef Outcome CancelCoordinationForMonitoringOutcome; typedef std::future CancelCoordinationForMonitoringOutcomeCallable; typedef std::function&)> CancelCoordinationForMonitoringAsyncHandler; @@ -369,12 +451,18 @@ namespace AlibabaCloud typedef Outcome ClonePolicyGroupOutcome; typedef std::future ClonePolicyGroupOutcomeCallable; typedef std::function&)> ClonePolicyGroupAsyncHandler; + typedef Outcome CompleteCdsFileOutcome; + typedef std::future CompleteCdsFileOutcomeCallable; + typedef std::function&)> CompleteCdsFileAsyncHandler; typedef Outcome ConfigADConnectorTrustOutcome; typedef std::future ConfigADConnectorTrustOutcomeCallable; typedef std::function&)> ConfigADConnectorTrustAsyncHandler; typedef Outcome ConfigADConnectorUserOutcome; typedef std::future ConfigADConnectorUserOutcomeCallable; typedef std::function&)> ConfigADConnectorUserAsyncHandler; + typedef Outcome CopyCdsFileOutcome; + typedef std::future CopyCdsFileOutcomeCallable; + typedef std::function&)> CopyCdsFileAsyncHandler; typedef Outcome CopyImageOutcome; typedef std::future CopyImageOutcomeCallable; typedef std::function&)> CopyImageAsyncHandler; @@ -387,9 +475,18 @@ namespace AlibabaCloud typedef Outcome CreateAndBindNasFileSystemOutcome; typedef std::future CreateAndBindNasFileSystemOutcomeCallable; typedef std::function&)> CreateAndBindNasFileSystemAsyncHandler; + typedef Outcome CreateAutoSnapshotPolicyOutcome; + typedef std::future CreateAutoSnapshotPolicyOutcomeCallable; + typedef std::function&)> CreateAutoSnapshotPolicyAsyncHandler; typedef Outcome CreateBundleOutcome; typedef std::future CreateBundleOutcomeCallable; typedef std::function&)> CreateBundleAsyncHandler; + typedef Outcome CreateCdsFileOutcome; + typedef std::future CreateCdsFileOutcomeCallable; + typedef std::function&)> CreateCdsFileAsyncHandler; + typedef Outcome CreateCdsFileShareLinkOutcome; + typedef std::future CreateCdsFileShareLinkOutcomeCallable; + typedef std::function&)> CreateCdsFileShareLinkAsyncHandler; typedef Outcome CreateDesktopGroupOutcome; typedef std::future CreateDesktopGroupOutcomeCallable; typedef std::function&)> CreateDesktopGroupAsyncHandler; @@ -399,9 +496,6 @@ namespace AlibabaCloud typedef Outcome CreateDiskEncryptionServiceOutcome; typedef std::future CreateDiskEncryptionServiceOutcomeCallable; typedef std::function&)> CreateDiskEncryptionServiceAsyncHandler; - typedef Outcome CreateDriveOutcome; - typedef std::future CreateDriveOutcomeCallable; - typedef std::function&)> CreateDriveAsyncHandler; typedef Outcome CreateImageOutcome; typedef std::future CreateImageOutcomeCallable; typedef std::function&)> CreateImageAsyncHandler; @@ -423,9 +517,18 @@ namespace AlibabaCloud typedef Outcome CreateSnapshotOutcome; typedef std::future CreateSnapshotOutcomeCallable; typedef std::function&)> CreateSnapshotAsyncHandler; + typedef Outcome DeleteAutoSnapshotPolicyOutcome; + typedef std::future DeleteAutoSnapshotPolicyOutcomeCallable; + typedef std::function&)> DeleteAutoSnapshotPolicyAsyncHandler; typedef Outcome DeleteBundlesOutcome; typedef std::future DeleteBundlesOutcomeCallable; typedef std::function&)> DeleteBundlesAsyncHandler; + typedef Outcome DeleteCdsFileOutcome; + typedef std::future DeleteCdsFileOutcomeCallable; + typedef std::function&)> DeleteCdsFileAsyncHandler; + typedef Outcome DeleteCloudDriveGroupsOutcome; + typedef std::future DeleteCloudDriveGroupsOutcomeCallable; + typedef std::function&)> DeleteCloudDriveGroupsAsyncHandler; typedef Outcome DeleteCloudDriveUsersOutcome; typedef std::future DeleteCloudDriveUsersOutcomeCallable; typedef std::function&)> DeleteCloudDriveUsersAsyncHandler; @@ -435,12 +538,12 @@ namespace AlibabaCloud typedef Outcome DeleteDesktopsOutcome; typedef std::future DeleteDesktopsOutcomeCallable; typedef std::function&)> DeleteDesktopsAsyncHandler; + typedef Outcome DeleteDevicesOutcome; + typedef std::future DeleteDevicesOutcomeCallable; + typedef std::function&)> DeleteDevicesAsyncHandler; typedef Outcome DeleteDirectoriesOutcome; typedef std::future DeleteDirectoriesOutcomeCallable; typedef std::function&)> DeleteDirectoriesAsyncHandler; - typedef Outcome DeleteDriveOutcome; - typedef std::future DeleteDriveOutcomeCallable; - typedef std::function&)> DeleteDriveAsyncHandler; typedef Outcome DeleteImagesOutcome; typedef std::future DeleteImagesOutcomeCallable; typedef std::function&)> DeleteImagesAsyncHandler; @@ -465,15 +568,24 @@ namespace AlibabaCloud typedef Outcome DescribeAlarmEventStackInfoOutcome; typedef std::future DescribeAlarmEventStackInfoOutcomeCallable; typedef std::function&)> DescribeAlarmEventStackInfoAsyncHandler; + typedef Outcome DescribeAutoSnapshotPolicyOutcome; + typedef std::future DescribeAutoSnapshotPolicyOutcomeCallable; + typedef std::function&)> DescribeAutoSnapshotPolicyAsyncHandler; typedef Outcome DescribeBundlesOutcome; typedef std::future DescribeBundlesOutcomeCallable; typedef std::function&)> DescribeBundlesAsyncHandler; + typedef Outcome DescribeCdsFileShareLinksOutcome; + typedef std::future DescribeCdsFileShareLinksOutcomeCallable; + typedef std::function&)> DescribeCdsFileShareLinksAsyncHandler; typedef Outcome DescribeCensOutcome; typedef std::future DescribeCensOutcomeCallable; typedef std::function&)> DescribeCensAsyncHandler; typedef Outcome DescribeClientEventsOutcome; typedef std::future DescribeClientEventsOutcomeCallable; typedef std::function&)> DescribeClientEventsAsyncHandler; + typedef Outcome DescribeCloudDriveGroupsOutcome; + typedef std::future DescribeCloudDriveGroupsOutcomeCallable; + typedef std::function&)> DescribeCloudDriveGroupsAsyncHandler; typedef Outcome DescribeCloudDrivePermissionsOutcome; typedef std::future DescribeCloudDrivePermissionsOutcomeCallable; typedef std::function&)> DescribeCloudDrivePermissionsAsyncHandler; @@ -495,12 +607,12 @@ namespace AlibabaCloud typedef Outcome DescribeDesktopsInGroupOutcome; typedef std::future DescribeDesktopsInGroupOutcomeCallable; typedef std::function&)> DescribeDesktopsInGroupAsyncHandler; + typedef Outcome DescribeDevicesOutcome; + typedef std::future DescribeDevicesOutcomeCallable; + typedef std::function&)> DescribeDevicesAsyncHandler; typedef Outcome DescribeDirectoriesOutcome; typedef std::future DescribeDirectoriesOutcomeCallable; typedef std::function&)> DescribeDirectoriesAsyncHandler; - typedef Outcome DescribeDrivesOutcome; - typedef std::future DescribeDrivesOutcomeCallable; - typedef std::function&)> DescribeDrivesAsyncHandler; typedef Outcome DescribeFlowMetricOutcome; typedef std::future DescribeFlowMetricOutcomeCallable; typedef std::function&)> DescribeFlowMetricAsyncHandler; @@ -573,6 +685,9 @@ namespace AlibabaCloud typedef Outcome DescribeUserConnectionRecordsOutcome; typedef std::future DescribeUserConnectionRecordsOutcomeCallable; typedef std::function&)> DescribeUserConnectionRecordsAsyncHandler; + typedef Outcome DescribeUserProfilePathRulesOutcome; + typedef std::future DescribeUserProfilePathRulesOutcomeCallable; + typedef std::function&)> DescribeUserProfilePathRulesAsyncHandler; typedef Outcome DescribeUsersInGroupOutcome; typedef std::future DescribeUsersInGroupOutcomeCallable; typedef std::function&)> DescribeUsersInGroupAsyncHandler; @@ -597,6 +712,9 @@ namespace AlibabaCloud typedef Outcome DetachCenOutcome; typedef std::future DetachCenOutcomeCallable; typedef std::function&)> DetachCenAsyncHandler; + typedef Outcome DetachEndUserOutcome; + typedef std::future DetachEndUserOutcomeCallable; + typedef std::function&)> DetachEndUserAsyncHandler; typedef Outcome DisableDesktopsInGroupOutcome; typedef std::future DisableDesktopsInGroupOutcomeCallable; typedef std::function&)> DisableDesktopsInGroupAsyncHandler; @@ -627,9 +745,18 @@ namespace AlibabaCloud typedef Outcome HandleSecurityEventsOutcome; typedef std::future HandleSecurityEventsOutcomeCallable; typedef std::function&)> HandleSecurityEventsAsyncHandler; + typedef Outcome HibernateDesktopsOutcome; + typedef std::future HibernateDesktopsOutcomeCallable; + typedef std::function&)> HibernateDesktopsAsyncHandler; + typedef Outcome ListCdsFilesOutcome; + typedef std::future ListCdsFilesOutcomeCallable; + typedef std::function&)> ListCdsFilesAsyncHandler; typedef Outcome ListDirectoryUsersOutcome; typedef std::future ListDirectoryUsersOutcomeCallable; typedef std::function&)> ListDirectoryUsersAsyncHandler; + typedef Outcome ListFilePermissionOutcome; + typedef std::future ListFilePermissionOutcomeCallable; + typedef std::function&)> ListFilePermissionAsyncHandler; typedef Outcome ListOfficeSiteOverviewOutcome; typedef std::future ListOfficeSiteOverviewOutcomeCallable; typedef std::function&)> ListOfficeSiteOverviewAsyncHandler; @@ -645,15 +772,30 @@ namespace AlibabaCloud typedef Outcome LockVirtualMFADeviceOutcome; typedef std::future LockVirtualMFADeviceOutcomeCallable; typedef std::function&)> LockVirtualMFADeviceAsyncHandler; + typedef Outcome MigrateDesktopsOutcome; + typedef std::future MigrateDesktopsOutcomeCallable; + typedef std::function&)> MigrateDesktopsAsyncHandler; typedef Outcome ModifyADConnectorDirectoryOutcome; typedef std::future ModifyADConnectorDirectoryOutcomeCallable; typedef std::function&)> ModifyADConnectorDirectoryAsyncHandler; typedef Outcome ModifyADConnectorOfficeSiteOutcome; typedef std::future ModifyADConnectorOfficeSiteOutcomeCallable; typedef std::function&)> ModifyADConnectorOfficeSiteAsyncHandler; + typedef Outcome ModifyAutoSnapshotPolicyOutcome; + typedef std::future ModifyAutoSnapshotPolicyOutcomeCallable; + typedef std::function&)> ModifyAutoSnapshotPolicyAsyncHandler; typedef Outcome ModifyBundleOutcome; typedef std::future ModifyBundleOutcomeCallable; typedef std::function&)> ModifyBundleAsyncHandler; + typedef Outcome ModifyCdsFileOutcome; + typedef std::future ModifyCdsFileOutcomeCallable; + typedef std::function&)> ModifyCdsFileAsyncHandler; + typedef Outcome ModifyCdsFileShareLinkOutcome; + typedef std::future ModifyCdsFileShareLinkOutcomeCallable; + typedef std::function&)> ModifyCdsFileShareLinkAsyncHandler; + typedef Outcome ModifyCloudDriveGroupsOutcome; + typedef std::future ModifyCloudDriveGroupsOutcomeCallable; + typedef std::function&)> ModifyCloudDriveGroupsAsyncHandler; typedef Outcome ModifyCloudDrivePermissionOutcome; typedef std::future ModifyCloudDrivePermissionOutcomeCallable; typedef std::function&)> ModifyCloudDrivePermissionAsyncHandler; @@ -720,6 +862,9 @@ namespace AlibabaCloud typedef Outcome ModifyUserToDesktopGroupOutcome; typedef std::future ModifyUserToDesktopGroupOutcomeCallable; typedef std::function&)> ModifyUserToDesktopGroupAsyncHandler; + typedef Outcome MoveCdsFileOutcome; + typedef std::future MoveCdsFileOutcomeCallable; + typedef std::function&)> MoveCdsFileAsyncHandler; typedef Outcome OperateVulsOutcome; typedef std::future OperateVulsOutcomeCallable; typedef std::function&)> OperateVulsAsyncHandler; @@ -729,6 +874,9 @@ namespace AlibabaCloud typedef Outcome RebuildDesktopsOutcome; typedef std::future RebuildDesktopsOutcomeCallable; typedef std::function&)> RebuildDesktopsAsyncHandler; + typedef Outcome RemoveFilePermissionOutcome; + typedef std::future RemoveFilePermissionOutcomeCallable; + typedef std::function&)> RemoveFilePermissionAsyncHandler; typedef Outcome RemoveUserFromDesktopGroupOutcome; typedef std::future RemoveUserFromDesktopGroupOutcomeCallable; typedef std::function&)> RemoveUserFromDesktopGroupAsyncHandler; @@ -759,18 +907,27 @@ namespace AlibabaCloud typedef Outcome SendVerifyCodeOutcome; typedef std::future SendVerifyCodeOutcomeCallable; typedef std::function&)> SendVerifyCodeAsyncHandler; + typedef Outcome SetDesktopGroupScaleTimerOutcome; + typedef std::future SetDesktopGroupScaleTimerOutcomeCallable; + typedef std::function&)> SetDesktopGroupScaleTimerAsyncHandler; typedef Outcome SetDesktopGroupTimerOutcome; typedef std::future SetDesktopGroupTimerOutcomeCallable; typedef std::function&)> SetDesktopGroupTimerAsyncHandler; typedef Outcome SetDesktopGroupTimerStatusOutcome; typedef std::future SetDesktopGroupTimerStatusOutcomeCallable; typedef std::function&)> SetDesktopGroupTimerStatusAsyncHandler; + typedef Outcome SetDirectorySsoStatusOutcome; + typedef std::future SetDirectorySsoStatusOutcomeCallable; + typedef std::function&)> SetDirectorySsoStatusAsyncHandler; typedef Outcome SetIdpMetadataOutcome; typedef std::future SetIdpMetadataOutcomeCallable; typedef std::function&)> SetIdpMetadataAsyncHandler; typedef Outcome SetOfficeSiteSsoStatusOutcome; typedef std::future SetOfficeSiteSsoStatusOutcomeCallable; typedef std::function&)> SetOfficeSiteSsoStatusAsyncHandler; + typedef Outcome SetUserProfilePathRulesOutcome; + typedef std::future SetUserProfilePathRulesOutcomeCallable; + typedef std::function&)> SetUserProfilePathRulesAsyncHandler; typedef Outcome StartDesktopsOutcome; typedef std::future StartDesktopsOutcomeCallable; typedef std::function&)> StartDesktopsAsyncHandler; @@ -801,6 +958,9 @@ namespace AlibabaCloud typedef Outcome VerifyCenOutcome; typedef std::future VerifyCenOutcomeCallable; typedef std::function&)> VerifyCenAsyncHandler; + typedef Outcome WakeupDesktopsOutcome; + typedef std::future WakeupDesktopsOutcomeCallable; + typedef std::function&)> WakeupDesktopsAsyncHandler; EcdClient(const Credentials &credentials, const ClientConfiguration &configuration); EcdClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); @@ -809,9 +969,18 @@ namespace AlibabaCloud ActivateOfficeSiteOutcome activateOfficeSite(const Model::ActivateOfficeSiteRequest &request)const; void activateOfficeSiteAsync(const Model::ActivateOfficeSiteRequest& request, const ActivateOfficeSiteAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ActivateOfficeSiteOutcomeCallable activateOfficeSiteCallable(const Model::ActivateOfficeSiteRequest& request) const; + AddDevicesOutcome addDevices(const Model::AddDevicesRequest &request)const; + void addDevicesAsync(const Model::AddDevicesRequest& request, const AddDevicesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddDevicesOutcomeCallable addDevicesCallable(const Model::AddDevicesRequest& request) const; + AddFilePermissionOutcome addFilePermission(const Model::AddFilePermissionRequest &request)const; + void addFilePermissionAsync(const Model::AddFilePermissionRequest& request, const AddFilePermissionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddFilePermissionOutcomeCallable addFilePermissionCallable(const Model::AddFilePermissionRequest& request) const; AddUserToDesktopGroupOutcome addUserToDesktopGroup(const Model::AddUserToDesktopGroupRequest &request)const; void addUserToDesktopGroupAsync(const Model::AddUserToDesktopGroupRequest& request, const AddUserToDesktopGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddUserToDesktopGroupOutcomeCallable addUserToDesktopGroupCallable(const Model::AddUserToDesktopGroupRequest& request) const; + ApplyAutoSnapshotPolicyOutcome applyAutoSnapshotPolicy(const Model::ApplyAutoSnapshotPolicyRequest &request)const; + void applyAutoSnapshotPolicyAsync(const Model::ApplyAutoSnapshotPolicyRequest& request, const ApplyAutoSnapshotPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ApplyAutoSnapshotPolicyOutcomeCallable applyAutoSnapshotPolicyCallable(const Model::ApplyAutoSnapshotPolicyRequest& request) const; ApplyCoordinatePrivilegeOutcome applyCoordinatePrivilege(const Model::ApplyCoordinatePrivilegeRequest &request)const; void applyCoordinatePrivilegeAsync(const Model::ApplyCoordinatePrivilegeRequest& request, const ApplyCoordinatePrivilegeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ApplyCoordinatePrivilegeOutcomeCallable applyCoordinatePrivilegeCallable(const Model::ApplyCoordinatePrivilegeRequest& request) const; @@ -827,6 +996,15 @@ namespace AlibabaCloud AttachCenOutcome attachCen(const Model::AttachCenRequest &request)const; void attachCenAsync(const Model::AttachCenRequest& request, const AttachCenAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AttachCenOutcomeCallable attachCenCallable(const Model::AttachCenRequest& request) const; + AttachEndUserOutcome attachEndUser(const Model::AttachEndUserRequest &request)const; + void attachEndUserAsync(const Model::AttachEndUserRequest& request, const AttachEndUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AttachEndUserOutcomeCallable attachEndUserCallable(const Model::AttachEndUserRequest& request) const; + CancelAutoSnapshotPolicyOutcome cancelAutoSnapshotPolicy(const Model::CancelAutoSnapshotPolicyRequest &request)const; + void cancelAutoSnapshotPolicyAsync(const Model::CancelAutoSnapshotPolicyRequest& request, const CancelAutoSnapshotPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CancelAutoSnapshotPolicyOutcomeCallable cancelAutoSnapshotPolicyCallable(const Model::CancelAutoSnapshotPolicyRequest& request) const; + CancelCdsFileShareLinkOutcome cancelCdsFileShareLink(const Model::CancelCdsFileShareLinkRequest &request)const; + void cancelCdsFileShareLinkAsync(const Model::CancelCdsFileShareLinkRequest& request, const CancelCdsFileShareLinkAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CancelCdsFileShareLinkOutcomeCallable cancelCdsFileShareLinkCallable(const Model::CancelCdsFileShareLinkRequest& request) const; CancelCoordinationForMonitoringOutcome cancelCoordinationForMonitoring(const Model::CancelCoordinationForMonitoringRequest &request)const; void cancelCoordinationForMonitoringAsync(const Model::CancelCoordinationForMonitoringRequest& request, const CancelCoordinationForMonitoringAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CancelCoordinationForMonitoringOutcomeCallable cancelCoordinationForMonitoringCallable(const Model::CancelCoordinationForMonitoringRequest& request) const; @@ -836,12 +1014,18 @@ namespace AlibabaCloud ClonePolicyGroupOutcome clonePolicyGroup(const Model::ClonePolicyGroupRequest &request)const; void clonePolicyGroupAsync(const Model::ClonePolicyGroupRequest& request, const ClonePolicyGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ClonePolicyGroupOutcomeCallable clonePolicyGroupCallable(const Model::ClonePolicyGroupRequest& request) const; + CompleteCdsFileOutcome completeCdsFile(const Model::CompleteCdsFileRequest &request)const; + void completeCdsFileAsync(const Model::CompleteCdsFileRequest& request, const CompleteCdsFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CompleteCdsFileOutcomeCallable completeCdsFileCallable(const Model::CompleteCdsFileRequest& request) const; ConfigADConnectorTrustOutcome configADConnectorTrust(const Model::ConfigADConnectorTrustRequest &request)const; void configADConnectorTrustAsync(const Model::ConfigADConnectorTrustRequest& request, const ConfigADConnectorTrustAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ConfigADConnectorTrustOutcomeCallable configADConnectorTrustCallable(const Model::ConfigADConnectorTrustRequest& request) const; ConfigADConnectorUserOutcome configADConnectorUser(const Model::ConfigADConnectorUserRequest &request)const; void configADConnectorUserAsync(const Model::ConfigADConnectorUserRequest& request, const ConfigADConnectorUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ConfigADConnectorUserOutcomeCallable configADConnectorUserCallable(const Model::ConfigADConnectorUserRequest& request) const; + CopyCdsFileOutcome copyCdsFile(const Model::CopyCdsFileRequest &request)const; + void copyCdsFileAsync(const Model::CopyCdsFileRequest& request, const CopyCdsFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CopyCdsFileOutcomeCallable copyCdsFileCallable(const Model::CopyCdsFileRequest& request) const; CopyImageOutcome copyImage(const Model::CopyImageRequest &request)const; void copyImageAsync(const Model::CopyImageRequest& request, const CopyImageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CopyImageOutcomeCallable copyImageCallable(const Model::CopyImageRequest& request) const; @@ -854,9 +1038,18 @@ namespace AlibabaCloud CreateAndBindNasFileSystemOutcome createAndBindNasFileSystem(const Model::CreateAndBindNasFileSystemRequest &request)const; void createAndBindNasFileSystemAsync(const Model::CreateAndBindNasFileSystemRequest& request, const CreateAndBindNasFileSystemAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateAndBindNasFileSystemOutcomeCallable createAndBindNasFileSystemCallable(const Model::CreateAndBindNasFileSystemRequest& request) const; + CreateAutoSnapshotPolicyOutcome createAutoSnapshotPolicy(const Model::CreateAutoSnapshotPolicyRequest &request)const; + void createAutoSnapshotPolicyAsync(const Model::CreateAutoSnapshotPolicyRequest& request, const CreateAutoSnapshotPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateAutoSnapshotPolicyOutcomeCallable createAutoSnapshotPolicyCallable(const Model::CreateAutoSnapshotPolicyRequest& request) const; CreateBundleOutcome createBundle(const Model::CreateBundleRequest &request)const; void createBundleAsync(const Model::CreateBundleRequest& request, const CreateBundleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateBundleOutcomeCallable createBundleCallable(const Model::CreateBundleRequest& request) const; + CreateCdsFileOutcome createCdsFile(const Model::CreateCdsFileRequest &request)const; + void createCdsFileAsync(const Model::CreateCdsFileRequest& request, const CreateCdsFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateCdsFileOutcomeCallable createCdsFileCallable(const Model::CreateCdsFileRequest& request) const; + CreateCdsFileShareLinkOutcome createCdsFileShareLink(const Model::CreateCdsFileShareLinkRequest &request)const; + void createCdsFileShareLinkAsync(const Model::CreateCdsFileShareLinkRequest& request, const CreateCdsFileShareLinkAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateCdsFileShareLinkOutcomeCallable createCdsFileShareLinkCallable(const Model::CreateCdsFileShareLinkRequest& request) const; CreateDesktopGroupOutcome createDesktopGroup(const Model::CreateDesktopGroupRequest &request)const; void createDesktopGroupAsync(const Model::CreateDesktopGroupRequest& request, const CreateDesktopGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateDesktopGroupOutcomeCallable createDesktopGroupCallable(const Model::CreateDesktopGroupRequest& request) const; @@ -866,9 +1059,6 @@ namespace AlibabaCloud CreateDiskEncryptionServiceOutcome createDiskEncryptionService(const Model::CreateDiskEncryptionServiceRequest &request)const; void createDiskEncryptionServiceAsync(const Model::CreateDiskEncryptionServiceRequest& request, const CreateDiskEncryptionServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateDiskEncryptionServiceOutcomeCallable createDiskEncryptionServiceCallable(const Model::CreateDiskEncryptionServiceRequest& request) const; - CreateDriveOutcome createDrive(const Model::CreateDriveRequest &request)const; - void createDriveAsync(const Model::CreateDriveRequest& request, const CreateDriveAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateDriveOutcomeCallable createDriveCallable(const Model::CreateDriveRequest& request) const; CreateImageOutcome createImage(const Model::CreateImageRequest &request)const; void createImageAsync(const Model::CreateImageRequest& request, const CreateImageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateImageOutcomeCallable createImageCallable(const Model::CreateImageRequest& request) const; @@ -890,9 +1080,18 @@ namespace AlibabaCloud CreateSnapshotOutcome createSnapshot(const Model::CreateSnapshotRequest &request)const; void createSnapshotAsync(const Model::CreateSnapshotRequest& request, const CreateSnapshotAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateSnapshotOutcomeCallable createSnapshotCallable(const Model::CreateSnapshotRequest& request) const; + DeleteAutoSnapshotPolicyOutcome deleteAutoSnapshotPolicy(const Model::DeleteAutoSnapshotPolicyRequest &request)const; + void deleteAutoSnapshotPolicyAsync(const Model::DeleteAutoSnapshotPolicyRequest& request, const DeleteAutoSnapshotPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteAutoSnapshotPolicyOutcomeCallable deleteAutoSnapshotPolicyCallable(const Model::DeleteAutoSnapshotPolicyRequest& request) const; DeleteBundlesOutcome deleteBundles(const Model::DeleteBundlesRequest &request)const; void deleteBundlesAsync(const Model::DeleteBundlesRequest& request, const DeleteBundlesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteBundlesOutcomeCallable deleteBundlesCallable(const Model::DeleteBundlesRequest& request) const; + DeleteCdsFileOutcome deleteCdsFile(const Model::DeleteCdsFileRequest &request)const; + void deleteCdsFileAsync(const Model::DeleteCdsFileRequest& request, const DeleteCdsFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteCdsFileOutcomeCallable deleteCdsFileCallable(const Model::DeleteCdsFileRequest& request) const; + DeleteCloudDriveGroupsOutcome deleteCloudDriveGroups(const Model::DeleteCloudDriveGroupsRequest &request)const; + void deleteCloudDriveGroupsAsync(const Model::DeleteCloudDriveGroupsRequest& request, const DeleteCloudDriveGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteCloudDriveGroupsOutcomeCallable deleteCloudDriveGroupsCallable(const Model::DeleteCloudDriveGroupsRequest& request) const; DeleteCloudDriveUsersOutcome deleteCloudDriveUsers(const Model::DeleteCloudDriveUsersRequest &request)const; void deleteCloudDriveUsersAsync(const Model::DeleteCloudDriveUsersRequest& request, const DeleteCloudDriveUsersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteCloudDriveUsersOutcomeCallable deleteCloudDriveUsersCallable(const Model::DeleteCloudDriveUsersRequest& request) const; @@ -902,12 +1101,12 @@ namespace AlibabaCloud DeleteDesktopsOutcome deleteDesktops(const Model::DeleteDesktopsRequest &request)const; void deleteDesktopsAsync(const Model::DeleteDesktopsRequest& request, const DeleteDesktopsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteDesktopsOutcomeCallable deleteDesktopsCallable(const Model::DeleteDesktopsRequest& request) const; + DeleteDevicesOutcome deleteDevices(const Model::DeleteDevicesRequest &request)const; + void deleteDevicesAsync(const Model::DeleteDevicesRequest& request, const DeleteDevicesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDevicesOutcomeCallable deleteDevicesCallable(const Model::DeleteDevicesRequest& request) const; DeleteDirectoriesOutcome deleteDirectories(const Model::DeleteDirectoriesRequest &request)const; void deleteDirectoriesAsync(const Model::DeleteDirectoriesRequest& request, const DeleteDirectoriesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteDirectoriesOutcomeCallable deleteDirectoriesCallable(const Model::DeleteDirectoriesRequest& request) const; - DeleteDriveOutcome deleteDrive(const Model::DeleteDriveRequest &request)const; - void deleteDriveAsync(const Model::DeleteDriveRequest& request, const DeleteDriveAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteDriveOutcomeCallable deleteDriveCallable(const Model::DeleteDriveRequest& request) const; DeleteImagesOutcome deleteImages(const Model::DeleteImagesRequest &request)const; void deleteImagesAsync(const Model::DeleteImagesRequest& request, const DeleteImagesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteImagesOutcomeCallable deleteImagesCallable(const Model::DeleteImagesRequest& request) const; @@ -932,15 +1131,24 @@ namespace AlibabaCloud DescribeAlarmEventStackInfoOutcome describeAlarmEventStackInfo(const Model::DescribeAlarmEventStackInfoRequest &request)const; void describeAlarmEventStackInfoAsync(const Model::DescribeAlarmEventStackInfoRequest& request, const DescribeAlarmEventStackInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeAlarmEventStackInfoOutcomeCallable describeAlarmEventStackInfoCallable(const Model::DescribeAlarmEventStackInfoRequest& request) const; + DescribeAutoSnapshotPolicyOutcome describeAutoSnapshotPolicy(const Model::DescribeAutoSnapshotPolicyRequest &request)const; + void describeAutoSnapshotPolicyAsync(const Model::DescribeAutoSnapshotPolicyRequest& request, const DescribeAutoSnapshotPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAutoSnapshotPolicyOutcomeCallable describeAutoSnapshotPolicyCallable(const Model::DescribeAutoSnapshotPolicyRequest& request) const; DescribeBundlesOutcome describeBundles(const Model::DescribeBundlesRequest &request)const; void describeBundlesAsync(const Model::DescribeBundlesRequest& request, const DescribeBundlesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeBundlesOutcomeCallable describeBundlesCallable(const Model::DescribeBundlesRequest& request) const; + DescribeCdsFileShareLinksOutcome describeCdsFileShareLinks(const Model::DescribeCdsFileShareLinksRequest &request)const; + void describeCdsFileShareLinksAsync(const Model::DescribeCdsFileShareLinksRequest& request, const DescribeCdsFileShareLinksAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdsFileShareLinksOutcomeCallable describeCdsFileShareLinksCallable(const Model::DescribeCdsFileShareLinksRequest& request) const; DescribeCensOutcome describeCens(const Model::DescribeCensRequest &request)const; void describeCensAsync(const Model::DescribeCensRequest& request, const DescribeCensAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCensOutcomeCallable describeCensCallable(const Model::DescribeCensRequest& request) const; DescribeClientEventsOutcome describeClientEvents(const Model::DescribeClientEventsRequest &request)const; void describeClientEventsAsync(const Model::DescribeClientEventsRequest& request, const DescribeClientEventsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeClientEventsOutcomeCallable describeClientEventsCallable(const Model::DescribeClientEventsRequest& request) const; + DescribeCloudDriveGroupsOutcome describeCloudDriveGroups(const Model::DescribeCloudDriveGroupsRequest &request)const; + void describeCloudDriveGroupsAsync(const Model::DescribeCloudDriveGroupsRequest& request, const DescribeCloudDriveGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCloudDriveGroupsOutcomeCallable describeCloudDriveGroupsCallable(const Model::DescribeCloudDriveGroupsRequest& request) const; DescribeCloudDrivePermissionsOutcome describeCloudDrivePermissions(const Model::DescribeCloudDrivePermissionsRequest &request)const; void describeCloudDrivePermissionsAsync(const Model::DescribeCloudDrivePermissionsRequest& request, const DescribeCloudDrivePermissionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCloudDrivePermissionsOutcomeCallable describeCloudDrivePermissionsCallable(const Model::DescribeCloudDrivePermissionsRequest& request) const; @@ -962,12 +1170,12 @@ namespace AlibabaCloud DescribeDesktopsInGroupOutcome describeDesktopsInGroup(const Model::DescribeDesktopsInGroupRequest &request)const; void describeDesktopsInGroupAsync(const Model::DescribeDesktopsInGroupRequest& request, const DescribeDesktopsInGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDesktopsInGroupOutcomeCallable describeDesktopsInGroupCallable(const Model::DescribeDesktopsInGroupRequest& request) const; + DescribeDevicesOutcome describeDevices(const Model::DescribeDevicesRequest &request)const; + void describeDevicesAsync(const Model::DescribeDevicesRequest& request, const DescribeDevicesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDevicesOutcomeCallable describeDevicesCallable(const Model::DescribeDevicesRequest& request) const; DescribeDirectoriesOutcome describeDirectories(const Model::DescribeDirectoriesRequest &request)const; void describeDirectoriesAsync(const Model::DescribeDirectoriesRequest& request, const DescribeDirectoriesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDirectoriesOutcomeCallable describeDirectoriesCallable(const Model::DescribeDirectoriesRequest& request) const; - DescribeDrivesOutcome describeDrives(const Model::DescribeDrivesRequest &request)const; - void describeDrivesAsync(const Model::DescribeDrivesRequest& request, const DescribeDrivesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeDrivesOutcomeCallable describeDrivesCallable(const Model::DescribeDrivesRequest& request) const; DescribeFlowMetricOutcome describeFlowMetric(const Model::DescribeFlowMetricRequest &request)const; void describeFlowMetricAsync(const Model::DescribeFlowMetricRequest& request, const DescribeFlowMetricAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeFlowMetricOutcomeCallable describeFlowMetricCallable(const Model::DescribeFlowMetricRequest& request) const; @@ -1040,6 +1248,9 @@ namespace AlibabaCloud DescribeUserConnectionRecordsOutcome describeUserConnectionRecords(const Model::DescribeUserConnectionRecordsRequest &request)const; void describeUserConnectionRecordsAsync(const Model::DescribeUserConnectionRecordsRequest& request, const DescribeUserConnectionRecordsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeUserConnectionRecordsOutcomeCallable describeUserConnectionRecordsCallable(const Model::DescribeUserConnectionRecordsRequest& request) const; + DescribeUserProfilePathRulesOutcome describeUserProfilePathRules(const Model::DescribeUserProfilePathRulesRequest &request)const; + void describeUserProfilePathRulesAsync(const Model::DescribeUserProfilePathRulesRequest& request, const DescribeUserProfilePathRulesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeUserProfilePathRulesOutcomeCallable describeUserProfilePathRulesCallable(const Model::DescribeUserProfilePathRulesRequest& request) const; DescribeUsersInGroupOutcome describeUsersInGroup(const Model::DescribeUsersInGroupRequest &request)const; void describeUsersInGroupAsync(const Model::DescribeUsersInGroupRequest& request, const DescribeUsersInGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeUsersInGroupOutcomeCallable describeUsersInGroupCallable(const Model::DescribeUsersInGroupRequest& request) const; @@ -1064,6 +1275,9 @@ namespace AlibabaCloud DetachCenOutcome detachCen(const Model::DetachCenRequest &request)const; void detachCenAsync(const Model::DetachCenRequest& request, const DetachCenAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DetachCenOutcomeCallable detachCenCallable(const Model::DetachCenRequest& request) const; + DetachEndUserOutcome detachEndUser(const Model::DetachEndUserRequest &request)const; + void detachEndUserAsync(const Model::DetachEndUserRequest& request, const DetachEndUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DetachEndUserOutcomeCallable detachEndUserCallable(const Model::DetachEndUserRequest& request) const; DisableDesktopsInGroupOutcome disableDesktopsInGroup(const Model::DisableDesktopsInGroupRequest &request)const; void disableDesktopsInGroupAsync(const Model::DisableDesktopsInGroupRequest& request, const DisableDesktopsInGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DisableDesktopsInGroupOutcomeCallable disableDesktopsInGroupCallable(const Model::DisableDesktopsInGroupRequest& request) const; @@ -1094,9 +1308,18 @@ namespace AlibabaCloud HandleSecurityEventsOutcome handleSecurityEvents(const Model::HandleSecurityEventsRequest &request)const; void handleSecurityEventsAsync(const Model::HandleSecurityEventsRequest& request, const HandleSecurityEventsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; HandleSecurityEventsOutcomeCallable handleSecurityEventsCallable(const Model::HandleSecurityEventsRequest& request) const; + HibernateDesktopsOutcome hibernateDesktops(const Model::HibernateDesktopsRequest &request)const; + void hibernateDesktopsAsync(const Model::HibernateDesktopsRequest& request, const HibernateDesktopsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + HibernateDesktopsOutcomeCallable hibernateDesktopsCallable(const Model::HibernateDesktopsRequest& request) const; + ListCdsFilesOutcome listCdsFiles(const Model::ListCdsFilesRequest &request)const; + void listCdsFilesAsync(const Model::ListCdsFilesRequest& request, const ListCdsFilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListCdsFilesOutcomeCallable listCdsFilesCallable(const Model::ListCdsFilesRequest& request) const; ListDirectoryUsersOutcome listDirectoryUsers(const Model::ListDirectoryUsersRequest &request)const; void listDirectoryUsersAsync(const Model::ListDirectoryUsersRequest& request, const ListDirectoryUsersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListDirectoryUsersOutcomeCallable listDirectoryUsersCallable(const Model::ListDirectoryUsersRequest& request) const; + ListFilePermissionOutcome listFilePermission(const Model::ListFilePermissionRequest &request)const; + void listFilePermissionAsync(const Model::ListFilePermissionRequest& request, const ListFilePermissionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListFilePermissionOutcomeCallable listFilePermissionCallable(const Model::ListFilePermissionRequest& request) const; ListOfficeSiteOverviewOutcome listOfficeSiteOverview(const Model::ListOfficeSiteOverviewRequest &request)const; void listOfficeSiteOverviewAsync(const Model::ListOfficeSiteOverviewRequest& request, const ListOfficeSiteOverviewAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListOfficeSiteOverviewOutcomeCallable listOfficeSiteOverviewCallable(const Model::ListOfficeSiteOverviewRequest& request) const; @@ -1112,15 +1335,30 @@ namespace AlibabaCloud LockVirtualMFADeviceOutcome lockVirtualMFADevice(const Model::LockVirtualMFADeviceRequest &request)const; void lockVirtualMFADeviceAsync(const Model::LockVirtualMFADeviceRequest& request, const LockVirtualMFADeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; LockVirtualMFADeviceOutcomeCallable lockVirtualMFADeviceCallable(const Model::LockVirtualMFADeviceRequest& request) const; + MigrateDesktopsOutcome migrateDesktops(const Model::MigrateDesktopsRequest &request)const; + void migrateDesktopsAsync(const Model::MigrateDesktopsRequest& request, const MigrateDesktopsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + MigrateDesktopsOutcomeCallable migrateDesktopsCallable(const Model::MigrateDesktopsRequest& request) const; ModifyADConnectorDirectoryOutcome modifyADConnectorDirectory(const Model::ModifyADConnectorDirectoryRequest &request)const; void modifyADConnectorDirectoryAsync(const Model::ModifyADConnectorDirectoryRequest& request, const ModifyADConnectorDirectoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyADConnectorDirectoryOutcomeCallable modifyADConnectorDirectoryCallable(const Model::ModifyADConnectorDirectoryRequest& request) const; ModifyADConnectorOfficeSiteOutcome modifyADConnectorOfficeSite(const Model::ModifyADConnectorOfficeSiteRequest &request)const; void modifyADConnectorOfficeSiteAsync(const Model::ModifyADConnectorOfficeSiteRequest& request, const ModifyADConnectorOfficeSiteAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyADConnectorOfficeSiteOutcomeCallable modifyADConnectorOfficeSiteCallable(const Model::ModifyADConnectorOfficeSiteRequest& request) const; + ModifyAutoSnapshotPolicyOutcome modifyAutoSnapshotPolicy(const Model::ModifyAutoSnapshotPolicyRequest &request)const; + void modifyAutoSnapshotPolicyAsync(const Model::ModifyAutoSnapshotPolicyRequest& request, const ModifyAutoSnapshotPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyAutoSnapshotPolicyOutcomeCallable modifyAutoSnapshotPolicyCallable(const Model::ModifyAutoSnapshotPolicyRequest& request) const; ModifyBundleOutcome modifyBundle(const Model::ModifyBundleRequest &request)const; void modifyBundleAsync(const Model::ModifyBundleRequest& request, const ModifyBundleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyBundleOutcomeCallable modifyBundleCallable(const Model::ModifyBundleRequest& request) const; + ModifyCdsFileOutcome modifyCdsFile(const Model::ModifyCdsFileRequest &request)const; + void modifyCdsFileAsync(const Model::ModifyCdsFileRequest& request, const ModifyCdsFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyCdsFileOutcomeCallable modifyCdsFileCallable(const Model::ModifyCdsFileRequest& request) const; + ModifyCdsFileShareLinkOutcome modifyCdsFileShareLink(const Model::ModifyCdsFileShareLinkRequest &request)const; + void modifyCdsFileShareLinkAsync(const Model::ModifyCdsFileShareLinkRequest& request, const ModifyCdsFileShareLinkAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyCdsFileShareLinkOutcomeCallable modifyCdsFileShareLinkCallable(const Model::ModifyCdsFileShareLinkRequest& request) const; + ModifyCloudDriveGroupsOutcome modifyCloudDriveGroups(const Model::ModifyCloudDriveGroupsRequest &request)const; + void modifyCloudDriveGroupsAsync(const Model::ModifyCloudDriveGroupsRequest& request, const ModifyCloudDriveGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyCloudDriveGroupsOutcomeCallable modifyCloudDriveGroupsCallable(const Model::ModifyCloudDriveGroupsRequest& request) const; ModifyCloudDrivePermissionOutcome modifyCloudDrivePermission(const Model::ModifyCloudDrivePermissionRequest &request)const; void modifyCloudDrivePermissionAsync(const Model::ModifyCloudDrivePermissionRequest& request, const ModifyCloudDrivePermissionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyCloudDrivePermissionOutcomeCallable modifyCloudDrivePermissionCallable(const Model::ModifyCloudDrivePermissionRequest& request) const; @@ -1187,6 +1425,9 @@ namespace AlibabaCloud ModifyUserToDesktopGroupOutcome modifyUserToDesktopGroup(const Model::ModifyUserToDesktopGroupRequest &request)const; void modifyUserToDesktopGroupAsync(const Model::ModifyUserToDesktopGroupRequest& request, const ModifyUserToDesktopGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyUserToDesktopGroupOutcomeCallable modifyUserToDesktopGroupCallable(const Model::ModifyUserToDesktopGroupRequest& request) const; + MoveCdsFileOutcome moveCdsFile(const Model::MoveCdsFileRequest &request)const; + void moveCdsFileAsync(const Model::MoveCdsFileRequest& request, const MoveCdsFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + MoveCdsFileOutcomeCallable moveCdsFileCallable(const Model::MoveCdsFileRequest& request) const; OperateVulsOutcome operateVuls(const Model::OperateVulsRequest &request)const; void operateVulsAsync(const Model::OperateVulsRequest& request, const OperateVulsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; OperateVulsOutcomeCallable operateVulsCallable(const Model::OperateVulsRequest& request) const; @@ -1196,6 +1437,9 @@ namespace AlibabaCloud RebuildDesktopsOutcome rebuildDesktops(const Model::RebuildDesktopsRequest &request)const; void rebuildDesktopsAsync(const Model::RebuildDesktopsRequest& request, const RebuildDesktopsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RebuildDesktopsOutcomeCallable rebuildDesktopsCallable(const Model::RebuildDesktopsRequest& request) const; + RemoveFilePermissionOutcome removeFilePermission(const Model::RemoveFilePermissionRequest &request)const; + void removeFilePermissionAsync(const Model::RemoveFilePermissionRequest& request, const RemoveFilePermissionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RemoveFilePermissionOutcomeCallable removeFilePermissionCallable(const Model::RemoveFilePermissionRequest& request) const; RemoveUserFromDesktopGroupOutcome removeUserFromDesktopGroup(const Model::RemoveUserFromDesktopGroupRequest &request)const; void removeUserFromDesktopGroupAsync(const Model::RemoveUserFromDesktopGroupRequest& request, const RemoveUserFromDesktopGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RemoveUserFromDesktopGroupOutcomeCallable removeUserFromDesktopGroupCallable(const Model::RemoveUserFromDesktopGroupRequest& request) const; @@ -1226,18 +1470,27 @@ namespace AlibabaCloud SendVerifyCodeOutcome sendVerifyCode(const Model::SendVerifyCodeRequest &request)const; void sendVerifyCodeAsync(const Model::SendVerifyCodeRequest& request, const SendVerifyCodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SendVerifyCodeOutcomeCallable sendVerifyCodeCallable(const Model::SendVerifyCodeRequest& request) const; + SetDesktopGroupScaleTimerOutcome setDesktopGroupScaleTimer(const Model::SetDesktopGroupScaleTimerRequest &request)const; + void setDesktopGroupScaleTimerAsync(const Model::SetDesktopGroupScaleTimerRequest& request, const SetDesktopGroupScaleTimerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetDesktopGroupScaleTimerOutcomeCallable setDesktopGroupScaleTimerCallable(const Model::SetDesktopGroupScaleTimerRequest& request) const; SetDesktopGroupTimerOutcome setDesktopGroupTimer(const Model::SetDesktopGroupTimerRequest &request)const; void setDesktopGroupTimerAsync(const Model::SetDesktopGroupTimerRequest& request, const SetDesktopGroupTimerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SetDesktopGroupTimerOutcomeCallable setDesktopGroupTimerCallable(const Model::SetDesktopGroupTimerRequest& request) const; SetDesktopGroupTimerStatusOutcome setDesktopGroupTimerStatus(const Model::SetDesktopGroupTimerStatusRequest &request)const; void setDesktopGroupTimerStatusAsync(const Model::SetDesktopGroupTimerStatusRequest& request, const SetDesktopGroupTimerStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SetDesktopGroupTimerStatusOutcomeCallable setDesktopGroupTimerStatusCallable(const Model::SetDesktopGroupTimerStatusRequest& request) const; + SetDirectorySsoStatusOutcome setDirectorySsoStatus(const Model::SetDirectorySsoStatusRequest &request)const; + void setDirectorySsoStatusAsync(const Model::SetDirectorySsoStatusRequest& request, const SetDirectorySsoStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetDirectorySsoStatusOutcomeCallable setDirectorySsoStatusCallable(const Model::SetDirectorySsoStatusRequest& request) const; SetIdpMetadataOutcome setIdpMetadata(const Model::SetIdpMetadataRequest &request)const; void setIdpMetadataAsync(const Model::SetIdpMetadataRequest& request, const SetIdpMetadataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SetIdpMetadataOutcomeCallable setIdpMetadataCallable(const Model::SetIdpMetadataRequest& request) const; SetOfficeSiteSsoStatusOutcome setOfficeSiteSsoStatus(const Model::SetOfficeSiteSsoStatusRequest &request)const; void setOfficeSiteSsoStatusAsync(const Model::SetOfficeSiteSsoStatusRequest& request, const SetOfficeSiteSsoStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SetOfficeSiteSsoStatusOutcomeCallable setOfficeSiteSsoStatusCallable(const Model::SetOfficeSiteSsoStatusRequest& request) const; + SetUserProfilePathRulesOutcome setUserProfilePathRules(const Model::SetUserProfilePathRulesRequest &request)const; + void setUserProfilePathRulesAsync(const Model::SetUserProfilePathRulesRequest& request, const SetUserProfilePathRulesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetUserProfilePathRulesOutcomeCallable setUserProfilePathRulesCallable(const Model::SetUserProfilePathRulesRequest& request) const; StartDesktopsOutcome startDesktops(const Model::StartDesktopsRequest &request)const; void startDesktopsAsync(const Model::StartDesktopsRequest& request, const StartDesktopsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; StartDesktopsOutcomeCallable startDesktopsCallable(const Model::StartDesktopsRequest& request) const; @@ -1268,6 +1521,9 @@ namespace AlibabaCloud VerifyCenOutcome verifyCen(const Model::VerifyCenRequest &request)const; void verifyCenAsync(const Model::VerifyCenRequest& request, const VerifyCenAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; VerifyCenOutcomeCallable verifyCenCallable(const Model::VerifyCenRequest& request) const; + WakeupDesktopsOutcome wakeupDesktops(const Model::WakeupDesktopsRequest &request)const; + void wakeupDesktopsAsync(const Model::WakeupDesktopsRequest& request, const WakeupDesktopsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + WakeupDesktopsOutcomeCallable wakeupDesktopsCallable(const Model::WakeupDesktopsRequest& request) const; private: std::shared_ptr endpointProvider_; diff --git a/ecd/include/alibabacloud/ecd/model/DescribeDrivesRequest.h b/ecd/include/alibabacloud/ecd/model/AddDevicesRequest.h similarity index 58% rename from ecd/include/alibabacloud/ecd/model/DescribeDrivesRequest.h rename to ecd/include/alibabacloud/ecd/model/AddDevicesRequest.h index 2b00593cf..352fbdbfe 100644 --- a/ecd/include/alibabacloud/ecd/model/DescribeDrivesRequest.h +++ b/ecd/include/alibabacloud/ecd/model/AddDevicesRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_ECD_MODEL_DESCRIBEDRIVESREQUEST_H_ -#define ALIBABACLOUD_ECD_MODEL_DESCRIBEDRIVESREQUEST_H_ +#ifndef ALIBABACLOUD_ECD_MODEL_ADDDEVICESREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_ADDDEVICESREQUEST_H_ #include #include @@ -26,26 +26,23 @@ namespace AlibabaCloud { namespace Ecd { namespace Model { -class ALIBABACLOUD_ECD_EXPORT DescribeDrivesRequest : public RpcServiceRequest { +class ALIBABACLOUD_ECD_EXPORT AddDevicesRequest : public RpcServiceRequest { public: - DescribeDrivesRequest(); - ~DescribeDrivesRequest(); - std::string getUserId() const; - void setUserId(const std::string &userId); - std::string getResourceType() const; - void setResourceType(const std::string &resourceType); - std::vector getDomainIds() const; - void setDomainIds(const std::vector &domainIds); + AddDevicesRequest(); + ~AddDevicesRequest(); + int getClientType() const; + void setClientType(int clientType); + std::vector getDeviceIds() const; + void setDeviceIds(const std::vector &deviceIds); std::string getRegionId() const; void setRegionId(const std::string ®ionId); private: - std::string userId_; - std::string resourceType_; - std::vector domainIds_; + int clientType_; + std::vector deviceIds_; std::string regionId_; }; } // namespace Model } // namespace Ecd } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_ECD_MODEL_DESCRIBEDRIVESREQUEST_H_ +#endif // !ALIBABACLOUD_ECD_MODEL_ADDDEVICESREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/AddDevicesResult.h b/ecd/include/alibabacloud/ecd/model/AddDevicesResult.h new file mode 100644 index 000000000..9b873ac21 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/AddDevicesResult.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_ECD_MODEL_ADDDEVICESRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_ADDDEVICESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT AddDevicesResult : public ServiceResult + { + public: + + + AddDevicesResult(); + explicit AddDevicesResult(const std::string &payload); + ~AddDevicesResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_ADDDEVICESRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/AddFilePermissionRequest.h b/ecd/include/alibabacloud/ecd/model/AddFilePermissionRequest.h new file mode 100644 index 000000000..26ab5ae68 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/AddFilePermissionRequest.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ECD_MODEL_ADDFILEPERMISSIONREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_ADDFILEPERMISSIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT AddFilePermissionRequest : public RpcServiceRequest { +public: + struct MemberList { + long expireTime; + std::string roleId; + struct CdsIdentity { + std::string id; + std::string type; + }; + CdsIdentity cdsIdentity; + bool disinheritSubGroup; + }; + AddFilePermissionRequest(); + ~AddFilePermissionRequest(); + std::vector getMemberList() const; + void setMemberList(const std::vector &memberList); + std::string getCdsId() const; + void setCdsId(const std::string &cdsId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getEndUserId() const; + void setEndUserId(const std::string &endUserId); + std::string getFileId() const; + void setFileId(const std::string &fileId); + +private: + std::vector memberList_; + std::string cdsId_; + std::string regionId_; + std::string endUserId_; + std::string fileId_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_ADDFILEPERMISSIONREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/AddFilePermissionResult.h b/ecd/include/alibabacloud/ecd/model/AddFilePermissionResult.h new file mode 100644 index 000000000..dc7c88215 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/AddFilePermissionResult.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_ECD_MODEL_ADDFILEPERMISSIONRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_ADDFILEPERMISSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT AddFilePermissionResult : public ServiceResult + { + public: + + + AddFilePermissionResult(); + explicit AddFilePermissionResult(const std::string &payload); + ~AddFilePermissionResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_ADDFILEPERMISSIONRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/ApplyAutoSnapshotPolicyRequest.h b/ecd/include/alibabacloud/ecd/model/ApplyAutoSnapshotPolicyRequest.h new file mode 100644 index 000000000..c0fdea895 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/ApplyAutoSnapshotPolicyRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ECD_MODEL_APPLYAUTOSNAPSHOTPOLICYREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_APPLYAUTOSNAPSHOTPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT ApplyAutoSnapshotPolicyRequest : public RpcServiceRequest { +public: + ApplyAutoSnapshotPolicyRequest(); + ~ApplyAutoSnapshotPolicyRequest(); + std::string getPolicyId() const; + void setPolicyId(const std::string &policyId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::vector getDesktopId() const; + void setDesktopId(const std::vector &desktopId); + +private: + std::string policyId_; + std::string regionId_; + std::vector desktopId_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_APPLYAUTOSNAPSHOTPOLICYREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/ApplyAutoSnapshotPolicyResult.h b/ecd/include/alibabacloud/ecd/model/ApplyAutoSnapshotPolicyResult.h new file mode 100644 index 000000000..4833b895d --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/ApplyAutoSnapshotPolicyResult.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_ECD_MODEL_APPLYAUTOSNAPSHOTPOLICYRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_APPLYAUTOSNAPSHOTPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT ApplyAutoSnapshotPolicyResult : public ServiceResult + { + public: + + + ApplyAutoSnapshotPolicyResult(); + explicit ApplyAutoSnapshotPolicyResult(const std::string &payload); + ~ApplyAutoSnapshotPolicyResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_APPLYAUTOSNAPSHOTPOLICYRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/AttachEndUserRequest.h b/ecd/include/alibabacloud/ecd/model/AttachEndUserRequest.h new file mode 100644 index 000000000..e1d41a7dd --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/AttachEndUserRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ECD_MODEL_ATTACHENDUSERREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_ATTACHENDUSERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT AttachEndUserRequest : public RpcServiceRequest { +public: + AttachEndUserRequest(); + ~AttachEndUserRequest(); + int getClientType() const; + void setClientType(int clientType); + std::string getUserType() const; + void setUserType(const std::string &userType); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getAdDomain() const; + void setAdDomain(const std::string &adDomain); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getEndUserId() const; + void setEndUserId(const std::string &endUserId); + std::string getDirectoryId() const; + void setDirectoryId(const std::string &directoryId); + +private: + int clientType_; + std::string userType_; + std::string deviceId_; + std::string adDomain_; + std::string regionId_; + std::string endUserId_; + std::string directoryId_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_ATTACHENDUSERREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/AttachEndUserResult.h b/ecd/include/alibabacloud/ecd/model/AttachEndUserResult.h new file mode 100644 index 000000000..f717c1129 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/AttachEndUserResult.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_ECD_MODEL_ATTACHENDUSERRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_ATTACHENDUSERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT AttachEndUserResult : public ServiceResult + { + public: + + + AttachEndUserResult(); + explicit AttachEndUserResult(const std::string &payload); + ~AttachEndUserResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_ATTACHENDUSERRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/CancelAutoSnapshotPolicyRequest.h b/ecd/include/alibabacloud/ecd/model/CancelAutoSnapshotPolicyRequest.h new file mode 100644 index 000000000..16c125e20 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/CancelAutoSnapshotPolicyRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ECD_MODEL_CANCELAUTOSNAPSHOTPOLICYREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_CANCELAUTOSNAPSHOTPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT CancelAutoSnapshotPolicyRequest : public RpcServiceRequest { +public: + CancelAutoSnapshotPolicyRequest(); + ~CancelAutoSnapshotPolicyRequest(); + std::string getPolicyId() const; + void setPolicyId(const std::string &policyId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::vector getDesktopId() const; + void setDesktopId(const std::vector &desktopId); + +private: + std::string policyId_; + std::string regionId_; + std::vector desktopId_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_CANCELAUTOSNAPSHOTPOLICYREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/CancelAutoSnapshotPolicyResult.h b/ecd/include/alibabacloud/ecd/model/CancelAutoSnapshotPolicyResult.h new file mode 100644 index 000000000..86b303e55 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/CancelAutoSnapshotPolicyResult.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_ECD_MODEL_CANCELAUTOSNAPSHOTPOLICYRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_CANCELAUTOSNAPSHOTPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT CancelAutoSnapshotPolicyResult : public ServiceResult + { + public: + + + CancelAutoSnapshotPolicyResult(); + explicit CancelAutoSnapshotPolicyResult(const std::string &payload); + ~CancelAutoSnapshotPolicyResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_CANCELAUTOSNAPSHOTPOLICYRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/CancelCdsFileShareLinkRequest.h b/ecd/include/alibabacloud/ecd/model/CancelCdsFileShareLinkRequest.h new file mode 100644 index 000000000..e5c34cc0d --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/CancelCdsFileShareLinkRequest.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_ECD_MODEL_CANCELCDSFILESHARELINKREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_CANCELCDSFILESHARELINKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT CancelCdsFileShareLinkRequest : public RpcServiceRequest { +public: + CancelCdsFileShareLinkRequest(); + ~CancelCdsFileShareLinkRequest(); + std::string getShareId() const; + void setShareId(const std::string &shareId); + std::string getCdsId() const; + void setCdsId(const std::string &cdsId); + +private: + std::string shareId_; + std::string cdsId_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_CANCELCDSFILESHARELINKREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/DeleteDriveResult.h b/ecd/include/alibabacloud/ecd/model/CancelCdsFileShareLinkResult.h similarity index 73% rename from ecd/include/alibabacloud/ecd/model/DeleteDriveResult.h rename to ecd/include/alibabacloud/ecd/model/CancelCdsFileShareLinkResult.h index 711c81275..0e9b370f3 100644 --- a/ecd/include/alibabacloud/ecd/model/DeleteDriveResult.h +++ b/ecd/include/alibabacloud/ecd/model/CancelCdsFileShareLinkResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_ECD_MODEL_DELETEDRIVERESULT_H_ -#define ALIBABACLOUD_ECD_MODEL_DELETEDRIVERESULT_H_ +#ifndef ALIBABACLOUD_ECD_MODEL_CANCELCDSFILESHARELINKRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_CANCELCDSFILESHARELINKRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_ECD_EXPORT DeleteDriveResult : public ServiceResult + class ALIBABACLOUD_ECD_EXPORT CancelCdsFileShareLinkResult : public ServiceResult { public: - DeleteDriveResult(); - explicit DeleteDriveResult(const std::string &payload); - ~DeleteDriveResult(); + CancelCdsFileShareLinkResult(); + explicit CancelCdsFileShareLinkResult(const std::string &payload); + ~CancelCdsFileShareLinkResult(); std::string getMessage()const; bool getData()const; std::string getCode()const; @@ -54,4 +54,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_ECD_MODEL_DELETEDRIVERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_ECD_MODEL_CANCELCDSFILESHARELINKRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/CompleteCdsFileRequest.h b/ecd/include/alibabacloud/ecd/model/CompleteCdsFileRequest.h new file mode 100644 index 000000000..921b69d3b --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/CompleteCdsFileRequest.h @@ -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_ECD_MODEL_COMPLETECDSFILEREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_COMPLETECDSFILEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT CompleteCdsFileRequest : public RpcServiceRequest { +public: + CompleteCdsFileRequest(); + ~CompleteCdsFileRequest(); + std::string getUploadId() const; + void setUploadId(const std::string &uploadId); + std::string getCdsId() const; + void setCdsId(const std::string &cdsId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getEndUserId() const; + void setEndUserId(const std::string &endUserId); + std::string getFileId() const; + void setFileId(const std::string &fileId); + +private: + std::string uploadId_; + std::string cdsId_; + std::string regionId_; + std::string endUserId_; + std::string fileId_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_COMPLETECDSFILEREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/CompleteCdsFileResult.h b/ecd/include/alibabacloud/ecd/model/CompleteCdsFileResult.h new file mode 100644 index 000000000..275ce2dba --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/CompleteCdsFileResult.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_ECD_MODEL_COMPLETECDSFILERESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_COMPLETECDSFILERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT CompleteCdsFileResult : public ServiceResult + { + public: + + + CompleteCdsFileResult(); + explicit CompleteCdsFileResult(const std::string &payload); + ~CompleteCdsFileResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_COMPLETECDSFILERESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/ConfigADConnectorTrustRequest.h b/ecd/include/alibabacloud/ecd/model/ConfigADConnectorTrustRequest.h index 6be36d074..1dde1092e 100644 --- a/ecd/include/alibabacloud/ecd/model/ConfigADConnectorTrustRequest.h +++ b/ecd/include/alibabacloud/ecd/model/ConfigADConnectorTrustRequest.h @@ -36,11 +36,14 @@ public: void setTrustKey(const std::string &trustKey); std::string getRegionId() const; void setRegionId(const std::string ®ionId); + bool getRdsLicenseDomain() const; + void setRdsLicenseDomain(bool rdsLicenseDomain); private: std::string officeSiteId_; std::string trustKey_; std::string regionId_; + bool rdsLicenseDomain_; }; } // namespace Model } // namespace Ecd diff --git a/ecd/include/alibabacloud/ecd/model/CopyCdsFileRequest.h b/ecd/include/alibabacloud/ecd/model/CopyCdsFileRequest.h new file mode 100644 index 000000000..fd6342824 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/CopyCdsFileRequest.h @@ -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_ECD_MODEL_COPYCDSFILEREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_COPYCDSFILEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT CopyCdsFileRequest : public RpcServiceRequest { +public: + CopyCdsFileRequest(); + ~CopyCdsFileRequest(); + bool getAutoRename() const; + void setAutoRename(bool autoRename); + std::string getCdsId() const; + void setCdsId(const std::string &cdsId); + std::string getParentFolderId() const; + void setParentFolderId(const std::string &parentFolderId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getEndUserId() const; + void setEndUserId(const std::string &endUserId); + std::string getFileId() const; + void setFileId(const std::string &fileId); + +private: + bool autoRename_; + std::string cdsId_; + std::string parentFolderId_; + std::string regionId_; + std::string endUserId_; + std::string fileId_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_COPYCDSFILEREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/CopyCdsFileResult.h b/ecd/include/alibabacloud/ecd/model/CopyCdsFileResult.h new file mode 100644 index 000000000..db4b0b500 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/CopyCdsFileResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ECD_MODEL_COPYCDSFILERESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_COPYCDSFILERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT CopyCdsFileResult : public ServiceResult + { + public: + struct CopyCdsFileModel + { + std::string asyncTaskId; + std::string fileId; + }; + + + CopyCdsFileResult(); + explicit CopyCdsFileResult(const std::string &payload); + ~CopyCdsFileResult(); + std::string getMessage()const; + CopyCdsFileModel getCopyCdsFileModel()const; + std::string getCode()const; + std::string getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + CopyCdsFileModel copyCdsFileModel_; + std::string code_; + std::string success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_COPYCDSFILERESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/CreateAutoSnapshotPolicyRequest.h b/ecd/include/alibabacloud/ecd/model/CreateAutoSnapshotPolicyRequest.h new file mode 100644 index 000000000..675bdaa7f --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/CreateAutoSnapshotPolicyRequest.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_ECD_MODEL_CREATEAUTOSNAPSHOTPOLICYREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_CREATEAUTOSNAPSHOTPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT CreateAutoSnapshotPolicyRequest : public RpcServiceRequest { +public: + CreateAutoSnapshotPolicyRequest(); + ~CreateAutoSnapshotPolicyRequest(); + std::string getCronExpression() const; + void setCronExpression(const std::string &cronExpression); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getPolicyName() const; + void setPolicyName(const std::string &policyName); + int getRetentionDays() const; + void setRetentionDays(int retentionDays); + +private: + std::string cronExpression_; + std::string regionId_; + std::string policyName_; + int retentionDays_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_CREATEAUTOSNAPSHOTPOLICYREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/CreateAutoSnapshotPolicyResult.h b/ecd/include/alibabacloud/ecd/model/CreateAutoSnapshotPolicyResult.h new file mode 100644 index 000000000..516db6e21 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/CreateAutoSnapshotPolicyResult.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_ECD_MODEL_CREATEAUTOSNAPSHOTPOLICYRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_CREATEAUTOSNAPSHOTPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT CreateAutoSnapshotPolicyResult : public ServiceResult + { + public: + + + CreateAutoSnapshotPolicyResult(); + explicit CreateAutoSnapshotPolicyResult(const std::string &payload); + ~CreateAutoSnapshotPolicyResult(); + std::string getPolicyId()const; + + protected: + void parse(const std::string &payload); + private: + std::string policyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_CREATEAUTOSNAPSHOTPOLICYRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/CreateCdsFileRequest.h b/ecd/include/alibabacloud/ecd/model/CreateCdsFileRequest.h new file mode 100644 index 000000000..917564700 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/CreateCdsFileRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ECD_MODEL_CREATECDSFILEREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_CREATECDSFILEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT CreateCdsFileRequest : public RpcServiceRequest { +public: + CreateCdsFileRequest(); + ~CreateCdsFileRequest(); + std::string getFileType() const; + void setFileType(const std::string &fileType); + std::string getCdsId() const; + void setCdsId(const std::string &cdsId); + std::string getConflictPolicy() const; + void setConflictPolicy(const std::string &conflictPolicy); + std::string getParentFileId() const; + void setParentFileId(const std::string &parentFileId); + std::string getFileName() const; + void setFileName(const std::string &fileName); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + long getFileLength() const; + void setFileLength(long fileLength); + std::string getEndUserId() const; + void setEndUserId(const std::string &endUserId); + std::string getFileHash() const; + void setFileHash(const std::string &fileHash); + +private: + std::string fileType_; + std::string cdsId_; + std::string conflictPolicy_; + std::string parentFileId_; + std::string fileName_; + std::string regionId_; + long fileLength_; + std::string endUserId_; + std::string fileHash_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_CREATECDSFILEREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/CreateCdsFileResult.h b/ecd/include/alibabacloud/ecd/model/CreateCdsFileResult.h new file mode 100644 index 000000000..a7e1a6764 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/CreateCdsFileResult.h @@ -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_ECD_MODEL_CREATECDSFILERESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_CREATECDSFILERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT CreateCdsFileResult : public ServiceResult + { + public: + struct FileModel + { + std::string uploadUrl; + std::string fileId; + std::string uploadId; + }; + + + CreateCdsFileResult(); + explicit CreateCdsFileResult(const std::string &payload); + ~CreateCdsFileResult(); + FileModel getFileModel()const; + + protected: + void parse(const std::string &payload); + private: + FileModel fileModel_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_CREATECDSFILERESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/CreateCdsFileShareLinkRequest.h b/ecd/include/alibabacloud/ecd/model/CreateCdsFileShareLinkRequest.h new file mode 100644 index 000000000..bf212ec4b --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/CreateCdsFileShareLinkRequest.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ECD_MODEL_CREATECDSFILESHARELINKREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_CREATECDSFILESHARELINKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT CreateCdsFileShareLinkRequest : public RpcServiceRequest { +public: + CreateCdsFileShareLinkRequest(); + ~CreateCdsFileShareLinkRequest(); + std::string getDescription() const; + void setDescription(const std::string &description); + long getPreviewLimit() const; + void setPreviewLimit(long previewLimit); + bool getDisableDownload() const; + void setDisableDownload(bool disableDownload); + bool getDisablePreview() const; + void setDisablePreview(bool disablePreview); + std::string getSharePwd() const; + void setSharePwd(const std::string &sharePwd); + std::string getShareName() const; + void setShareName(const std::string &shareName); + std::string getEndUserId() const; + void setEndUserId(const std::string &endUserId); + bool getDisableSave() const; + void setDisableSave(bool disableSave); + long getDownloadLimit() const; + void setDownloadLimit(long downloadLimit); + std::string getCdsId() const; + void setCdsId(const std::string &cdsId); + long getSaveLimit() const; + void setSaveLimit(long saveLimit); + std::vector getFileIds() const; + void setFileIds(const std::vector &fileIds); + std::string getExpiration() const; + void setExpiration(const std::string &expiration); + +private: + std::string description_; + long previewLimit_; + bool disableDownload_; + bool disablePreview_; + std::string sharePwd_; + std::string shareName_; + std::string endUserId_; + bool disableSave_; + long downloadLimit_; + std::string cdsId_; + long saveLimit_; + std::vector fileIds_; + std::string expiration_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_CREATECDSFILESHARELINKREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/DescribeDrivesResult.h b/ecd/include/alibabacloud/ecd/model/CreateCdsFileShareLinkResult.h similarity index 53% rename from ecd/include/alibabacloud/ecd/model/DescribeDrivesResult.h rename to ecd/include/alibabacloud/ecd/model/CreateCdsFileShareLinkResult.h index c176d27fb..5a3f7bc60 100644 --- a/ecd/include/alibabacloud/ecd/model/DescribeDrivesResult.h +++ b/ecd/include/alibabacloud/ecd/model/CreateCdsFileShareLinkResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_ECD_MODEL_DESCRIBEDRIVESRESULT_H_ -#define ALIBABACLOUD_ECD_MODEL_DESCRIBEDRIVESRESULT_H_ +#ifndef ALIBABACLOUD_ECD_MODEL_CREATECDSFILESHARELINKRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_CREATECDSFILESHARELINKRESULT_H_ #include #include @@ -29,44 +29,44 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_ECD_EXPORT DescribeDrivesResult : public ServiceResult + class ALIBABACLOUD_ECD_EXPORT CreateCdsFileShareLinkResult : public ServiceResult { public: - struct Drive + struct Data { - struct DesktopGroup - { - std::string desktopGroupId; - std::string desktopGroupName; - }; - std::string status; + long previewCount; std::string description; - bool enableProfileManagement; - std::vector desktopGroups; - bool profileRoaming; - std::string gmtModified; + long saveLimit; + long downloadLimit; + std::string shareName; std::string driveId; - std::string externalDriveId; - long totalSize; - long usedSize; - std::string name; - std::string externalDomainId; - std::string gmtCreate; - std::string type; - std::string domainId; - int desktopGroupCount; - std::string userId; - std::string externalUserId; - std::string id; - long aliUid; + std::string creator; + bool disablePreview; + long videoPreviewCount; + std::string shareId; + bool disableDownload; + std::string status; + std::string createTime; + std::string expiration; + bool expired; + long saveCount; + std::string modifiyTime; + long reportCount; + long previewLimit; + bool disableSave; + std::string sharePwd; + std::string shareLink; + std::string fileIds; + long downloadCount; + long accessCount; }; - DescribeDrivesResult(); - explicit DescribeDrivesResult(const std::string &payload); - ~DescribeDrivesResult(); + CreateCdsFileShareLinkResult(); + explicit CreateCdsFileShareLinkResult(const std::string &payload); + ~CreateCdsFileShareLinkResult(); std::string getMessage()const; - std::vector getDrives()const; + Data getData()const; std::string getCode()const; bool getSuccess()const; @@ -74,7 +74,7 @@ namespace AlibabaCloud void parse(const std::string &payload); private: std::string message_; - std::vector drives_; + Data data_; std::string code_; bool success_; @@ -82,4 +82,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_ECD_MODEL_DESCRIBEDRIVESRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_ECD_MODEL_CREATECDSFILESHARELINKRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/CreateDesktopGroupRequest.h b/ecd/include/alibabacloud/ecd/model/CreateDesktopGroupRequest.h index a01f34241..f4419d2a7 100644 --- a/ecd/include/alibabacloud/ecd/model/CreateDesktopGroupRequest.h +++ b/ecd/include/alibabacloud/ecd/model/CreateDesktopGroupRequest.h @@ -34,6 +34,8 @@ public: void setDesktopGroupName(const std::string &desktopGroupName); int getAllowBufferCount() const; void setAllowBufferCount(int allowBufferCount); + int getGroupVersion() const; + void setGroupVersion(int groupVersion); bool getAllClassifyUsers() const; void setAllClassifyUsers(bool allClassifyUsers); int getMaxDesktopsCount() const; @@ -52,8 +54,12 @@ public: void setKeepDuration(long keepDuration); std::string getPeriodUnit() const; void setPeriodUnit(const std::string &periodUnit); + bool getAutoRenew() const; + void setAutoRenew(bool autoRenew); bool getProfileFollowSwitch() const; void setProfileFollowSwitch(bool profileFollowSwitch); + int getBuyDesktopsCount() const; + void setBuyDesktopsCount(int buyDesktopsCount); std::string getPolicyGroupId() const; void setPolicyGroupId(const std::string &policyGroupId); std::string getVolumeEncryptionKey() const; @@ -104,6 +110,7 @@ public: private: std::string desktopGroupName_; int allowBufferCount_; + int groupVersion_; bool allClassifyUsers_; int maxDesktopsCount_; bool volumeEncryptionEnabled_; @@ -113,7 +120,9 @@ private: float ratioThreshold_; long keepDuration_; std::string periodUnit_; + bool autoRenew_; bool profileFollowSwitch_; + int buyDesktopsCount_; std::string policyGroupId_; std::string volumeEncryptionKey_; std::string officeSiteId_; diff --git a/ecd/include/alibabacloud/ecd/model/CreateDesktopsRequest.h b/ecd/include/alibabacloud/ecd/model/CreateDesktopsRequest.h index b0628db7b..d579fb156 100644 --- a/ecd/include/alibabacloud/ecd/model/CreateDesktopsRequest.h +++ b/ecd/include/alibabacloud/ecd/model/CreateDesktopsRequest.h @@ -28,10 +28,27 @@ namespace Ecd { namespace Model { class ALIBABACLOUD_ECD_EXPORT CreateDesktopsRequest : public RpcServiceRequest { public: + struct DesktopTimers { + std::string cronExpression; + std::string timerType; + bool allowClientSetting; + std::string resetType; + bool enforce; + int interval; + std::string operationType; + }; struct Tag { std::string value; std::string key; }; + struct BundleModels { + bool volumeEncryptionEnabled; + std::string volumeEncryptionKey; + int amount; + std::string desktopName; + std::string hostname; + std::string bundleId; + }; struct UserCommands { std::string contentEncoding; std::string content; @@ -51,6 +68,8 @@ public: void setUserAssignMode(const std::string &userAssignMode); std::string getHostname() const; void setHostname(const std::string &hostname); + std::vector getDesktopTimers() const; + void setDesktopTimers(const std::vector &desktopTimers); std::string getRegionId() const; void setRegionId(const std::string ®ionId); bool getDesktopNameSuffix() const; @@ -61,8 +80,12 @@ public: void setDirectoryId(const std::string &directoryId); std::vector getEndUserId() const; void setEndUserId(const std::vector &endUserId); + std::string getDesktopMemberIp() const; + void setDesktopMemberIp(const std::string &desktopMemberIp); std::vector getTag() const; void setTag(const std::vector &tag); + std::vector getBundleModels() const; + void setBundleModels(const std::vector &bundleModels); bool getVolumeEncryptionEnabled() const; void setVolumeEncryptionEnabled(bool volumeEncryptionEnabled); std::string getDesktopName() const; @@ -103,12 +126,15 @@ private: std::string bundleId_; std::string userAssignMode_; std::string hostname_; + std::vector desktopTimers_; std::string regionId_; bool desktopNameSuffix_; std::string systemDiskSize_; std::string directoryId_; std::vector endUserId_; + std::string desktopMemberIp_; std::vector tag_; + std::vector bundleModels_; bool volumeEncryptionEnabled_; std::string desktopName_; int amount_; diff --git a/ecd/include/alibabacloud/ecd/model/CreateDriveRequest.h b/ecd/include/alibabacloud/ecd/model/CreateDriveRequest.h deleted file mode 100644 index 15d3f4fdc..000000000 --- a/ecd/include/alibabacloud/ecd/model/CreateDriveRequest.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_ECD_MODEL_CREATEDRIVEREQUEST_H_ -#define ALIBABACLOUD_ECD_MODEL_CREATEDRIVEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Ecd { -namespace Model { -class ALIBABACLOUD_ECD_EXPORT CreateDriveRequest : public RpcServiceRequest { -public: - CreateDriveRequest(); - ~CreateDriveRequest(); - bool getProfileRoaming() const; - void setProfileRoaming(bool profileRoaming); - std::string getDescription() const; - void setDescription(const std::string &description); - std::string getType() const; - void setType(const std::string &type); - std::string getUserId() const; - void setUserId(const std::string &userId); - std::string getDomainId() const; - void setDomainId(const std::string &domainId); - std::string getRegionId() const; - void setRegionId(const std::string ®ionId); - std::string getExternalDomainId() const; - void setExternalDomainId(const std::string &externalDomainId); - long getUsedSize() const; - void setUsedSize(long usedSize); - long getAliUid() const; - void setAliUid(long aliUid); - std::string getDriveName() const; - void setDriveName(const std::string &driveName); - long getTotalSize() const; - void setTotalSize(long totalSize); - std::string getResourceType() const; - void setResourceType(const std::string &resourceType); - -private: - bool profileRoaming_; - std::string description_; - std::string type_; - std::string userId_; - std::string domainId_; - std::string regionId_; - std::string externalDomainId_; - long usedSize_; - long aliUid_; - std::string driveName_; - long totalSize_; - std::string resourceType_; -}; -} // namespace Model -} // namespace Ecd -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_ECD_MODEL_CREATEDRIVEREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/CreateNetworkPackageRequest.h b/ecd/include/alibabacloud/ecd/model/CreateNetworkPackageRequest.h index dc5276ffc..2eb3b20df 100644 --- a/ecd/include/alibabacloud/ecd/model/CreateNetworkPackageRequest.h +++ b/ecd/include/alibabacloud/ecd/model/CreateNetworkPackageRequest.h @@ -32,6 +32,8 @@ public: ~CreateNetworkPackageRequest(); std::string getOfficeSiteId() const; void setOfficeSiteId(const std::string &officeSiteId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); int getPeriod() const; void setPeriod(int period); bool getAutoPay() const; @@ -44,21 +46,22 @@ public: void setPeriodUnit(const std::string &periodUnit); bool getAutoRenew() const; void setAutoRenew(bool autoRenew); - std::string getRegionId() const; - void setRegionId(const std::string ®ionId); std::string getInternetChargeType() const; void setInternetChargeType(const std::string &internetChargeType); + std::string getPayType() const; + void setPayType(const std::string &payType); private: std::string officeSiteId_; + std::string regionId_; int period_; bool autoPay_; int bandwidth_; std::string promotionId_; std::string periodUnit_; bool autoRenew_; - std::string regionId_; std::string internetChargeType_; + std::string payType_; }; } // namespace Model } // namespace Ecd diff --git a/ecd/include/alibabacloud/ecd/model/CreatePolicyGroupRequest.h b/ecd/include/alibabacloud/ecd/model/CreatePolicyGroupRequest.h index 5a7e3c041..32e481163 100644 --- a/ecd/include/alibabacloud/ecd/model/CreatePolicyGroupRequest.h +++ b/ecd/include/alibabacloud/ecd/model/CreatePolicyGroupRequest.h @@ -28,6 +28,29 @@ namespace Ecd { namespace Model { class ALIBABACLOUD_ECD_EXPORT CreatePolicyGroupRequest : public RpcServiceRequest { public: + struct AuthorizeSecurityPolicyRule { + std::string portRange; + std::string ipProtocol; + std::string description; + std::string type; + std::string priority; + std::string cidrIp; + std::string policy; + }; + struct NetRedirectRule { + std::string ruleType; + std::string domain; + std::string policy; + }; + struct DomainResolveRule { + std::string domain; + std::string description; + std::string policy; + }; + struct AuthorizeAccessPolicyRule { + std::string description; + std::string cidrIp; + }; struct ClientType { std::string clientType; std::string status; @@ -41,31 +64,10 @@ public: std::string deviceClass; long usbRuleType; }; - struct AuthorizeSecurityPolicyRule { - std::string portRange; - std::string ipProtocol; - std::string description; - std::string type; - std::string priority; - std::string cidrIp; - std::string policy; - }; - struct AuthorizeAccessPolicyRule { - std::string description; - std::string cidrIp; - }; CreatePolicyGroupRequest(); ~CreatePolicyGroupRequest(); - std::string getWatermarkCustomText() const; - void setWatermarkCustomText(const std::string &watermarkCustomText); - std::string getPreemptLogin() const; - void setPreemptLogin(const std::string &preemptLogin); long getRecordingExpires() const; void setRecordingExpires(long recordingExpires); - std::vector getClientType() const; - void setClientType(const std::vector &clientType); - std::vector getUsbSupplyRedirectRule() const; - void setUsbSupplyRedirectRule(const std::vector &usbSupplyRedirectRule); std::string getPrinterRedirection() const; void setPrinterRedirection(const std::string &printerRedirection); std::vector getPreemptLoginUser() const; @@ -76,84 +78,179 @@ public: void setNetRedirect(const std::string &netRedirect); std::string getLocalDrive() const; void setLocalDrive(const std::string &localDrive); + int getWatermarkTransparencyValue() const; + void setWatermarkTransparencyValue(int watermarkTransparencyValue); std::vector getAuthorizeSecurityPolicyRule() const; void setAuthorizeSecurityPolicyRule(const std::vector &authorizeSecurityPolicyRule); - std::string getRecording() const; - void setRecording(const std::string &recording); std::string getClipboard() const; void setClipboard(const std::string &clipboard); - long getRecordingFps() const; - void setRecordingFps(long recordingFps); + std::string getEndUserApplyAdminCoordinate() const; + void setEndUserApplyAdminCoordinate(const std::string &endUserApplyAdminCoordinate); std::string getUsbRedirect() const; void setUsbRedirect(const std::string &usbRedirect); - std::string getRegionId() const; - void setRegionId(const std::string ®ionId); std::string getWatermarkType() const; void setWatermarkType(const std::string &watermarkType); std::string getRecordingStartTime() const; void setRecordingStartTime(const std::string &recordingStartTime); - std::string getRecordContent() const; - void setRecordContent(const std::string &recordContent); - long getRecordContentExpires() const; - void setRecordContentExpires(long recordContentExpires); + std::vector getNetRedirectRule() const; + void setNetRedirectRule(const std::vector &netRedirectRule); + int getRecordingDuration() const; + void setRecordingDuration(int recordingDuration); + int getWatermarkColor() const; + void setWatermarkColor(int watermarkColor); + int getMemoryRateLimit() const; + void setMemoryRateLimit(int memoryRateLimit); std::string getWatermark() const; void setWatermark(const std::string &watermark); std::string getCameraRedirect() const; void setCameraRedirect(const std::string &cameraRedirect); + std::vector getMemoryProcessors() const; + void setMemoryProcessors(const std::vector &memoryProcessors); + std::string getVideoRedirect() const; + void setVideoRedirect(const std::string &videoRedirect); + int getCpuSingleRateLimit() const; + void setCpuSingleRateLimit(int cpuSingleRateLimit); + std::string getAppContentProtection() const; + void setAppContentProtection(const std::string &appContentProtection); + std::string getCpuProtectedMode() const; + void setCpuProtectedMode(const std::string &cpuProtectedMode); + std::vector getDomainResolveRule() const; + void setDomainResolveRule(const std::vector &domainResolveRule); + std::vector getAuthorizeAccessPolicyRule() const; + void setAuthorizeAccessPolicyRule(const std::vector &authorizeAccessPolicyRule); + std::string getWatermarkTransparency() const; + void setWatermarkTransparency(const std::string &watermarkTransparency); + std::string getName() const; + void setName(const std::string &name); + int getMemorySampleDuration() const; + void setMemorySampleDuration(int memorySampleDuration); + std::string getWatermarkCustomText() const; + void setWatermarkCustomText(const std::string &watermarkCustomText); + int getCpuDownGradeDuration() const; + void setCpuDownGradeDuration(int cpuDownGradeDuration); + std::string getPreemptLogin() const; + void setPreemptLogin(const std::string &preemptLogin); + std::vector getClientType() const; + void setClientType(const std::vector &clientType); + std::vector getUsbSupplyRedirectRule() const; + void setUsbSupplyRedirectRule(const std::vector &usbSupplyRedirectRule); + int getWatermarkFontSize() const; + void setWatermarkFontSize(int watermarkFontSize); + std::string getRecording() const; + void setRecording(const std::string &recording); + std::vector getScopeValue() const; + void setScopeValue(const std::vector &scopeValue); + std::string getDomainResolveRuleType() const; + void setDomainResolveRuleType(const std::string &domainResolveRuleType); + int getMemorySingleRateLimit() const; + void setMemorySingleRateLimit(int memorySingleRateLimit); + long getRecordingFps() const; + void setRecordingFps(long recordingFps); + std::string getWatermarkFontStyle() const; + void setWatermarkFontStyle(const std::string &watermarkFontStyle); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getRecordContent() const; + void setRecordContent(const std::string &recordContent); + std::string getScope() const; + void setScope(const std::string &scope); + int getWatermarkRowAmount() const; + void setWatermarkRowAmount(int watermarkRowAmount); + std::vector getCpuProcessors() const; + void setCpuProcessors(const std::vector &cpuProcessors); + std::string getEndUserGroupCoordinate() const; + void setEndUserGroupCoordinate(const std::string &endUserGroupCoordinate); + double getWatermarkDegree() const; + void setWatermarkDegree(double watermarkDegree); + long getRecordContentExpires() const; + void setRecordContentExpires(long recordContentExpires); + std::string getRecordingAudio() const; + void setRecordingAudio(const std::string &recordingAudio); + int getCpuRateLimit() const; + void setCpuRateLimit(int cpuRateLimit); std::string getRemoteCoordinate() const; void setRemoteCoordinate(const std::string &remoteCoordinate); + int getCpuSampleDuration() const; + void setCpuSampleDuration(int cpuSampleDuration); std::string getHtml5Access() const; void setHtml5Access(const std::string &html5Access); std::string getGpuAcceleration() const; void setGpuAcceleration(const std::string &gpuAcceleration); std::string getHtml5FileTransfer() const; void setHtml5FileTransfer(const std::string &html5FileTransfer); - std::string getAppContentProtection() const; - void setAppContentProtection(const std::string &appContentProtection); - std::vector getAuthorizeAccessPolicyRule() const; - void setAuthorizeAccessPolicyRule(const std::vector &authorizeAccessPolicyRule); std::string getVisualQuality() const; void setVisualQuality(const std::string &visualQuality); - std::string getWatermarkTransparency() const; - void setWatermarkTransparency(const std::string &watermarkTransparency); - std::string getName() const; - void setName(const std::string &name); std::string getRecordingEndTime() const; void setRecordingEndTime(const std::string &recordingEndTime); + std::string getMemoryProtectedMode() const; + void setMemoryProtectedMode(const std::string &memoryProtectedMode); + int getMemoryDownGradeDuration() const; + void setMemoryDownGradeDuration(int memoryDownGradeDuration); + std::string getInternetCommunicationProtocol() const; + void setInternetCommunicationProtocol(const std::string &internetCommunicationProtocol); private: - std::string watermarkCustomText_; - std::string preemptLogin_; long recordingExpires_; - std::vector clientType_; - std::vector usbSupplyRedirectRule_; std::string printerRedirection_; std::vector preemptLoginUser_; std::string domainList_; std::string netRedirect_; std::string localDrive_; + int watermarkTransparencyValue_; std::vector authorizeSecurityPolicyRule_; - std::string recording_; std::string clipboard_; - long recordingFps_; + std::string endUserApplyAdminCoordinate_; std::string usbRedirect_; - std::string regionId_; std::string watermarkType_; std::string recordingStartTime_; - std::string recordContent_; - long recordContentExpires_; + std::vector netRedirectRule_; + int recordingDuration_; + int watermarkColor_; + int memoryRateLimit_; std::string watermark_; std::string cameraRedirect_; + std::vector memoryProcessors_; + std::string videoRedirect_; + int cpuSingleRateLimit_; + std::string appContentProtection_; + std::string cpuProtectedMode_; + std::vector domainResolveRule_; + std::vector authorizeAccessPolicyRule_; + std::string watermarkTransparency_; + std::string name_; + int memorySampleDuration_; + std::string watermarkCustomText_; + int cpuDownGradeDuration_; + std::string preemptLogin_; + std::vector clientType_; + std::vector usbSupplyRedirectRule_; + int watermarkFontSize_; + std::string recording_; + std::vector scopeValue_; + std::string domainResolveRuleType_; + int memorySingleRateLimit_; + long recordingFps_; + std::string watermarkFontStyle_; + std::string regionId_; + std::string recordContent_; + std::string scope_; + int watermarkRowAmount_; + std::vector cpuProcessors_; + std::string endUserGroupCoordinate_; + double watermarkDegree_; + long recordContentExpires_; + std::string recordingAudio_; + int cpuRateLimit_; std::string remoteCoordinate_; + int cpuSampleDuration_; std::string html5Access_; std::string gpuAcceleration_; std::string html5FileTransfer_; - std::string appContentProtection_; - std::vector authorizeAccessPolicyRule_; std::string visualQuality_; - std::string watermarkTransparency_; - std::string name_; std::string recordingEndTime_; + std::string memoryProtectedMode_; + int memoryDownGradeDuration_; + std::string internetCommunicationProtocol_; }; } // namespace Model } // namespace Ecd diff --git a/ecd/include/alibabacloud/ecd/model/CreateSimpleOfficeSiteRequest.h b/ecd/include/alibabacloud/ecd/model/CreateSimpleOfficeSiteRequest.h index b38122fdd..5cee2dd5d 100644 --- a/ecd/include/alibabacloud/ecd/model/CreateSimpleOfficeSiteRequest.h +++ b/ecd/include/alibabacloud/ecd/model/CreateSimpleOfficeSiteRequest.h @@ -30,6 +30,8 @@ class ALIBABACLOUD_ECD_EXPORT CreateSimpleOfficeSiteRequest : public RpcServiceR public: CreateSimpleOfficeSiteRequest(); ~CreateSimpleOfficeSiteRequest(); + std::string getVpcType() const; + void setVpcType(const std::string &vpcType); std::string getCenId() const; void setCenId(const std::string &cenId); long getCenOwnerId() const; @@ -58,6 +60,7 @@ public: void setCidrBlock(const std::string &cidrBlock); private: + std::string vpcType_; std::string cenId_; long cenOwnerId_; bool enableInternetAccess_; diff --git a/ecd/include/alibabacloud/ecd/model/DeleteAutoSnapshotPolicyRequest.h b/ecd/include/alibabacloud/ecd/model/DeleteAutoSnapshotPolicyRequest.h new file mode 100644 index 000000000..768b3969a --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/DeleteAutoSnapshotPolicyRequest.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_ECD_MODEL_DELETEAUTOSNAPSHOTPOLICYREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_DELETEAUTOSNAPSHOTPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT DeleteAutoSnapshotPolicyRequest : public RpcServiceRequest { +public: + DeleteAutoSnapshotPolicyRequest(); + ~DeleteAutoSnapshotPolicyRequest(); + std::vector getPolicyId() const; + void setPolicyId(const std::vector &policyId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::vector policyId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_DELETEAUTOSNAPSHOTPOLICYREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/DeleteAutoSnapshotPolicyResult.h b/ecd/include/alibabacloud/ecd/model/DeleteAutoSnapshotPolicyResult.h new file mode 100644 index 000000000..aecde82b3 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/DeleteAutoSnapshotPolicyResult.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_ECD_MODEL_DELETEAUTOSNAPSHOTPOLICYRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_DELETEAUTOSNAPSHOTPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT DeleteAutoSnapshotPolicyResult : public ServiceResult + { + public: + + + DeleteAutoSnapshotPolicyResult(); + explicit DeleteAutoSnapshotPolicyResult(const std::string &payload); + ~DeleteAutoSnapshotPolicyResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_DELETEAUTOSNAPSHOTPOLICYRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/DeleteCdsFileRequest.h b/ecd/include/alibabacloud/ecd/model/DeleteCdsFileRequest.h new file mode 100644 index 000000000..698557414 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/DeleteCdsFileRequest.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_ECD_MODEL_DELETECDSFILEREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_DELETECDSFILEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT DeleteCdsFileRequest : public RpcServiceRequest { +public: + DeleteCdsFileRequest(); + ~DeleteCdsFileRequest(); + std::string getCdsId() const; + void setCdsId(const std::string &cdsId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getEndUserId() const; + void setEndUserId(const std::string &endUserId); + std::string getFileId() const; + void setFileId(const std::string &fileId); + +private: + std::string cdsId_; + std::string regionId_; + std::string endUserId_; + std::string fileId_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_DELETECDSFILEREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/DeleteCdsFileResult.h b/ecd/include/alibabacloud/ecd/model/DeleteCdsFileResult.h new file mode 100644 index 000000000..3465b45e1 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/DeleteCdsFileResult.h @@ -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_ECD_MODEL_DELETECDSFILERESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_DELETECDSFILERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT DeleteCdsFileResult : public ServiceResult + { + public: + + + DeleteCdsFileResult(); + explicit DeleteCdsFileResult(const std::string &payload); + ~DeleteCdsFileResult(); + std::string getMessage()const; + std::string getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_DELETECDSFILERESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/DeleteCloudDriveGroupsRequest.h b/ecd/include/alibabacloud/ecd/model/DeleteCloudDriveGroupsRequest.h new file mode 100644 index 000000000..25e9a7e24 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/DeleteCloudDriveGroupsRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ECD_MODEL_DELETECLOUDDRIVEGROUPSREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_DELETECLOUDDRIVEGROUPSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT DeleteCloudDriveGroupsRequest : public RpcServiceRequest { +public: + DeleteCloudDriveGroupsRequest(); + ~DeleteCloudDriveGroupsRequest(); + std::vector getGroupId() const; + void setGroupId(const std::vector &groupId); + std::string getCdsId() const; + void setCdsId(const std::string &cdsId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::vector groupId_; + std::string cdsId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_DELETECLOUDDRIVEGROUPSREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/DeleteCloudDriveGroupsResult.h b/ecd/include/alibabacloud/ecd/model/DeleteCloudDriveGroupsResult.h new file mode 100644 index 000000000..2ea1b9684 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/DeleteCloudDriveGroupsResult.h @@ -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_ECD_MODEL_DELETECLOUDDRIVEGROUPSRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_DELETECLOUDDRIVEGROUPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT DeleteCloudDriveGroupsResult : public ServiceResult + { + public: + + + DeleteCloudDriveGroupsResult(); + explicit DeleteCloudDriveGroupsResult(const std::string &payload); + ~DeleteCloudDriveGroupsResult(); + std::string getMessage()const; + std::string getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_DELETECLOUDDRIVEGROUPSRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/DeleteDevicesRequest.h b/ecd/include/alibabacloud/ecd/model/DeleteDevicesRequest.h new file mode 100644 index 000000000..a5dc15047 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/DeleteDevicesRequest.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_ECD_MODEL_DELETEDEVICESREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_DELETEDEVICESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT DeleteDevicesRequest : public RpcServiceRequest { +public: + DeleteDevicesRequest(); + ~DeleteDevicesRequest(); + int getClientType() const; + void setClientType(int clientType); + std::vector getDeviceIds() const; + void setDeviceIds(const std::vector &deviceIds); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + int getForce() const; + void setForce(int force); + +private: + int clientType_; + std::vector deviceIds_; + std::string regionId_; + int force_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_DELETEDEVICESREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/DeleteDevicesResult.h b/ecd/include/alibabacloud/ecd/model/DeleteDevicesResult.h new file mode 100644 index 000000000..59633f83d --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/DeleteDevicesResult.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_ECD_MODEL_DELETEDEVICESRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_DELETEDEVICESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT DeleteDevicesResult : public ServiceResult + { + public: + + + DeleteDevicesResult(); + explicit DeleteDevicesResult(const std::string &payload); + ~DeleteDevicesResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_DELETEDEVICESRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/DeleteImagesRequest.h b/ecd/include/alibabacloud/ecd/model/DeleteImagesRequest.h index e1d40a358..b324b53e2 100644 --- a/ecd/include/alibabacloud/ecd/model/DeleteImagesRequest.h +++ b/ecd/include/alibabacloud/ecd/model/DeleteImagesRequest.h @@ -34,10 +34,13 @@ public: void setImageId(const std::vector &imageId); std::string getRegionId() const; void setRegionId(const std::string ®ionId); + bool getDeleteCascadedBundle() const; + void setDeleteCascadedBundle(bool deleteCascadedBundle); private: std::vector imageId_; std::string regionId_; + bool deleteCascadedBundle_; }; } // namespace Model } // namespace Ecd diff --git a/ecd/include/alibabacloud/ecd/model/DescribeAutoSnapshotPolicyRequest.h b/ecd/include/alibabacloud/ecd/model/DescribeAutoSnapshotPolicyRequest.h new file mode 100644 index 000000000..5a85eb1e4 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/DescribeAutoSnapshotPolicyRequest.h @@ -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_ECD_MODEL_DESCRIBEAUTOSNAPSHOTPOLICYREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_DESCRIBEAUTOSNAPSHOTPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT DescribeAutoSnapshotPolicyRequest : public RpcServiceRequest { +public: + DescribeAutoSnapshotPolicyRequest(); + ~DescribeAutoSnapshotPolicyRequest(); + std::string getPolicyId() const; + void setPolicyId(const std::string &policyId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getNextToken() const; + void setNextToken(const std::string &nextToken); + int getMaxResults() const; + void setMaxResults(int maxResults); + std::string getPolicyName() const; + void setPolicyName(const std::string &policyName); + +private: + std::string policyId_; + std::string regionId_; + std::string nextToken_; + int maxResults_; + std::string policyName_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_DESCRIBEAUTOSNAPSHOTPOLICYREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/DescribeAutoSnapshotPolicyResult.h b/ecd/include/alibabacloud/ecd/model/DescribeAutoSnapshotPolicyResult.h new file mode 100644 index 000000000..151f7519b --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/DescribeAutoSnapshotPolicyResult.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ECD_MODEL_DESCRIBEAUTOSNAPSHOTPOLICYRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_DESCRIBEAUTOSNAPSHOTPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT DescribeAutoSnapshotPolicyResult : public ServiceResult + { + public: + struct AutoSnapshotPolicy + { + std::string status; + std::string timePoints; + std::string policyName; + std::string creationTime; + std::string retentionDays; + std::string cronExpression; + std::string regionId; + int desktopNum; + std::string policyId; + }; + + + DescribeAutoSnapshotPolicyResult(); + explicit DescribeAutoSnapshotPolicyResult(const std::string &payload); + ~DescribeAutoSnapshotPolicyResult(); + std::string getNextToken()const; + std::vector getAutoSnapshotPolicies()const; + + protected: + void parse(const std::string &payload); + private: + std::string nextToken_; + std::vector autoSnapshotPolicies_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_DESCRIBEAUTOSNAPSHOTPOLICYRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/DescribeBundlesRequest.h b/ecd/include/alibabacloud/ecd/model/DescribeBundlesRequest.h index 177e44b6e..0a232e6f7 100644 --- a/ecd/include/alibabacloud/ecd/model/DescribeBundlesRequest.h +++ b/ecd/include/alibabacloud/ecd/model/DescribeBundlesRequest.h @@ -32,10 +32,14 @@ public: ~DescribeBundlesRequest(); float getGpuCount() const; void setGpuCount(float gpuCount); + std::vector getImageId() const; + void setImageId(const std::vector &imageId); std::vector getBundleId() const; void setBundleId(const std::vector &bundleId); std::string getDesktopTypeFamily() const; void setDesktopTypeFamily(const std::string &desktopTypeFamily); + bool getSelectedBundle() const; + void setSelectedBundle(bool selectedBundle); std::string getRegionId() const; void setRegionId(const std::string ®ionId); std::string getNextToken() const; @@ -50,6 +54,10 @@ public: void setVolumeEncryptionEnabled(bool volumeEncryptionEnabled); int getMemorySize() const; void setMemorySize(int memorySize); + std::string getSessionType() const; + void setSessionType(const std::string &sessionType); + std::string getOsType() const; + void setOsType(const std::string &osType); int getMaxResults() const; void setMaxResults(int maxResults); bool getCheckStock() const; @@ -63,8 +71,10 @@ public: private: float gpuCount_; + std::vector imageId_; std::vector bundleId_; std::string desktopTypeFamily_; + bool selectedBundle_; std::string regionId_; std::string nextToken_; bool fromDesktopGroup_; @@ -72,6 +82,8 @@ private: std::string fotaChannel_; bool volumeEncryptionEnabled_; int memorySize_; + std::string sessionType_; + std::string osType_; int maxResults_; bool checkStock_; std::string protocolType_; diff --git a/ecd/include/alibabacloud/ecd/model/DescribeBundlesResult.h b/ecd/include/alibabacloud/ecd/model/DescribeBundlesResult.h index 9d0087aa4..b64d81fbd 100644 --- a/ecd/include/alibabacloud/ecd/model/DescribeBundlesResult.h +++ b/ecd/include/alibabacloud/ecd/model/DescribeBundlesResult.h @@ -51,6 +51,7 @@ namespace AlibabaCloud std::string sessionType; std::string description; std::string platform; + std::string imageStatus; std::string bundleName; bool volumeEncryptionEnabled; std::string imageName; diff --git a/ecd/include/alibabacloud/ecd/model/DescribeCdsFileShareLinksRequest.h b/ecd/include/alibabacloud/ecd/model/DescribeCdsFileShareLinksRequest.h new file mode 100644 index 000000000..55cefefdb --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/DescribeCdsFileShareLinksRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ECD_MODEL_DESCRIBECDSFILESHARELINKSREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_DESCRIBECDSFILESHARELINKSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT DescribeCdsFileShareLinksRequest : public RpcServiceRequest { +public: + DescribeCdsFileShareLinksRequest(); + ~DescribeCdsFileShareLinksRequest(); + std::vector getCreators() const; + void setCreators(const std::vector &creators); + std::string getShareId() const; + void setShareId(const std::string &shareId); + std::string getCdsId() const; + void setCdsId(const std::string &cdsId); + std::string getShareName() const; + void setShareName(const std::string &shareName); + std::string getNextToken() const; + void setNextToken(const std::string &nextToken); + int getMaxResults() const; + void setMaxResults(int maxResults); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + std::vector creators_; + std::string shareId_; + std::string cdsId_; + std::string shareName_; + std::string nextToken_; + int maxResults_; + std::string status_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_DESCRIBECDSFILESHARELINKSREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/DescribeCdsFileShareLinksResult.h b/ecd/include/alibabacloud/ecd/model/DescribeCdsFileShareLinksResult.h new file mode 100644 index 000000000..7632e1082 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/DescribeCdsFileShareLinksResult.h @@ -0,0 +1,87 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ECD_MODEL_DESCRIBECDSFILESHARELINKSRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_DESCRIBECDSFILESHARELINKSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT DescribeCdsFileShareLinksResult : public ServiceResult + { + public: + struct CdsFileShareLinkModel + { + long previewCount; + std::string description; + long saveLimit; + long downloadLimit; + std::string shareName; + std::string driveId; + std::string creator; + bool disablePreview; + long videoPreviewCount; + std::string shareId; + bool disableDownload; + std::string status; + std::string createTime; + std::string expiration; + bool expired; + long saveCount; + std::string modifiyTime; + long reportCount; + long previewLimit; + bool disableSave; + std::string sharePwd; + std::string shareLink; + std::string fileIds; + long downloadCount; + long accessCount; + }; + + + DescribeCdsFileShareLinksResult(); + explicit DescribeCdsFileShareLinksResult(const std::string &payload); + ~DescribeCdsFileShareLinksResult(); + std::string getNextToken()const; + std::string getMessage()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string nextToken_; + std::string message_; + std::vector data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_DESCRIBECDSFILESHARELINKSRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/DescribeCloudDriveGroupsRequest.h b/ecd/include/alibabacloud/ecd/model/DescribeCloudDriveGroupsRequest.h new file mode 100644 index 000000000..0d10c8771 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/DescribeCloudDriveGroupsRequest.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ECD_MODEL_DESCRIBECLOUDDRIVEGROUPSREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_DESCRIBECLOUDDRIVEGROUPSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT DescribeCloudDriveGroupsRequest : public RpcServiceRequest { +public: + DescribeCloudDriveGroupsRequest(); + ~DescribeCloudDriveGroupsRequest(); + std::string getParentGroupId() const; + void setParentGroupId(const std::string &parentGroupId); + std::string getGroupType() const; + void setGroupType(const std::string &groupType); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getDriveType() const; + void setDriveType(const std::string &driveType); + std::string getNextToken() const; + void setNextToken(const std::string &nextToken); + std::string getDirectoryId() const; + void setDirectoryId(const std::string &directoryId); + std::vector getGroupId() const; + void setGroupId(const std::vector &groupId); + std::string getDirectoryName() const; + void setDirectoryName(const std::string &directoryName); + std::string getGroupName() const; + void setGroupName(const std::string &groupName); + std::string getCdsId() const; + void setCdsId(const std::string &cdsId); + std::string getDriveStatus() const; + void setDriveStatus(const std::string &driveStatus); + int getMaxResults() const; + void setMaxResults(int maxResults); + +private: + std::string parentGroupId_; + std::string groupType_; + std::string regionId_; + std::string driveType_; + std::string nextToken_; + std::string directoryId_; + std::vector groupId_; + std::string directoryName_; + std::string groupName_; + std::string cdsId_; + std::string driveStatus_; + int maxResults_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_DESCRIBECLOUDDRIVEGROUPSREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/DescribeCloudDriveGroupsResult.h b/ecd/include/alibabacloud/ecd/model/DescribeCloudDriveGroupsResult.h new file mode 100644 index 000000000..e1fa751f7 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/DescribeCloudDriveGroupsResult.h @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ECD_MODEL_DESCRIBECLOUDDRIVEGROUPSRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_DESCRIBECLOUDDRIVEGROUPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT DescribeCloudDriveGroupsResult : public ServiceResult + { + public: + struct CloudDriveGroup + { + std::string status; + std::string groupName; + std::string directoryId; + std::string createTime; + std::string driveId; + long totalSize; + std::string usedSize; + std::string groupId; + }; + + + DescribeCloudDriveGroupsResult(); + explicit DescribeCloudDriveGroupsResult(const std::string &payload); + ~DescribeCloudDriveGroupsResult(); + std::string getNextToken()const; + long getCount()const; + std::vector getCloudDriveGroups()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string nextToken_; + long count_; + std::vector cloudDriveGroups_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_DESCRIBECLOUDDRIVEGROUPSRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/DescribeDesktopGroupsRequest.h b/ecd/include/alibabacloud/ecd/model/DescribeDesktopGroupsRequest.h index a72dadfbb..10b810b7d 100644 --- a/ecd/include/alibabacloud/ecd/model/DescribeDesktopGroupsRequest.h +++ b/ecd/include/alibabacloud/ecd/model/DescribeDesktopGroupsRequest.h @@ -34,6 +34,10 @@ public: void setOfficeSiteId(const std::string &officeSiteId); std::vector getEndUserIds() const; void setEndUserIds(const std::vector &endUserIds); + std::vector getImageId() const; + void setImageId(const std::vector &imageId); + std::vector getBundleId() const; + void setBundleId(const std::vector &bundleId); std::string getDesktopGroupName() const; void setDesktopGroupName(const std::string &desktopGroupName); std::string getDesktopGroupId() const; @@ -52,6 +56,8 @@ public: void setPeriodUnit(const std::string &periodUnit); int getMaxResults() const; void setMaxResults(int maxResults); + std::string getProtocolType() const; + void setProtocolType(const std::string &protocolType); std::string getPolicyGroupId() const; void setPolicyGroupId(const std::string &policyGroupId); int getStatus() const; @@ -60,6 +66,8 @@ public: private: std::string officeSiteId_; std::vector endUserIds_; + std::vector imageId_; + std::vector bundleId_; std::string desktopGroupName_; std::string desktopGroupId_; std::string regionId_; @@ -69,6 +77,7 @@ private: std::vector excludedEndUserIds_; std::string periodUnit_; int maxResults_; + std::string protocolType_; std::string policyGroupId_; int status_; }; diff --git a/ecd/include/alibabacloud/ecd/model/DescribeDesktopGroupsResult.h b/ecd/include/alibabacloud/ecd/model/DescribeDesktopGroupsResult.h index da6aaa0e4..9d114e145 100644 --- a/ecd/include/alibabacloud/ecd/model/DescribeDesktopGroupsResult.h +++ b/ecd/include/alibabacloud/ecd/model/DescribeDesktopGroupsResult.h @@ -47,6 +47,7 @@ namespace AlibabaCloud long ownType; long loadPolicy; int version; + std::string osType; long keepDuration; std::string expiredTime; int maxDesktopsCount; @@ -73,8 +74,10 @@ namespace AlibabaCloud std::string directoryId; std::string gpuSpec; long stopDuration; + std::string protocolType; std::string volumeEncryptionKey; std::string dataDiskSize; + int buyDesktopsCount; }; diff --git a/ecd/include/alibabacloud/ecd/model/DescribeDesktopsInGroupResult.h b/ecd/include/alibabacloud/ecd/model/DescribeDesktopsInGroupResult.h index 693c458bb..9162933b3 100644 --- a/ecd/include/alibabacloud/ecd/model/DescribeDesktopsInGroupResult.h +++ b/ecd/include/alibabacloud/ecd/model/DescribeDesktopsInGroupResult.h @@ -34,6 +34,7 @@ namespace AlibabaCloud public: struct PaidDesktop { + std::string fotaVersion; int systemDiskSize; std::string desktopName; std::string desktopId; @@ -49,6 +50,7 @@ namespace AlibabaCloud std::string endUserId; std::string osType; std::string primaryEniIp; + std::string protocolType; std::string imageId; std::string memberEniIp; std::string connectionStatus; @@ -56,6 +58,7 @@ namespace AlibabaCloud }; struct PostPaidDesktop { + std::string fotaVersion; int systemDiskSize; std::string createTime; std::string desktopName; @@ -71,6 +74,7 @@ namespace AlibabaCloud std::string releaseTime; std::string osType; std::string primaryEniIp; + std::string protocolType; std::string createDuration; std::string imageId; std::string memberEniIp; diff --git a/ecd/include/alibabacloud/ecd/model/DescribeDesktopsRequest.h b/ecd/include/alibabacloud/ecd/model/DescribeDesktopsRequest.h index 19e093080..7691cd93d 100644 --- a/ecd/include/alibabacloud/ecd/model/DescribeDesktopsRequest.h +++ b/ecd/include/alibabacloud/ecd/model/DescribeDesktopsRequest.h @@ -36,12 +36,20 @@ public: ~DescribeDesktopsRequest(); std::string getOfficeSiteId() const; void setOfficeSiteId(const std::string &officeSiteId); + std::string getSnapshotPolicyId() const; + void setSnapshotPolicyId(const std::string &snapshotPolicyId); + std::vector getImageId() const; + void setImageId(const std::vector &imageId); std::string getDesktopStatus() const; void setDesktopStatus(const std::string &desktopStatus); + std::string getDesktopGroupId() const; + void setDesktopGroupId(const std::string &desktopGroupId); std::string getRegionId() const; void setRegionId(const std::string ®ionId); std::string getNextToken() const; void setNextToken(const std::string &nextToken); + bool getOnlyDesktopGroup() const; + void setOnlyDesktopGroup(bool onlyDesktopGroup); bool getQueryFotaUpdate() const; void setQueryFotaUpdate(bool queryFotaUpdate); std::string getDirectoryId() const; @@ -52,6 +60,8 @@ public: void setDesktopId(const std::vector &desktopId); std::vector getTag() const; void setTag(const std::vector &tag); + std::string getDesktopType() const; + void setDesktopType(const std::string &desktopType); std::string getDesktopName() const; void setDesktopName(const std::string &desktopName); std::string getGroupId() const; @@ -68,6 +78,8 @@ public: void setExpiredTime(const std::string &expiredTime); int getMaxResults() const; void setMaxResults(int maxResults); + std::vector getOsTypes() const; + void setOsTypes(const std::vector &osTypes); std::string getProtocolType() const; void setProtocolType(const std::string &protocolType); std::string getChargeType() const; @@ -79,14 +91,19 @@ public: private: std::string officeSiteId_; + std::string snapshotPolicyId_; + std::vector imageId_; std::string desktopStatus_; + std::string desktopGroupId_; std::string regionId_; std::string nextToken_; + bool onlyDesktopGroup_; bool queryFotaUpdate_; std::string directoryId_; std::vector endUserId_; std::vector desktopId_; std::vector tag_; + std::string desktopType_; std::string desktopName_; std::string groupId_; std::string officeSiteName_; @@ -95,6 +112,7 @@ private: std::string managementFlag_; std::string expiredTime_; int maxResults_; + std::vector osTypes_; std::string protocolType_; std::string chargeType_; std::string policyGroupId_; diff --git a/ecd/include/alibabacloud/ecd/model/DescribeDesktopsResult.h b/ecd/include/alibabacloud/ecd/model/DescribeDesktopsResult.h index aebe8ae1f..9064d48b0 100644 --- a/ecd/include/alibabacloud/ecd/model/DescribeDesktopsResult.h +++ b/ecd/include/alibabacloud/ecd/model/DescribeDesktopsResult.h @@ -59,6 +59,8 @@ namespace AlibabaCloud std::string externalUserName; std::string establishmentTime; }; + bool supportHibernation; + std::string snapshotPolicyId; std::string platform; long memory; std::string desktopName; @@ -78,17 +80,21 @@ namespace AlibabaCloud std::string bundleName; std::string desktopId; std::vector endUserIds; + std::vector policyGroupIdList; std::string gpuDriverVersion; std::string directoryId; std::string creationTime; std::vector disks; + std::string snapshotPolicyName; std::string dataDiskSize; std::string managementFlag; long downgradedTimes; std::string sessionType; int systemDiskSize; + int bindAmount; bool volumeEncryptionEnabled; std::string networkInterfaceId; + bool hibernationOptionsConfigured; std::string zoneType; std::string networkInterfaceIp; std::string officeSiteName; @@ -96,6 +102,7 @@ namespace AlibabaCloud std::string dataDiskCategory; std::string officeSiteVpcType; std::string progress; + std::vector policyGroupNameList; std::string policyGroupId; std::string policyGroupName; std::vector managementFlags; diff --git a/ecd/include/alibabacloud/ecd/model/DescribeDevicesRequest.h b/ecd/include/alibabacloud/ecd/model/DescribeDevicesRequest.h new file mode 100644 index 000000000..86da8d431 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/DescribeDevicesRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ECD_MODEL_DESCRIBEDEVICESREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_DESCRIBEDEVICESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT DescribeDevicesRequest : public RpcServiceRequest { +public: + DescribeDevicesRequest(); + ~DescribeDevicesRequest(); + std::string getClientType() const; + void setClientType(const std::string &clientType); + std::string getUserType() const; + void setUserType(const std::string &userType); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getAdDomain() const; + void setAdDomain(const std::string &adDomain); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getEndUserId() const; + void setEndUserId(const std::string &endUserId); + std::string getDirectoryId() const; + void setDirectoryId(const std::string &directoryId); + std::string getRegion() const; + void setRegion(const std::string ®ion); + +private: + std::string clientType_; + std::string userType_; + std::string deviceId_; + int pageNumber_; + std::string adDomain_; + int pageSize_; + std::string endUserId_; + std::string directoryId_; + std::string region_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_DESCRIBEDEVICESREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/DescribeDevicesResult.h b/ecd/include/alibabacloud/ecd/model/DescribeDevicesResult.h new file mode 100644 index 000000000..bf05a68d8 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/DescribeDevicesResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ECD_MODEL_DESCRIBEDEVICESRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_DESCRIBEDEVICESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT DescribeDevicesResult : public ServiceResult + { + public: + struct DevicesItem + { + struct EndUserListItem + { + std::string endUserId; + std::string directoryId; + std::string adDomain; + std::string userType; + }; + std::vector endUserList; + std::string deviceId; + }; + + + DescribeDevicesResult(); + explicit DescribeDevicesResult(const std::string &payload); + ~DescribeDevicesResult(); + std::vector getDevices()const; + + protected: + void parse(const std::string &payload); + private: + std::vector devices_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_DESCRIBEDEVICESRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/DescribeFotaTasksResult.h b/ecd/include/alibabacloud/ecd/model/DescribeFotaTasksResult.h index 4820385da..5a60b7dc6 100644 --- a/ecd/include/alibabacloud/ecd/model/DescribeFotaTasksResult.h +++ b/ecd/include/alibabacloud/ecd/model/DescribeFotaTasksResult.h @@ -38,6 +38,7 @@ namespace AlibabaCloud std::string status; std::string taskUid; int pendingDesktopCount; + int pendingCustomImageCount; int size; std::string releaseNote; std::string publishTime; diff --git a/ecd/include/alibabacloud/ecd/model/DescribeImagesRequest.h b/ecd/include/alibabacloud/ecd/model/DescribeImagesRequest.h index ff7284d8a..e98183c23 100644 --- a/ecd/include/alibabacloud/ecd/model/DescribeImagesRequest.h +++ b/ecd/include/alibabacloud/ecd/model/DescribeImagesRequest.h @@ -46,6 +46,8 @@ public: void setFotaChannel(const std::string &fotaChannel); std::string getImageType() const; void setImageType(const std::string &imageType); + std::string getSessionType() const; + void setSessionType(const std::string &sessionType); std::string getOsType() const; void setOsType(const std::string &osType); std::string getImageStatus() const; @@ -66,6 +68,7 @@ private: std::string nextToken_; std::string fotaChannel_; std::string imageType_; + std::string sessionType_; std::string osType_; std::string imageStatus_; int maxResults_; diff --git a/ecd/include/alibabacloud/ecd/model/DescribeImagesResult.h b/ecd/include/alibabacloud/ecd/model/DescribeImagesResult.h index 4bd75bc95..2f05f5def 100644 --- a/ecd/include/alibabacloud/ecd/model/DescribeImagesResult.h +++ b/ecd/include/alibabacloud/ecd/model/DescribeImagesResult.h @@ -39,6 +39,7 @@ namespace AlibabaCloud std::string sessionType; std::string description; int sharedCount; + std::string platform; int size; bool volumeEncryptionEnabled; std::string imageType; @@ -52,6 +53,7 @@ namespace AlibabaCloud std::string creationTime; std::string imageId; bool gpuCategory; + std::string updateTime; int dataDiskSize; }; diff --git a/ecd/include/alibabacloud/ecd/model/DescribeInvocationsRequest.h b/ecd/include/alibabacloud/ecd/model/DescribeInvocationsRequest.h index 3693f1d54..834efd015 100644 --- a/ecd/include/alibabacloud/ecd/model/DescribeInvocationsRequest.h +++ b/ecd/include/alibabacloud/ecd/model/DescribeInvocationsRequest.h @@ -32,6 +32,8 @@ public: ~DescribeInvocationsRequest(); std::string getInvokeStatus() const; void setInvokeStatus(const std::string &invokeStatus); + std::vector getDesktopIds() const; + void setDesktopIds(const std::vector &desktopIds); bool getIncludeOutput() const; void setIncludeOutput(bool includeOutput); std::string getRegionId() const; @@ -53,6 +55,7 @@ public: private: std::string invokeStatus_; + std::vector desktopIds_; bool includeOutput_; std::string regionId_; std::string nextToken_; diff --git a/ecd/include/alibabacloud/ecd/model/DescribeNASFileSystemsRequest.h b/ecd/include/alibabacloud/ecd/model/DescribeNASFileSystemsRequest.h index 6e35e79a9..0f07c8068 100644 --- a/ecd/include/alibabacloud/ecd/model/DescribeNASFileSystemsRequest.h +++ b/ecd/include/alibabacloud/ecd/model/DescribeNASFileSystemsRequest.h @@ -32,6 +32,8 @@ public: ~DescribeNASFileSystemsRequest(); std::string getOfficeSiteId() const; void setOfficeSiteId(const std::string &officeSiteId); + bool getMatchCompatibleProfile() const; + void setMatchCompatibleProfile(bool matchCompatibleProfile); std::string getRegionId() const; void setRegionId(const std::string ®ionId); std::string getNextToken() const; @@ -43,6 +45,7 @@ public: private: std::string officeSiteId_; + bool matchCompatibleProfile_; std::string regionId_; std::string nextToken_; int maxResults_; diff --git a/ecd/include/alibabacloud/ecd/model/DescribeNASFileSystemsResult.h b/ecd/include/alibabacloud/ecd/model/DescribeNASFileSystemsResult.h index ced39245f..8f4c97700 100644 --- a/ecd/include/alibabacloud/ecd/model/DescribeNASFileSystemsResult.h +++ b/ecd/include/alibabacloud/ecd/model/DescribeNASFileSystemsResult.h @@ -34,15 +34,23 @@ namespace AlibabaCloud public: struct FileSystem { + struct DesktopGroup + { + std::string desktopGroupId; + std::string desktopGroupName; + }; bool supportAcl; std::string storageType; std::string description; + std::vector desktopGroups; std::string zoneId; std::string createTime; std::string mountTargetStatus; long meteredSize; bool encryptionEnabled; std::string officeSiteId; + bool profileCompatible; + std::string domainId; long capacity; std::string mountTargetDomain; std::string fileSystemType; diff --git a/ecd/include/alibabacloud/ecd/model/DescribeNetworkPackagesResult.h b/ecd/include/alibabacloud/ecd/model/DescribeNetworkPackagesResult.h index 1e1d233d1..5b0b149c0 100644 --- a/ecd/include/alibabacloud/ecd/model/DescribeNetworkPackagesResult.h +++ b/ecd/include/alibabacloud/ecd/model/DescribeNetworkPackagesResult.h @@ -34,17 +34,22 @@ namespace AlibabaCloud public: struct NetworkPackage { + std::string networkPackageId; + std::string createTime; + std::string payType; + std::string internetChargeType; + std::string reservationInternetChargeType; std::string qosType; std::string officeSiteId; std::vector eipAddresses; std::string vpcSnatPolicy; - std::string networkPackageId; int bandwidth; std::string expiredTime; - std::string createTime; + std::string ngwVersion; std::string officeSiteName; + std::string reservationActiveTime; + int reservationBandwidth; std::string networkPackageStatus; - std::string internetChargeType; std::string officeSiteVpcType; }; diff --git a/ecd/include/alibabacloud/ecd/model/DescribeOfficeSitesRequest.h b/ecd/include/alibabacloud/ecd/model/DescribeOfficeSitesRequest.h index a25c59aac..92e7c5d6a 100644 --- a/ecd/include/alibabacloud/ecd/model/DescribeOfficeSitesRequest.h +++ b/ecd/include/alibabacloud/ecd/model/DescribeOfficeSitesRequest.h @@ -36,6 +36,8 @@ public: void setVpcType(const std::string &vpcType); bool getEnableInternetAccess() const; void setEnableInternetAccess(bool enableInternetAccess); + bool getVpcNotNone() const; + void setVpcNotNone(bool vpcNotNone); std::string getRegionId() const; void setRegionId(const std::string ®ionId); std::string getOfficeSiteType() const; @@ -51,6 +53,7 @@ private: std::vector officeSiteId_; std::string vpcType_; bool enableInternetAccess_; + bool vpcNotNone_; std::string regionId_; std::string officeSiteType_; std::string nextToken_; diff --git a/ecd/include/alibabacloud/ecd/model/DescribeOfficeSitesResult.h b/ecd/include/alibabacloud/ecd/model/DescribeOfficeSitesResult.h index 38b0a94ca..8d66051a5 100644 --- a/ecd/include/alibabacloud/ecd/model/DescribeOfficeSitesResult.h +++ b/ecd/include/alibabacloud/ecd/model/DescribeOfficeSitesResult.h @@ -66,10 +66,13 @@ namespace AlibabaCloud int bandwidth; bool enableInternetAccess; std::string dnsUserName; + std::string rdsLicenseAddress; std::string status; std::string domainName; std::vector vSwitchIds; bool needVerifyLoginRisk; + std::string rdsLicenseStatus; + std::string rdsLicenseDomainName; bool enableAdminAccess; std::string officeSiteType; std::vector fileSystemIds; diff --git a/ecd/include/alibabacloud/ecd/model/DescribePolicyGroupsRequest.h b/ecd/include/alibabacloud/ecd/model/DescribePolicyGroupsRequest.h index 09bcb0336..6d88bccd1 100644 --- a/ecd/include/alibabacloud/ecd/model/DescribePolicyGroupsRequest.h +++ b/ecd/include/alibabacloud/ecd/model/DescribePolicyGroupsRequest.h @@ -34,6 +34,8 @@ public: void setRegionId(const std::string ®ionId); std::string getNextToken() const; void setNextToken(const std::string &nextToken); + std::string getScope() const; + void setScope(const std::string &scope); int getMaxResults() const; void setMaxResults(int maxResults); std::vector getPolicyGroupId() const; @@ -42,6 +44,7 @@ public: private: std::string regionId_; std::string nextToken_; + std::string scope_; int maxResults_; std::vector policyGroupId_; }; diff --git a/ecd/include/alibabacloud/ecd/model/DescribePolicyGroupsResult.h b/ecd/include/alibabacloud/ecd/model/DescribePolicyGroupsResult.h index cecb0a669..bc5c381e4 100644 --- a/ecd/include/alibabacloud/ecd/model/DescribePolicyGroupsResult.h +++ b/ecd/include/alibabacloud/ecd/model/DescribePolicyGroupsResult.h @@ -64,40 +64,81 @@ namespace AlibabaCloud long usbRedirectType; std::string productId; }; + struct DomainResolveRuleItem + { + std::string policy; + std::string description; + std::string domain; + }; + struct NetRedirectRuleItem + { + std::string policy; + std::string ruleType; + std::string domain; + }; std::string watermarkType; std::string watermarkTransparency; std::string cameraRedirect; std::string domainList; + std::string domainResolveRuleType; long recordingFps; - std::string appContentProtection; std::string gpuAcceleration; std::string recordingStartTime; std::string name; std::string remoteCoordinate; - std::string usbRedirect; + int watermarkTransparencyValue; + int watermarkColor; std::string watermarkCustomText; int edsCount; - std::string visualQuality; - std::vector usbSupplyRedirectRule; - std::string policyGroupId; - std::string recordingEndTime; + std::string memoryProtectedMode; + std::vector netRedirectRule; + std::string videoRedirect; + std::string cpuProtectedMode; std::string printerRedirection; + int memorySingleRateLimit; + std::vector domainResolveRule; + int memoryRateLimit; std::string policyGroupType; std::vector authorizeAccessPolicyRules; - std::string localDrive; - std::vector preemptLoginUsers; std::string policyStatus; + int memoryDownGradeDuration; std::vector clientTypes; std::string netRedirect; - std::vector authorizeSecurityPolicyRules; std::string preemptLogin; + std::string endUserGroupCoordinate; + std::string html5Access; + long recordingExpires; + std::string watermarkFontStyle; + int recordingDuration; + int cpuDownGradeDuration; + std::string appContentProtection; + std::vector cpuProcessors; + int watermarkFontSize; + double watermarkDegree; + std::string usbRedirect; + std::string endUserApplyAdminCoordinate; + std::string recordingAudio; + int watermarkRowAmount; + std::string visualQuality; + std::string internetCommunicationProtocol; + std::vector usbSupplyRedirectRule; + int cpuSampleDuration; + int cpuSingleRateLimit; + std::string policyGroupId; + std::string recordingEndTime; + int memorySampleDuration; + std::string scope; + int cpuRateLimit; + std::string localDrive; + std::vector preemptLoginUsers; + std::vector authorizeSecurityPolicyRules; long recordContentExpires; std::string html5FileTransfer; std::string clipboard; std::string recording; - std::string html5Access; - long recordingExpires; + std::vector scopeValue; std::string watermark; + std::vector memoryProcessors; std::string recordContent; }; diff --git a/ecd/include/alibabacloud/ecd/model/DescribeSnapshotsRequest.h b/ecd/include/alibabacloud/ecd/model/DescribeSnapshotsRequest.h index b59f1b6f5..f61201c63 100644 --- a/ecd/include/alibabacloud/ecd/model/DescribeSnapshotsRequest.h +++ b/ecd/include/alibabacloud/ecd/model/DescribeSnapshotsRequest.h @@ -32,21 +32,42 @@ public: ~DescribeSnapshotsRequest(); std::string getSnapshotId() const; void setSnapshotId(const std::string &snapshotId); + std::string getSnapshotName() const; + void setSnapshotName(const std::string &snapshotName); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); std::string getRegionId() const; void setRegionId(const std::string ®ionId); std::string getNextToken() const; void setNextToken(const std::string &nextToken); - int getMaxResults() const; - void setMaxResults(int maxResults); std::string getDesktopId() const; void setDesktopId(const std::string &desktopId); + std::string getDesktopName() const; + void setDesktopName(const std::string &desktopName); + std::string getCreator() const; + void setCreator(const std::string &creator); + std::string getSourceDiskType() const; + void setSourceDiskType(const std::string &sourceDiskType); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + std::string getSnapshotType() const; + void setSnapshotType(const std::string &snapshotType); + int getMaxResults() const; + void setMaxResults(int maxResults); private: std::string snapshotId_; + std::string snapshotName_; + std::string startTime_; std::string regionId_; std::string nextToken_; - int maxResults_; std::string desktopId_; + std::string desktopName_; + std::string creator_; + std::string sourceDiskType_; + std::string endTime_; + std::string snapshotType_; + int maxResults_; }; } // namespace Model } // namespace Ecd diff --git a/ecd/include/alibabacloud/ecd/model/DescribeSnapshotsResult.h b/ecd/include/alibabacloud/ecd/model/DescribeSnapshotsResult.h index 9d1835879..b4c7653a6 100644 --- a/ecd/include/alibabacloud/ecd/model/DescribeSnapshotsResult.h +++ b/ecd/include/alibabacloud/ecd/model/DescribeSnapshotsResult.h @@ -37,9 +37,13 @@ namespace AlibabaCloud std::string status; std::string progress; std::string description; + std::string desktopName; + std::string deletionTime; std::string desktopId; bool volumeEncryptionEnabled; + std::string creator; std::string snapshotName; + std::string desktopStatus; std::string snapshotId; std::string sourceDiskSize; std::string protocolType; diff --git a/ecd/include/alibabacloud/ecd/model/DescribeSuspEventsResult.h b/ecd/include/alibabacloud/ecd/model/DescribeSuspEventsResult.h index 601e7e481..d7744b04e 100644 --- a/ecd/include/alibabacloud/ecd/model/DescribeSuspEventsResult.h +++ b/ecd/include/alibabacloud/ecd/model/DescribeSuspEventsResult.h @@ -57,6 +57,7 @@ namespace AlibabaCloud std::string desc; std::string operateMsg; std::string canBeDealOnLine; + std::string desktopGroupId; std::vector details; std::string alarmEventType; std::string alarmUniqueInfo; diff --git a/ecd/include/alibabacloud/ecd/model/DescribeUserProfilePathRulesRequest.h b/ecd/include/alibabacloud/ecd/model/DescribeUserProfilePathRulesRequest.h new file mode 100644 index 000000000..26b6167e3 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/DescribeUserProfilePathRulesRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ECD_MODEL_DESCRIBEUSERPROFILEPATHRULESREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_DESCRIBEUSERPROFILEPATHRULESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT DescribeUserProfilePathRulesRequest : public RpcServiceRequest { +public: + DescribeUserProfilePathRulesRequest(); + ~DescribeUserProfilePathRulesRequest(); + std::string getRuleType() const; + void setRuleType(const std::string &ruleType); + std::string getDesktopGroupId() const; + void setDesktopGroupId(const std::string &desktopGroupId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string ruleType_; + std::string desktopGroupId_; + std::string regionId_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_DESCRIBEUSERPROFILEPATHRULESREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/DescribeUserProfilePathRulesResult.h b/ecd/include/alibabacloud/ecd/model/DescribeUserProfilePathRulesResult.h new file mode 100644 index 000000000..de153cb3a --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/DescribeUserProfilePathRulesResult.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ECD_MODEL_DESCRIBEUSERPROFILEPATHRULESRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_DESCRIBEUSERPROFILEPATHRULESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT DescribeUserProfilePathRulesResult : public ServiceResult + { + public: + struct UserProfilePathRule + { + struct UpmPathRules + { + struct BlackPath + { + std::string path; + std::string type; + }; + struct WhiteList + { + std::string path; + std::string type; + }; + std::vector whitePaths; + BlackPath blackPath; + }; + std::string desktopGroupId; + std::string userProfileRuleType; + std::vector rules; + }; + + + DescribeUserProfilePathRulesResult(); + explicit DescribeUserProfilePathRulesResult(const std::string &payload); + ~DescribeUserProfilePathRulesResult(); + UserProfilePathRule getUserProfilePathRule()const; + + protected: + void parse(const std::string &payload); + private: + UserProfilePathRule userProfilePathRule_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_DESCRIBEUSERPROFILEPATHRULESRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/DescribeUsersInGroupRequest.h b/ecd/include/alibabacloud/ecd/model/DescribeUsersInGroupRequest.h index 12d8a0582..65c63e0a7 100644 --- a/ecd/include/alibabacloud/ecd/model/DescribeUsersInGroupRequest.h +++ b/ecd/include/alibabacloud/ecd/model/DescribeUsersInGroupRequest.h @@ -30,6 +30,8 @@ class ALIBABACLOUD_ECD_EXPORT DescribeUsersInGroupRequest : public RpcServiceReq public: DescribeUsersInGroupRequest(); ~DescribeUsersInGroupRequest(); + std::vector getEndUserIds() const; + void setEndUserIds(const std::vector &endUserIds); int getConnectState() const; void setConnectState(int connectState); std::string getOrgId() const; @@ -50,6 +52,7 @@ public: void setEndUserId(const std::string &endUserId); private: + std::vector endUserIds_; int connectState_; std::string orgId_; std::string filter_; diff --git a/ecd/include/alibabacloud/ecd/model/DetachEndUserRequest.h b/ecd/include/alibabacloud/ecd/model/DetachEndUserRequest.h new file mode 100644 index 000000000..0f224d8d0 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/DetachEndUserRequest.h @@ -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_ECD_MODEL_DETACHENDUSERREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_DETACHENDUSERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT DetachEndUserRequest : public RpcServiceRequest { +public: + DetachEndUserRequest(); + ~DetachEndUserRequest(); + std::string getClientType() const; + void setClientType(const std::string &clientType); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getAdDomain() const; + void setAdDomain(const std::string &adDomain); + std::string getEndUserId() const; + void setEndUserId(const std::string &endUserId); + std::string getDirectoryId() const; + void setDirectoryId(const std::string &directoryId); + std::string getRegion() const; + void setRegion(const std::string ®ion); + +private: + std::string clientType_; + std::string deviceId_; + std::string adDomain_; + std::string endUserId_; + std::string directoryId_; + std::string region_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_DETACHENDUSERREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/DetachEndUserResult.h b/ecd/include/alibabacloud/ecd/model/DetachEndUserResult.h new file mode 100644 index 000000000..0c4d27d89 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/DetachEndUserResult.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_ECD_MODEL_DETACHENDUSERRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_DETACHENDUSERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT DetachEndUserResult : public ServiceResult + { + public: + + + DetachEndUserResult(); + explicit DetachEndUserResult(const std::string &payload); + ~DetachEndUserResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_DETACHENDUSERRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/ExportClientEventsRequest.h b/ecd/include/alibabacloud/ecd/model/ExportClientEventsRequest.h index 7f801b8f7..1b4c5f102 100644 --- a/ecd/include/alibabacloud/ecd/model/ExportClientEventsRequest.h +++ b/ecd/include/alibabacloud/ecd/model/ExportClientEventsRequest.h @@ -52,6 +52,8 @@ public: void setMaxResults(int maxResults); std::string getEventType() const; void setEventType(const std::string &eventType); + std::string getLangType() const; + void setLangType(const std::string &langType); private: std::string officeSiteId_; @@ -65,6 +67,7 @@ private: std::string officeSiteName_; int maxResults_; std::string eventType_; + std::string langType_; }; } // namespace Model } // namespace Ecd diff --git a/ecd/include/alibabacloud/ecd/model/GetConnectionTicketRequest.h b/ecd/include/alibabacloud/ecd/model/GetConnectionTicketRequest.h index 1c84cf286..a41a8a7ef 100644 --- a/ecd/include/alibabacloud/ecd/model/GetConnectionTicketRequest.h +++ b/ecd/include/alibabacloud/ecd/model/GetConnectionTicketRequest.h @@ -34,6 +34,8 @@ public: void setResourceOwnerId(long resourceOwnerId); std::string getUuid() const; void setUuid(const std::string &uuid); + std::string getCommandContent() const; + void setCommandContent(const std::string &commandContent); std::string getPassword() const; void setPassword(const std::string &password); std::string getRegionId() const; @@ -52,6 +54,7 @@ public: private: long resourceOwnerId_; std::string uuid_; + std::string commandContent_; std::string password_; std::string regionId_; std::string endUserId_; diff --git a/ecd/include/alibabacloud/ecd/model/GetDesktopGroupDetailResult.h b/ecd/include/alibabacloud/ecd/model/GetDesktopGroupDetailResult.h index 1b284a885..a63f190c7 100644 --- a/ecd/include/alibabacloud/ecd/model/GetDesktopGroupDetailResult.h +++ b/ecd/include/alibabacloud/ecd/model/GetDesktopGroupDetailResult.h @@ -41,50 +41,67 @@ namespace AlibabaCloud std::string cronExpression; bool forced; }; - std::vector timerInfos; - int systemDiskSize; - int bindAmount; + struct ScaleTimerInfo + { + std::string type; + int buyResAmount; + int loadPolicy; + int maxResAmount; + long keepDuration; + float ratioThreshold; + std::string cron; + int minResAmount; + }; long connectDuration; long memory; std::string desktopGroupName; int cpu; std::string creator; std::string ownBundleId; - int resType; + std::vector policyGroupIds; std::string directoryType; - std::string nasFileSystemName; int allowBufferCount; int ownType; - int loadPolicy; long version; long keepDuration; std::string expiredTime; + std::string imageId; + int resetType; + int minDesktopsCount; + std::string ownBundleName; + int status; + std::string officeSiteType; + std::string payType; + bool profileFollowSwitch; + std::string directoryId; + std::string creationTime; + std::string timingStrategyInfo; + std::string dataDiskSize; + int buyDesktopsCount; + std::vector timerInfos; + int systemDiskSize; + int bindAmount; + int resType; + std::vector scaleTimerInfos; + std::string nasFileSystemName; + int loadPolicy; int maxDesktopsCount; long idleDisconnectDuration; std::string officeSiteName; - int resetType; float gpuCount; - int minDesktopsCount; std::string dataDiskCategory; - std::string ownBundleName; - int status; std::string policyGroupId; std::string comments; - std::string officeSiteType; + std::vector policyGroupNames; float ratioThreshold; std::string policyGroupName; - std::string payType; std::string systemDiskCategory; std::string officeSiteId; std::string desktopGroupId; - bool profileFollowSwitch; - std::string directoryId; std::string gpuSpec; long stopDuration; - std::string creationTime; int allowAutoSetup; std::string nasFileSystemID; - std::string dataDiskSize; }; diff --git a/ecd/include/alibabacloud/ecd/model/HibernateDesktopsRequest.h b/ecd/include/alibabacloud/ecd/model/HibernateDesktopsRequest.h new file mode 100644 index 000000000..bf999e8e4 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/HibernateDesktopsRequest.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_ECD_MODEL_HIBERNATEDESKTOPSREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_HIBERNATEDESKTOPSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT HibernateDesktopsRequest : public RpcServiceRequest { +public: + HibernateDesktopsRequest(); + ~HibernateDesktopsRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::vector getDesktopId() const; + void setDesktopId(const std::vector &desktopId); + +private: + std::string regionId_; + std::vector desktopId_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_HIBERNATEDESKTOPSREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/HibernateDesktopsResult.h b/ecd/include/alibabacloud/ecd/model/HibernateDesktopsResult.h new file mode 100644 index 000000000..c2333b964 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/HibernateDesktopsResult.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_ECD_MODEL_HIBERNATEDESKTOPSRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_HIBERNATEDESKTOPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT HibernateDesktopsResult : public ServiceResult + { + public: + + + HibernateDesktopsResult(); + explicit HibernateDesktopsResult(const std::string &payload); + ~HibernateDesktopsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_HIBERNATEDESKTOPSRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/ListCdsFilesRequest.h b/ecd/include/alibabacloud/ecd/model/ListCdsFilesRequest.h new file mode 100644 index 000000000..16b28a07a --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/ListCdsFilesRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ECD_MODEL_LISTCDSFILESREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_LISTCDSFILESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT ListCdsFilesRequest : public RpcServiceRequest { +public: + ListCdsFilesRequest(); + ~ListCdsFilesRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getNextToken() const; + void setNextToken(const std::string &nextToken); + std::string getEndUserId() const; + void setEndUserId(const std::string &endUserId); + std::string getRootId() const; + void setRootId(const std::string &rootId); + std::string getCdsId() const; + void setCdsId(const std::string &cdsId); + std::string getParentFileId() const; + void setParentFileId(const std::string &parentFileId); + std::string getFileIds() const; + void setFileIds(const std::string &fileIds); + int getMaxResults() const; + void setMaxResults(int maxResults); + std::string getOrderType() const; + void setOrderType(const std::string &orderType); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + std::string regionId_; + std::string nextToken_; + std::string endUserId_; + std::string rootId_; + std::string cdsId_; + std::string parentFileId_; + std::string fileIds_; + int maxResults_; + std::string orderType_; + std::string status_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_LISTCDSFILESREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/ListCdsFilesResult.h b/ecd/include/alibabacloud/ecd/model/ListCdsFilesResult.h new file mode 100644 index 000000000..a31b7d528 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/ListCdsFilesResult.h @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ECD_MODEL_LISTCDSFILESRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_LISTCDSFILESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT ListCdsFilesResult : public ServiceResult + { + public: + struct FileModel + { + std::string rootId; + std::string sha1; + std::string description; + std::string category; + std::string contentType; + long openTimeStamp; + long size; + std::string driveId; + std::string creator; + std::string thumbnail; + std::string name; + std::string openTime; + std::string modifiedTime; + std::string fileExtension; + std::string modifier; + std::string downloadUrl; + std::string md5; + std::string status; + std::string parentId; + std::string filePath; + std::string storageType; + std::string createTime; + std::string domainId; + std::string fileType; + std::string fileId; + std::string regionId; + }; + + + ListCdsFilesResult(); + explicit ListCdsFilesResult(const std::string &payload); + ~ListCdsFilesResult(); + std::string getNextToken()const; + std::string getMessage()const; + std::string getCount()const; + std::vector getFileModels()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string nextToken_; + std::string message_; + std::string count_; + std::vector fileModels_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_LISTCDSFILESRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/ListFilePermissionRequest.h b/ecd/include/alibabacloud/ecd/model/ListFilePermissionRequest.h new file mode 100644 index 000000000..acd104209 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/ListFilePermissionRequest.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_ECD_MODEL_LISTFILEPERMISSIONREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_LISTFILEPERMISSIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT ListFilePermissionRequest : public RpcServiceRequest { +public: + ListFilePermissionRequest(); + ~ListFilePermissionRequest(); + std::string getCdsId() const; + void setCdsId(const std::string &cdsId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getEndUserId() const; + void setEndUserId(const std::string &endUserId); + std::string getFileId() const; + void setFileId(const std::string &fileId); + +private: + std::string cdsId_; + std::string regionId_; + std::string endUserId_; + std::string fileId_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_LISTFILEPERMISSIONREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/ListFilePermissionResult.h b/ecd/include/alibabacloud/ecd/model/ListFilePermissionResult.h new file mode 100644 index 000000000..0d8438e8a --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/ListFilePermissionResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ECD_MODEL_LISTFILEPERMISSIONRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_LISTFILEPERMISSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT ListFilePermissionResult : public ServiceResult + { + public: + struct FilePermission + { + struct CdsIdentity + { + std::string type; + std::string id; + }; + bool disinheritSubGroup; + CdsIdentity cdsIdentity; + long expireTime; + std::string roleId; + }; + + + ListFilePermissionResult(); + explicit ListFilePermissionResult(const std::string &payload); + ~ListFilePermissionResult(); + std::vector getFilePermissions()const; + + protected: + void parse(const std::string &payload); + private: + std::vector filePermissions_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_LISTFILEPERMISSIONRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/ListUserAdOrganizationUnitsRequest.h b/ecd/include/alibabacloud/ecd/model/ListUserAdOrganizationUnitsRequest.h index 22ae9b0b6..87a060908 100644 --- a/ecd/include/alibabacloud/ecd/model/ListUserAdOrganizationUnitsRequest.h +++ b/ecd/include/alibabacloud/ecd/model/ListUserAdOrganizationUnitsRequest.h @@ -32,12 +32,21 @@ public: ~ListUserAdOrganizationUnitsRequest(); std::string getOfficeSiteId() const; void setOfficeSiteId(const std::string &officeSiteId); + std::string getFilter() const; + void setFilter(const std::string &filter); std::string getRegionId() const; void setRegionId(const std::string ®ionId); + std::string getNextToken() const; + void setNextToken(const std::string &nextToken); + int getMaxResults() const; + void setMaxResults(int maxResults); private: std::string officeSiteId_; + std::string filter_; std::string regionId_; + std::string nextToken_; + int maxResults_; }; } // namespace Model } // namespace Ecd diff --git a/ecd/include/alibabacloud/ecd/model/ListUserAdOrganizationUnitsResult.h b/ecd/include/alibabacloud/ecd/model/ListUserAdOrganizationUnitsResult.h index 84165e505..0c1d39daa 100644 --- a/ecd/include/alibabacloud/ecd/model/ListUserAdOrganizationUnitsResult.h +++ b/ecd/include/alibabacloud/ecd/model/ListUserAdOrganizationUnitsResult.h @@ -36,6 +36,7 @@ namespace AlibabaCloud { std::string oUName; std::string officeSiteId; + std::string displayOUName; }; @@ -43,11 +44,13 @@ namespace AlibabaCloud explicit ListUserAdOrganizationUnitsResult(const std::string &payload); ~ListUserAdOrganizationUnitsResult(); std::vector getOUNames()const; + std::string getNextToken()const; protected: void parse(const std::string &payload); private: std::vector oUNames_; + std::string nextToken_; }; } diff --git a/ecd/include/alibabacloud/ecd/model/MigrateDesktopsRequest.h b/ecd/include/alibabacloud/ecd/model/MigrateDesktopsRequest.h new file mode 100644 index 000000000..f624f4516 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/MigrateDesktopsRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ECD_MODEL_MIGRATEDESKTOPSREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_MIGRATEDESKTOPSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT MigrateDesktopsRequest : public RpcServiceRequest { +public: + MigrateDesktopsRequest(); + ~MigrateDesktopsRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::vector getDesktopId() const; + void setDesktopId(const std::vector &desktopId); + std::string getTargetOfficeSiteId() const; + void setTargetOfficeSiteId(const std::string &targetOfficeSiteId); + +private: + std::string regionId_; + std::vector desktopId_; + std::string targetOfficeSiteId_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_MIGRATEDESKTOPSREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/MigrateDesktopsResult.h b/ecd/include/alibabacloud/ecd/model/MigrateDesktopsResult.h new file mode 100644 index 000000000..105530032 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/MigrateDesktopsResult.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_ECD_MODEL_MIGRATEDESKTOPSRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_MIGRATEDESKTOPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT MigrateDesktopsResult : public ServiceResult + { + public: + + + MigrateDesktopsResult(); + explicit MigrateDesktopsResult(const std::string &payload); + ~MigrateDesktopsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_MIGRATEDESKTOPSRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/ModifyAutoSnapshotPolicyRequest.h b/ecd/include/alibabacloud/ecd/model/ModifyAutoSnapshotPolicyRequest.h new file mode 100644 index 000000000..5642dcc6c --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/ModifyAutoSnapshotPolicyRequest.h @@ -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_ECD_MODEL_MODIFYAUTOSNAPSHOTPOLICYREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_MODIFYAUTOSNAPSHOTPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT ModifyAutoSnapshotPolicyRequest : public RpcServiceRequest { +public: + ModifyAutoSnapshotPolicyRequest(); + ~ModifyAutoSnapshotPolicyRequest(); + std::string getCronExpression() const; + void setCronExpression(const std::string &cronExpression); + std::string getPolicyId() const; + void setPolicyId(const std::string &policyId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getPolicyName() const; + void setPolicyName(const std::string &policyName); + int getRetentionDays() const; + void setRetentionDays(int retentionDays); + +private: + std::string cronExpression_; + std::string policyId_; + std::string regionId_; + std::string policyName_; + int retentionDays_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_MODIFYAUTOSNAPSHOTPOLICYREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/ModifyAutoSnapshotPolicyResult.h b/ecd/include/alibabacloud/ecd/model/ModifyAutoSnapshotPolicyResult.h new file mode 100644 index 000000000..3c45170fd --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/ModifyAutoSnapshotPolicyResult.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_ECD_MODEL_MODIFYAUTOSNAPSHOTPOLICYRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_MODIFYAUTOSNAPSHOTPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT ModifyAutoSnapshotPolicyResult : public ServiceResult + { + public: + + + ModifyAutoSnapshotPolicyResult(); + explicit ModifyAutoSnapshotPolicyResult(const std::string &payload); + ~ModifyAutoSnapshotPolicyResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_MODIFYAUTOSNAPSHOTPOLICYRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/ModifyCdsFileRequest.h b/ecd/include/alibabacloud/ecd/model/ModifyCdsFileRequest.h new file mode 100644 index 000000000..4b1eb8a37 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/ModifyCdsFileRequest.h @@ -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_ECD_MODEL_MODIFYCDSFILEREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_MODIFYCDSFILEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT ModifyCdsFileRequest : public RpcServiceRequest { +public: + ModifyCdsFileRequest(); + ~ModifyCdsFileRequest(); + std::string getCdsId() const; + void setCdsId(const std::string &cdsId); + std::string getConflictPolicy() const; + void setConflictPolicy(const std::string &conflictPolicy); + std::string getFileName() const; + void setFileName(const std::string &fileName); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getEndUserId() const; + void setEndUserId(const std::string &endUserId); + std::string getFileId() const; + void setFileId(const std::string &fileId); + +private: + std::string cdsId_; + std::string conflictPolicy_; + std::string fileName_; + std::string regionId_; + std::string endUserId_; + std::string fileId_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_MODIFYCDSFILEREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/ModifyCdsFileResult.h b/ecd/include/alibabacloud/ecd/model/ModifyCdsFileResult.h new file mode 100644 index 000000000..9890b426b --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/ModifyCdsFileResult.h @@ -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_ECD_MODEL_MODIFYCDSFILERESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_MODIFYCDSFILERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT ModifyCdsFileResult : public ServiceResult + { + public: + + + ModifyCdsFileResult(); + explicit ModifyCdsFileResult(const std::string &payload); + ~ModifyCdsFileResult(); + std::string getMessage()const; + std::string getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_MODIFYCDSFILERESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/ModifyCdsFileShareLinkRequest.h b/ecd/include/alibabacloud/ecd/model/ModifyCdsFileShareLinkRequest.h new file mode 100644 index 000000000..9fe124181 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/ModifyCdsFileShareLinkRequest.h @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ECD_MODEL_MODIFYCDSFILESHARELINKREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_MODIFYCDSFILESHARELINKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT ModifyCdsFileShareLinkRequest : public RpcServiceRequest { +public: + ModifyCdsFileShareLinkRequest(); + ~ModifyCdsFileShareLinkRequest(); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getShareId() const; + void setShareId(const std::string &shareId); + long getPreviewLimit() const; + void setPreviewLimit(long previewLimit); + bool getDisableDownload() const; + void setDisableDownload(bool disableDownload); + bool getDisablePreview() const; + void setDisablePreview(bool disablePreview); + std::string getSharePwd() const; + void setSharePwd(const std::string &sharePwd); + std::string getShareName() const; + void setShareName(const std::string &shareName); + long getDownloadCount() const; + void setDownloadCount(long downloadCount); + bool getDisableSave() const; + void setDisableSave(bool disableSave); + long getSaveCount() const; + void setSaveCount(long saveCount); + long getReportCount() const; + void setReportCount(long reportCount); + long getVideoPreviewCount() const; + void setVideoPreviewCount(long videoPreviewCount); + long getDownloadLimit() const; + void setDownloadLimit(long downloadLimit); + std::string getCdsId() const; + void setCdsId(const std::string &cdsId); + long getSaveLimit() const; + void setSaveLimit(long saveLimit); + std::string getExpiration() const; + void setExpiration(const std::string &expiration); + long getPreviewCount() const; + void setPreviewCount(long previewCount); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + std::string description_; + std::string shareId_; + long previewLimit_; + bool disableDownload_; + bool disablePreview_; + std::string sharePwd_; + std::string shareName_; + long downloadCount_; + bool disableSave_; + long saveCount_; + long reportCount_; + long videoPreviewCount_; + long downloadLimit_; + std::string cdsId_; + long saveLimit_; + std::string expiration_; + long previewCount_; + std::string status_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_MODIFYCDSFILESHARELINKREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/ModifyCdsFileShareLinkResult.h b/ecd/include/alibabacloud/ecd/model/ModifyCdsFileShareLinkResult.h new file mode 100644 index 000000000..169397062 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/ModifyCdsFileShareLinkResult.h @@ -0,0 +1,85 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ECD_MODEL_MODIFYCDSFILESHARELINKRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_MODIFYCDSFILESHARELINKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT ModifyCdsFileShareLinkResult : public ServiceResult + { + public: + struct Data + { + long previewCount; + std::string description; + long saveLimit; + long downloadLimit; + std::string shareName; + std::string driveId; + std::string creator; + bool disablePreview; + long videoPreviewCount; + std::string shareId; + bool disableDownload; + std::string status; + std::string createTime; + std::string expiration; + bool expired; + long saveCount; + std::string modifiyTime; + long reportCount; + long previewLimit; + bool disableSave; + std::string sharePwd; + std::string shareLink; + std::string fileIds; + long downloadCount; + long accessCount; + }; + + + ModifyCdsFileShareLinkResult(); + explicit ModifyCdsFileShareLinkResult(const std::string &payload); + ~ModifyCdsFileShareLinkResult(); + std::string getMessage()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_MODIFYCDSFILESHARELINKRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/ModifyCloudDriveGroupsRequest.h b/ecd/include/alibabacloud/ecd/model/ModifyCloudDriveGroupsRequest.h new file mode 100644 index 000000000..19021081f --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/ModifyCloudDriveGroupsRequest.h @@ -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_ECD_MODEL_MODIFYCLOUDDRIVEGROUPSREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_MODIFYCLOUDDRIVEGROUPSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT ModifyCloudDriveGroupsRequest : public RpcServiceRequest { +public: + ModifyCloudDriveGroupsRequest(); + ~ModifyCloudDriveGroupsRequest(); + long getTotalSize() const; + void setTotalSize(long totalSize); + std::vector getGroupId() const; + void setGroupId(const std::vector &groupId); + std::string getCdsId() const; + void setCdsId(const std::string &cdsId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + long totalSize_; + std::vector groupId_; + std::string cdsId_; + std::string regionId_; + std::string status_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_MODIFYCLOUDDRIVEGROUPSREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/ModifyCloudDriveGroupsResult.h b/ecd/include/alibabacloud/ecd/model/ModifyCloudDriveGroupsResult.h new file mode 100644 index 000000000..61c7c4e81 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/ModifyCloudDriveGroupsResult.h @@ -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_ECD_MODEL_MODIFYCLOUDDRIVEGROUPSRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_MODIFYCLOUDDRIVEGROUPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT ModifyCloudDriveGroupsResult : public ServiceResult + { + public: + + + ModifyCloudDriveGroupsResult(); + explicit ModifyCloudDriveGroupsResult(const std::string &payload); + ~ModifyCloudDriveGroupsResult(); + std::string getMessage()const; + std::string getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_MODIFYCLOUDDRIVEGROUPSRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/ModifyDesktopGroupRequest.h b/ecd/include/alibabacloud/ecd/model/ModifyDesktopGroupRequest.h index b1a4b9e63..f5ceefee5 100644 --- a/ecd/include/alibabacloud/ecd/model/ModifyDesktopGroupRequest.h +++ b/ecd/include/alibabacloud/ecd/model/ModifyDesktopGroupRequest.h @@ -46,6 +46,8 @@ public: void setDesktopGroupName(const std::string &desktopGroupName); int getAllowBufferCount() const; void setAllowBufferCount(int allowBufferCount); + std::vector getPolicyGroupIds() const; + void setPolicyGroupIds(const std::vector &policyGroupIds); long getIdleDisconnectDuration() const; void setIdleDisconnectDuration(long idleDisconnectDuration); std::string getDesktopGroupId() const; @@ -76,6 +78,8 @@ public: void setConnectDuration(long connectDuration); bool getProfileFollowSwitch() const; void setProfileFollowSwitch(bool profileFollowSwitch); + int getBuyDesktopsCount() const; + void setBuyDesktopsCount(int buyDesktopsCount); std::string getPolicyGroupId() const; void setPolicyGroupId(const std::string &policyGroupId); @@ -88,6 +92,7 @@ private: long loadPolicy_; std::string desktopGroupName_; int allowBufferCount_; + std::vector policyGroupIds_; long idleDisconnectDuration_; std::string desktopGroupId_; std::string regionId_; @@ -103,6 +108,7 @@ private: long keepDuration_; long connectDuration_; bool profileFollowSwitch_; + int buyDesktopsCount_; std::string policyGroupId_; }; } // namespace Model diff --git a/ecd/include/alibabacloud/ecd/model/ModifyDesktopsPolicyGroupRequest.h b/ecd/include/alibabacloud/ecd/model/ModifyDesktopsPolicyGroupRequest.h index 0ecf17a07..1438f1c27 100644 --- a/ecd/include/alibabacloud/ecd/model/ModifyDesktopsPolicyGroupRequest.h +++ b/ecd/include/alibabacloud/ecd/model/ModifyDesktopsPolicyGroupRequest.h @@ -30,6 +30,10 @@ class ALIBABACLOUD_ECD_EXPORT ModifyDesktopsPolicyGroupRequest : public RpcServi public: ModifyDesktopsPolicyGroupRequest(); ~ModifyDesktopsPolicyGroupRequest(); + bool getPreCheck() const; + void setPreCheck(bool preCheck); + std::vector getPolicyGroupIds() const; + void setPolicyGroupIds(const std::vector &policyGroupIds); std::string getRegionId() const; void setRegionId(const std::string ®ionId); std::vector getDesktopId() const; @@ -38,6 +42,8 @@ public: void setPolicyGroupId(const std::string &policyGroupId); private: + bool preCheck_; + std::vector policyGroupIds_; std::string regionId_; std::vector desktopId_; std::string policyGroupId_; diff --git a/ecd/include/alibabacloud/ecd/model/ModifyDesktopsPolicyGroupResult.h b/ecd/include/alibabacloud/ecd/model/ModifyDesktopsPolicyGroupResult.h index 91c50ae1f..16038ef92 100644 --- a/ecd/include/alibabacloud/ecd/model/ModifyDesktopsPolicyGroupResult.h +++ b/ecd/include/alibabacloud/ecd/model/ModifyDesktopsPolicyGroupResult.h @@ -35,6 +35,7 @@ namespace AlibabaCloud struct ModifyResult { std::string message; + bool checkResult; std::string desktopId; std::string code; }; diff --git a/ecd/include/alibabacloud/ecd/model/ModifyOfficeSiteAttributeRequest.h b/ecd/include/alibabacloud/ecd/model/ModifyOfficeSiteAttributeRequest.h index 9f10f8cdc..cd53a0cbc 100644 --- a/ecd/include/alibabacloud/ecd/model/ModifyOfficeSiteAttributeRequest.h +++ b/ecd/include/alibabacloud/ecd/model/ModifyOfficeSiteAttributeRequest.h @@ -42,6 +42,8 @@ public: void setNeedVerifyZeroDevice(bool needVerifyZeroDevice); std::string getRegionId() const; void setRegionId(const std::string ®ionId); + bool getEnableAdminAccess() const; + void setEnableAdminAccess(bool enableAdminAccess); private: std::string officeSiteId_; @@ -50,6 +52,7 @@ private: bool needVerifyLoginRisk_; bool needVerifyZeroDevice_; std::string regionId_; + bool enableAdminAccess_; }; } // namespace Model } // namespace Ecd diff --git a/ecd/include/alibabacloud/ecd/model/ModifyPolicyGroupRequest.h b/ecd/include/alibabacloud/ecd/model/ModifyPolicyGroupRequest.h index 249ce1482..170373dcb 100644 --- a/ecd/include/alibabacloud/ecd/model/ModifyPolicyGroupRequest.h +++ b/ecd/include/alibabacloud/ecd/model/ModifyPolicyGroupRequest.h @@ -46,10 +46,20 @@ public: std::string cidrIp; std::string policy; }; + struct NetRedirectRule { + std::string ruleType; + std::string domain; + std::string policy; + }; struct RevokeAccessPolicyRule { std::string description; std::string cidrIp; }; + struct DomainResolveRule { + std::string domain; + std::string description; + std::string policy; + }; struct AuthorizeAccessPolicyRule { std::string description; std::string cidrIp; @@ -83,52 +93,104 @@ public: void setNetRedirect(const std::string &netRedirect); std::string getLocalDrive() const; void setLocalDrive(const std::string &localDrive); + int getWatermarkTransparencyValue() const; + void setWatermarkTransparencyValue(int watermarkTransparencyValue); std::vector getAuthorizeSecurityPolicyRule() const; void setAuthorizeSecurityPolicyRule(const std::vector &authorizeSecurityPolicyRule); std::string getClipboard() const; void setClipboard(const std::string &clipboard); + std::string getEndUserApplyAdminCoordinate() const; + void setEndUserApplyAdminCoordinate(const std::string &endUserApplyAdminCoordinate); std::string getUsbRedirect() const; void setUsbRedirect(const std::string &usbRedirect); std::string getWatermarkType() const; void setWatermarkType(const std::string &watermarkType); std::string getRecordingStartTime() const; void setRecordingStartTime(const std::string &recordingStartTime); + std::vector getNetRedirectRule() const; + void setNetRedirectRule(const std::vector &netRedirectRule); + int getRecordingDuration() const; + void setRecordingDuration(int recordingDuration); + int getWatermarkColor() const; + void setWatermarkColor(int watermarkColor); + int getMemoryRateLimit() const; + void setMemoryRateLimit(int memoryRateLimit); std::vector getRevokeAccessPolicyRule() const; void setRevokeAccessPolicyRule(const std::vector &revokeAccessPolicyRule); std::string getWatermark() const; void setWatermark(const std::string &watermark); std::string getCameraRedirect() const; void setCameraRedirect(const std::string &cameraRedirect); + std::vector getMemoryProcessors() const; + void setMemoryProcessors(const std::vector &memoryProcessors); + std::string getVideoRedirect() const; + void setVideoRedirect(const std::string &videoRedirect); + int getCpuSingleRateLimit() const; + void setCpuSingleRateLimit(int cpuSingleRateLimit); std::string getAppContentProtection() const; void setAppContentProtection(const std::string &appContentProtection); + std::string getCpuProtectedMode() const; + void setCpuProtectedMode(const std::string &cpuProtectedMode); + std::vector getDomainResolveRule() const; + void setDomainResolveRule(const std::vector &domainResolveRule); std::vector getAuthorizeAccessPolicyRule() const; void setAuthorizeAccessPolicyRule(const std::vector &authorizeAccessPolicyRule); std::string getWatermarkTransparency() const; void setWatermarkTransparency(const std::string &watermarkTransparency); std::string getName() const; void setName(const std::string &name); + int getMemorySampleDuration() const; + void setMemorySampleDuration(int memorySampleDuration); std::string getPolicyGroupId() const; void setPolicyGroupId(const std::string &policyGroupId); std::string getWatermarkCustomText() const; void setWatermarkCustomText(const std::string &watermarkCustomText); + int getCpuDownGradeDuration() const; + void setCpuDownGradeDuration(int cpuDownGradeDuration); std::string getPreemptLogin() const; void setPreemptLogin(const std::string &preemptLogin); std::vector getClientType() const; void setClientType(const std::vector &clientType); std::vector getUsbSupplyRedirectRule() const; void setUsbSupplyRedirectRule(const std::vector &usbSupplyRedirectRule); + int getWatermarkFontSize() const; + void setWatermarkFontSize(int watermarkFontSize); std::string getRecording() const; void setRecording(const std::string &recording); + std::vector getScopeValue() const; + void setScopeValue(const std::vector &scopeValue); + std::string getDomainResolveRuleType() const; + void setDomainResolveRuleType(const std::string &domainResolveRuleType); + int getMemorySingleRateLimit() const; + void setMemorySingleRateLimit(int memorySingleRateLimit); long getRecordingFps() const; void setRecordingFps(long recordingFps); + std::string getWatermarkFontStyle() const; + void setWatermarkFontStyle(const std::string &watermarkFontStyle); std::string getRegionId() const; void setRegionId(const std::string ®ionId); std::string getRecordContent() const; void setRecordContent(const std::string &recordContent); + std::string getScope() const; + void setScope(const std::string &scope); + int getWatermarkRowAmount() const; + void setWatermarkRowAmount(int watermarkRowAmount); + std::vector getCpuProcessors() const; + void setCpuProcessors(const std::vector &cpuProcessors); + std::string getEndUserGroupCoordinate() const; + void setEndUserGroupCoordinate(const std::string &endUserGroupCoordinate); + double getWatermarkDegree() const; + void setWatermarkDegree(double watermarkDegree); long getRecordContentExpires() const; void setRecordContentExpires(long recordContentExpires); + std::string getRecordingAudio() const; + void setRecordingAudio(const std::string &recordingAudio); + int getCpuRateLimit() const; + void setCpuRateLimit(int cpuRateLimit); std::string getRemoteCoordinate() const; void setRemoteCoordinate(const std::string &remoteCoordinate); + int getCpuSampleDuration() const; + void setCpuSampleDuration(int cpuSampleDuration); std::string getHtml5Access() const; void setHtml5Access(const std::string &html5Access); std::string getGpuAcceleration() const; @@ -139,6 +201,12 @@ public: void setVisualQuality(const std::string &visualQuality); std::string getRecordingEndTime() const; void setRecordingEndTime(const std::string &recordingEndTime); + std::string getMemoryProtectedMode() const; + void setMemoryProtectedMode(const std::string &memoryProtectedMode); + int getMemoryDownGradeDuration() const; + void setMemoryDownGradeDuration(int memoryDownGradeDuration); + std::string getInternetCommunicationProtocol() const; + void setInternetCommunicationProtocol(const std::string &internetCommunicationProtocol); private: long recordingExpires_; @@ -148,34 +216,63 @@ private: std::string domainList_; std::string netRedirect_; std::string localDrive_; + int watermarkTransparencyValue_; std::vector authorizeSecurityPolicyRule_; std::string clipboard_; + std::string endUserApplyAdminCoordinate_; std::string usbRedirect_; std::string watermarkType_; std::string recordingStartTime_; + std::vector netRedirectRule_; + int recordingDuration_; + int watermarkColor_; + int memoryRateLimit_; std::vector revokeAccessPolicyRule_; std::string watermark_; std::string cameraRedirect_; + std::vector memoryProcessors_; + std::string videoRedirect_; + int cpuSingleRateLimit_; std::string appContentProtection_; + std::string cpuProtectedMode_; + std::vector domainResolveRule_; std::vector authorizeAccessPolicyRule_; std::string watermarkTransparency_; std::string name_; + int memorySampleDuration_; std::string policyGroupId_; std::string watermarkCustomText_; + int cpuDownGradeDuration_; std::string preemptLogin_; std::vector clientType_; std::vector usbSupplyRedirectRule_; + int watermarkFontSize_; std::string recording_; + std::vector scopeValue_; + std::string domainResolveRuleType_; + int memorySingleRateLimit_; long recordingFps_; + std::string watermarkFontStyle_; std::string regionId_; std::string recordContent_; + std::string scope_; + int watermarkRowAmount_; + std::vector cpuProcessors_; + std::string endUserGroupCoordinate_; + double watermarkDegree_; long recordContentExpires_; + std::string recordingAudio_; + int cpuRateLimit_; std::string remoteCoordinate_; + int cpuSampleDuration_; std::string html5Access_; std::string gpuAcceleration_; std::string html5FileTransfer_; std::string visualQuality_; std::string recordingEndTime_; + std::string memoryProtectedMode_; + int memoryDownGradeDuration_; + std::string internetCommunicationProtocol_; }; } // namespace Model } // namespace Ecd diff --git a/ecd/include/alibabacloud/ecd/model/MoveCdsFileRequest.h b/ecd/include/alibabacloud/ecd/model/MoveCdsFileRequest.h new file mode 100644 index 000000000..7e56076f1 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/MoveCdsFileRequest.h @@ -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_ECD_MODEL_MOVECDSFILEREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_MOVECDSFILEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT MoveCdsFileRequest : public RpcServiceRequest { +public: + MoveCdsFileRequest(); + ~MoveCdsFileRequest(); + std::string getCdsId() const; + void setCdsId(const std::string &cdsId); + std::string getParentFolderId() const; + void setParentFolderId(const std::string &parentFolderId); + std::string getConflictPolicy() const; + void setConflictPolicy(const std::string &conflictPolicy); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getEndUserId() const; + void setEndUserId(const std::string &endUserId); + std::string getFileId() const; + void setFileId(const std::string &fileId); + +private: + std::string cdsId_; + std::string parentFolderId_; + std::string conflictPolicy_; + std::string regionId_; + std::string endUserId_; + std::string fileId_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_MOVECDSFILEREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/CreateDriveResult.h b/ecd/include/alibabacloud/ecd/model/MoveCdsFileResult.h similarity index 58% rename from ecd/include/alibabacloud/ecd/model/CreateDriveResult.h rename to ecd/include/alibabacloud/ecd/model/MoveCdsFileResult.h index 40bd37fd5..38425a3aa 100644 --- a/ecd/include/alibabacloud/ecd/model/CreateDriveResult.h +++ b/ecd/include/alibabacloud/ecd/model/MoveCdsFileResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_ECD_MODEL_CREATEDRIVERESULT_H_ -#define ALIBABACLOUD_ECD_MODEL_CREATEDRIVERESULT_H_ +#ifndef ALIBABACLOUD_ECD_MODEL_MOVECDSFILERESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_MOVECDSFILERESULT_H_ #include #include @@ -29,43 +29,30 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_ECD_EXPORT CreateDriveResult : public ServiceResult + class ALIBABACLOUD_ECD_EXPORT MoveCdsFileResult : public ServiceResult { public: - struct Drive + struct MoveCdsFileModel { - std::string status; - std::string description; - bool profileRoaming; - std::string gmtModified; - std::string driveId; - std::string externalDriveId; - long totalSize; - long usedSize; - std::string name; - std::string gmtCreate; - std::string type; - std::string domainId; - std::string userId; - std::string externalUserId; - std::string id; - std::string aliUid; + bool exist; + std::string asyncTaskId; + std::string fileId; }; - CreateDriveResult(); - explicit CreateDriveResult(const std::string &payload); - ~CreateDriveResult(); + MoveCdsFileResult(); + explicit MoveCdsFileResult(const std::string &payload); + ~MoveCdsFileResult(); + MoveCdsFileModel getMoveCdsFileModel()const; std::string getMessage()const; - Drive getDrive()const; std::string getCode()const; bool getSuccess()const; protected: void parse(const std::string &payload); private: + MoveCdsFileModel moveCdsFileModel_; std::string message_; - Drive drive_; std::string code_; bool success_; @@ -73,4 +60,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_ECD_MODEL_CREATEDRIVERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_ECD_MODEL_MOVECDSFILERESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/RebuildDesktopsRequest.h b/ecd/include/alibabacloud/ecd/model/RebuildDesktopsRequest.h index 5442e187f..1b9b52660 100644 --- a/ecd/include/alibabacloud/ecd/model/RebuildDesktopsRequest.h +++ b/ecd/include/alibabacloud/ecd/model/RebuildDesktopsRequest.h @@ -34,12 +34,15 @@ public: void setImageId(const std::string &imageId); std::string getRegionId() const; void setRegionId(const std::string ®ionId); + std::string getOperateType() const; + void setOperateType(const std::string &operateType); std::vector getDesktopId() const; void setDesktopId(const std::vector &desktopId); private: std::string imageId_; std::string regionId_; + std::string operateType_; std::vector desktopId_; }; } // namespace Model diff --git a/ecd/include/alibabacloud/ecd/model/RemoveFilePermissionRequest.h b/ecd/include/alibabacloud/ecd/model/RemoveFilePermissionRequest.h new file mode 100644 index 000000000..2e22a9bd8 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/RemoveFilePermissionRequest.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ECD_MODEL_REMOVEFILEPERMISSIONREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_REMOVEFILEPERMISSIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT RemoveFilePermissionRequest : public RpcServiceRequest { +public: + struct MemberList { + std::string roleId; + struct CdsIdentity { + std::string id; + std::string type; + }; + CdsIdentity cdsIdentity; + }; + RemoveFilePermissionRequest(); + ~RemoveFilePermissionRequest(); + std::vector getMemberList() const; + void setMemberList(const std::vector &memberList); + std::string getCdsId() const; + void setCdsId(const std::string &cdsId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getEndUserId() const; + void setEndUserId(const std::string &endUserId); + std::string getFileId() const; + void setFileId(const std::string &fileId); + +private: + std::vector memberList_; + std::string cdsId_; + std::string regionId_; + std::string endUserId_; + std::string fileId_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_REMOVEFILEPERMISSIONREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/RemoveFilePermissionResult.h b/ecd/include/alibabacloud/ecd/model/RemoveFilePermissionResult.h new file mode 100644 index 000000000..d7a0ea1a2 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/RemoveFilePermissionResult.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_ECD_MODEL_REMOVEFILEPERMISSIONRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_REMOVEFILEPERMISSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT RemoveFilePermissionResult : public ServiceResult + { + public: + + + RemoveFilePermissionResult(); + explicit RemoveFilePermissionResult(const std::string &payload); + ~RemoveFilePermissionResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_REMOVEFILEPERMISSIONRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/SetDesktopGroupScaleTimerRequest.h b/ecd/include/alibabacloud/ecd/model/SetDesktopGroupScaleTimerRequest.h new file mode 100644 index 000000000..b9181bc5d --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/SetDesktopGroupScaleTimerRequest.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ECD_MODEL_SETDESKTOPGROUPSCALETIMERREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_SETDESKTOPGROUPSCALETIMERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT SetDesktopGroupScaleTimerRequest : public RpcServiceRequest { +public: + struct ScaleTimerInfos { + long keepDuration; + int minResAmount; + std::string cron; + int buyResAmount; + int maxResAmount; + std::string type; + int loadPolicy; + float ratioThreshold; + }; + SetDesktopGroupScaleTimerRequest(); + ~SetDesktopGroupScaleTimerRequest(); + std::string getDesktopGroupId() const; + void setDesktopGroupId(const std::string &desktopGroupId); + std::vector getScaleTimerInfos() const; + void setScaleTimerInfos(const std::vector &scaleTimerInfos); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + +private: + std::string desktopGroupId_; + std::vector scaleTimerInfos_; + std::string regionId_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_SETDESKTOPGROUPSCALETIMERREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/SetDesktopGroupScaleTimerResult.h b/ecd/include/alibabacloud/ecd/model/SetDesktopGroupScaleTimerResult.h new file mode 100644 index 000000000..f73afacd3 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/SetDesktopGroupScaleTimerResult.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_ECD_MODEL_SETDESKTOPGROUPSCALETIMERRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_SETDESKTOPGROUPSCALETIMERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT SetDesktopGroupScaleTimerResult : public ServiceResult + { + public: + + + SetDesktopGroupScaleTimerResult(); + explicit SetDesktopGroupScaleTimerResult(const std::string &payload); + ~SetDesktopGroupScaleTimerResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_SETDESKTOPGROUPSCALETIMERRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/SetDesktopGroupTimerResult.h b/ecd/include/alibabacloud/ecd/model/SetDesktopGroupTimerResult.h index 0afee4160..b6393ff5e 100644 --- a/ecd/include/alibabacloud/ecd/model/SetDesktopGroupTimerResult.h +++ b/ecd/include/alibabacloud/ecd/model/SetDesktopGroupTimerResult.h @@ -37,14 +37,10 @@ namespace AlibabaCloud SetDesktopGroupTimerResult(); explicit SetDesktopGroupTimerResult(const std::string &payload); ~SetDesktopGroupTimerResult(); - std::string getDesktopGroupId()const; - std::vector getOrderIds()const; protected: void parse(const std::string &payload); private: - std::string desktopGroupId_; - std::vector orderIds_; }; } diff --git a/ecd/include/alibabacloud/ecd/model/SetDesktopGroupTimerStatusResult.h b/ecd/include/alibabacloud/ecd/model/SetDesktopGroupTimerStatusResult.h index 93efdb484..b3654d652 100644 --- a/ecd/include/alibabacloud/ecd/model/SetDesktopGroupTimerStatusResult.h +++ b/ecd/include/alibabacloud/ecd/model/SetDesktopGroupTimerStatusResult.h @@ -37,14 +37,10 @@ namespace AlibabaCloud SetDesktopGroupTimerStatusResult(); explicit SetDesktopGroupTimerStatusResult(const std::string &payload); ~SetDesktopGroupTimerStatusResult(); - std::string getDesktopGroupId()const; - std::vector getOrderIds()const; protected: void parse(const std::string &payload); private: - std::string desktopGroupId_; - std::vector orderIds_; }; } diff --git a/ecd/include/alibabacloud/ecd/model/SetDirectorySsoStatusRequest.h b/ecd/include/alibabacloud/ecd/model/SetDirectorySsoStatusRequest.h new file mode 100644 index 000000000..02bac9f11 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/SetDirectorySsoStatusRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ECD_MODEL_SETDIRECTORYSSOSTATUSREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_SETDIRECTORYSSOSTATUSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT SetDirectorySsoStatusRequest : public RpcServiceRequest { +public: + SetDirectorySsoStatusRequest(); + ~SetDirectorySsoStatusRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + bool getEnableSso() const; + void setEnableSso(bool enableSso); + std::string getDirectoryId() const; + void setDirectoryId(const std::string &directoryId); + +private: + std::string regionId_; + bool enableSso_; + std::string directoryId_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_SETDIRECTORYSSOSTATUSREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/SetDirectorySsoStatusResult.h b/ecd/include/alibabacloud/ecd/model/SetDirectorySsoStatusResult.h new file mode 100644 index 000000000..21585e48c --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/SetDirectorySsoStatusResult.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_ECD_MODEL_SETDIRECTORYSSOSTATUSRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_SETDIRECTORYSSOSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT SetDirectorySsoStatusResult : public ServiceResult + { + public: + + + SetDirectorySsoStatusResult(); + explicit SetDirectorySsoStatusResult(const std::string &payload); + ~SetDirectorySsoStatusResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_SETDIRECTORYSSOSTATUSRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/SetUserProfilePathRulesRequest.h b/ecd/include/alibabacloud/ecd/model/SetUserProfilePathRulesRequest.h new file mode 100644 index 000000000..51a37479c --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/SetUserProfilePathRulesRequest.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ECD_MODEL_SETUSERPROFILEPATHRULESREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_SETUSERPROFILEPATHRULESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ecd { +namespace Model { +class ALIBABACLOUD_ECD_EXPORT SetUserProfilePathRulesRequest : public RpcServiceRequest { +public: + struct UserProfilePathRule { + struct BlackPath { + std::string path; + std::string type; + }; + BlackPath blackPath; + struct WhitePathsItem { + std::string path; + std::string type; + }; + WhitePathsItem whitePathsItem; + std::vector whitePaths; + }; + SetUserProfilePathRulesRequest(); + ~SetUserProfilePathRulesRequest(); + std::string getUserProfileRuleType() const; + void setUserProfileRuleType(const std::string &userProfileRuleType); + std::string getDesktopGroupId() const; + void setDesktopGroupId(const std::string &desktopGroupId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::vector getUserProfilePathRule() const; + void setUserProfilePathRule(const std::vector &userProfilePathRule); + +private: + std::string userProfileRuleType_; + std::string desktopGroupId_; + std::string regionId_; + std::vector userProfilePathRule_; +}; +} // namespace Model +} // namespace Ecd +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_ECD_MODEL_SETUSERPROFILEPATHRULESREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/SetUserProfilePathRulesResult.h b/ecd/include/alibabacloud/ecd/model/SetUserProfilePathRulesResult.h new file mode 100644 index 000000000..602162869 --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/SetUserProfilePathRulesResult.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_ECD_MODEL_SETUSERPROFILEPATHRULESRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_SETUSERPROFILEPATHRULESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT SetUserProfilePathRulesResult : public ServiceResult + { + public: + + + SetUserProfilePathRulesResult(); + explicit SetUserProfilePathRulesResult(const std::string &payload); + ~SetUserProfilePathRulesResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_SETUSERPROFILEPATHRULESRESULT_H_ \ No newline at end of file diff --git a/ecd/include/alibabacloud/ecd/model/DeleteDriveRequest.h b/ecd/include/alibabacloud/ecd/model/WakeupDesktopsRequest.h similarity index 67% rename from ecd/include/alibabacloud/ecd/model/DeleteDriveRequest.h rename to ecd/include/alibabacloud/ecd/model/WakeupDesktopsRequest.h index 4a59245ec..13e5e7e20 100644 --- a/ecd/include/alibabacloud/ecd/model/DeleteDriveRequest.h +++ b/ecd/include/alibabacloud/ecd/model/WakeupDesktopsRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_ECD_MODEL_DELETEDRIVEREQUEST_H_ -#define ALIBABACLOUD_ECD_MODEL_DELETEDRIVEREQUEST_H_ +#ifndef ALIBABACLOUD_ECD_MODEL_WAKEUPDESKTOPSREQUEST_H_ +#define ALIBABACLOUD_ECD_MODEL_WAKEUPDESKTOPSREQUEST_H_ #include #include @@ -26,20 +26,20 @@ namespace AlibabaCloud { namespace Ecd { namespace Model { -class ALIBABACLOUD_ECD_EXPORT DeleteDriveRequest : public RpcServiceRequest { +class ALIBABACLOUD_ECD_EXPORT WakeupDesktopsRequest : public RpcServiceRequest { public: - DeleteDriveRequest(); - ~DeleteDriveRequest(); - std::string getDriveId() const; - void setDriveId(const std::string &driveId); + WakeupDesktopsRequest(); + ~WakeupDesktopsRequest(); std::string getRegionId() const; void setRegionId(const std::string ®ionId); + std::vector getDesktopId() const; + void setDesktopId(const std::vector &desktopId); private: - std::string driveId_; std::string regionId_; + std::vector desktopId_; }; } // namespace Model } // namespace Ecd } // namespace AlibabaCloud -#endif // !ALIBABACLOUD_ECD_MODEL_DELETEDRIVEREQUEST_H_ +#endif // !ALIBABACLOUD_ECD_MODEL_WAKEUPDESKTOPSREQUEST_H_ diff --git a/ecd/include/alibabacloud/ecd/model/WakeupDesktopsResult.h b/ecd/include/alibabacloud/ecd/model/WakeupDesktopsResult.h new file mode 100644 index 000000000..77fa2738b --- /dev/null +++ b/ecd/include/alibabacloud/ecd/model/WakeupDesktopsResult.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_ECD_MODEL_WAKEUPDESKTOPSRESULT_H_ +#define ALIBABACLOUD_ECD_MODEL_WAKEUPDESKTOPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Ecd + { + namespace Model + { + class ALIBABACLOUD_ECD_EXPORT WakeupDesktopsResult : public ServiceResult + { + public: + + + WakeupDesktopsResult(); + explicit WakeupDesktopsResult(const std::string &payload); + ~WakeupDesktopsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ECD_MODEL_WAKEUPDESKTOPSRESULT_H_ \ No newline at end of file diff --git a/ecd/src/EcdClient.cc b/ecd/src/EcdClient.cc index a1520a334..149bd29d7 100644 --- a/ecd/src/EcdClient.cc +++ b/ecd/src/EcdClient.cc @@ -87,6 +87,78 @@ EcdClient::ActivateOfficeSiteOutcomeCallable EcdClient::activateOfficeSiteCallab return task->get_future(); } +EcdClient::AddDevicesOutcome EcdClient::addDevices(const AddDevicesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddDevicesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddDevicesOutcome(AddDevicesResult(outcome.result())); + else + return AddDevicesOutcome(outcome.error()); +} + +void EcdClient::addDevicesAsync(const AddDevicesRequest& request, const AddDevicesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addDevices(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::AddDevicesOutcomeCallable EcdClient::addDevicesCallable(const AddDevicesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addDevices(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EcdClient::AddFilePermissionOutcome EcdClient::addFilePermission(const AddFilePermissionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddFilePermissionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddFilePermissionOutcome(AddFilePermissionResult(outcome.result())); + else + return AddFilePermissionOutcome(outcome.error()); +} + +void EcdClient::addFilePermissionAsync(const AddFilePermissionRequest& request, const AddFilePermissionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addFilePermission(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::AddFilePermissionOutcomeCallable EcdClient::addFilePermissionCallable(const AddFilePermissionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addFilePermission(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EcdClient::AddUserToDesktopGroupOutcome EcdClient::addUserToDesktopGroup(const AddUserToDesktopGroupRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -123,6 +195,42 @@ EcdClient::AddUserToDesktopGroupOutcomeCallable EcdClient::addUserToDesktopGroup return task->get_future(); } +EcdClient::ApplyAutoSnapshotPolicyOutcome EcdClient::applyAutoSnapshotPolicy(const ApplyAutoSnapshotPolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ApplyAutoSnapshotPolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ApplyAutoSnapshotPolicyOutcome(ApplyAutoSnapshotPolicyResult(outcome.result())); + else + return ApplyAutoSnapshotPolicyOutcome(outcome.error()); +} + +void EcdClient::applyAutoSnapshotPolicyAsync(const ApplyAutoSnapshotPolicyRequest& request, const ApplyAutoSnapshotPolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, applyAutoSnapshotPolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::ApplyAutoSnapshotPolicyOutcomeCallable EcdClient::applyAutoSnapshotPolicyCallable(const ApplyAutoSnapshotPolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->applyAutoSnapshotPolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EcdClient::ApplyCoordinatePrivilegeOutcome EcdClient::applyCoordinatePrivilege(const ApplyCoordinatePrivilegeRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -303,6 +411,114 @@ EcdClient::AttachCenOutcomeCallable EcdClient::attachCenCallable(const AttachCen return task->get_future(); } +EcdClient::AttachEndUserOutcome EcdClient::attachEndUser(const AttachEndUserRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AttachEndUserOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AttachEndUserOutcome(AttachEndUserResult(outcome.result())); + else + return AttachEndUserOutcome(outcome.error()); +} + +void EcdClient::attachEndUserAsync(const AttachEndUserRequest& request, const AttachEndUserAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, attachEndUser(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::AttachEndUserOutcomeCallable EcdClient::attachEndUserCallable(const AttachEndUserRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->attachEndUser(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EcdClient::CancelAutoSnapshotPolicyOutcome EcdClient::cancelAutoSnapshotPolicy(const CancelAutoSnapshotPolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CancelAutoSnapshotPolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CancelAutoSnapshotPolicyOutcome(CancelAutoSnapshotPolicyResult(outcome.result())); + else + return CancelAutoSnapshotPolicyOutcome(outcome.error()); +} + +void EcdClient::cancelAutoSnapshotPolicyAsync(const CancelAutoSnapshotPolicyRequest& request, const CancelAutoSnapshotPolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, cancelAutoSnapshotPolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::CancelAutoSnapshotPolicyOutcomeCallable EcdClient::cancelAutoSnapshotPolicyCallable(const CancelAutoSnapshotPolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->cancelAutoSnapshotPolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EcdClient::CancelCdsFileShareLinkOutcome EcdClient::cancelCdsFileShareLink(const CancelCdsFileShareLinkRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CancelCdsFileShareLinkOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CancelCdsFileShareLinkOutcome(CancelCdsFileShareLinkResult(outcome.result())); + else + return CancelCdsFileShareLinkOutcome(outcome.error()); +} + +void EcdClient::cancelCdsFileShareLinkAsync(const CancelCdsFileShareLinkRequest& request, const CancelCdsFileShareLinkAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, cancelCdsFileShareLink(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::CancelCdsFileShareLinkOutcomeCallable EcdClient::cancelCdsFileShareLinkCallable(const CancelCdsFileShareLinkRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->cancelCdsFileShareLink(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EcdClient::CancelCoordinationForMonitoringOutcome EcdClient::cancelCoordinationForMonitoring(const CancelCoordinationForMonitoringRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -411,6 +627,42 @@ EcdClient::ClonePolicyGroupOutcomeCallable EcdClient::clonePolicyGroupCallable(c return task->get_future(); } +EcdClient::CompleteCdsFileOutcome EcdClient::completeCdsFile(const CompleteCdsFileRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CompleteCdsFileOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CompleteCdsFileOutcome(CompleteCdsFileResult(outcome.result())); + else + return CompleteCdsFileOutcome(outcome.error()); +} + +void EcdClient::completeCdsFileAsync(const CompleteCdsFileRequest& request, const CompleteCdsFileAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, completeCdsFile(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::CompleteCdsFileOutcomeCallable EcdClient::completeCdsFileCallable(const CompleteCdsFileRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->completeCdsFile(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EcdClient::ConfigADConnectorTrustOutcome EcdClient::configADConnectorTrust(const ConfigADConnectorTrustRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -483,6 +735,42 @@ EcdClient::ConfigADConnectorUserOutcomeCallable EcdClient::configADConnectorUser return task->get_future(); } +EcdClient::CopyCdsFileOutcome EcdClient::copyCdsFile(const CopyCdsFileRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CopyCdsFileOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CopyCdsFileOutcome(CopyCdsFileResult(outcome.result())); + else + return CopyCdsFileOutcome(outcome.error()); +} + +void EcdClient::copyCdsFileAsync(const CopyCdsFileRequest& request, const CopyCdsFileAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, copyCdsFile(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::CopyCdsFileOutcomeCallable EcdClient::copyCdsFileCallable(const CopyCdsFileRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->copyCdsFile(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EcdClient::CopyImageOutcome EcdClient::copyImage(const CopyImageRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -627,6 +915,42 @@ EcdClient::CreateAndBindNasFileSystemOutcomeCallable EcdClient::createAndBindNas return task->get_future(); } +EcdClient::CreateAutoSnapshotPolicyOutcome EcdClient::createAutoSnapshotPolicy(const CreateAutoSnapshotPolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateAutoSnapshotPolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateAutoSnapshotPolicyOutcome(CreateAutoSnapshotPolicyResult(outcome.result())); + else + return CreateAutoSnapshotPolicyOutcome(outcome.error()); +} + +void EcdClient::createAutoSnapshotPolicyAsync(const CreateAutoSnapshotPolicyRequest& request, const CreateAutoSnapshotPolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createAutoSnapshotPolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::CreateAutoSnapshotPolicyOutcomeCallable EcdClient::createAutoSnapshotPolicyCallable(const CreateAutoSnapshotPolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createAutoSnapshotPolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EcdClient::CreateBundleOutcome EcdClient::createBundle(const CreateBundleRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -663,6 +987,78 @@ EcdClient::CreateBundleOutcomeCallable EcdClient::createBundleCallable(const Cre return task->get_future(); } +EcdClient::CreateCdsFileOutcome EcdClient::createCdsFile(const CreateCdsFileRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateCdsFileOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateCdsFileOutcome(CreateCdsFileResult(outcome.result())); + else + return CreateCdsFileOutcome(outcome.error()); +} + +void EcdClient::createCdsFileAsync(const CreateCdsFileRequest& request, const CreateCdsFileAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createCdsFile(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::CreateCdsFileOutcomeCallable EcdClient::createCdsFileCallable(const CreateCdsFileRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createCdsFile(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EcdClient::CreateCdsFileShareLinkOutcome EcdClient::createCdsFileShareLink(const CreateCdsFileShareLinkRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateCdsFileShareLinkOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateCdsFileShareLinkOutcome(CreateCdsFileShareLinkResult(outcome.result())); + else + return CreateCdsFileShareLinkOutcome(outcome.error()); +} + +void EcdClient::createCdsFileShareLinkAsync(const CreateCdsFileShareLinkRequest& request, const CreateCdsFileShareLinkAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createCdsFileShareLink(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::CreateCdsFileShareLinkOutcomeCallable EcdClient::createCdsFileShareLinkCallable(const CreateCdsFileShareLinkRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createCdsFileShareLink(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EcdClient::CreateDesktopGroupOutcome EcdClient::createDesktopGroup(const CreateDesktopGroupRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -771,42 +1167,6 @@ EcdClient::CreateDiskEncryptionServiceOutcomeCallable EcdClient::createDiskEncry return task->get_future(); } -EcdClient::CreateDriveOutcome EcdClient::createDrive(const CreateDriveRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateDriveOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateDriveOutcome(CreateDriveResult(outcome.result())); - else - return CreateDriveOutcome(outcome.error()); -} - -void EcdClient::createDriveAsync(const CreateDriveRequest& request, const CreateDriveAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createDrive(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcdClient::CreateDriveOutcomeCallable EcdClient::createDriveCallable(const CreateDriveRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createDrive(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcdClient::CreateImageOutcome EcdClient::createImage(const CreateImageRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1059,6 +1419,42 @@ EcdClient::CreateSnapshotOutcomeCallable EcdClient::createSnapshotCallable(const return task->get_future(); } +EcdClient::DeleteAutoSnapshotPolicyOutcome EcdClient::deleteAutoSnapshotPolicy(const DeleteAutoSnapshotPolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteAutoSnapshotPolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteAutoSnapshotPolicyOutcome(DeleteAutoSnapshotPolicyResult(outcome.result())); + else + return DeleteAutoSnapshotPolicyOutcome(outcome.error()); +} + +void EcdClient::deleteAutoSnapshotPolicyAsync(const DeleteAutoSnapshotPolicyRequest& request, const DeleteAutoSnapshotPolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteAutoSnapshotPolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::DeleteAutoSnapshotPolicyOutcomeCallable EcdClient::deleteAutoSnapshotPolicyCallable(const DeleteAutoSnapshotPolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteAutoSnapshotPolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EcdClient::DeleteBundlesOutcome EcdClient::deleteBundles(const DeleteBundlesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1095,6 +1491,78 @@ EcdClient::DeleteBundlesOutcomeCallable EcdClient::deleteBundlesCallable(const D return task->get_future(); } +EcdClient::DeleteCdsFileOutcome EcdClient::deleteCdsFile(const DeleteCdsFileRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteCdsFileOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteCdsFileOutcome(DeleteCdsFileResult(outcome.result())); + else + return DeleteCdsFileOutcome(outcome.error()); +} + +void EcdClient::deleteCdsFileAsync(const DeleteCdsFileRequest& request, const DeleteCdsFileAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteCdsFile(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::DeleteCdsFileOutcomeCallable EcdClient::deleteCdsFileCallable(const DeleteCdsFileRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteCdsFile(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EcdClient::DeleteCloudDriveGroupsOutcome EcdClient::deleteCloudDriveGroups(const DeleteCloudDriveGroupsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteCloudDriveGroupsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteCloudDriveGroupsOutcome(DeleteCloudDriveGroupsResult(outcome.result())); + else + return DeleteCloudDriveGroupsOutcome(outcome.error()); +} + +void EcdClient::deleteCloudDriveGroupsAsync(const DeleteCloudDriveGroupsRequest& request, const DeleteCloudDriveGroupsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteCloudDriveGroups(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::DeleteCloudDriveGroupsOutcomeCallable EcdClient::deleteCloudDriveGroupsCallable(const DeleteCloudDriveGroupsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteCloudDriveGroups(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EcdClient::DeleteCloudDriveUsersOutcome EcdClient::deleteCloudDriveUsers(const DeleteCloudDriveUsersRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1203,6 +1671,42 @@ EcdClient::DeleteDesktopsOutcomeCallable EcdClient::deleteDesktopsCallable(const return task->get_future(); } +EcdClient::DeleteDevicesOutcome EcdClient::deleteDevices(const DeleteDevicesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDevicesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDevicesOutcome(DeleteDevicesResult(outcome.result())); + else + return DeleteDevicesOutcome(outcome.error()); +} + +void EcdClient::deleteDevicesAsync(const DeleteDevicesRequest& request, const DeleteDevicesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDevices(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::DeleteDevicesOutcomeCallable EcdClient::deleteDevicesCallable(const DeleteDevicesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDevices(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EcdClient::DeleteDirectoriesOutcome EcdClient::deleteDirectories(const DeleteDirectoriesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1239,42 +1743,6 @@ EcdClient::DeleteDirectoriesOutcomeCallable EcdClient::deleteDirectoriesCallable return task->get_future(); } -EcdClient::DeleteDriveOutcome EcdClient::deleteDrive(const DeleteDriveRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteDriveOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteDriveOutcome(DeleteDriveResult(outcome.result())); - else - return DeleteDriveOutcome(outcome.error()); -} - -void EcdClient::deleteDriveAsync(const DeleteDriveRequest& request, const DeleteDriveAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteDrive(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcdClient::DeleteDriveOutcomeCallable EcdClient::deleteDriveCallable(const DeleteDriveRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteDrive(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcdClient::DeleteImagesOutcome EcdClient::deleteImages(const DeleteImagesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1563,6 +2031,42 @@ EcdClient::DescribeAlarmEventStackInfoOutcomeCallable EcdClient::describeAlarmEv return task->get_future(); } +EcdClient::DescribeAutoSnapshotPolicyOutcome EcdClient::describeAutoSnapshotPolicy(const DescribeAutoSnapshotPolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAutoSnapshotPolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAutoSnapshotPolicyOutcome(DescribeAutoSnapshotPolicyResult(outcome.result())); + else + return DescribeAutoSnapshotPolicyOutcome(outcome.error()); +} + +void EcdClient::describeAutoSnapshotPolicyAsync(const DescribeAutoSnapshotPolicyRequest& request, const DescribeAutoSnapshotPolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAutoSnapshotPolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::DescribeAutoSnapshotPolicyOutcomeCallable EcdClient::describeAutoSnapshotPolicyCallable(const DescribeAutoSnapshotPolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAutoSnapshotPolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EcdClient::DescribeBundlesOutcome EcdClient::describeBundles(const DescribeBundlesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1599,6 +2103,42 @@ EcdClient::DescribeBundlesOutcomeCallable EcdClient::describeBundlesCallable(con return task->get_future(); } +EcdClient::DescribeCdsFileShareLinksOutcome EcdClient::describeCdsFileShareLinks(const DescribeCdsFileShareLinksRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdsFileShareLinksOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdsFileShareLinksOutcome(DescribeCdsFileShareLinksResult(outcome.result())); + else + return DescribeCdsFileShareLinksOutcome(outcome.error()); +} + +void EcdClient::describeCdsFileShareLinksAsync(const DescribeCdsFileShareLinksRequest& request, const DescribeCdsFileShareLinksAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdsFileShareLinks(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::DescribeCdsFileShareLinksOutcomeCallable EcdClient::describeCdsFileShareLinksCallable(const DescribeCdsFileShareLinksRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdsFileShareLinks(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EcdClient::DescribeCensOutcome EcdClient::describeCens(const DescribeCensRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1671,6 +2211,42 @@ EcdClient::DescribeClientEventsOutcomeCallable EcdClient::describeClientEventsCa return task->get_future(); } +EcdClient::DescribeCloudDriveGroupsOutcome EcdClient::describeCloudDriveGroups(const DescribeCloudDriveGroupsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCloudDriveGroupsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCloudDriveGroupsOutcome(DescribeCloudDriveGroupsResult(outcome.result())); + else + return DescribeCloudDriveGroupsOutcome(outcome.error()); +} + +void EcdClient::describeCloudDriveGroupsAsync(const DescribeCloudDriveGroupsRequest& request, const DescribeCloudDriveGroupsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCloudDriveGroups(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::DescribeCloudDriveGroupsOutcomeCallable EcdClient::describeCloudDriveGroupsCallable(const DescribeCloudDriveGroupsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCloudDriveGroups(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EcdClient::DescribeCloudDrivePermissionsOutcome EcdClient::describeCloudDrivePermissions(const DescribeCloudDrivePermissionsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1923,6 +2499,42 @@ EcdClient::DescribeDesktopsInGroupOutcomeCallable EcdClient::describeDesktopsInG return task->get_future(); } +EcdClient::DescribeDevicesOutcome EcdClient::describeDevices(const DescribeDevicesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDevicesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDevicesOutcome(DescribeDevicesResult(outcome.result())); + else + return DescribeDevicesOutcome(outcome.error()); +} + +void EcdClient::describeDevicesAsync(const DescribeDevicesRequest& request, const DescribeDevicesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDevices(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::DescribeDevicesOutcomeCallable EcdClient::describeDevicesCallable(const DescribeDevicesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDevices(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EcdClient::DescribeDirectoriesOutcome EcdClient::describeDirectories(const DescribeDirectoriesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1959,42 +2571,6 @@ EcdClient::DescribeDirectoriesOutcomeCallable EcdClient::describeDirectoriesCall return task->get_future(); } -EcdClient::DescribeDrivesOutcome EcdClient::describeDrives(const DescribeDrivesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDrivesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDrivesOutcome(DescribeDrivesResult(outcome.result())); - else - return DescribeDrivesOutcome(outcome.error()); -} - -void EcdClient::describeDrivesAsync(const DescribeDrivesRequest& request, const DescribeDrivesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDrives(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EcdClient::DescribeDrivesOutcomeCallable EcdClient::describeDrivesCallable(const DescribeDrivesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDrives(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EcdClient::DescribeFlowMetricOutcome EcdClient::describeFlowMetric(const DescribeFlowMetricRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2859,6 +3435,42 @@ EcdClient::DescribeUserConnectionRecordsOutcomeCallable EcdClient::describeUserC return task->get_future(); } +EcdClient::DescribeUserProfilePathRulesOutcome EcdClient::describeUserProfilePathRules(const DescribeUserProfilePathRulesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeUserProfilePathRulesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeUserProfilePathRulesOutcome(DescribeUserProfilePathRulesResult(outcome.result())); + else + return DescribeUserProfilePathRulesOutcome(outcome.error()); +} + +void EcdClient::describeUserProfilePathRulesAsync(const DescribeUserProfilePathRulesRequest& request, const DescribeUserProfilePathRulesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeUserProfilePathRules(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::DescribeUserProfilePathRulesOutcomeCallable EcdClient::describeUserProfilePathRulesCallable(const DescribeUserProfilePathRulesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeUserProfilePathRules(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EcdClient::DescribeUsersInGroupOutcome EcdClient::describeUsersInGroup(const DescribeUsersInGroupRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3147,6 +3759,42 @@ EcdClient::DetachCenOutcomeCallable EcdClient::detachCenCallable(const DetachCen return task->get_future(); } +EcdClient::DetachEndUserOutcome EcdClient::detachEndUser(const DetachEndUserRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DetachEndUserOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DetachEndUserOutcome(DetachEndUserResult(outcome.result())); + else + return DetachEndUserOutcome(outcome.error()); +} + +void EcdClient::detachEndUserAsync(const DetachEndUserRequest& request, const DetachEndUserAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, detachEndUser(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::DetachEndUserOutcomeCallable EcdClient::detachEndUserCallable(const DetachEndUserRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->detachEndUser(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EcdClient::DisableDesktopsInGroupOutcome EcdClient::disableDesktopsInGroup(const DisableDesktopsInGroupRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3507,6 +4155,78 @@ EcdClient::HandleSecurityEventsOutcomeCallable EcdClient::handleSecurityEventsCa return task->get_future(); } +EcdClient::HibernateDesktopsOutcome EcdClient::hibernateDesktops(const HibernateDesktopsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return HibernateDesktopsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return HibernateDesktopsOutcome(HibernateDesktopsResult(outcome.result())); + else + return HibernateDesktopsOutcome(outcome.error()); +} + +void EcdClient::hibernateDesktopsAsync(const HibernateDesktopsRequest& request, const HibernateDesktopsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, hibernateDesktops(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::HibernateDesktopsOutcomeCallable EcdClient::hibernateDesktopsCallable(const HibernateDesktopsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->hibernateDesktops(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EcdClient::ListCdsFilesOutcome EcdClient::listCdsFiles(const ListCdsFilesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListCdsFilesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListCdsFilesOutcome(ListCdsFilesResult(outcome.result())); + else + return ListCdsFilesOutcome(outcome.error()); +} + +void EcdClient::listCdsFilesAsync(const ListCdsFilesRequest& request, const ListCdsFilesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listCdsFiles(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::ListCdsFilesOutcomeCallable EcdClient::listCdsFilesCallable(const ListCdsFilesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listCdsFiles(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EcdClient::ListDirectoryUsersOutcome EcdClient::listDirectoryUsers(const ListDirectoryUsersRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3543,6 +4263,42 @@ EcdClient::ListDirectoryUsersOutcomeCallable EcdClient::listDirectoryUsersCallab return task->get_future(); } +EcdClient::ListFilePermissionOutcome EcdClient::listFilePermission(const ListFilePermissionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListFilePermissionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListFilePermissionOutcome(ListFilePermissionResult(outcome.result())); + else + return ListFilePermissionOutcome(outcome.error()); +} + +void EcdClient::listFilePermissionAsync(const ListFilePermissionRequest& request, const ListFilePermissionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listFilePermission(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::ListFilePermissionOutcomeCallable EcdClient::listFilePermissionCallable(const ListFilePermissionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listFilePermission(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EcdClient::ListOfficeSiteOverviewOutcome EcdClient::listOfficeSiteOverview(const ListOfficeSiteOverviewRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3723,6 +4479,42 @@ EcdClient::LockVirtualMFADeviceOutcomeCallable EcdClient::lockVirtualMFADeviceCa return task->get_future(); } +EcdClient::MigrateDesktopsOutcome EcdClient::migrateDesktops(const MigrateDesktopsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return MigrateDesktopsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return MigrateDesktopsOutcome(MigrateDesktopsResult(outcome.result())); + else + return MigrateDesktopsOutcome(outcome.error()); +} + +void EcdClient::migrateDesktopsAsync(const MigrateDesktopsRequest& request, const MigrateDesktopsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, migrateDesktops(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::MigrateDesktopsOutcomeCallable EcdClient::migrateDesktopsCallable(const MigrateDesktopsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->migrateDesktops(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EcdClient::ModifyADConnectorDirectoryOutcome EcdClient::modifyADConnectorDirectory(const ModifyADConnectorDirectoryRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3795,6 +4587,42 @@ EcdClient::ModifyADConnectorOfficeSiteOutcomeCallable EcdClient::modifyADConnect return task->get_future(); } +EcdClient::ModifyAutoSnapshotPolicyOutcome EcdClient::modifyAutoSnapshotPolicy(const ModifyAutoSnapshotPolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyAutoSnapshotPolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyAutoSnapshotPolicyOutcome(ModifyAutoSnapshotPolicyResult(outcome.result())); + else + return ModifyAutoSnapshotPolicyOutcome(outcome.error()); +} + +void EcdClient::modifyAutoSnapshotPolicyAsync(const ModifyAutoSnapshotPolicyRequest& request, const ModifyAutoSnapshotPolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyAutoSnapshotPolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::ModifyAutoSnapshotPolicyOutcomeCallable EcdClient::modifyAutoSnapshotPolicyCallable(const ModifyAutoSnapshotPolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyAutoSnapshotPolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EcdClient::ModifyBundleOutcome EcdClient::modifyBundle(const ModifyBundleRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3831,6 +4659,114 @@ EcdClient::ModifyBundleOutcomeCallable EcdClient::modifyBundleCallable(const Mod return task->get_future(); } +EcdClient::ModifyCdsFileOutcome EcdClient::modifyCdsFile(const ModifyCdsFileRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyCdsFileOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyCdsFileOutcome(ModifyCdsFileResult(outcome.result())); + else + return ModifyCdsFileOutcome(outcome.error()); +} + +void EcdClient::modifyCdsFileAsync(const ModifyCdsFileRequest& request, const ModifyCdsFileAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyCdsFile(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::ModifyCdsFileOutcomeCallable EcdClient::modifyCdsFileCallable(const ModifyCdsFileRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyCdsFile(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EcdClient::ModifyCdsFileShareLinkOutcome EcdClient::modifyCdsFileShareLink(const ModifyCdsFileShareLinkRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyCdsFileShareLinkOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyCdsFileShareLinkOutcome(ModifyCdsFileShareLinkResult(outcome.result())); + else + return ModifyCdsFileShareLinkOutcome(outcome.error()); +} + +void EcdClient::modifyCdsFileShareLinkAsync(const ModifyCdsFileShareLinkRequest& request, const ModifyCdsFileShareLinkAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyCdsFileShareLink(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::ModifyCdsFileShareLinkOutcomeCallable EcdClient::modifyCdsFileShareLinkCallable(const ModifyCdsFileShareLinkRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyCdsFileShareLink(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EcdClient::ModifyCloudDriveGroupsOutcome EcdClient::modifyCloudDriveGroups(const ModifyCloudDriveGroupsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyCloudDriveGroupsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyCloudDriveGroupsOutcome(ModifyCloudDriveGroupsResult(outcome.result())); + else + return ModifyCloudDriveGroupsOutcome(outcome.error()); +} + +void EcdClient::modifyCloudDriveGroupsAsync(const ModifyCloudDriveGroupsRequest& request, const ModifyCloudDriveGroupsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyCloudDriveGroups(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::ModifyCloudDriveGroupsOutcomeCallable EcdClient::modifyCloudDriveGroupsCallable(const ModifyCloudDriveGroupsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyCloudDriveGroups(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EcdClient::ModifyCloudDrivePermissionOutcome EcdClient::modifyCloudDrivePermission(const ModifyCloudDrivePermissionRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4623,6 +5559,42 @@ EcdClient::ModifyUserToDesktopGroupOutcomeCallable EcdClient::modifyUserToDeskto return task->get_future(); } +EcdClient::MoveCdsFileOutcome EcdClient::moveCdsFile(const MoveCdsFileRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return MoveCdsFileOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return MoveCdsFileOutcome(MoveCdsFileResult(outcome.result())); + else + return MoveCdsFileOutcome(outcome.error()); +} + +void EcdClient::moveCdsFileAsync(const MoveCdsFileRequest& request, const MoveCdsFileAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, moveCdsFile(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::MoveCdsFileOutcomeCallable EcdClient::moveCdsFileCallable(const MoveCdsFileRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->moveCdsFile(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EcdClient::OperateVulsOutcome EcdClient::operateVuls(const OperateVulsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4731,6 +5703,42 @@ EcdClient::RebuildDesktopsOutcomeCallable EcdClient::rebuildDesktopsCallable(con return task->get_future(); } +EcdClient::RemoveFilePermissionOutcome EcdClient::removeFilePermission(const RemoveFilePermissionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RemoveFilePermissionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RemoveFilePermissionOutcome(RemoveFilePermissionResult(outcome.result())); + else + return RemoveFilePermissionOutcome(outcome.error()); +} + +void EcdClient::removeFilePermissionAsync(const RemoveFilePermissionRequest& request, const RemoveFilePermissionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, removeFilePermission(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::RemoveFilePermissionOutcomeCallable EcdClient::removeFilePermissionCallable(const RemoveFilePermissionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->removeFilePermission(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EcdClient::RemoveUserFromDesktopGroupOutcome EcdClient::removeUserFromDesktopGroup(const RemoveUserFromDesktopGroupRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5091,6 +6099,42 @@ EcdClient::SendVerifyCodeOutcomeCallable EcdClient::sendVerifyCodeCallable(const return task->get_future(); } +EcdClient::SetDesktopGroupScaleTimerOutcome EcdClient::setDesktopGroupScaleTimer(const SetDesktopGroupScaleTimerRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetDesktopGroupScaleTimerOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetDesktopGroupScaleTimerOutcome(SetDesktopGroupScaleTimerResult(outcome.result())); + else + return SetDesktopGroupScaleTimerOutcome(outcome.error()); +} + +void EcdClient::setDesktopGroupScaleTimerAsync(const SetDesktopGroupScaleTimerRequest& request, const SetDesktopGroupScaleTimerAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setDesktopGroupScaleTimer(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::SetDesktopGroupScaleTimerOutcomeCallable EcdClient::setDesktopGroupScaleTimerCallable(const SetDesktopGroupScaleTimerRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setDesktopGroupScaleTimer(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EcdClient::SetDesktopGroupTimerOutcome EcdClient::setDesktopGroupTimer(const SetDesktopGroupTimerRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5163,6 +6207,42 @@ EcdClient::SetDesktopGroupTimerStatusOutcomeCallable EcdClient::setDesktopGroupT return task->get_future(); } +EcdClient::SetDirectorySsoStatusOutcome EcdClient::setDirectorySsoStatus(const SetDirectorySsoStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetDirectorySsoStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetDirectorySsoStatusOutcome(SetDirectorySsoStatusResult(outcome.result())); + else + return SetDirectorySsoStatusOutcome(outcome.error()); +} + +void EcdClient::setDirectorySsoStatusAsync(const SetDirectorySsoStatusRequest& request, const SetDirectorySsoStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setDirectorySsoStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::SetDirectorySsoStatusOutcomeCallable EcdClient::setDirectorySsoStatusCallable(const SetDirectorySsoStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setDirectorySsoStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EcdClient::SetIdpMetadataOutcome EcdClient::setIdpMetadata(const SetIdpMetadataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5235,6 +6315,42 @@ EcdClient::SetOfficeSiteSsoStatusOutcomeCallable EcdClient::setOfficeSiteSsoStat return task->get_future(); } +EcdClient::SetUserProfilePathRulesOutcome EcdClient::setUserProfilePathRules(const SetUserProfilePathRulesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetUserProfilePathRulesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetUserProfilePathRulesOutcome(SetUserProfilePathRulesResult(outcome.result())); + else + return SetUserProfilePathRulesOutcome(outcome.error()); +} + +void EcdClient::setUserProfilePathRulesAsync(const SetUserProfilePathRulesRequest& request, const SetUserProfilePathRulesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setUserProfilePathRules(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::SetUserProfilePathRulesOutcomeCallable EcdClient::setUserProfilePathRulesCallable(const SetUserProfilePathRulesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setUserProfilePathRules(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EcdClient::StartDesktopsOutcome EcdClient::startDesktops(const StartDesktopsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5595,3 +6711,39 @@ EcdClient::VerifyCenOutcomeCallable EcdClient::verifyCenCallable(const VerifyCen return task->get_future(); } +EcdClient::WakeupDesktopsOutcome EcdClient::wakeupDesktops(const WakeupDesktopsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return WakeupDesktopsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return WakeupDesktopsOutcome(WakeupDesktopsResult(outcome.result())); + else + return WakeupDesktopsOutcome(outcome.error()); +} + +void EcdClient::wakeupDesktopsAsync(const WakeupDesktopsRequest& request, const WakeupDesktopsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, wakeupDesktops(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EcdClient::WakeupDesktopsOutcomeCallable EcdClient::wakeupDesktopsCallable(const WakeupDesktopsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->wakeupDesktops(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + diff --git a/ecd/src/model/AddDevicesRequest.cc b/ecd/src/model/AddDevicesRequest.cc new file mode 100644 index 000000000..66396b76a --- /dev/null +++ b/ecd/src/model/AddDevicesRequest.cc @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ecd::Model::AddDevicesRequest; + +AddDevicesRequest::AddDevicesRequest() + : RpcServiceRequest("ecd", "2020-09-30", "AddDevices") { + setMethod(HttpRequest::Method::Post); +} + +AddDevicesRequest::~AddDevicesRequest() {} + +int AddDevicesRequest::getClientType() const { + return clientType_; +} + +void AddDevicesRequest::setClientType(int clientType) { + clientType_ = clientType; + setParameter(std::string("ClientType"), std::to_string(clientType)); +} + +std::vector AddDevicesRequest::getDeviceIds() const { + return deviceIds_; +} + +void AddDevicesRequest::setDeviceIds(const std::vector &deviceIds) { + deviceIds_ = deviceIds; +} + +std::string AddDevicesRequest::getRegionId() const { + return regionId_; +} + +void AddDevicesRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/ecd/src/model/AddDevicesResult.cc b/ecd/src/model/AddDevicesResult.cc new file mode 100644 index 000000000..c74de0639 --- /dev/null +++ b/ecd/src/model/AddDevicesResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +AddDevicesResult::AddDevicesResult() : + ServiceResult() +{} + +AddDevicesResult::AddDevicesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddDevicesResult::~AddDevicesResult() +{} + +void AddDevicesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/ecd/src/model/AddFilePermissionRequest.cc b/ecd/src/model/AddFilePermissionRequest.cc new file mode 100644 index 000000000..4f3cc8def --- /dev/null +++ b/ecd/src/model/AddFilePermissionRequest.cc @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ecd::Model::AddFilePermissionRequest; + +AddFilePermissionRequest::AddFilePermissionRequest() + : RpcServiceRequest("ecd", "2020-09-30", "AddFilePermission") { + setMethod(HttpRequest::Method::Post); +} + +AddFilePermissionRequest::~AddFilePermissionRequest() {} + +std::vector AddFilePermissionRequest::getMemberList() const { + return memberList_; +} + +void AddFilePermissionRequest::setMemberList(const std::vector &memberList) { + memberList_ = memberList; + for(int dep1 = 0; dep1 != memberList.size(); dep1++) { + setParameter(std::string("MemberList") + "." + std::to_string(dep1 + 1) + ".ExpireTime", std::to_string(memberList[dep1].expireTime)); + setParameter(std::string("MemberList") + "." + std::to_string(dep1 + 1) + ".RoleId", memberList[dep1].roleId); + setParameter(std::string("MemberList") + "." + std::to_string(dep1 + 1) + ".CdsIdentity.Id", memberList[dep1].cdsIdentity.id); + setParameter(std::string("MemberList") + "." + std::to_string(dep1 + 1) + ".CdsIdentity.Type", memberList[dep1].cdsIdentity.type); + setParameter(std::string("MemberList") + "." + std::to_string(dep1 + 1) + ".DisinheritSubGroup", memberList[dep1].disinheritSubGroup ? "true" : "false"); + } +} + +std::string AddFilePermissionRequest::getCdsId() const { + return cdsId_; +} + +void AddFilePermissionRequest::setCdsId(const std::string &cdsId) { + cdsId_ = cdsId; + setParameter(std::string("CdsId"), cdsId); +} + +std::string AddFilePermissionRequest::getRegionId() const { + return regionId_; +} + +void AddFilePermissionRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string AddFilePermissionRequest::getEndUserId() const { + return endUserId_; +} + +void AddFilePermissionRequest::setEndUserId(const std::string &endUserId) { + endUserId_ = endUserId; + setParameter(std::string("EndUserId"), endUserId); +} + +std::string AddFilePermissionRequest::getFileId() const { + return fileId_; +} + +void AddFilePermissionRequest::setFileId(const std::string &fileId) { + fileId_ = fileId; + setParameter(std::string("FileId"), fileId); +} + diff --git a/ecd/src/model/AddFilePermissionResult.cc b/ecd/src/model/AddFilePermissionResult.cc new file mode 100644 index 000000000..87f5dd276 --- /dev/null +++ b/ecd/src/model/AddFilePermissionResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +AddFilePermissionResult::AddFilePermissionResult() : + ServiceResult() +{} + +AddFilePermissionResult::AddFilePermissionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddFilePermissionResult::~AddFilePermissionResult() +{} + +void AddFilePermissionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/ecd/src/model/ApplyAutoSnapshotPolicyRequest.cc b/ecd/src/model/ApplyAutoSnapshotPolicyRequest.cc new file mode 100644 index 000000000..02e4ee2af --- /dev/null +++ b/ecd/src/model/ApplyAutoSnapshotPolicyRequest.cc @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ecd::Model::ApplyAutoSnapshotPolicyRequest; + +ApplyAutoSnapshotPolicyRequest::ApplyAutoSnapshotPolicyRequest() + : RpcServiceRequest("ecd", "2020-09-30", "ApplyAutoSnapshotPolicy") { + setMethod(HttpRequest::Method::Post); +} + +ApplyAutoSnapshotPolicyRequest::~ApplyAutoSnapshotPolicyRequest() {} + +std::string ApplyAutoSnapshotPolicyRequest::getPolicyId() const { + return policyId_; +} + +void ApplyAutoSnapshotPolicyRequest::setPolicyId(const std::string &policyId) { + policyId_ = policyId; + setParameter(std::string("PolicyId"), policyId); +} + +std::string ApplyAutoSnapshotPolicyRequest::getRegionId() const { + return regionId_; +} + +void ApplyAutoSnapshotPolicyRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::vector ApplyAutoSnapshotPolicyRequest::getDesktopId() const { + return desktopId_; +} + +void ApplyAutoSnapshotPolicyRequest::setDesktopId(const std::vector &desktopId) { + desktopId_ = desktopId; +} + diff --git a/ecd/src/model/ApplyAutoSnapshotPolicyResult.cc b/ecd/src/model/ApplyAutoSnapshotPolicyResult.cc new file mode 100644 index 000000000..a14627b66 --- /dev/null +++ b/ecd/src/model/ApplyAutoSnapshotPolicyResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +ApplyAutoSnapshotPolicyResult::ApplyAutoSnapshotPolicyResult() : + ServiceResult() +{} + +ApplyAutoSnapshotPolicyResult::ApplyAutoSnapshotPolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ApplyAutoSnapshotPolicyResult::~ApplyAutoSnapshotPolicyResult() +{} + +void ApplyAutoSnapshotPolicyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/ecd/src/model/AttachEndUserRequest.cc b/ecd/src/model/AttachEndUserRequest.cc new file mode 100644 index 000000000..9ccbb8d08 --- /dev/null +++ b/ecd/src/model/AttachEndUserRequest.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ecd::Model::AttachEndUserRequest; + +AttachEndUserRequest::AttachEndUserRequest() + : RpcServiceRequest("ecd", "2020-09-30", "AttachEndUser") { + setMethod(HttpRequest::Method::Post); +} + +AttachEndUserRequest::~AttachEndUserRequest() {} + +int AttachEndUserRequest::getClientType() const { + return clientType_; +} + +void AttachEndUserRequest::setClientType(int clientType) { + clientType_ = clientType; + setParameter(std::string("ClientType"), std::to_string(clientType)); +} + +std::string AttachEndUserRequest::getUserType() const { + return userType_; +} + +void AttachEndUserRequest::setUserType(const std::string &userType) { + userType_ = userType; + setParameter(std::string("UserType"), userType); +} + +std::string AttachEndUserRequest::getDeviceId() const { + return deviceId_; +} + +void AttachEndUserRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); +} + +std::string AttachEndUserRequest::getAdDomain() const { + return adDomain_; +} + +void AttachEndUserRequest::setAdDomain(const std::string &adDomain) { + adDomain_ = adDomain; + setParameter(std::string("AdDomain"), adDomain); +} + +std::string AttachEndUserRequest::getRegionId() const { + return regionId_; +} + +void AttachEndUserRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string AttachEndUserRequest::getEndUserId() const { + return endUserId_; +} + +void AttachEndUserRequest::setEndUserId(const std::string &endUserId) { + endUserId_ = endUserId; + setParameter(std::string("EndUserId"), endUserId); +} + +std::string AttachEndUserRequest::getDirectoryId() const { + return directoryId_; +} + +void AttachEndUserRequest::setDirectoryId(const std::string &directoryId) { + directoryId_ = directoryId; + setParameter(std::string("DirectoryId"), directoryId); +} + diff --git a/ecd/src/model/AttachEndUserResult.cc b/ecd/src/model/AttachEndUserResult.cc new file mode 100644 index 000000000..765613227 --- /dev/null +++ b/ecd/src/model/AttachEndUserResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +AttachEndUserResult::AttachEndUserResult() : + ServiceResult() +{} + +AttachEndUserResult::AttachEndUserResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AttachEndUserResult::~AttachEndUserResult() +{} + +void AttachEndUserResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/ecd/src/model/CancelAutoSnapshotPolicyRequest.cc b/ecd/src/model/CancelAutoSnapshotPolicyRequest.cc new file mode 100644 index 000000000..88084cd38 --- /dev/null +++ b/ecd/src/model/CancelAutoSnapshotPolicyRequest.cc @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ecd::Model::CancelAutoSnapshotPolicyRequest; + +CancelAutoSnapshotPolicyRequest::CancelAutoSnapshotPolicyRequest() + : RpcServiceRequest("ecd", "2020-09-30", "CancelAutoSnapshotPolicy") { + setMethod(HttpRequest::Method::Post); +} + +CancelAutoSnapshotPolicyRequest::~CancelAutoSnapshotPolicyRequest() {} + +std::string CancelAutoSnapshotPolicyRequest::getPolicyId() const { + return policyId_; +} + +void CancelAutoSnapshotPolicyRequest::setPolicyId(const std::string &policyId) { + policyId_ = policyId; + setParameter(std::string("PolicyId"), policyId); +} + +std::string CancelAutoSnapshotPolicyRequest::getRegionId() const { + return regionId_; +} + +void CancelAutoSnapshotPolicyRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::vector CancelAutoSnapshotPolicyRequest::getDesktopId() const { + return desktopId_; +} + +void CancelAutoSnapshotPolicyRequest::setDesktopId(const std::vector &desktopId) { + desktopId_ = desktopId; +} + diff --git a/ecd/src/model/CancelAutoSnapshotPolicyResult.cc b/ecd/src/model/CancelAutoSnapshotPolicyResult.cc new file mode 100644 index 000000000..0eb411691 --- /dev/null +++ b/ecd/src/model/CancelAutoSnapshotPolicyResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +CancelAutoSnapshotPolicyResult::CancelAutoSnapshotPolicyResult() : + ServiceResult() +{} + +CancelAutoSnapshotPolicyResult::CancelAutoSnapshotPolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CancelAutoSnapshotPolicyResult::~CancelAutoSnapshotPolicyResult() +{} + +void CancelAutoSnapshotPolicyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/ecd/src/model/CancelCdsFileShareLinkRequest.cc b/ecd/src/model/CancelCdsFileShareLinkRequest.cc new file mode 100644 index 000000000..b3f280491 --- /dev/null +++ b/ecd/src/model/CancelCdsFileShareLinkRequest.cc @@ -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 + +using AlibabaCloud::Ecd::Model::CancelCdsFileShareLinkRequest; + +CancelCdsFileShareLinkRequest::CancelCdsFileShareLinkRequest() + : RpcServiceRequest("ecd", "2020-09-30", "CancelCdsFileShareLink") { + setMethod(HttpRequest::Method::Post); +} + +CancelCdsFileShareLinkRequest::~CancelCdsFileShareLinkRequest() {} + +std::string CancelCdsFileShareLinkRequest::getShareId() const { + return shareId_; +} + +void CancelCdsFileShareLinkRequest::setShareId(const std::string &shareId) { + shareId_ = shareId; + setParameter(std::string("ShareId"), shareId); +} + +std::string CancelCdsFileShareLinkRequest::getCdsId() const { + return cdsId_; +} + +void CancelCdsFileShareLinkRequest::setCdsId(const std::string &cdsId) { + cdsId_ = cdsId; + setParameter(std::string("CdsId"), cdsId); +} + diff --git a/ecd/src/model/CancelCdsFileShareLinkResult.cc b/ecd/src/model/CancelCdsFileShareLinkResult.cc new file mode 100644 index 000000000..d0c975329 --- /dev/null +++ b/ecd/src/model/CancelCdsFileShareLinkResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +CancelCdsFileShareLinkResult::CancelCdsFileShareLinkResult() : + ServiceResult() +{} + +CancelCdsFileShareLinkResult::CancelCdsFileShareLinkResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CancelCdsFileShareLinkResult::~CancelCdsFileShareLinkResult() +{} + +void CancelCdsFileShareLinkResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string CancelCdsFileShareLinkResult::getMessage()const +{ + return message_; +} + +bool CancelCdsFileShareLinkResult::getData()const +{ + return data_; +} + +std::string CancelCdsFileShareLinkResult::getCode()const +{ + return code_; +} + +bool CancelCdsFileShareLinkResult::getSuccess()const +{ + return success_; +} + diff --git a/ecd/src/model/CompleteCdsFileRequest.cc b/ecd/src/model/CompleteCdsFileRequest.cc new file mode 100644 index 000000000..29d0c37fe --- /dev/null +++ b/ecd/src/model/CompleteCdsFileRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ecd::Model::CompleteCdsFileRequest; + +CompleteCdsFileRequest::CompleteCdsFileRequest() + : RpcServiceRequest("ecd", "2020-09-30", "CompleteCdsFile") { + setMethod(HttpRequest::Method::Post); +} + +CompleteCdsFileRequest::~CompleteCdsFileRequest() {} + +std::string CompleteCdsFileRequest::getUploadId() const { + return uploadId_; +} + +void CompleteCdsFileRequest::setUploadId(const std::string &uploadId) { + uploadId_ = uploadId; + setParameter(std::string("UploadId"), uploadId); +} + +std::string CompleteCdsFileRequest::getCdsId() const { + return cdsId_; +} + +void CompleteCdsFileRequest::setCdsId(const std::string &cdsId) { + cdsId_ = cdsId; + setParameter(std::string("CdsId"), cdsId); +} + +std::string CompleteCdsFileRequest::getRegionId() const { + return regionId_; +} + +void CompleteCdsFileRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string CompleteCdsFileRequest::getEndUserId() const { + return endUserId_; +} + +void CompleteCdsFileRequest::setEndUserId(const std::string &endUserId) { + endUserId_ = endUserId; + setParameter(std::string("EndUserId"), endUserId); +} + +std::string CompleteCdsFileRequest::getFileId() const { + return fileId_; +} + +void CompleteCdsFileRequest::setFileId(const std::string &fileId) { + fileId_ = fileId; + setParameter(std::string("FileId"), fileId); +} + diff --git a/ecd/src/model/CompleteCdsFileResult.cc b/ecd/src/model/CompleteCdsFileResult.cc new file mode 100644 index 000000000..cc9c1dcbb --- /dev/null +++ b/ecd/src/model/CompleteCdsFileResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +CompleteCdsFileResult::CompleteCdsFileResult() : + ServiceResult() +{} + +CompleteCdsFileResult::CompleteCdsFileResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CompleteCdsFileResult::~CompleteCdsFileResult() +{} + +void CompleteCdsFileResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/ecd/src/model/ConfigADConnectorTrustRequest.cc b/ecd/src/model/ConfigADConnectorTrustRequest.cc index 2f2b9004d..8b4becefd 100644 --- a/ecd/src/model/ConfigADConnectorTrustRequest.cc +++ b/ecd/src/model/ConfigADConnectorTrustRequest.cc @@ -52,3 +52,12 @@ void ConfigADConnectorTrustRequest::setRegionId(const std::string ®ionId) { setParameter(std::string("RegionId"), regionId); } +bool ConfigADConnectorTrustRequest::getRdsLicenseDomain() const { + return rdsLicenseDomain_; +} + +void ConfigADConnectorTrustRequest::setRdsLicenseDomain(bool rdsLicenseDomain) { + rdsLicenseDomain_ = rdsLicenseDomain; + setParameter(std::string("RdsLicenseDomain"), rdsLicenseDomain ? "true" : "false"); +} + diff --git a/ecd/src/model/CopyCdsFileRequest.cc b/ecd/src/model/CopyCdsFileRequest.cc new file mode 100644 index 000000000..c052ef010 --- /dev/null +++ b/ecd/src/model/CopyCdsFileRequest.cc @@ -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 + +using AlibabaCloud::Ecd::Model::CopyCdsFileRequest; + +CopyCdsFileRequest::CopyCdsFileRequest() + : RpcServiceRequest("ecd", "2020-09-30", "CopyCdsFile") { + setMethod(HttpRequest::Method::Post); +} + +CopyCdsFileRequest::~CopyCdsFileRequest() {} + +bool CopyCdsFileRequest::getAutoRename() const { + return autoRename_; +} + +void CopyCdsFileRequest::setAutoRename(bool autoRename) { + autoRename_ = autoRename; + setParameter(std::string("AutoRename"), autoRename ? "true" : "false"); +} + +std::string CopyCdsFileRequest::getCdsId() const { + return cdsId_; +} + +void CopyCdsFileRequest::setCdsId(const std::string &cdsId) { + cdsId_ = cdsId; + setParameter(std::string("CdsId"), cdsId); +} + +std::string CopyCdsFileRequest::getParentFolderId() const { + return parentFolderId_; +} + +void CopyCdsFileRequest::setParentFolderId(const std::string &parentFolderId) { + parentFolderId_ = parentFolderId; + setParameter(std::string("ParentFolderId"), parentFolderId); +} + +std::string CopyCdsFileRequest::getRegionId() const { + return regionId_; +} + +void CopyCdsFileRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string CopyCdsFileRequest::getEndUserId() const { + return endUserId_; +} + +void CopyCdsFileRequest::setEndUserId(const std::string &endUserId) { + endUserId_ = endUserId; + setParameter(std::string("EndUserId"), endUserId); +} + +std::string CopyCdsFileRequest::getFileId() const { + return fileId_; +} + +void CopyCdsFileRequest::setFileId(const std::string &fileId) { + fileId_ = fileId; + setParameter(std::string("FileId"), fileId); +} + diff --git a/ecd/src/model/CopyCdsFileResult.cc b/ecd/src/model/CopyCdsFileResult.cc new file mode 100644 index 000000000..c81b0f5c7 --- /dev/null +++ b/ecd/src/model/CopyCdsFileResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +CopyCdsFileResult::CopyCdsFileResult() : + ServiceResult() +{} + +CopyCdsFileResult::CopyCdsFileResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CopyCdsFileResult::~CopyCdsFileResult() +{} + +void CopyCdsFileResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto copyCdsFileModelNode = value["CopyCdsFileModel"]; + if(!copyCdsFileModelNode["AsyncTaskId"].isNull()) + copyCdsFileModel_.asyncTaskId = copyCdsFileModelNode["AsyncTaskId"].asString(); + if(!copyCdsFileModelNode["FileId"].isNull()) + copyCdsFileModel_.fileId = copyCdsFileModelNode["FileId"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString(); + +} + +std::string CopyCdsFileResult::getMessage()const +{ + return message_; +} + +CopyCdsFileResult::CopyCdsFileModel CopyCdsFileResult::getCopyCdsFileModel()const +{ + return copyCdsFileModel_; +} + +std::string CopyCdsFileResult::getCode()const +{ + return code_; +} + +std::string CopyCdsFileResult::getSuccess()const +{ + return success_; +} + diff --git a/ecd/src/model/CreateAutoSnapshotPolicyRequest.cc b/ecd/src/model/CreateAutoSnapshotPolicyRequest.cc new file mode 100644 index 000000000..508228b97 --- /dev/null +++ b/ecd/src/model/CreateAutoSnapshotPolicyRequest.cc @@ -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 + +using AlibabaCloud::Ecd::Model::CreateAutoSnapshotPolicyRequest; + +CreateAutoSnapshotPolicyRequest::CreateAutoSnapshotPolicyRequest() + : RpcServiceRequest("ecd", "2020-09-30", "CreateAutoSnapshotPolicy") { + setMethod(HttpRequest::Method::Post); +} + +CreateAutoSnapshotPolicyRequest::~CreateAutoSnapshotPolicyRequest() {} + +std::string CreateAutoSnapshotPolicyRequest::getCronExpression() const { + return cronExpression_; +} + +void CreateAutoSnapshotPolicyRequest::setCronExpression(const std::string &cronExpression) { + cronExpression_ = cronExpression; + setParameter(std::string("CronExpression"), cronExpression); +} + +std::string CreateAutoSnapshotPolicyRequest::getRegionId() const { + return regionId_; +} + +void CreateAutoSnapshotPolicyRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string CreateAutoSnapshotPolicyRequest::getPolicyName() const { + return policyName_; +} + +void CreateAutoSnapshotPolicyRequest::setPolicyName(const std::string &policyName) { + policyName_ = policyName; + setParameter(std::string("PolicyName"), policyName); +} + +int CreateAutoSnapshotPolicyRequest::getRetentionDays() const { + return retentionDays_; +} + +void CreateAutoSnapshotPolicyRequest::setRetentionDays(int retentionDays) { + retentionDays_ = retentionDays; + setParameter(std::string("RetentionDays"), std::to_string(retentionDays)); +} + diff --git a/ecd/src/model/CreateAutoSnapshotPolicyResult.cc b/ecd/src/model/CreateAutoSnapshotPolicyResult.cc new file mode 100644 index 000000000..a8ebd4286 --- /dev/null +++ b/ecd/src/model/CreateAutoSnapshotPolicyResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +CreateAutoSnapshotPolicyResult::CreateAutoSnapshotPolicyResult() : + ServiceResult() +{} + +CreateAutoSnapshotPolicyResult::CreateAutoSnapshotPolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateAutoSnapshotPolicyResult::~CreateAutoSnapshotPolicyResult() +{} + +void CreateAutoSnapshotPolicyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["PolicyId"].isNull()) + policyId_ = value["PolicyId"].asString(); + +} + +std::string CreateAutoSnapshotPolicyResult::getPolicyId()const +{ + return policyId_; +} + diff --git a/ecd/src/model/CreateCdsFileRequest.cc b/ecd/src/model/CreateCdsFileRequest.cc new file mode 100644 index 000000000..4abf76ea7 --- /dev/null +++ b/ecd/src/model/CreateCdsFileRequest.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ecd::Model::CreateCdsFileRequest; + +CreateCdsFileRequest::CreateCdsFileRequest() + : RpcServiceRequest("ecd", "2020-09-30", "CreateCdsFile") { + setMethod(HttpRequest::Method::Post); +} + +CreateCdsFileRequest::~CreateCdsFileRequest() {} + +std::string CreateCdsFileRequest::getFileType() const { + return fileType_; +} + +void CreateCdsFileRequest::setFileType(const std::string &fileType) { + fileType_ = fileType; + setParameter(std::string("FileType"), fileType); +} + +std::string CreateCdsFileRequest::getCdsId() const { + return cdsId_; +} + +void CreateCdsFileRequest::setCdsId(const std::string &cdsId) { + cdsId_ = cdsId; + setParameter(std::string("CdsId"), cdsId); +} + +std::string CreateCdsFileRequest::getConflictPolicy() const { + return conflictPolicy_; +} + +void CreateCdsFileRequest::setConflictPolicy(const std::string &conflictPolicy) { + conflictPolicy_ = conflictPolicy; + setParameter(std::string("ConflictPolicy"), conflictPolicy); +} + +std::string CreateCdsFileRequest::getParentFileId() const { + return parentFileId_; +} + +void CreateCdsFileRequest::setParentFileId(const std::string &parentFileId) { + parentFileId_ = parentFileId; + setParameter(std::string("ParentFileId"), parentFileId); +} + +std::string CreateCdsFileRequest::getFileName() const { + return fileName_; +} + +void CreateCdsFileRequest::setFileName(const std::string &fileName) { + fileName_ = fileName; + setParameter(std::string("FileName"), fileName); +} + +std::string CreateCdsFileRequest::getRegionId() const { + return regionId_; +} + +void CreateCdsFileRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +long CreateCdsFileRequest::getFileLength() const { + return fileLength_; +} + +void CreateCdsFileRequest::setFileLength(long fileLength) { + fileLength_ = fileLength; + setParameter(std::string("FileLength"), std::to_string(fileLength)); +} + +std::string CreateCdsFileRequest::getEndUserId() const { + return endUserId_; +} + +void CreateCdsFileRequest::setEndUserId(const std::string &endUserId) { + endUserId_ = endUserId; + setParameter(std::string("EndUserId"), endUserId); +} + +std::string CreateCdsFileRequest::getFileHash() const { + return fileHash_; +} + +void CreateCdsFileRequest::setFileHash(const std::string &fileHash) { + fileHash_ = fileHash; + setParameter(std::string("FileHash"), fileHash); +} + diff --git a/ecd/src/model/CreateCdsFileResult.cc b/ecd/src/model/CreateCdsFileResult.cc new file mode 100644 index 000000000..9db0089ce --- /dev/null +++ b/ecd/src/model/CreateCdsFileResult.cc @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +CreateCdsFileResult::CreateCdsFileResult() : + ServiceResult() +{} + +CreateCdsFileResult::CreateCdsFileResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateCdsFileResult::~CreateCdsFileResult() +{} + +void CreateCdsFileResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto fileModelNode = value["FileModel"]; + if(!fileModelNode["UploadUrl"].isNull()) + fileModel_.uploadUrl = fileModelNode["UploadUrl"].asString(); + if(!fileModelNode["FileId"].isNull()) + fileModel_.fileId = fileModelNode["FileId"].asString(); + if(!fileModelNode["UploadId"].isNull()) + fileModel_.uploadId = fileModelNode["UploadId"].asString(); + +} + +CreateCdsFileResult::FileModel CreateCdsFileResult::getFileModel()const +{ + return fileModel_; +} + diff --git a/ecd/src/model/CreateCdsFileShareLinkRequest.cc b/ecd/src/model/CreateCdsFileShareLinkRequest.cc new file mode 100644 index 000000000..f46662521 --- /dev/null +++ b/ecd/src/model/CreateCdsFileShareLinkRequest.cc @@ -0,0 +1,143 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ecd::Model::CreateCdsFileShareLinkRequest; + +CreateCdsFileShareLinkRequest::CreateCdsFileShareLinkRequest() + : RpcServiceRequest("ecd", "2020-09-30", "CreateCdsFileShareLink") { + setMethod(HttpRequest::Method::Post); +} + +CreateCdsFileShareLinkRequest::~CreateCdsFileShareLinkRequest() {} + +std::string CreateCdsFileShareLinkRequest::getDescription() const { + return description_; +} + +void CreateCdsFileShareLinkRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); +} + +long CreateCdsFileShareLinkRequest::getPreviewLimit() const { + return previewLimit_; +} + +void CreateCdsFileShareLinkRequest::setPreviewLimit(long previewLimit) { + previewLimit_ = previewLimit; + setParameter(std::string("PreviewLimit"), std::to_string(previewLimit)); +} + +bool CreateCdsFileShareLinkRequest::getDisableDownload() const { + return disableDownload_; +} + +void CreateCdsFileShareLinkRequest::setDisableDownload(bool disableDownload) { + disableDownload_ = disableDownload; + setParameter(std::string("DisableDownload"), disableDownload ? "true" : "false"); +} + +bool CreateCdsFileShareLinkRequest::getDisablePreview() const { + return disablePreview_; +} + +void CreateCdsFileShareLinkRequest::setDisablePreview(bool disablePreview) { + disablePreview_ = disablePreview; + setParameter(std::string("DisablePreview"), disablePreview ? "true" : "false"); +} + +std::string CreateCdsFileShareLinkRequest::getSharePwd() const { + return sharePwd_; +} + +void CreateCdsFileShareLinkRequest::setSharePwd(const std::string &sharePwd) { + sharePwd_ = sharePwd; + setParameter(std::string("SharePwd"), sharePwd); +} + +std::string CreateCdsFileShareLinkRequest::getShareName() const { + return shareName_; +} + +void CreateCdsFileShareLinkRequest::setShareName(const std::string &shareName) { + shareName_ = shareName; + setParameter(std::string("ShareName"), shareName); +} + +std::string CreateCdsFileShareLinkRequest::getEndUserId() const { + return endUserId_; +} + +void CreateCdsFileShareLinkRequest::setEndUserId(const std::string &endUserId) { + endUserId_ = endUserId; + setParameter(std::string("EndUserId"), endUserId); +} + +bool CreateCdsFileShareLinkRequest::getDisableSave() const { + return disableSave_; +} + +void CreateCdsFileShareLinkRequest::setDisableSave(bool disableSave) { + disableSave_ = disableSave; + setParameter(std::string("DisableSave"), disableSave ? "true" : "false"); +} + +long CreateCdsFileShareLinkRequest::getDownloadLimit() const { + return downloadLimit_; +} + +void CreateCdsFileShareLinkRequest::setDownloadLimit(long downloadLimit) { + downloadLimit_ = downloadLimit; + setParameter(std::string("DownloadLimit"), std::to_string(downloadLimit)); +} + +std::string CreateCdsFileShareLinkRequest::getCdsId() const { + return cdsId_; +} + +void CreateCdsFileShareLinkRequest::setCdsId(const std::string &cdsId) { + cdsId_ = cdsId; + setParameter(std::string("CdsId"), cdsId); +} + +long CreateCdsFileShareLinkRequest::getSaveLimit() const { + return saveLimit_; +} + +void CreateCdsFileShareLinkRequest::setSaveLimit(long saveLimit) { + saveLimit_ = saveLimit; + setParameter(std::string("SaveLimit"), std::to_string(saveLimit)); +} + +std::vector CreateCdsFileShareLinkRequest::getFileIds() const { + return fileIds_; +} + +void CreateCdsFileShareLinkRequest::setFileIds(const std::vector &fileIds) { + fileIds_ = fileIds; +} + +std::string CreateCdsFileShareLinkRequest::getExpiration() const { + return expiration_; +} + +void CreateCdsFileShareLinkRequest::setExpiration(const std::string &expiration) { + expiration_ = expiration; + setParameter(std::string("Expiration"), expiration); +} + diff --git a/ecd/src/model/CreateCdsFileShareLinkResult.cc b/ecd/src/model/CreateCdsFileShareLinkResult.cc new file mode 100644 index 000000000..b00e07570 --- /dev/null +++ b/ecd/src/model/CreateCdsFileShareLinkResult.cc @@ -0,0 +1,121 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +CreateCdsFileShareLinkResult::CreateCdsFileShareLinkResult() : + ServiceResult() +{} + +CreateCdsFileShareLinkResult::CreateCdsFileShareLinkResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateCdsFileShareLinkResult::~CreateCdsFileShareLinkResult() +{} + +void CreateCdsFileShareLinkResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Description"].isNull()) + data_.description = dataNode["Description"].asString(); + if(!dataNode["SaveLimit"].isNull()) + data_.saveLimit = std::stol(dataNode["SaveLimit"].asString()); + if(!dataNode["DownloadCount"].isNull()) + data_.downloadCount = std::stol(dataNode["DownloadCount"].asString()); + if(!dataNode["Creator"].isNull()) + data_.creator = dataNode["Creator"].asString(); + if(!dataNode["SaveCount"].isNull()) + data_.saveCount = std::stol(dataNode["SaveCount"].asString()); + if(!dataNode["DisableSave"].isNull()) + data_.disableSave = dataNode["DisableSave"].asString() == "true"; + if(!dataNode["SharePwd"].isNull()) + data_.sharePwd = dataNode["SharePwd"].asString(); + if(!dataNode["DisablePreview"].isNull()) + data_.disablePreview = dataNode["DisablePreview"].asString() == "true"; + if(!dataNode["AccessCount"].isNull()) + data_.accessCount = std::stol(dataNode["AccessCount"].asString()); + if(!dataNode["ShareId"].isNull()) + data_.shareId = dataNode["ShareId"].asString(); + if(!dataNode["DownloadLimit"].isNull()) + data_.downloadLimit = std::stol(dataNode["DownloadLimit"].asString()); + if(!dataNode["Status"].isNull()) + data_.status = dataNode["Status"].asString(); + if(!dataNode["DriveId"].isNull()) + data_.driveId = dataNode["DriveId"].asString(); + if(!dataNode["ModifiyTime"].isNull()) + data_.modifiyTime = dataNode["ModifiyTime"].asString(); + if(!dataNode["DisableDownload"].isNull()) + data_.disableDownload = dataNode["DisableDownload"].asString() == "true"; + if(!dataNode["Expiration"].isNull()) + data_.expiration = dataNode["Expiration"].asString(); + if(!dataNode["Expired"].isNull()) + data_.expired = dataNode["Expired"].asString() == "true"; + if(!dataNode["PreviewCount"].isNull()) + data_.previewCount = std::stol(dataNode["PreviewCount"].asString()); + if(!dataNode["PreviewLimit"].isNull()) + data_.previewLimit = std::stol(dataNode["PreviewLimit"].asString()); + if(!dataNode["VideoPreviewCount"].isNull()) + data_.videoPreviewCount = std::stol(dataNode["VideoPreviewCount"].asString()); + if(!dataNode["ReportCount"].isNull()) + data_.reportCount = std::stol(dataNode["ReportCount"].asString()); + if(!dataNode["FileIds"].isNull()) + data_.fileIds = dataNode["FileIds"].asString(); + if(!dataNode["ShareName"].isNull()) + data_.shareName = dataNode["ShareName"].asString(); + if(!dataNode["CreateTime"].isNull()) + data_.createTime = dataNode["CreateTime"].asString(); + if(!dataNode["ShareLink"].isNull()) + data_.shareLink = dataNode["ShareLink"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string CreateCdsFileShareLinkResult::getMessage()const +{ + return message_; +} + +CreateCdsFileShareLinkResult::Data CreateCdsFileShareLinkResult::getData()const +{ + return data_; +} + +std::string CreateCdsFileShareLinkResult::getCode()const +{ + return code_; +} + +bool CreateCdsFileShareLinkResult::getSuccess()const +{ + return success_; +} + diff --git a/ecd/src/model/CreateDesktopGroupRequest.cc b/ecd/src/model/CreateDesktopGroupRequest.cc index f3c256018..c51162a83 100644 --- a/ecd/src/model/CreateDesktopGroupRequest.cc +++ b/ecd/src/model/CreateDesktopGroupRequest.cc @@ -43,6 +43,15 @@ void CreateDesktopGroupRequest::setAllowBufferCount(int allowBufferCount) { setParameter(std::string("AllowBufferCount"), std::to_string(allowBufferCount)); } +int CreateDesktopGroupRequest::getGroupVersion() const { + return groupVersion_; +} + +void CreateDesktopGroupRequest::setGroupVersion(int groupVersion) { + groupVersion_ = groupVersion; + setParameter(std::string("GroupVersion"), std::to_string(groupVersion)); +} + bool CreateDesktopGroupRequest::getAllClassifyUsers() const { return allClassifyUsers_; } @@ -124,6 +133,15 @@ void CreateDesktopGroupRequest::setPeriodUnit(const std::string &periodUnit) { setParameter(std::string("PeriodUnit"), periodUnit); } +bool CreateDesktopGroupRequest::getAutoRenew() const { + return autoRenew_; +} + +void CreateDesktopGroupRequest::setAutoRenew(bool autoRenew) { + autoRenew_ = autoRenew; + setParameter(std::string("AutoRenew"), autoRenew ? "true" : "false"); +} + bool CreateDesktopGroupRequest::getProfileFollowSwitch() const { return profileFollowSwitch_; } @@ -133,6 +151,15 @@ void CreateDesktopGroupRequest::setProfileFollowSwitch(bool profileFollowSwitch) setParameter(std::string("ProfileFollowSwitch"), profileFollowSwitch ? "true" : "false"); } +int CreateDesktopGroupRequest::getBuyDesktopsCount() const { + return buyDesktopsCount_; +} + +void CreateDesktopGroupRequest::setBuyDesktopsCount(int buyDesktopsCount) { + buyDesktopsCount_ = buyDesktopsCount; + setParameter(std::string("BuyDesktopsCount"), std::to_string(buyDesktopsCount)); +} + std::string CreateDesktopGroupRequest::getPolicyGroupId() const { return policyGroupId_; } diff --git a/ecd/src/model/CreateDesktopsRequest.cc b/ecd/src/model/CreateDesktopsRequest.cc index 909584e41..121688cc3 100644 --- a/ecd/src/model/CreateDesktopsRequest.cc +++ b/ecd/src/model/CreateDesktopsRequest.cc @@ -79,6 +79,25 @@ void CreateDesktopsRequest::setHostname(const std::string &hostname) { setParameter(std::string("Hostname"), hostname); } +std::vector CreateDesktopsRequest::getDesktopTimers() const { + return desktopTimers_; +} + +void CreateDesktopsRequest::setDesktopTimers(const std::vector &desktopTimers) { + desktopTimers_ = desktopTimers; + for(int dep1 = 0; dep1 != desktopTimers.size(); dep1++) { + auto desktopTimersObj = desktopTimers.at(dep1); + std::string desktopTimersObjStr = std::string("DesktopTimers") + "." + std::to_string(dep1 + 1); + setParameter(desktopTimersObjStr + ".CronExpression", desktopTimersObj.cronExpression); + setParameter(desktopTimersObjStr + ".TimerType", desktopTimersObj.timerType); + setParameter(desktopTimersObjStr + ".AllowClientSetting", desktopTimersObj.allowClientSetting ? "true" : "false"); + setParameter(desktopTimersObjStr + ".ResetType", desktopTimersObj.resetType); + setParameter(desktopTimersObjStr + ".Enforce", desktopTimersObj.enforce ? "true" : "false"); + setParameter(desktopTimersObjStr + ".Interval", std::to_string(desktopTimersObj.interval)); + setParameter(desktopTimersObjStr + ".OperationType", desktopTimersObj.operationType); + } +} + std::string CreateDesktopsRequest::getRegionId() const { return regionId_; } @@ -123,6 +142,15 @@ void CreateDesktopsRequest::setEndUserId(const std::vector &endUser endUserId_ = endUserId; } +std::string CreateDesktopsRequest::getDesktopMemberIp() const { + return desktopMemberIp_; +} + +void CreateDesktopsRequest::setDesktopMemberIp(const std::string &desktopMemberIp) { + desktopMemberIp_ = desktopMemberIp; + setParameter(std::string("DesktopMemberIp"), desktopMemberIp); +} + std::vector CreateDesktopsRequest::getTag() const { return tag_; } @@ -137,6 +165,24 @@ void CreateDesktopsRequest::setTag(const std::vector } } +std::vector CreateDesktopsRequest::getBundleModels() const { + return bundleModels_; +} + +void CreateDesktopsRequest::setBundleModels(const std::vector &bundleModels) { + bundleModels_ = bundleModels; + for(int dep1 = 0; dep1 != bundleModels.size(); dep1++) { + auto bundleModelsObj = bundleModels.at(dep1); + std::string bundleModelsObjStr = std::string("BundleModels") + "." + std::to_string(dep1 + 1); + setParameter(bundleModelsObjStr + ".VolumeEncryptionEnabled", bundleModelsObj.volumeEncryptionEnabled ? "true" : "false"); + setParameter(bundleModelsObjStr + ".VolumeEncryptionKey", bundleModelsObj.volumeEncryptionKey); + setParameter(bundleModelsObjStr + ".Amount", std::to_string(bundleModelsObj.amount)); + setParameter(bundleModelsObjStr + ".DesktopName", bundleModelsObj.desktopName); + setParameter(bundleModelsObjStr + ".Hostname", bundleModelsObj.hostname); + setParameter(bundleModelsObjStr + ".BundleId", bundleModelsObj.bundleId); + } +} + bool CreateDesktopsRequest::getVolumeEncryptionEnabled() const { return volumeEncryptionEnabled_; } diff --git a/ecd/src/model/CreateDriveRequest.cc b/ecd/src/model/CreateDriveRequest.cc deleted file mode 100644 index 599ca487e..000000000 --- a/ecd/src/model/CreateDriveRequest.cc +++ /dev/null @@ -1,135 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Ecd::Model::CreateDriveRequest; - -CreateDriveRequest::CreateDriveRequest() - : RpcServiceRequest("ecd", "2020-09-30", "CreateDrive") { - setMethod(HttpRequest::Method::Post); -} - -CreateDriveRequest::~CreateDriveRequest() {} - -bool CreateDriveRequest::getProfileRoaming() const { - return profileRoaming_; -} - -void CreateDriveRequest::setProfileRoaming(bool profileRoaming) { - profileRoaming_ = profileRoaming; - setParameter(std::string("ProfileRoaming"), profileRoaming ? "true" : "false"); -} - -std::string CreateDriveRequest::getDescription() const { - return description_; -} - -void CreateDriveRequest::setDescription(const std::string &description) { - description_ = description; - setParameter(std::string("Description"), description); -} - -std::string CreateDriveRequest::getType() const { - return type_; -} - -void CreateDriveRequest::setType(const std::string &type) { - type_ = type; - setParameter(std::string("Type"), type); -} - -std::string CreateDriveRequest::getUserId() const { - return userId_; -} - -void CreateDriveRequest::setUserId(const std::string &userId) { - userId_ = userId; - setParameter(std::string("UserId"), userId); -} - -std::string CreateDriveRequest::getDomainId() const { - return domainId_; -} - -void CreateDriveRequest::setDomainId(const std::string &domainId) { - domainId_ = domainId; - setParameter(std::string("DomainId"), domainId); -} - -std::string CreateDriveRequest::getRegionId() const { - return regionId_; -} - -void CreateDriveRequest::setRegionId(const std::string ®ionId) { - regionId_ = regionId; - setParameter(std::string("RegionId"), regionId); -} - -std::string CreateDriveRequest::getExternalDomainId() const { - return externalDomainId_; -} - -void CreateDriveRequest::setExternalDomainId(const std::string &externalDomainId) { - externalDomainId_ = externalDomainId; - setParameter(std::string("ExternalDomainId"), externalDomainId); -} - -long CreateDriveRequest::getUsedSize() const { - return usedSize_; -} - -void CreateDriveRequest::setUsedSize(long usedSize) { - usedSize_ = usedSize; - setParameter(std::string("UsedSize"), std::to_string(usedSize)); -} - -long CreateDriveRequest::getAliUid() const { - return aliUid_; -} - -void CreateDriveRequest::setAliUid(long aliUid) { - aliUid_ = aliUid; - setParameter(std::string("AliUid"), std::to_string(aliUid)); -} - -std::string CreateDriveRequest::getDriveName() const { - return driveName_; -} - -void CreateDriveRequest::setDriveName(const std::string &driveName) { - driveName_ = driveName; - setParameter(std::string("DriveName"), driveName); -} - -long CreateDriveRequest::getTotalSize() const { - return totalSize_; -} - -void CreateDriveRequest::setTotalSize(long totalSize) { - totalSize_ = totalSize; - setParameter(std::string("TotalSize"), std::to_string(totalSize)); -} - -std::string CreateDriveRequest::getResourceType() const { - return resourceType_; -} - -void CreateDriveRequest::setResourceType(const std::string &resourceType) { - resourceType_ = resourceType; - setParameter(std::string("ResourceType"), resourceType); -} - diff --git a/ecd/src/model/CreateDriveResult.cc b/ecd/src/model/CreateDriveResult.cc deleted file mode 100644 index 82ce58499..000000000 --- a/ecd/src/model/CreateDriveResult.cc +++ /dev/null @@ -1,103 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Ecd; -using namespace AlibabaCloud::Ecd::Model; - -CreateDriveResult::CreateDriveResult() : - ServiceResult() -{} - -CreateDriveResult::CreateDriveResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateDriveResult::~CreateDriveResult() -{} - -void CreateDriveResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto driveNode = value["Drive"]; - if(!driveNode["Id"].isNull()) - drive_.id = driveNode["Id"].asString(); - if(!driveNode["GmtCreate"].isNull()) - drive_.gmtCreate = driveNode["GmtCreate"].asString(); - if(!driveNode["GmtModified"].isNull()) - drive_.gmtModified = driveNode["GmtModified"].asString(); - if(!driveNode["AliUid"].isNull()) - drive_.aliUid = driveNode["AliUid"].asString(); - if(!driveNode["DomainId"].isNull()) - drive_.domainId = driveNode["DomainId"].asString(); - if(!driveNode["DriveId"].isNull()) - drive_.driveId = driveNode["DriveId"].asString(); - if(!driveNode["ExternalDriveId"].isNull()) - drive_.externalDriveId = driveNode["ExternalDriveId"].asString(); - if(!driveNode["UserId"].isNull()) - drive_.userId = driveNode["UserId"].asString(); - if(!driveNode["ExternalUserId"].isNull()) - drive_.externalUserId = driveNode["ExternalUserId"].asString(); - if(!driveNode["Name"].isNull()) - drive_.name = driveNode["Name"].asString(); - if(!driveNode["Description"].isNull()) - drive_.description = driveNode["Description"].asString(); - if(!driveNode["TotalSize"].isNull()) - drive_.totalSize = std::stol(driveNode["TotalSize"].asString()); - if(!driveNode["UsedSize"].isNull()) - drive_.usedSize = std::stol(driveNode["UsedSize"].asString()); - if(!driveNode["Status"].isNull()) - drive_.status = driveNode["Status"].asString(); - if(!driveNode["Type"].isNull()) - drive_.type = driveNode["Type"].asString(); - if(!driveNode["ProfileRoaming"].isNull()) - drive_.profileRoaming = driveNode["ProfileRoaming"].asString() == "true"; - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - -} - -std::string CreateDriveResult::getMessage()const -{ - return message_; -} - -CreateDriveResult::Drive CreateDriveResult::getDrive()const -{ - return drive_; -} - -std::string CreateDriveResult::getCode()const -{ - return code_; -} - -bool CreateDriveResult::getSuccess()const -{ - return success_; -} - diff --git a/ecd/src/model/CreateNetworkPackageRequest.cc b/ecd/src/model/CreateNetworkPackageRequest.cc index fe72d4571..30450bf99 100644 --- a/ecd/src/model/CreateNetworkPackageRequest.cc +++ b/ecd/src/model/CreateNetworkPackageRequest.cc @@ -34,6 +34,15 @@ void CreateNetworkPackageRequest::setOfficeSiteId(const std::string &officeSiteI setParameter(std::string("OfficeSiteId"), officeSiteId); } +std::string CreateNetworkPackageRequest::getRegionId() const { + return regionId_; +} + +void CreateNetworkPackageRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + int CreateNetworkPackageRequest::getPeriod() const { return period_; } @@ -88,15 +97,6 @@ void CreateNetworkPackageRequest::setAutoRenew(bool autoRenew) { setParameter(std::string("AutoRenew"), autoRenew ? "true" : "false"); } -std::string CreateNetworkPackageRequest::getRegionId() const { - return regionId_; -} - -void CreateNetworkPackageRequest::setRegionId(const std::string ®ionId) { - regionId_ = regionId; - setParameter(std::string("RegionId"), regionId); -} - std::string CreateNetworkPackageRequest::getInternetChargeType() const { return internetChargeType_; } @@ -106,3 +106,12 @@ void CreateNetworkPackageRequest::setInternetChargeType(const std::string &inter setParameter(std::string("InternetChargeType"), internetChargeType); } +std::string CreateNetworkPackageRequest::getPayType() const { + return payType_; +} + +void CreateNetworkPackageRequest::setPayType(const std::string &payType) { + payType_ = payType; + setParameter(std::string("PayType"), payType); +} + diff --git a/ecd/src/model/CreatePolicyGroupRequest.cc b/ecd/src/model/CreatePolicyGroupRequest.cc index c81a6a0f9..7cebc7dba 100644 --- a/ecd/src/model/CreatePolicyGroupRequest.cc +++ b/ecd/src/model/CreatePolicyGroupRequest.cc @@ -25,24 +25,6 @@ CreatePolicyGroupRequest::CreatePolicyGroupRequest() CreatePolicyGroupRequest::~CreatePolicyGroupRequest() {} -std::string CreatePolicyGroupRequest::getWatermarkCustomText() const { - return watermarkCustomText_; -} - -void CreatePolicyGroupRequest::setWatermarkCustomText(const std::string &watermarkCustomText) { - watermarkCustomText_ = watermarkCustomText; - setParameter(std::string("WatermarkCustomText"), watermarkCustomText); -} - -std::string CreatePolicyGroupRequest::getPreemptLogin() const { - return preemptLogin_; -} - -void CreatePolicyGroupRequest::setPreemptLogin(const std::string &preemptLogin) { - preemptLogin_ = preemptLogin; - setParameter(std::string("PreemptLogin"), preemptLogin); -} - long CreatePolicyGroupRequest::getRecordingExpires() const { return recordingExpires_; } @@ -52,39 +34,6 @@ void CreatePolicyGroupRequest::setRecordingExpires(long recordingExpires) { setParameter(std::string("RecordingExpires"), std::to_string(recordingExpires)); } -std::vector CreatePolicyGroupRequest::getClientType() const { - return clientType_; -} - -void CreatePolicyGroupRequest::setClientType(const std::vector &clientType) { - clientType_ = clientType; - for(int dep1 = 0; dep1 != clientType.size(); dep1++) { - auto clientTypeObj = clientType.at(dep1); - std::string clientTypeObjStr = std::string("ClientType") + "." + std::to_string(dep1 + 1); - setParameter(clientTypeObjStr + ".ClientType", clientTypeObj.clientType); - setParameter(clientTypeObjStr + ".Status", clientTypeObj.status); - } -} - -std::vector CreatePolicyGroupRequest::getUsbSupplyRedirectRule() const { - return usbSupplyRedirectRule_; -} - -void CreatePolicyGroupRequest::setUsbSupplyRedirectRule(const std::vector &usbSupplyRedirectRule) { - usbSupplyRedirectRule_ = usbSupplyRedirectRule; - for(int dep1 = 0; dep1 != usbSupplyRedirectRule.size(); dep1++) { - auto usbSupplyRedirectRuleObj = usbSupplyRedirectRule.at(dep1); - std::string usbSupplyRedirectRuleObjStr = std::string("UsbSupplyRedirectRule") + "." + std::to_string(dep1 + 1); - setParameter(usbSupplyRedirectRuleObjStr + ".ProductId", usbSupplyRedirectRuleObj.productId); - setParameter(usbSupplyRedirectRuleObjStr + ".DeviceSubclass", usbSupplyRedirectRuleObj.deviceSubclass); - setParameter(usbSupplyRedirectRuleObjStr + ".UsbRedirectType", std::to_string(usbSupplyRedirectRuleObj.usbRedirectType)); - setParameter(usbSupplyRedirectRuleObjStr + ".VendorId", usbSupplyRedirectRuleObj.vendorId); - setParameter(usbSupplyRedirectRuleObjStr + ".Description", usbSupplyRedirectRuleObj.description); - setParameter(usbSupplyRedirectRuleObjStr + ".DeviceClass", usbSupplyRedirectRuleObj.deviceClass); - setParameter(usbSupplyRedirectRuleObjStr + ".UsbRuleType", std::to_string(usbSupplyRedirectRuleObj.usbRuleType)); - } -} - std::string CreatePolicyGroupRequest::getPrinterRedirection() const { return printerRedirection_; } @@ -129,6 +78,15 @@ void CreatePolicyGroupRequest::setLocalDrive(const std::string &localDrive) { setParameter(std::string("LocalDrive"), localDrive); } +int CreatePolicyGroupRequest::getWatermarkTransparencyValue() const { + return watermarkTransparencyValue_; +} + +void CreatePolicyGroupRequest::setWatermarkTransparencyValue(int watermarkTransparencyValue) { + watermarkTransparencyValue_ = watermarkTransparencyValue; + setParameter(std::string("WatermarkTransparencyValue"), std::to_string(watermarkTransparencyValue)); +} + std::vector CreatePolicyGroupRequest::getAuthorizeSecurityPolicyRule() const { return authorizeSecurityPolicyRule_; } @@ -148,15 +106,6 @@ void CreatePolicyGroupRequest::setAuthorizeSecurityPolicyRule(const std::vector< } } -std::string CreatePolicyGroupRequest::getRecording() const { - return recording_; -} - -void CreatePolicyGroupRequest::setRecording(const std::string &recording) { - recording_ = recording; - setParameter(std::string("Recording"), recording); -} - std::string CreatePolicyGroupRequest::getClipboard() const { return clipboard_; } @@ -166,13 +115,13 @@ void CreatePolicyGroupRequest::setClipboard(const std::string &clipboard) { setParameter(std::string("Clipboard"), clipboard); } -long CreatePolicyGroupRequest::getRecordingFps() const { - return recordingFps_; +std::string CreatePolicyGroupRequest::getEndUserApplyAdminCoordinate() const { + return endUserApplyAdminCoordinate_; } -void CreatePolicyGroupRequest::setRecordingFps(long recordingFps) { - recordingFps_ = recordingFps; - setParameter(std::string("RecordingFps"), std::to_string(recordingFps)); +void CreatePolicyGroupRequest::setEndUserApplyAdminCoordinate(const std::string &endUserApplyAdminCoordinate) { + endUserApplyAdminCoordinate_ = endUserApplyAdminCoordinate; + setParameter(std::string("EndUserApplyAdminCoordinate"), endUserApplyAdminCoordinate); } std::string CreatePolicyGroupRequest::getUsbRedirect() const { @@ -184,15 +133,6 @@ void CreatePolicyGroupRequest::setUsbRedirect(const std::string &usbRedirect) { setParameter(std::string("UsbRedirect"), usbRedirect); } -std::string CreatePolicyGroupRequest::getRegionId() const { - return regionId_; -} - -void CreatePolicyGroupRequest::setRegionId(const std::string ®ionId) { - regionId_ = regionId; - setParameter(std::string("RegionId"), regionId); -} - std::string CreatePolicyGroupRequest::getWatermarkType() const { return watermarkType_; } @@ -211,22 +151,46 @@ void CreatePolicyGroupRequest::setRecordingStartTime(const std::string &recordin setParameter(std::string("RecordingStartTime"), recordingStartTime); } -std::string CreatePolicyGroupRequest::getRecordContent() const { - return recordContent_; +std::vector CreatePolicyGroupRequest::getNetRedirectRule() const { + return netRedirectRule_; } -void CreatePolicyGroupRequest::setRecordContent(const std::string &recordContent) { - recordContent_ = recordContent; - setParameter(std::string("RecordContent"), recordContent); +void CreatePolicyGroupRequest::setNetRedirectRule(const std::vector &netRedirectRule) { + netRedirectRule_ = netRedirectRule; + for(int dep1 = 0; dep1 != netRedirectRule.size(); dep1++) { + auto netRedirectRuleObj = netRedirectRule.at(dep1); + std::string netRedirectRuleObjStr = std::string("NetRedirectRule") + "." + std::to_string(dep1 + 1); + setParameter(netRedirectRuleObjStr + ".RuleType", netRedirectRuleObj.ruleType); + setParameter(netRedirectRuleObjStr + ".Domain", netRedirectRuleObj.domain); + setParameter(netRedirectRuleObjStr + ".Policy", netRedirectRuleObj.policy); + } } -long CreatePolicyGroupRequest::getRecordContentExpires() const { - return recordContentExpires_; +int CreatePolicyGroupRequest::getRecordingDuration() const { + return recordingDuration_; } -void CreatePolicyGroupRequest::setRecordContentExpires(long recordContentExpires) { - recordContentExpires_ = recordContentExpires; - setParameter(std::string("RecordContentExpires"), std::to_string(recordContentExpires)); +void CreatePolicyGroupRequest::setRecordingDuration(int recordingDuration) { + recordingDuration_ = recordingDuration; + setParameter(std::string("RecordingDuration"), std::to_string(recordingDuration)); +} + +int CreatePolicyGroupRequest::getWatermarkColor() const { + return watermarkColor_; +} + +void CreatePolicyGroupRequest::setWatermarkColor(int watermarkColor) { + watermarkColor_ = watermarkColor; + setParameter(std::string("WatermarkColor"), std::to_string(watermarkColor)); +} + +int CreatePolicyGroupRequest::getMemoryRateLimit() const { + return memoryRateLimit_; +} + +void CreatePolicyGroupRequest::setMemoryRateLimit(int memoryRateLimit) { + memoryRateLimit_ = memoryRateLimit; + setParameter(std::string("MemoryRateLimit"), std::to_string(memoryRateLimit)); } std::string CreatePolicyGroupRequest::getWatermark() const { @@ -247,6 +211,317 @@ void CreatePolicyGroupRequest::setCameraRedirect(const std::string &cameraRedire setParameter(std::string("CameraRedirect"), cameraRedirect); } +std::vector CreatePolicyGroupRequest::getMemoryProcessors() const { + return memoryProcessors_; +} + +void CreatePolicyGroupRequest::setMemoryProcessors(const std::vector &memoryProcessors) { + memoryProcessors_ = memoryProcessors; +} + +std::string CreatePolicyGroupRequest::getVideoRedirect() const { + return videoRedirect_; +} + +void CreatePolicyGroupRequest::setVideoRedirect(const std::string &videoRedirect) { + videoRedirect_ = videoRedirect; + setParameter(std::string("VideoRedirect"), videoRedirect); +} + +int CreatePolicyGroupRequest::getCpuSingleRateLimit() const { + return cpuSingleRateLimit_; +} + +void CreatePolicyGroupRequest::setCpuSingleRateLimit(int cpuSingleRateLimit) { + cpuSingleRateLimit_ = cpuSingleRateLimit; + setParameter(std::string("CpuSingleRateLimit"), std::to_string(cpuSingleRateLimit)); +} + +std::string CreatePolicyGroupRequest::getAppContentProtection() const { + return appContentProtection_; +} + +void CreatePolicyGroupRequest::setAppContentProtection(const std::string &appContentProtection) { + appContentProtection_ = appContentProtection; + setParameter(std::string("AppContentProtection"), appContentProtection); +} + +std::string CreatePolicyGroupRequest::getCpuProtectedMode() const { + return cpuProtectedMode_; +} + +void CreatePolicyGroupRequest::setCpuProtectedMode(const std::string &cpuProtectedMode) { + cpuProtectedMode_ = cpuProtectedMode; + setParameter(std::string("CpuProtectedMode"), cpuProtectedMode); +} + +std::vector CreatePolicyGroupRequest::getDomainResolveRule() const { + return domainResolveRule_; +} + +void CreatePolicyGroupRequest::setDomainResolveRule(const std::vector &domainResolveRule) { + domainResolveRule_ = domainResolveRule; + for(int dep1 = 0; dep1 != domainResolveRule.size(); dep1++) { + auto domainResolveRuleObj = domainResolveRule.at(dep1); + std::string domainResolveRuleObjStr = std::string("DomainResolveRule") + "." + std::to_string(dep1 + 1); + setParameter(domainResolveRuleObjStr + ".Domain", domainResolveRuleObj.domain); + setParameter(domainResolveRuleObjStr + ".Description", domainResolveRuleObj.description); + setParameter(domainResolveRuleObjStr + ".Policy", domainResolveRuleObj.policy); + } +} + +std::vector CreatePolicyGroupRequest::getAuthorizeAccessPolicyRule() const { + return authorizeAccessPolicyRule_; +} + +void CreatePolicyGroupRequest::setAuthorizeAccessPolicyRule(const std::vector &authorizeAccessPolicyRule) { + authorizeAccessPolicyRule_ = authorizeAccessPolicyRule; + for(int dep1 = 0; dep1 != authorizeAccessPolicyRule.size(); dep1++) { + auto authorizeAccessPolicyRuleObj = authorizeAccessPolicyRule.at(dep1); + std::string authorizeAccessPolicyRuleObjStr = std::string("AuthorizeAccessPolicyRule") + "." + std::to_string(dep1 + 1); + setParameter(authorizeAccessPolicyRuleObjStr + ".Description", authorizeAccessPolicyRuleObj.description); + setParameter(authorizeAccessPolicyRuleObjStr + ".CidrIp", authorizeAccessPolicyRuleObj.cidrIp); + } +} + +std::string CreatePolicyGroupRequest::getWatermarkTransparency() const { + return watermarkTransparency_; +} + +void CreatePolicyGroupRequest::setWatermarkTransparency(const std::string &watermarkTransparency) { + watermarkTransparency_ = watermarkTransparency; + setParameter(std::string("WatermarkTransparency"), watermarkTransparency); +} + +std::string CreatePolicyGroupRequest::getName() const { + return name_; +} + +void CreatePolicyGroupRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +int CreatePolicyGroupRequest::getMemorySampleDuration() const { + return memorySampleDuration_; +} + +void CreatePolicyGroupRequest::setMemorySampleDuration(int memorySampleDuration) { + memorySampleDuration_ = memorySampleDuration; + setParameter(std::string("MemorySampleDuration"), std::to_string(memorySampleDuration)); +} + +std::string CreatePolicyGroupRequest::getWatermarkCustomText() const { + return watermarkCustomText_; +} + +void CreatePolicyGroupRequest::setWatermarkCustomText(const std::string &watermarkCustomText) { + watermarkCustomText_ = watermarkCustomText; + setParameter(std::string("WatermarkCustomText"), watermarkCustomText); +} + +int CreatePolicyGroupRequest::getCpuDownGradeDuration() const { + return cpuDownGradeDuration_; +} + +void CreatePolicyGroupRequest::setCpuDownGradeDuration(int cpuDownGradeDuration) { + cpuDownGradeDuration_ = cpuDownGradeDuration; + setParameter(std::string("CpuDownGradeDuration"), std::to_string(cpuDownGradeDuration)); +} + +std::string CreatePolicyGroupRequest::getPreemptLogin() const { + return preemptLogin_; +} + +void CreatePolicyGroupRequest::setPreemptLogin(const std::string &preemptLogin) { + preemptLogin_ = preemptLogin; + setParameter(std::string("PreemptLogin"), preemptLogin); +} + +std::vector CreatePolicyGroupRequest::getClientType() const { + return clientType_; +} + +void CreatePolicyGroupRequest::setClientType(const std::vector &clientType) { + clientType_ = clientType; + for(int dep1 = 0; dep1 != clientType.size(); dep1++) { + auto clientTypeObj = clientType.at(dep1); + std::string clientTypeObjStr = std::string("ClientType") + "." + std::to_string(dep1 + 1); + setParameter(clientTypeObjStr + ".ClientType", clientTypeObj.clientType); + setParameter(clientTypeObjStr + ".Status", clientTypeObj.status); + } +} + +std::vector CreatePolicyGroupRequest::getUsbSupplyRedirectRule() const { + return usbSupplyRedirectRule_; +} + +void CreatePolicyGroupRequest::setUsbSupplyRedirectRule(const std::vector &usbSupplyRedirectRule) { + usbSupplyRedirectRule_ = usbSupplyRedirectRule; + for(int dep1 = 0; dep1 != usbSupplyRedirectRule.size(); dep1++) { + auto usbSupplyRedirectRuleObj = usbSupplyRedirectRule.at(dep1); + std::string usbSupplyRedirectRuleObjStr = std::string("UsbSupplyRedirectRule") + "." + std::to_string(dep1 + 1); + setParameter(usbSupplyRedirectRuleObjStr + ".ProductId", usbSupplyRedirectRuleObj.productId); + setParameter(usbSupplyRedirectRuleObjStr + ".DeviceSubclass", usbSupplyRedirectRuleObj.deviceSubclass); + setParameter(usbSupplyRedirectRuleObjStr + ".UsbRedirectType", std::to_string(usbSupplyRedirectRuleObj.usbRedirectType)); + setParameter(usbSupplyRedirectRuleObjStr + ".VendorId", usbSupplyRedirectRuleObj.vendorId); + setParameter(usbSupplyRedirectRuleObjStr + ".Description", usbSupplyRedirectRuleObj.description); + setParameter(usbSupplyRedirectRuleObjStr + ".DeviceClass", usbSupplyRedirectRuleObj.deviceClass); + setParameter(usbSupplyRedirectRuleObjStr + ".UsbRuleType", std::to_string(usbSupplyRedirectRuleObj.usbRuleType)); + } +} + +int CreatePolicyGroupRequest::getWatermarkFontSize() const { + return watermarkFontSize_; +} + +void CreatePolicyGroupRequest::setWatermarkFontSize(int watermarkFontSize) { + watermarkFontSize_ = watermarkFontSize; + setParameter(std::string("WatermarkFontSize"), std::to_string(watermarkFontSize)); +} + +std::string CreatePolicyGroupRequest::getRecording() const { + return recording_; +} + +void CreatePolicyGroupRequest::setRecording(const std::string &recording) { + recording_ = recording; + setParameter(std::string("Recording"), recording); +} + +std::vector CreatePolicyGroupRequest::getScopeValue() const { + return scopeValue_; +} + +void CreatePolicyGroupRequest::setScopeValue(const std::vector &scopeValue) { + scopeValue_ = scopeValue; +} + +std::string CreatePolicyGroupRequest::getDomainResolveRuleType() const { + return domainResolveRuleType_; +} + +void CreatePolicyGroupRequest::setDomainResolveRuleType(const std::string &domainResolveRuleType) { + domainResolveRuleType_ = domainResolveRuleType; + setParameter(std::string("DomainResolveRuleType"), domainResolveRuleType); +} + +int CreatePolicyGroupRequest::getMemorySingleRateLimit() const { + return memorySingleRateLimit_; +} + +void CreatePolicyGroupRequest::setMemorySingleRateLimit(int memorySingleRateLimit) { + memorySingleRateLimit_ = memorySingleRateLimit; + setParameter(std::string("MemorySingleRateLimit"), std::to_string(memorySingleRateLimit)); +} + +long CreatePolicyGroupRequest::getRecordingFps() const { + return recordingFps_; +} + +void CreatePolicyGroupRequest::setRecordingFps(long recordingFps) { + recordingFps_ = recordingFps; + setParameter(std::string("RecordingFps"), std::to_string(recordingFps)); +} + +std::string CreatePolicyGroupRequest::getWatermarkFontStyle() const { + return watermarkFontStyle_; +} + +void CreatePolicyGroupRequest::setWatermarkFontStyle(const std::string &watermarkFontStyle) { + watermarkFontStyle_ = watermarkFontStyle; + setParameter(std::string("WatermarkFontStyle"), watermarkFontStyle); +} + +std::string CreatePolicyGroupRequest::getRegionId() const { + return regionId_; +} + +void CreatePolicyGroupRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string CreatePolicyGroupRequest::getRecordContent() const { + return recordContent_; +} + +void CreatePolicyGroupRequest::setRecordContent(const std::string &recordContent) { + recordContent_ = recordContent; + setParameter(std::string("RecordContent"), recordContent); +} + +std::string CreatePolicyGroupRequest::getScope() const { + return scope_; +} + +void CreatePolicyGroupRequest::setScope(const std::string &scope) { + scope_ = scope; + setParameter(std::string("Scope"), scope); +} + +int CreatePolicyGroupRequest::getWatermarkRowAmount() const { + return watermarkRowAmount_; +} + +void CreatePolicyGroupRequest::setWatermarkRowAmount(int watermarkRowAmount) { + watermarkRowAmount_ = watermarkRowAmount; + setParameter(std::string("WatermarkRowAmount"), std::to_string(watermarkRowAmount)); +} + +std::vector CreatePolicyGroupRequest::getCpuProcessors() const { + return cpuProcessors_; +} + +void CreatePolicyGroupRequest::setCpuProcessors(const std::vector &cpuProcessors) { + cpuProcessors_ = cpuProcessors; +} + +std::string CreatePolicyGroupRequest::getEndUserGroupCoordinate() const { + return endUserGroupCoordinate_; +} + +void CreatePolicyGroupRequest::setEndUserGroupCoordinate(const std::string &endUserGroupCoordinate) { + endUserGroupCoordinate_ = endUserGroupCoordinate; + setParameter(std::string("EndUserGroupCoordinate"), endUserGroupCoordinate); +} + +double CreatePolicyGroupRequest::getWatermarkDegree() const { + return watermarkDegree_; +} + +void CreatePolicyGroupRequest::setWatermarkDegree(double watermarkDegree) { + watermarkDegree_ = watermarkDegree; + setParameter(std::string("WatermarkDegree"), std::to_string(watermarkDegree)); +} + +long CreatePolicyGroupRequest::getRecordContentExpires() const { + return recordContentExpires_; +} + +void CreatePolicyGroupRequest::setRecordContentExpires(long recordContentExpires) { + recordContentExpires_ = recordContentExpires; + setParameter(std::string("RecordContentExpires"), std::to_string(recordContentExpires)); +} + +std::string CreatePolicyGroupRequest::getRecordingAudio() const { + return recordingAudio_; +} + +void CreatePolicyGroupRequest::setRecordingAudio(const std::string &recordingAudio) { + recordingAudio_ = recordingAudio; + setParameter(std::string("RecordingAudio"), recordingAudio); +} + +int CreatePolicyGroupRequest::getCpuRateLimit() const { + return cpuRateLimit_; +} + +void CreatePolicyGroupRequest::setCpuRateLimit(int cpuRateLimit) { + cpuRateLimit_ = cpuRateLimit; + setParameter(std::string("CpuRateLimit"), std::to_string(cpuRateLimit)); +} + std::string CreatePolicyGroupRequest::getRemoteCoordinate() const { return remoteCoordinate_; } @@ -256,6 +531,15 @@ void CreatePolicyGroupRequest::setRemoteCoordinate(const std::string &remoteCoor setParameter(std::string("RemoteCoordinate"), remoteCoordinate); } +int CreatePolicyGroupRequest::getCpuSampleDuration() const { + return cpuSampleDuration_; +} + +void CreatePolicyGroupRequest::setCpuSampleDuration(int cpuSampleDuration) { + cpuSampleDuration_ = cpuSampleDuration; + setParameter(std::string("CpuSampleDuration"), std::to_string(cpuSampleDuration)); +} + std::string CreatePolicyGroupRequest::getHtml5Access() const { return html5Access_; } @@ -283,29 +567,6 @@ void CreatePolicyGroupRequest::setHtml5FileTransfer(const std::string &html5File setParameter(std::string("Html5FileTransfer"), html5FileTransfer); } -std::string CreatePolicyGroupRequest::getAppContentProtection() const { - return appContentProtection_; -} - -void CreatePolicyGroupRequest::setAppContentProtection(const std::string &appContentProtection) { - appContentProtection_ = appContentProtection; - setParameter(std::string("AppContentProtection"), appContentProtection); -} - -std::vector CreatePolicyGroupRequest::getAuthorizeAccessPolicyRule() const { - return authorizeAccessPolicyRule_; -} - -void CreatePolicyGroupRequest::setAuthorizeAccessPolicyRule(const std::vector &authorizeAccessPolicyRule) { - authorizeAccessPolicyRule_ = authorizeAccessPolicyRule; - for(int dep1 = 0; dep1 != authorizeAccessPolicyRule.size(); dep1++) { - auto authorizeAccessPolicyRuleObj = authorizeAccessPolicyRule.at(dep1); - std::string authorizeAccessPolicyRuleObjStr = std::string("AuthorizeAccessPolicyRule") + "." + std::to_string(dep1 + 1); - setParameter(authorizeAccessPolicyRuleObjStr + ".Description", authorizeAccessPolicyRuleObj.description); - setParameter(authorizeAccessPolicyRuleObjStr + ".CidrIp", authorizeAccessPolicyRuleObj.cidrIp); - } -} - std::string CreatePolicyGroupRequest::getVisualQuality() const { return visualQuality_; } @@ -315,24 +576,6 @@ void CreatePolicyGroupRequest::setVisualQuality(const std::string &visualQuality setParameter(std::string("VisualQuality"), visualQuality); } -std::string CreatePolicyGroupRequest::getWatermarkTransparency() const { - return watermarkTransparency_; -} - -void CreatePolicyGroupRequest::setWatermarkTransparency(const std::string &watermarkTransparency) { - watermarkTransparency_ = watermarkTransparency; - setParameter(std::string("WatermarkTransparency"), watermarkTransparency); -} - -std::string CreatePolicyGroupRequest::getName() const { - return name_; -} - -void CreatePolicyGroupRequest::setName(const std::string &name) { - name_ = name; - setParameter(std::string("Name"), name); -} - std::string CreatePolicyGroupRequest::getRecordingEndTime() const { return recordingEndTime_; } @@ -342,3 +585,30 @@ void CreatePolicyGroupRequest::setRecordingEndTime(const std::string &recordingE setParameter(std::string("RecordingEndTime"), recordingEndTime); } +std::string CreatePolicyGroupRequest::getMemoryProtectedMode() const { + return memoryProtectedMode_; +} + +void CreatePolicyGroupRequest::setMemoryProtectedMode(const std::string &memoryProtectedMode) { + memoryProtectedMode_ = memoryProtectedMode; + setParameter(std::string("MemoryProtectedMode"), memoryProtectedMode); +} + +int CreatePolicyGroupRequest::getMemoryDownGradeDuration() const { + return memoryDownGradeDuration_; +} + +void CreatePolicyGroupRequest::setMemoryDownGradeDuration(int memoryDownGradeDuration) { + memoryDownGradeDuration_ = memoryDownGradeDuration; + setParameter(std::string("MemoryDownGradeDuration"), std::to_string(memoryDownGradeDuration)); +} + +std::string CreatePolicyGroupRequest::getInternetCommunicationProtocol() const { + return internetCommunicationProtocol_; +} + +void CreatePolicyGroupRequest::setInternetCommunicationProtocol(const std::string &internetCommunicationProtocol) { + internetCommunicationProtocol_ = internetCommunicationProtocol; + setParameter(std::string("InternetCommunicationProtocol"), internetCommunicationProtocol); +} + diff --git a/ecd/src/model/CreateSimpleOfficeSiteRequest.cc b/ecd/src/model/CreateSimpleOfficeSiteRequest.cc index 0771b9d21..454e0ef34 100644 --- a/ecd/src/model/CreateSimpleOfficeSiteRequest.cc +++ b/ecd/src/model/CreateSimpleOfficeSiteRequest.cc @@ -25,6 +25,15 @@ CreateSimpleOfficeSiteRequest::CreateSimpleOfficeSiteRequest() CreateSimpleOfficeSiteRequest::~CreateSimpleOfficeSiteRequest() {} +std::string CreateSimpleOfficeSiteRequest::getVpcType() const { + return vpcType_; +} + +void CreateSimpleOfficeSiteRequest::setVpcType(const std::string &vpcType) { + vpcType_ = vpcType; + setParameter(std::string("VpcType"), vpcType); +} + std::string CreateSimpleOfficeSiteRequest::getCenId() const { return cenId_; } diff --git a/ecd/src/model/DeleteAutoSnapshotPolicyRequest.cc b/ecd/src/model/DeleteAutoSnapshotPolicyRequest.cc new file mode 100644 index 000000000..f4580ce8e --- /dev/null +++ b/ecd/src/model/DeleteAutoSnapshotPolicyRequest.cc @@ -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 + +using AlibabaCloud::Ecd::Model::DeleteAutoSnapshotPolicyRequest; + +DeleteAutoSnapshotPolicyRequest::DeleteAutoSnapshotPolicyRequest() + : RpcServiceRequest("ecd", "2020-09-30", "DeleteAutoSnapshotPolicy") { + setMethod(HttpRequest::Method::Post); +} + +DeleteAutoSnapshotPolicyRequest::~DeleteAutoSnapshotPolicyRequest() {} + +std::vector DeleteAutoSnapshotPolicyRequest::getPolicyId() const { + return policyId_; +} + +void DeleteAutoSnapshotPolicyRequest::setPolicyId(const std::vector &policyId) { + policyId_ = policyId; +} + +std::string DeleteAutoSnapshotPolicyRequest::getRegionId() const { + return regionId_; +} + +void DeleteAutoSnapshotPolicyRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/ecd/src/model/DeleteAutoSnapshotPolicyResult.cc b/ecd/src/model/DeleteAutoSnapshotPolicyResult.cc new file mode 100644 index 000000000..b71856006 --- /dev/null +++ b/ecd/src/model/DeleteAutoSnapshotPolicyResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +DeleteAutoSnapshotPolicyResult::DeleteAutoSnapshotPolicyResult() : + ServiceResult() +{} + +DeleteAutoSnapshotPolicyResult::DeleteAutoSnapshotPolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteAutoSnapshotPolicyResult::~DeleteAutoSnapshotPolicyResult() +{} + +void DeleteAutoSnapshotPolicyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/ecd/src/model/DeleteCdsFileRequest.cc b/ecd/src/model/DeleteCdsFileRequest.cc new file mode 100644 index 000000000..1d78e9ddd --- /dev/null +++ b/ecd/src/model/DeleteCdsFileRequest.cc @@ -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 + +using AlibabaCloud::Ecd::Model::DeleteCdsFileRequest; + +DeleteCdsFileRequest::DeleteCdsFileRequest() + : RpcServiceRequest("ecd", "2020-09-30", "DeleteCdsFile") { + setMethod(HttpRequest::Method::Post); +} + +DeleteCdsFileRequest::~DeleteCdsFileRequest() {} + +std::string DeleteCdsFileRequest::getCdsId() const { + return cdsId_; +} + +void DeleteCdsFileRequest::setCdsId(const std::string &cdsId) { + cdsId_ = cdsId; + setParameter(std::string("CdsId"), cdsId); +} + +std::string DeleteCdsFileRequest::getRegionId() const { + return regionId_; +} + +void DeleteCdsFileRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string DeleteCdsFileRequest::getEndUserId() const { + return endUserId_; +} + +void DeleteCdsFileRequest::setEndUserId(const std::string &endUserId) { + endUserId_ = endUserId; + setParameter(std::string("EndUserId"), endUserId); +} + +std::string DeleteCdsFileRequest::getFileId() const { + return fileId_; +} + +void DeleteCdsFileRequest::setFileId(const std::string &fileId) { + fileId_ = fileId; + setParameter(std::string("FileId"), fileId); +} + diff --git a/ecd/src/model/DeleteDriveResult.cc b/ecd/src/model/DeleteCdsFileResult.cc similarity index 71% rename from ecd/src/model/DeleteDriveResult.cc rename to ecd/src/model/DeleteCdsFileResult.cc index 687fefe25..4bf984060 100644 --- a/ecd/src/model/DeleteDriveResult.cc +++ b/ecd/src/model/DeleteCdsFileResult.cc @@ -14,58 +14,58 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Ecd; using namespace AlibabaCloud::Ecd::Model; -DeleteDriveResult::DeleteDriveResult() : +DeleteCdsFileResult::DeleteCdsFileResult() : ServiceResult() {} -DeleteDriveResult::DeleteDriveResult(const std::string &payload) : +DeleteCdsFileResult::DeleteCdsFileResult(const std::string &payload) : ServiceResult() { parse(payload); } -DeleteDriveResult::~DeleteDriveResult() +DeleteCdsFileResult::~DeleteCdsFileResult() {} -void DeleteDriveResult::parse(const std::string &payload) +void DeleteCdsFileResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; if(!value["Code"].isNull()) code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; } -std::string DeleteDriveResult::getMessage()const +std::string DeleteCdsFileResult::getMessage()const { return message_; } -bool DeleteDriveResult::getData()const +std::string DeleteCdsFileResult::getData()const { return data_; } -std::string DeleteDriveResult::getCode()const +std::string DeleteCdsFileResult::getCode()const { return code_; } -bool DeleteDriveResult::getSuccess()const +bool DeleteCdsFileResult::getSuccess()const { return success_; } diff --git a/ecd/src/model/DeleteCloudDriveGroupsRequest.cc b/ecd/src/model/DeleteCloudDriveGroupsRequest.cc new file mode 100644 index 000000000..dc502ee6a --- /dev/null +++ b/ecd/src/model/DeleteCloudDriveGroupsRequest.cc @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ecd::Model::DeleteCloudDriveGroupsRequest; + +DeleteCloudDriveGroupsRequest::DeleteCloudDriveGroupsRequest() + : RpcServiceRequest("ecd", "2020-09-30", "DeleteCloudDriveGroups") { + setMethod(HttpRequest::Method::Post); +} + +DeleteCloudDriveGroupsRequest::~DeleteCloudDriveGroupsRequest() {} + +std::vector DeleteCloudDriveGroupsRequest::getGroupId() const { + return groupId_; +} + +void DeleteCloudDriveGroupsRequest::setGroupId(const std::vector &groupId) { + groupId_ = groupId; +} + +std::string DeleteCloudDriveGroupsRequest::getCdsId() const { + return cdsId_; +} + +void DeleteCloudDriveGroupsRequest::setCdsId(const std::string &cdsId) { + cdsId_ = cdsId; + setParameter(std::string("CdsId"), cdsId); +} + +std::string DeleteCloudDriveGroupsRequest::getRegionId() const { + return regionId_; +} + +void DeleteCloudDriveGroupsRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/ecd/src/model/DeleteCloudDriveGroupsResult.cc b/ecd/src/model/DeleteCloudDriveGroupsResult.cc new file mode 100644 index 000000000..d2a5b4560 --- /dev/null +++ b/ecd/src/model/DeleteCloudDriveGroupsResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +DeleteCloudDriveGroupsResult::DeleteCloudDriveGroupsResult() : + ServiceResult() +{} + +DeleteCloudDriveGroupsResult::DeleteCloudDriveGroupsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteCloudDriveGroupsResult::~DeleteCloudDriveGroupsResult() +{} + +void DeleteCloudDriveGroupsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string DeleteCloudDriveGroupsResult::getMessage()const +{ + return message_; +} + +std::string DeleteCloudDriveGroupsResult::getData()const +{ + return data_; +} + +std::string DeleteCloudDriveGroupsResult::getCode()const +{ + return code_; +} + +bool DeleteCloudDriveGroupsResult::getSuccess()const +{ + return success_; +} + diff --git a/ecd/src/model/DeleteDevicesRequest.cc b/ecd/src/model/DeleteDevicesRequest.cc new file mode 100644 index 000000000..d878e2a5d --- /dev/null +++ b/ecd/src/model/DeleteDevicesRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ecd::Model::DeleteDevicesRequest; + +DeleteDevicesRequest::DeleteDevicesRequest() + : RpcServiceRequest("ecd", "2020-09-30", "DeleteDevices") { + setMethod(HttpRequest::Method::Post); +} + +DeleteDevicesRequest::~DeleteDevicesRequest() {} + +int DeleteDevicesRequest::getClientType() const { + return clientType_; +} + +void DeleteDevicesRequest::setClientType(int clientType) { + clientType_ = clientType; + setParameter(std::string("ClientType"), std::to_string(clientType)); +} + +std::vector DeleteDevicesRequest::getDeviceIds() const { + return deviceIds_; +} + +void DeleteDevicesRequest::setDeviceIds(const std::vector &deviceIds) { + deviceIds_ = deviceIds; +} + +std::string DeleteDevicesRequest::getRegionId() const { + return regionId_; +} + +void DeleteDevicesRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +int DeleteDevicesRequest::getForce() const { + return force_; +} + +void DeleteDevicesRequest::setForce(int force) { + force_ = force; + setParameter(std::string("Force"), std::to_string(force)); +} + diff --git a/ecd/src/model/DeleteDevicesResult.cc b/ecd/src/model/DeleteDevicesResult.cc new file mode 100644 index 000000000..17f2bcb05 --- /dev/null +++ b/ecd/src/model/DeleteDevicesResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +DeleteDevicesResult::DeleteDevicesResult() : + ServiceResult() +{} + +DeleteDevicesResult::DeleteDevicesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDevicesResult::~DeleteDevicesResult() +{} + +void DeleteDevicesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/ecd/src/model/DeleteImagesRequest.cc b/ecd/src/model/DeleteImagesRequest.cc index be16ac762..3804cb8ca 100644 --- a/ecd/src/model/DeleteImagesRequest.cc +++ b/ecd/src/model/DeleteImagesRequest.cc @@ -42,3 +42,12 @@ void DeleteImagesRequest::setRegionId(const std::string ®ionId) { setParameter(std::string("RegionId"), regionId); } +bool DeleteImagesRequest::getDeleteCascadedBundle() const { + return deleteCascadedBundle_; +} + +void DeleteImagesRequest::setDeleteCascadedBundle(bool deleteCascadedBundle) { + deleteCascadedBundle_ = deleteCascadedBundle; + setParameter(std::string("DeleteCascadedBundle"), deleteCascadedBundle ? "true" : "false"); +} + diff --git a/ecd/src/model/DescribeAutoSnapshotPolicyRequest.cc b/ecd/src/model/DescribeAutoSnapshotPolicyRequest.cc new file mode 100644 index 000000000..791bfdd95 --- /dev/null +++ b/ecd/src/model/DescribeAutoSnapshotPolicyRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ecd::Model::DescribeAutoSnapshotPolicyRequest; + +DescribeAutoSnapshotPolicyRequest::DescribeAutoSnapshotPolicyRequest() + : RpcServiceRequest("ecd", "2020-09-30", "DescribeAutoSnapshotPolicy") { + setMethod(HttpRequest::Method::Post); +} + +DescribeAutoSnapshotPolicyRequest::~DescribeAutoSnapshotPolicyRequest() {} + +std::string DescribeAutoSnapshotPolicyRequest::getPolicyId() const { + return policyId_; +} + +void DescribeAutoSnapshotPolicyRequest::setPolicyId(const std::string &policyId) { + policyId_ = policyId; + setParameter(std::string("PolicyId"), policyId); +} + +std::string DescribeAutoSnapshotPolicyRequest::getRegionId() const { + return regionId_; +} + +void DescribeAutoSnapshotPolicyRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string DescribeAutoSnapshotPolicyRequest::getNextToken() const { + return nextToken_; +} + +void DescribeAutoSnapshotPolicyRequest::setNextToken(const std::string &nextToken) { + nextToken_ = nextToken; + setParameter(std::string("NextToken"), nextToken); +} + +int DescribeAutoSnapshotPolicyRequest::getMaxResults() const { + return maxResults_; +} + +void DescribeAutoSnapshotPolicyRequest::setMaxResults(int maxResults) { + maxResults_ = maxResults; + setParameter(std::string("MaxResults"), std::to_string(maxResults)); +} + +std::string DescribeAutoSnapshotPolicyRequest::getPolicyName() const { + return policyName_; +} + +void DescribeAutoSnapshotPolicyRequest::setPolicyName(const std::string &policyName) { + policyName_ = policyName; + setParameter(std::string("PolicyName"), policyName); +} + diff --git a/ecd/src/model/DescribeAutoSnapshotPolicyResult.cc b/ecd/src/model/DescribeAutoSnapshotPolicyResult.cc new file mode 100644 index 000000000..1f2dcff8d --- /dev/null +++ b/ecd/src/model/DescribeAutoSnapshotPolicyResult.cc @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +DescribeAutoSnapshotPolicyResult::DescribeAutoSnapshotPolicyResult() : + ServiceResult() +{} + +DescribeAutoSnapshotPolicyResult::DescribeAutoSnapshotPolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAutoSnapshotPolicyResult::~DescribeAutoSnapshotPolicyResult() +{} + +void DescribeAutoSnapshotPolicyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allAutoSnapshotPoliciesNode = value["AutoSnapshotPolicies"]["AutoSnapshotPolicy"]; + for (auto valueAutoSnapshotPoliciesAutoSnapshotPolicy : allAutoSnapshotPoliciesNode) + { + AutoSnapshotPolicy autoSnapshotPoliciesObject; + if(!valueAutoSnapshotPoliciesAutoSnapshotPolicy["TimePoints"].isNull()) + autoSnapshotPoliciesObject.timePoints = valueAutoSnapshotPoliciesAutoSnapshotPolicy["TimePoints"].asString(); + if(!valueAutoSnapshotPoliciesAutoSnapshotPolicy["CreationTime"].isNull()) + autoSnapshotPoliciesObject.creationTime = valueAutoSnapshotPoliciesAutoSnapshotPolicy["CreationTime"].asString(); + if(!valueAutoSnapshotPoliciesAutoSnapshotPolicy["Status"].isNull()) + autoSnapshotPoliciesObject.status = valueAutoSnapshotPoliciesAutoSnapshotPolicy["Status"].asString(); + if(!valueAutoSnapshotPoliciesAutoSnapshotPolicy["DesktopNum"].isNull()) + autoSnapshotPoliciesObject.desktopNum = std::stoi(valueAutoSnapshotPoliciesAutoSnapshotPolicy["DesktopNum"].asString()); + if(!valueAutoSnapshotPoliciesAutoSnapshotPolicy["CronExpression"].isNull()) + autoSnapshotPoliciesObject.cronExpression = valueAutoSnapshotPoliciesAutoSnapshotPolicy["CronExpression"].asString(); + if(!valueAutoSnapshotPoliciesAutoSnapshotPolicy["RetentionDays"].isNull()) + autoSnapshotPoliciesObject.retentionDays = valueAutoSnapshotPoliciesAutoSnapshotPolicy["RetentionDays"].asString(); + if(!valueAutoSnapshotPoliciesAutoSnapshotPolicy["PolicyName"].isNull()) + autoSnapshotPoliciesObject.policyName = valueAutoSnapshotPoliciesAutoSnapshotPolicy["PolicyName"].asString(); + if(!valueAutoSnapshotPoliciesAutoSnapshotPolicy["PolicyId"].isNull()) + autoSnapshotPoliciesObject.policyId = valueAutoSnapshotPoliciesAutoSnapshotPolicy["PolicyId"].asString(); + if(!valueAutoSnapshotPoliciesAutoSnapshotPolicy["RegionId"].isNull()) + autoSnapshotPoliciesObject.regionId = valueAutoSnapshotPoliciesAutoSnapshotPolicy["RegionId"].asString(); + autoSnapshotPolicies_.push_back(autoSnapshotPoliciesObject); + } + if(!value["NextToken"].isNull()) + nextToken_ = value["NextToken"].asString(); + +} + +std::string DescribeAutoSnapshotPolicyResult::getNextToken()const +{ + return nextToken_; +} + +std::vector DescribeAutoSnapshotPolicyResult::getAutoSnapshotPolicies()const +{ + return autoSnapshotPolicies_; +} + diff --git a/ecd/src/model/DescribeBundlesRequest.cc b/ecd/src/model/DescribeBundlesRequest.cc index 2e6f6b98a..629302ced 100644 --- a/ecd/src/model/DescribeBundlesRequest.cc +++ b/ecd/src/model/DescribeBundlesRequest.cc @@ -34,6 +34,14 @@ void DescribeBundlesRequest::setGpuCount(float gpuCount) { setParameter(std::string("GpuCount"), std::to_string(gpuCount)); } +std::vector DescribeBundlesRequest::getImageId() const { + return imageId_; +} + +void DescribeBundlesRequest::setImageId(const std::vector &imageId) { + imageId_ = imageId; +} + std::vector DescribeBundlesRequest::getBundleId() const { return bundleId_; } @@ -51,6 +59,15 @@ void DescribeBundlesRequest::setDesktopTypeFamily(const std::string &desktopType setParameter(std::string("DesktopTypeFamily"), desktopTypeFamily); } +bool DescribeBundlesRequest::getSelectedBundle() const { + return selectedBundle_; +} + +void DescribeBundlesRequest::setSelectedBundle(bool selectedBundle) { + selectedBundle_ = selectedBundle; + setParameter(std::string("SelectedBundle"), selectedBundle ? "true" : "false"); +} + std::string DescribeBundlesRequest::getRegionId() const { return regionId_; } @@ -114,6 +131,24 @@ void DescribeBundlesRequest::setMemorySize(int memorySize) { setParameter(std::string("MemorySize"), std::to_string(memorySize)); } +std::string DescribeBundlesRequest::getSessionType() const { + return sessionType_; +} + +void DescribeBundlesRequest::setSessionType(const std::string &sessionType) { + sessionType_ = sessionType; + setParameter(std::string("SessionType"), sessionType); +} + +std::string DescribeBundlesRequest::getOsType() const { + return osType_; +} + +void DescribeBundlesRequest::setOsType(const std::string &osType) { + osType_ = osType; + setParameter(std::string("OsType"), osType); +} + int DescribeBundlesRequest::getMaxResults() const { return maxResults_; } diff --git a/ecd/src/model/DescribeBundlesResult.cc b/ecd/src/model/DescribeBundlesResult.cc index 16814158c..78c006484 100644 --- a/ecd/src/model/DescribeBundlesResult.cc +++ b/ecd/src/model/DescribeBundlesResult.cc @@ -77,6 +77,8 @@ void DescribeBundlesResult::parse(const std::string &payload) bundlesObject.volumeEncryptionKey = valueBundlesBundle["VolumeEncryptionKey"].asString(); if(!valueBundlesBundle["Platform"].isNull()) bundlesObject.platform = valueBundlesBundle["Platform"].asString(); + if(!valueBundlesBundle["ImageStatus"].isNull()) + bundlesObject.imageStatus = valueBundlesBundle["ImageStatus"].asString(); auto allDisksNode = valueBundlesBundle["Disks"]["Disk"]; for (auto valueBundlesBundleDisksDisk : allDisksNode) { diff --git a/ecd/src/model/DescribeCdsFileShareLinksRequest.cc b/ecd/src/model/DescribeCdsFileShareLinksRequest.cc new file mode 100644 index 000000000..639cd306a --- /dev/null +++ b/ecd/src/model/DescribeCdsFileShareLinksRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Ecd::Model::DescribeCdsFileShareLinksRequest; + +DescribeCdsFileShareLinksRequest::DescribeCdsFileShareLinksRequest() + : RpcServiceRequest("ecd", "2020-09-30", "DescribeCdsFileShareLinks") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCdsFileShareLinksRequest::~DescribeCdsFileShareLinksRequest() {} + +std::vector DescribeCdsFileShareLinksRequest::getCreators() const { + return creators_; +} + +void DescribeCdsFileShareLinksRequest::setCreators(const std::vector &creators) { + creators_ = creators; +} + +std::string DescribeCdsFileShareLinksRequest::getShareId() const { + return shareId_; +} + +void DescribeCdsFileShareLinksRequest::setShareId(const std::string &shareId) { + shareId_ = shareId; + setParameter(std::string("ShareId"), shareId); +} + +std::string DescribeCdsFileShareLinksRequest::getCdsId() const { + return cdsId_; +} + +void DescribeCdsFileShareLinksRequest::setCdsId(const std::string &cdsId) { + cdsId_ = cdsId; + setParameter(std::string("CdsId"), cdsId); +} + +std::string DescribeCdsFileShareLinksRequest::getShareName() const { + return shareName_; +} + +void DescribeCdsFileShareLinksRequest::setShareName(const std::string &shareName) { + shareName_ = shareName; + setParameter(std::string("ShareName"), shareName); +} + +std::string DescribeCdsFileShareLinksRequest::getNextToken() const { + return nextToken_; +} + +void DescribeCdsFileShareLinksRequest::setNextToken(const std::string &nextToken) { + nextToken_ = nextToken; + setParameter(std::string("NextToken"), nextToken); +} + +int DescribeCdsFileShareLinksRequest::getMaxResults() const { + return maxResults_; +} + +void DescribeCdsFileShareLinksRequest::setMaxResults(int maxResults) { + maxResults_ = maxResults; + setParameter(std::string("MaxResults"), std::to_string(maxResults)); +} + +std::string DescribeCdsFileShareLinksRequest::getStatus() const { + return status_; +} + +void DescribeCdsFileShareLinksRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); +} + diff --git a/ecd/src/model/DescribeCdsFileShareLinksResult.cc b/ecd/src/model/DescribeCdsFileShareLinksResult.cc new file mode 100644 index 000000000..144b6d57e --- /dev/null +++ b/ecd/src/model/DescribeCdsFileShareLinksResult.cc @@ -0,0 +1,133 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +DescribeCdsFileShareLinksResult::DescribeCdsFileShareLinksResult() : + ServiceResult() +{} + +DescribeCdsFileShareLinksResult::DescribeCdsFileShareLinksResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdsFileShareLinksResult::~DescribeCdsFileShareLinksResult() +{} + +void DescribeCdsFileShareLinksResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["CdsFileShareLinkModel"]; + for (auto valueDataCdsFileShareLinkModel : allDataNode) + { + CdsFileShareLinkModel dataObject; + if(!valueDataCdsFileShareLinkModel["Description"].isNull()) + dataObject.description = valueDataCdsFileShareLinkModel["Description"].asString(); + if(!valueDataCdsFileShareLinkModel["SaveLimit"].isNull()) + dataObject.saveLimit = std::stol(valueDataCdsFileShareLinkModel["SaveLimit"].asString()); + if(!valueDataCdsFileShareLinkModel["DownloadCount"].isNull()) + dataObject.downloadCount = std::stol(valueDataCdsFileShareLinkModel["DownloadCount"].asString()); + if(!valueDataCdsFileShareLinkModel["Creator"].isNull()) + dataObject.creator = valueDataCdsFileShareLinkModel["Creator"].asString(); + if(!valueDataCdsFileShareLinkModel["SaveCount"].isNull()) + dataObject.saveCount = std::stol(valueDataCdsFileShareLinkModel["SaveCount"].asString()); + if(!valueDataCdsFileShareLinkModel["DisableSave"].isNull()) + dataObject.disableSave = valueDataCdsFileShareLinkModel["DisableSave"].asString() == "true"; + if(!valueDataCdsFileShareLinkModel["SharePwd"].isNull()) + dataObject.sharePwd = valueDataCdsFileShareLinkModel["SharePwd"].asString(); + if(!valueDataCdsFileShareLinkModel["DisablePreview"].isNull()) + dataObject.disablePreview = valueDataCdsFileShareLinkModel["DisablePreview"].asString() == "true"; + if(!valueDataCdsFileShareLinkModel["AccessCount"].isNull()) + dataObject.accessCount = std::stol(valueDataCdsFileShareLinkModel["AccessCount"].asString()); + if(!valueDataCdsFileShareLinkModel["ShareId"].isNull()) + dataObject.shareId = valueDataCdsFileShareLinkModel["ShareId"].asString(); + if(!valueDataCdsFileShareLinkModel["DownloadLimit"].isNull()) + dataObject.downloadLimit = std::stol(valueDataCdsFileShareLinkModel["DownloadLimit"].asString()); + if(!valueDataCdsFileShareLinkModel["Status"].isNull()) + dataObject.status = valueDataCdsFileShareLinkModel["Status"].asString(); + if(!valueDataCdsFileShareLinkModel["DriveId"].isNull()) + dataObject.driveId = valueDataCdsFileShareLinkModel["DriveId"].asString(); + if(!valueDataCdsFileShareLinkModel["ModifiyTime"].isNull()) + dataObject.modifiyTime = valueDataCdsFileShareLinkModel["ModifiyTime"].asString(); + if(!valueDataCdsFileShareLinkModel["DisableDownload"].isNull()) + dataObject.disableDownload = valueDataCdsFileShareLinkModel["DisableDownload"].asString() == "true"; + if(!valueDataCdsFileShareLinkModel["Expiration"].isNull()) + dataObject.expiration = valueDataCdsFileShareLinkModel["Expiration"].asString(); + if(!valueDataCdsFileShareLinkModel["Expired"].isNull()) + dataObject.expired = valueDataCdsFileShareLinkModel["Expired"].asString() == "true"; + if(!valueDataCdsFileShareLinkModel["PreviewCount"].isNull()) + dataObject.previewCount = std::stol(valueDataCdsFileShareLinkModel["PreviewCount"].asString()); + if(!valueDataCdsFileShareLinkModel["PreviewLimit"].isNull()) + dataObject.previewLimit = std::stol(valueDataCdsFileShareLinkModel["PreviewLimit"].asString()); + if(!valueDataCdsFileShareLinkModel["VideoPreviewCount"].isNull()) + dataObject.videoPreviewCount = std::stol(valueDataCdsFileShareLinkModel["VideoPreviewCount"].asString()); + if(!valueDataCdsFileShareLinkModel["ReportCount"].isNull()) + dataObject.reportCount = std::stol(valueDataCdsFileShareLinkModel["ReportCount"].asString()); + if(!valueDataCdsFileShareLinkModel["FileIds"].isNull()) + dataObject.fileIds = valueDataCdsFileShareLinkModel["FileIds"].asString(); + if(!valueDataCdsFileShareLinkModel["ShareName"].isNull()) + dataObject.shareName = valueDataCdsFileShareLinkModel["ShareName"].asString(); + if(!valueDataCdsFileShareLinkModel["CreateTime"].isNull()) + dataObject.createTime = valueDataCdsFileShareLinkModel["CreateTime"].asString(); + if(!valueDataCdsFileShareLinkModel["ShareLink"].isNull()) + dataObject.shareLink = valueDataCdsFileShareLinkModel["ShareLink"].asString(); + data_.push_back(dataObject); + } + if(!value["NextToken"].isNull()) + nextToken_ = value["NextToken"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string DescribeCdsFileShareLinksResult::getNextToken()const +{ + return nextToken_; +} + +std::string DescribeCdsFileShareLinksResult::getMessage()const +{ + return message_; +} + +std::vector DescribeCdsFileShareLinksResult::getData()const +{ + return data_; +} + +std::string DescribeCdsFileShareLinksResult::getCode()const +{ + return code_; +} + +bool DescribeCdsFileShareLinksResult::getSuccess()const +{ + return success_; +} + diff --git a/ecd/src/model/DescribeCloudDriveGroupsRequest.cc b/ecd/src/model/DescribeCloudDriveGroupsRequest.cc new file mode 100644 index 000000000..e8182b0e3 --- /dev/null +++ b/ecd/src/model/DescribeCloudDriveGroupsRequest.cc @@ -0,0 +1,134 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ecd::Model::DescribeCloudDriveGroupsRequest; + +DescribeCloudDriveGroupsRequest::DescribeCloudDriveGroupsRequest() + : RpcServiceRequest("ecd", "2020-09-30", "DescribeCloudDriveGroups") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCloudDriveGroupsRequest::~DescribeCloudDriveGroupsRequest() {} + +std::string DescribeCloudDriveGroupsRequest::getParentGroupId() const { + return parentGroupId_; +} + +void DescribeCloudDriveGroupsRequest::setParentGroupId(const std::string &parentGroupId) { + parentGroupId_ = parentGroupId; + setParameter(std::string("ParentGroupId"), parentGroupId); +} + +std::string DescribeCloudDriveGroupsRequest::getGroupType() const { + return groupType_; +} + +void DescribeCloudDriveGroupsRequest::setGroupType(const std::string &groupType) { + groupType_ = groupType; + setParameter(std::string("GroupType"), groupType); +} + +std::string DescribeCloudDriveGroupsRequest::getRegionId() const { + return regionId_; +} + +void DescribeCloudDriveGroupsRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string DescribeCloudDriveGroupsRequest::getDriveType() const { + return driveType_; +} + +void DescribeCloudDriveGroupsRequest::setDriveType(const std::string &driveType) { + driveType_ = driveType; + setParameter(std::string("DriveType"), driveType); +} + +std::string DescribeCloudDriveGroupsRequest::getNextToken() const { + return nextToken_; +} + +void DescribeCloudDriveGroupsRequest::setNextToken(const std::string &nextToken) { + nextToken_ = nextToken; + setParameter(std::string("NextToken"), nextToken); +} + +std::string DescribeCloudDriveGroupsRequest::getDirectoryId() const { + return directoryId_; +} + +void DescribeCloudDriveGroupsRequest::setDirectoryId(const std::string &directoryId) { + directoryId_ = directoryId; + setParameter(std::string("DirectoryId"), directoryId); +} + +std::vector DescribeCloudDriveGroupsRequest::getGroupId() const { + return groupId_; +} + +void DescribeCloudDriveGroupsRequest::setGroupId(const std::vector &groupId) { + groupId_ = groupId; +} + +std::string DescribeCloudDriveGroupsRequest::getDirectoryName() const { + return directoryName_; +} + +void DescribeCloudDriveGroupsRequest::setDirectoryName(const std::string &directoryName) { + directoryName_ = directoryName; + setParameter(std::string("DirectoryName"), directoryName); +} + +std::string DescribeCloudDriveGroupsRequest::getGroupName() const { + return groupName_; +} + +void DescribeCloudDriveGroupsRequest::setGroupName(const std::string &groupName) { + groupName_ = groupName; + setParameter(std::string("GroupName"), groupName); +} + +std::string DescribeCloudDriveGroupsRequest::getCdsId() const { + return cdsId_; +} + +void DescribeCloudDriveGroupsRequest::setCdsId(const std::string &cdsId) { + cdsId_ = cdsId; + setParameter(std::string("CdsId"), cdsId); +} + +std::string DescribeCloudDriveGroupsRequest::getDriveStatus() const { + return driveStatus_; +} + +void DescribeCloudDriveGroupsRequest::setDriveStatus(const std::string &driveStatus) { + driveStatus_ = driveStatus; + setParameter(std::string("DriveStatus"), driveStatus); +} + +int DescribeCloudDriveGroupsRequest::getMaxResults() const { + return maxResults_; +} + +void DescribeCloudDriveGroupsRequest::setMaxResults(int maxResults) { + maxResults_ = maxResults; + setParameter(std::string("MaxResults"), std::to_string(maxResults)); +} + diff --git a/ecd/src/model/DescribeCloudDriveGroupsResult.cc b/ecd/src/model/DescribeCloudDriveGroupsResult.cc new file mode 100644 index 000000000..909faca5c --- /dev/null +++ b/ecd/src/model/DescribeCloudDriveGroupsResult.cc @@ -0,0 +1,92 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +DescribeCloudDriveGroupsResult::DescribeCloudDriveGroupsResult() : + ServiceResult() +{} + +DescribeCloudDriveGroupsResult::DescribeCloudDriveGroupsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCloudDriveGroupsResult::~DescribeCloudDriveGroupsResult() +{} + +void DescribeCloudDriveGroupsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allCloudDriveGroupsNode = value["CloudDriveGroups"]["CloudDriveGroup"]; + for (auto valueCloudDriveGroupsCloudDriveGroup : allCloudDriveGroupsNode) + { + CloudDriveGroup cloudDriveGroupsObject; + if(!valueCloudDriveGroupsCloudDriveGroup["Status"].isNull()) + cloudDriveGroupsObject.status = valueCloudDriveGroupsCloudDriveGroup["Status"].asString(); + if(!valueCloudDriveGroupsCloudDriveGroup["GroupId"].isNull()) + cloudDriveGroupsObject.groupId = valueCloudDriveGroupsCloudDriveGroup["GroupId"].asString(); + if(!valueCloudDriveGroupsCloudDriveGroup["GroupName"].isNull()) + cloudDriveGroupsObject.groupName = valueCloudDriveGroupsCloudDriveGroup["GroupName"].asString(); + if(!valueCloudDriveGroupsCloudDriveGroup["DirectoryId"].isNull()) + cloudDriveGroupsObject.directoryId = valueCloudDriveGroupsCloudDriveGroup["DirectoryId"].asString(); + if(!valueCloudDriveGroupsCloudDriveGroup["DriveId"].isNull()) + cloudDriveGroupsObject.driveId = valueCloudDriveGroupsCloudDriveGroup["DriveId"].asString(); + if(!valueCloudDriveGroupsCloudDriveGroup["CreateTime"].isNull()) + cloudDriveGroupsObject.createTime = valueCloudDriveGroupsCloudDriveGroup["CreateTime"].asString(); + if(!valueCloudDriveGroupsCloudDriveGroup["TotalSize"].isNull()) + cloudDriveGroupsObject.totalSize = std::stol(valueCloudDriveGroupsCloudDriveGroup["TotalSize"].asString()); + if(!valueCloudDriveGroupsCloudDriveGroup["UsedSize"].isNull()) + cloudDriveGroupsObject.usedSize = valueCloudDriveGroupsCloudDriveGroup["UsedSize"].asString(); + cloudDriveGroups_.push_back(cloudDriveGroupsObject); + } + if(!value["NextToken"].isNull()) + nextToken_ = value["NextToken"].asString(); + if(!value["Count"].isNull()) + count_ = std::stol(value["Count"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DescribeCloudDriveGroupsResult::getNextToken()const +{ + return nextToken_; +} + +long DescribeCloudDriveGroupsResult::getCount()const +{ + return count_; +} + +std::vector DescribeCloudDriveGroupsResult::getCloudDriveGroups()const +{ + return cloudDriveGroups_; +} + +bool DescribeCloudDriveGroupsResult::getSuccess()const +{ + return success_; +} + diff --git a/ecd/src/model/DescribeDesktopGroupsRequest.cc b/ecd/src/model/DescribeDesktopGroupsRequest.cc index ac5edee0d..64445cf86 100644 --- a/ecd/src/model/DescribeDesktopGroupsRequest.cc +++ b/ecd/src/model/DescribeDesktopGroupsRequest.cc @@ -42,6 +42,22 @@ void DescribeDesktopGroupsRequest::setEndUserIds(const std::vector endUserIds_ = endUserIds; } +std::vector DescribeDesktopGroupsRequest::getImageId() const { + return imageId_; +} + +void DescribeDesktopGroupsRequest::setImageId(const std::vector &imageId) { + imageId_ = imageId; +} + +std::vector DescribeDesktopGroupsRequest::getBundleId() const { + return bundleId_; +} + +void DescribeDesktopGroupsRequest::setBundleId(const std::vector &bundleId) { + bundleId_ = bundleId; +} + std::string DescribeDesktopGroupsRequest::getDesktopGroupName() const { return desktopGroupName_; } @@ -122,6 +138,15 @@ void DescribeDesktopGroupsRequest::setMaxResults(int maxResults) { setParameter(std::string("MaxResults"), std::to_string(maxResults)); } +std::string DescribeDesktopGroupsRequest::getProtocolType() const { + return protocolType_; +} + +void DescribeDesktopGroupsRequest::setProtocolType(const std::string &protocolType) { + protocolType_ = protocolType; + setParameter(std::string("ProtocolType"), protocolType); +} + std::string DescribeDesktopGroupsRequest::getPolicyGroupId() const { return policyGroupId_; } diff --git a/ecd/src/model/DescribeDesktopGroupsResult.cc b/ecd/src/model/DescribeDesktopGroupsResult.cc index 5e571fbc3..5777e8378 100644 --- a/ecd/src/model/DescribeDesktopGroupsResult.cc +++ b/ecd/src/model/DescribeDesktopGroupsResult.cc @@ -125,6 +125,12 @@ void DescribeDesktopGroupsResult::parse(const std::string &payload) desktopGroupsObject.version = std::stoi(valueDesktopGroupsDesktopGroup["Version"].asString()); if(!valueDesktopGroupsDesktopGroup["StopDuration"].isNull()) desktopGroupsObject.stopDuration = std::stol(valueDesktopGroupsDesktopGroup["StopDuration"].asString()); + if(!valueDesktopGroupsDesktopGroup["ProtocolType"].isNull()) + desktopGroupsObject.protocolType = valueDesktopGroupsDesktopGroup["ProtocolType"].asString(); + if(!valueDesktopGroupsDesktopGroup["OsType"].isNull()) + desktopGroupsObject.osType = valueDesktopGroupsDesktopGroup["OsType"].asString(); + if(!valueDesktopGroupsDesktopGroup["BuyDesktopsCount"].isNull()) + desktopGroupsObject.buyDesktopsCount = std::stoi(valueDesktopGroupsDesktopGroup["BuyDesktopsCount"].asString()); desktopGroups_.push_back(desktopGroupsObject); } if(!value["NextToken"].isNull()) diff --git a/ecd/src/model/DescribeDesktopsInGroupResult.cc b/ecd/src/model/DescribeDesktopsInGroupResult.cc index eadc2f05b..46b2cbd2f 100644 --- a/ecd/src/model/DescribeDesktopsInGroupResult.cc +++ b/ecd/src/model/DescribeDesktopsInGroupResult.cc @@ -75,6 +75,10 @@ void DescribeDesktopsInGroupResult::parse(const std::string &payload) paidDesktopsObject.memberEniIp = valuePaidDesktopsPaidDesktop["MemberEniIp"].asString(); if(!valuePaidDesktopsPaidDesktop["PrimaryEniIp"].isNull()) paidDesktopsObject.primaryEniIp = valuePaidDesktopsPaidDesktop["PrimaryEniIp"].asString(); + if(!valuePaidDesktopsPaidDesktop["ProtocolType"].isNull()) + paidDesktopsObject.protocolType = valuePaidDesktopsPaidDesktop["ProtocolType"].asString(); + if(!valuePaidDesktopsPaidDesktop["FotaVersion"].isNull()) + paidDesktopsObject.fotaVersion = valuePaidDesktopsPaidDesktop["FotaVersion"].asString(); auto allEndUserIds = value["EndUserIds"]["endUserIds"]; for (auto value : allEndUserIds) paidDesktopsObject.endUserIds.push_back(value.asString()); @@ -128,6 +132,10 @@ void DescribeDesktopsInGroupResult::parse(const std::string &payload) postPaidDesktopsObject.memberEniIp = valuePostPaidDesktopsPostPaidDesktop["MemberEniIp"].asString(); if(!valuePostPaidDesktopsPostPaidDesktop["PrimaryEniIp"].isNull()) postPaidDesktopsObject.primaryEniIp = valuePostPaidDesktopsPostPaidDesktop["PrimaryEniIp"].asString(); + if(!valuePostPaidDesktopsPostPaidDesktop["ProtocolType"].isNull()) + postPaidDesktopsObject.protocolType = valuePostPaidDesktopsPostPaidDesktop["ProtocolType"].asString(); + if(!valuePostPaidDesktopsPostPaidDesktop["FotaVersion"].isNull()) + postPaidDesktopsObject.fotaVersion = valuePostPaidDesktopsPostPaidDesktop["FotaVersion"].asString(); auto allEndUserIds1 = value["EndUserIds"]["endUserIds"]; for (auto value : allEndUserIds1) postPaidDesktopsObject.endUserIds1.push_back(value.asString()); diff --git a/ecd/src/model/DescribeDesktopsRequest.cc b/ecd/src/model/DescribeDesktopsRequest.cc index e41a8697f..920b62533 100644 --- a/ecd/src/model/DescribeDesktopsRequest.cc +++ b/ecd/src/model/DescribeDesktopsRequest.cc @@ -34,6 +34,23 @@ void DescribeDesktopsRequest::setOfficeSiteId(const std::string &officeSiteId) { setParameter(std::string("OfficeSiteId"), officeSiteId); } +std::string DescribeDesktopsRequest::getSnapshotPolicyId() const { + return snapshotPolicyId_; +} + +void DescribeDesktopsRequest::setSnapshotPolicyId(const std::string &snapshotPolicyId) { + snapshotPolicyId_ = snapshotPolicyId; + setParameter(std::string("SnapshotPolicyId"), snapshotPolicyId); +} + +std::vector DescribeDesktopsRequest::getImageId() const { + return imageId_; +} + +void DescribeDesktopsRequest::setImageId(const std::vector &imageId) { + imageId_ = imageId; +} + std::string DescribeDesktopsRequest::getDesktopStatus() const { return desktopStatus_; } @@ -43,6 +60,15 @@ void DescribeDesktopsRequest::setDesktopStatus(const std::string &desktopStatus) setParameter(std::string("DesktopStatus"), desktopStatus); } +std::string DescribeDesktopsRequest::getDesktopGroupId() const { + return desktopGroupId_; +} + +void DescribeDesktopsRequest::setDesktopGroupId(const std::string &desktopGroupId) { + desktopGroupId_ = desktopGroupId; + setParameter(std::string("DesktopGroupId"), desktopGroupId); +} + std::string DescribeDesktopsRequest::getRegionId() const { return regionId_; } @@ -61,6 +87,15 @@ void DescribeDesktopsRequest::setNextToken(const std::string &nextToken) { setParameter(std::string("NextToken"), nextToken); } +bool DescribeDesktopsRequest::getOnlyDesktopGroup() const { + return onlyDesktopGroup_; +} + +void DescribeDesktopsRequest::setOnlyDesktopGroup(bool onlyDesktopGroup) { + onlyDesktopGroup_ = onlyDesktopGroup; + setParameter(std::string("OnlyDesktopGroup"), onlyDesktopGroup ? "true" : "false"); +} + bool DescribeDesktopsRequest::getQueryFotaUpdate() const { return queryFotaUpdate_; } @@ -109,6 +144,15 @@ void DescribeDesktopsRequest::setTag(const std::vector DescribeDesktopsRequest::getOsTypes() const { + return osTypes_; +} + +void DescribeDesktopsRequest::setOsTypes(const std::vector &osTypes) { + osTypes_ = osTypes; +} + std::string DescribeDesktopsRequest::getProtocolType() const { return protocolType_; } diff --git a/ecd/src/model/DescribeDesktopsResult.cc b/ecd/src/model/DescribeDesktopsResult.cc index 6a55e2d5f..c45e87e1a 100644 --- a/ecd/src/model/DescribeDesktopsResult.cc +++ b/ecd/src/model/DescribeDesktopsResult.cc @@ -133,6 +133,16 @@ void DescribeDesktopsResult::parse(const std::string &payload) desktopsObject.platform = valueDesktopsDesktop["Platform"].asString(); if(!valueDesktopsDesktop["SessionType"].isNull()) desktopsObject.sessionType = valueDesktopsDesktop["SessionType"].asString(); + if(!valueDesktopsDesktop["SnapshotPolicyId"].isNull()) + desktopsObject.snapshotPolicyId = valueDesktopsDesktop["SnapshotPolicyId"].asString(); + if(!valueDesktopsDesktop["SnapshotPolicyName"].isNull()) + desktopsObject.snapshotPolicyName = valueDesktopsDesktop["SnapshotPolicyName"].asString(); + if(!valueDesktopsDesktop["BindAmount"].isNull()) + desktopsObject.bindAmount = std::stoi(valueDesktopsDesktop["BindAmount"].asString()); + if(!valueDesktopsDesktop["HibernationOptionsConfigured"].isNull()) + desktopsObject.hibernationOptionsConfigured = valueDesktopsDesktop["HibernationOptionsConfigured"].asString() == "true"; + if(!valueDesktopsDesktop["SupportHibernation"].isNull()) + desktopsObject.supportHibernation = valueDesktopsDesktop["SupportHibernation"].asString() == "true"; auto allDisksNode = valueDesktopsDesktop["Disks"]["Disk"]; for (auto valueDesktopsDesktopDisksDisk : allDisksNode) { @@ -184,6 +194,12 @@ void DescribeDesktopsResult::parse(const std::string &payload) auto allManagementFlags = value["ManagementFlags"]["mgtFlag"]; for (auto value : allManagementFlags) desktopsObject.managementFlags.push_back(value.asString()); + auto allPolicyGroupIdList = value["PolicyGroupIdList"]["policyGroupId"]; + for (auto value : allPolicyGroupIdList) + desktopsObject.policyGroupIdList.push_back(value.asString()); + auto allPolicyGroupNameList = value["PolicyGroupNameList"]["policyGroupName"]; + for (auto value : allPolicyGroupNameList) + desktopsObject.policyGroupNameList.push_back(value.asString()); desktops_.push_back(desktopsObject); } if(!value["NextToken"].isNull()) diff --git a/ecd/src/model/DescribeDevicesRequest.cc b/ecd/src/model/DescribeDevicesRequest.cc new file mode 100644 index 000000000..e92766442 --- /dev/null +++ b/ecd/src/model/DescribeDevicesRequest.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ecd::Model::DescribeDevicesRequest; + +DescribeDevicesRequest::DescribeDevicesRequest() + : RpcServiceRequest("ecd", "2020-09-30", "DescribeDevices") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDevicesRequest::~DescribeDevicesRequest() {} + +std::string DescribeDevicesRequest::getClientType() const { + return clientType_; +} + +void DescribeDevicesRequest::setClientType(const std::string &clientType) { + clientType_ = clientType; + setParameter(std::string("ClientType"), clientType); +} + +std::string DescribeDevicesRequest::getUserType() const { + return userType_; +} + +void DescribeDevicesRequest::setUserType(const std::string &userType) { + userType_ = userType; + setParameter(std::string("UserType"), userType); +} + +std::string DescribeDevicesRequest::getDeviceId() const { + return deviceId_; +} + +void DescribeDevicesRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); +} + +int DescribeDevicesRequest::getPageNumber() const { + return pageNumber_; +} + +void DescribeDevicesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string DescribeDevicesRequest::getAdDomain() const { + return adDomain_; +} + +void DescribeDevicesRequest::setAdDomain(const std::string &adDomain) { + adDomain_ = adDomain; + setParameter(std::string("AdDomain"), adDomain); +} + +int DescribeDevicesRequest::getPageSize() const { + return pageSize_; +} + +void DescribeDevicesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string DescribeDevicesRequest::getEndUserId() const { + return endUserId_; +} + +void DescribeDevicesRequest::setEndUserId(const std::string &endUserId) { + endUserId_ = endUserId; + setParameter(std::string("EndUserId"), endUserId); +} + +std::string DescribeDevicesRequest::getDirectoryId() const { + return directoryId_; +} + +void DescribeDevicesRequest::setDirectoryId(const std::string &directoryId) { + directoryId_ = directoryId; + setParameter(std::string("DirectoryId"), directoryId); +} + +std::string DescribeDevicesRequest::getRegion() const { + return region_; +} + +void DescribeDevicesRequest::setRegion(const std::string ®ion) { + region_ = region; + setParameter(std::string("Region"), region); +} + diff --git a/ecd/src/model/DescribeDevicesResult.cc b/ecd/src/model/DescribeDevicesResult.cc new file mode 100644 index 000000000..3ad5c9d3f --- /dev/null +++ b/ecd/src/model/DescribeDevicesResult.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +DescribeDevicesResult::DescribeDevicesResult() : + ServiceResult() +{} + +DescribeDevicesResult::DescribeDevicesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDevicesResult::~DescribeDevicesResult() +{} + +void DescribeDevicesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDevicesNode = value["Devices"]["DevicesItem"]; + for (auto valueDevicesDevicesItem : allDevicesNode) + { + DevicesItem devicesObject; + if(!valueDevicesDevicesItem["DeviceId"].isNull()) + devicesObject.deviceId = valueDevicesDevicesItem["DeviceId"].asString(); + auto allEndUserListNode = valueDevicesDevicesItem["EndUserList"]["EndUserListItem"]; + for (auto valueDevicesDevicesItemEndUserListEndUserListItem : allEndUserListNode) + { + DevicesItem::EndUserListItem endUserListObject; + if(!valueDevicesDevicesItemEndUserListEndUserListItem["EndUserId"].isNull()) + endUserListObject.endUserId = valueDevicesDevicesItemEndUserListEndUserListItem["EndUserId"].asString(); + if(!valueDevicesDevicesItemEndUserListEndUserListItem["UserType"].isNull()) + endUserListObject.userType = valueDevicesDevicesItemEndUserListEndUserListItem["UserType"].asString(); + if(!valueDevicesDevicesItemEndUserListEndUserListItem["DirectoryId"].isNull()) + endUserListObject.directoryId = valueDevicesDevicesItemEndUserListEndUserListItem["DirectoryId"].asString(); + if(!valueDevicesDevicesItemEndUserListEndUserListItem["AdDomain"].isNull()) + endUserListObject.adDomain = valueDevicesDevicesItemEndUserListEndUserListItem["AdDomain"].asString(); + devicesObject.endUserList.push_back(endUserListObject); + } + devices_.push_back(devicesObject); + } + +} + +std::vector DescribeDevicesResult::getDevices()const +{ + return devices_; +} + diff --git a/ecd/src/model/DescribeDrivesRequest.cc b/ecd/src/model/DescribeDrivesRequest.cc deleted file mode 100644 index 49533a913..000000000 --- a/ecd/src/model/DescribeDrivesRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Ecd::Model::DescribeDrivesRequest; - -DescribeDrivesRequest::DescribeDrivesRequest() - : RpcServiceRequest("ecd", "2020-09-30", "DescribeDrives") { - setMethod(HttpRequest::Method::Post); -} - -DescribeDrivesRequest::~DescribeDrivesRequest() {} - -std::string DescribeDrivesRequest::getUserId() const { - return userId_; -} - -void DescribeDrivesRequest::setUserId(const std::string &userId) { - userId_ = userId; - setParameter(std::string("UserId"), userId); -} - -std::string DescribeDrivesRequest::getResourceType() const { - return resourceType_; -} - -void DescribeDrivesRequest::setResourceType(const std::string &resourceType) { - resourceType_ = resourceType; - setParameter(std::string("ResourceType"), resourceType); -} - -std::vector DescribeDrivesRequest::getDomainIds() const { - return domainIds_; -} - -void DescribeDrivesRequest::setDomainIds(const std::vector &domainIds) { - domainIds_ = domainIds; -} - -std::string DescribeDrivesRequest::getRegionId() const { - return regionId_; -} - -void DescribeDrivesRequest::setRegionId(const std::string ®ionId) { - regionId_ = regionId; - setParameter(std::string("RegionId"), regionId); -} - diff --git a/ecd/src/model/DescribeDrivesResult.cc b/ecd/src/model/DescribeDrivesResult.cc deleted file mode 100644 index 0daa430d1..000000000 --- a/ecd/src/model/DescribeDrivesResult.cc +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Ecd; -using namespace AlibabaCloud::Ecd::Model; - -DescribeDrivesResult::DescribeDrivesResult() : - ServiceResult() -{} - -DescribeDrivesResult::DescribeDrivesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDrivesResult::~DescribeDrivesResult() -{} - -void DescribeDrivesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDrivesNode = value["Drives"]["Drive"]; - for (auto valueDrivesDrive : allDrivesNode) - { - Drive drivesObject; - if(!valueDrivesDrive["Id"].isNull()) - drivesObject.id = valueDrivesDrive["Id"].asString(); - if(!valueDrivesDrive["GmtCreate"].isNull()) - drivesObject.gmtCreate = valueDrivesDrive["GmtCreate"].asString(); - if(!valueDrivesDrive["GmtModified"].isNull()) - drivesObject.gmtModified = valueDrivesDrive["GmtModified"].asString(); - if(!valueDrivesDrive["AliUid"].isNull()) - drivesObject.aliUid = std::stol(valueDrivesDrive["AliUid"].asString()); - if(!valueDrivesDrive["DomainId"].isNull()) - drivesObject.domainId = valueDrivesDrive["DomainId"].asString(); - if(!valueDrivesDrive["ExternalDomainId"].isNull()) - drivesObject.externalDomainId = valueDrivesDrive["ExternalDomainId"].asString(); - if(!valueDrivesDrive["DriveId"].isNull()) - drivesObject.driveId = valueDrivesDrive["DriveId"].asString(); - if(!valueDrivesDrive["ExternalDriveId"].isNull()) - drivesObject.externalDriveId = valueDrivesDrive["ExternalDriveId"].asString(); - if(!valueDrivesDrive["UserId"].isNull()) - drivesObject.userId = valueDrivesDrive["UserId"].asString(); - if(!valueDrivesDrive["ExternalUserId"].isNull()) - drivesObject.externalUserId = valueDrivesDrive["ExternalUserId"].asString(); - if(!valueDrivesDrive["Name"].isNull()) - drivesObject.name = valueDrivesDrive["Name"].asString(); - if(!valueDrivesDrive["Description"].isNull()) - drivesObject.description = valueDrivesDrive["Description"].asString(); - if(!valueDrivesDrive["TotalSize"].isNull()) - drivesObject.totalSize = std::stol(valueDrivesDrive["TotalSize"].asString()); - if(!valueDrivesDrive["UsedSize"].isNull()) - drivesObject.usedSize = std::stol(valueDrivesDrive["UsedSize"].asString()); - if(!valueDrivesDrive["Status"].isNull()) - drivesObject.status = valueDrivesDrive["Status"].asString(); - if(!valueDrivesDrive["Type"].isNull()) - drivesObject.type = valueDrivesDrive["Type"].asString(); - if(!valueDrivesDrive["ProfileRoaming"].isNull()) - drivesObject.profileRoaming = valueDrivesDrive["ProfileRoaming"].asString() == "true"; - if(!valueDrivesDrive["DesktopGroupCount"].isNull()) - drivesObject.desktopGroupCount = std::stoi(valueDrivesDrive["DesktopGroupCount"].asString()); - if(!valueDrivesDrive["EnableProfileManagement"].isNull()) - drivesObject.enableProfileManagement = valueDrivesDrive["EnableProfileManagement"].asString() == "true"; - auto allDesktopGroupsNode = valueDrivesDrive["DesktopGroups"]["DesktopGroup"]; - for (auto valueDrivesDriveDesktopGroupsDesktopGroup : allDesktopGroupsNode) - { - Drive::DesktopGroup desktopGroupsObject; - if(!valueDrivesDriveDesktopGroupsDesktopGroup["DesktopGroupId"].isNull()) - desktopGroupsObject.desktopGroupId = valueDrivesDriveDesktopGroupsDesktopGroup["DesktopGroupId"].asString(); - if(!valueDrivesDriveDesktopGroupsDesktopGroup["DesktopGroupName"].isNull()) - desktopGroupsObject.desktopGroupName = valueDrivesDriveDesktopGroupsDesktopGroup["DesktopGroupName"].asString(); - drivesObject.desktopGroups.push_back(desktopGroupsObject); - } - drives_.push_back(drivesObject); - } - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -std::string DescribeDrivesResult::getMessage()const -{ - return message_; -} - -std::vector DescribeDrivesResult::getDrives()const -{ - return drives_; -} - -std::string DescribeDrivesResult::getCode()const -{ - return code_; -} - -bool DescribeDrivesResult::getSuccess()const -{ - return success_; -} - diff --git a/ecd/src/model/DescribeFotaTasksResult.cc b/ecd/src/model/DescribeFotaTasksResult.cc index 466ff95e8..d5f82f552 100644 --- a/ecd/src/model/DescribeFotaTasksResult.cc +++ b/ecd/src/model/DescribeFotaTasksResult.cc @@ -59,6 +59,8 @@ void DescribeFotaTasksResult::parse(const std::string &payload) fotaTasksObject.releaseNote = valueFotaTasksFotaTask["ReleaseNote"].asString(); if(!valueFotaTasksFotaTask["Size"].isNull()) fotaTasksObject.size = std::stoi(valueFotaTasksFotaTask["Size"].asString()); + if(!valueFotaTasksFotaTask["PendingCustomImageCount"].isNull()) + fotaTasksObject.pendingCustomImageCount = std::stoi(valueFotaTasksFotaTask["PendingCustomImageCount"].asString()); fotaTasks_.push_back(fotaTasksObject); } diff --git a/ecd/src/model/DescribeImagesRequest.cc b/ecd/src/model/DescribeImagesRequest.cc index 9a6f8e5a0..db052b636 100644 --- a/ecd/src/model/DescribeImagesRequest.cc +++ b/ecd/src/model/DescribeImagesRequest.cc @@ -96,6 +96,15 @@ void DescribeImagesRequest::setImageType(const std::string &imageType) { setParameter(std::string("ImageType"), imageType); } +std::string DescribeImagesRequest::getSessionType() const { + return sessionType_; +} + +void DescribeImagesRequest::setSessionType(const std::string &sessionType) { + sessionType_ = sessionType; + setParameter(std::string("SessionType"), sessionType); +} + std::string DescribeImagesRequest::getOsType() const { return osType_; } diff --git a/ecd/src/model/DescribeImagesResult.cc b/ecd/src/model/DescribeImagesResult.cc index f6ad656b8..c4a420ed2 100644 --- a/ecd/src/model/DescribeImagesResult.cc +++ b/ecd/src/model/DescribeImagesResult.cc @@ -79,6 +79,10 @@ void DescribeImagesResult::parse(const std::string &payload) imagesObject.sharedCount = std::stoi(valueImagesImage["SharedCount"].asString()); if(!valueImagesImage["SessionType"].isNull()) imagesObject.sessionType = valueImagesImage["SessionType"].asString(); + if(!valueImagesImage["UpdateTime"].isNull()) + imagesObject.updateTime = valueImagesImage["UpdateTime"].asString(); + if(!valueImagesImage["Platform"].isNull()) + imagesObject.platform = valueImagesImage["Platform"].asString(); auto allSupportedLanguages = value["SupportedLanguages"]["Language"]; for (auto value : allSupportedLanguages) imagesObject.supportedLanguages.push_back(value.asString()); diff --git a/ecd/src/model/DescribeInvocationsRequest.cc b/ecd/src/model/DescribeInvocationsRequest.cc index a926a6baf..eab7f8ce9 100644 --- a/ecd/src/model/DescribeInvocationsRequest.cc +++ b/ecd/src/model/DescribeInvocationsRequest.cc @@ -34,6 +34,14 @@ void DescribeInvocationsRequest::setInvokeStatus(const std::string &invokeStatus setParameter(std::string("InvokeStatus"), invokeStatus); } +std::vector DescribeInvocationsRequest::getDesktopIds() const { + return desktopIds_; +} + +void DescribeInvocationsRequest::setDesktopIds(const std::vector &desktopIds) { + desktopIds_ = desktopIds; +} + bool DescribeInvocationsRequest::getIncludeOutput() const { return includeOutput_; } diff --git a/ecd/src/model/DescribeNASFileSystemsRequest.cc b/ecd/src/model/DescribeNASFileSystemsRequest.cc index 09830f150..e953468e1 100644 --- a/ecd/src/model/DescribeNASFileSystemsRequest.cc +++ b/ecd/src/model/DescribeNASFileSystemsRequest.cc @@ -34,6 +34,15 @@ void DescribeNASFileSystemsRequest::setOfficeSiteId(const std::string &officeSit setParameter(std::string("OfficeSiteId"), officeSiteId); } +bool DescribeNASFileSystemsRequest::getMatchCompatibleProfile() const { + return matchCompatibleProfile_; +} + +void DescribeNASFileSystemsRequest::setMatchCompatibleProfile(bool matchCompatibleProfile) { + matchCompatibleProfile_ = matchCompatibleProfile; + setParameter(std::string("MatchCompatibleProfile"), matchCompatibleProfile ? "true" : "false"); +} + std::string DescribeNASFileSystemsRequest::getRegionId() const { return regionId_; } diff --git a/ecd/src/model/DescribeNASFileSystemsResult.cc b/ecd/src/model/DescribeNASFileSystemsResult.cc index 8734392e9..d8d3dffeb 100644 --- a/ecd/src/model/DescribeNASFileSystemsResult.cc +++ b/ecd/src/model/DescribeNASFileSystemsResult.cc @@ -77,6 +77,20 @@ void DescribeNASFileSystemsResult::parse(const std::string &payload) fileSystemsObject.fileSystemStatus = valueFileSystemsFileSystem["FileSystemStatus"].asString(); if(!valueFileSystemsFileSystem["EncryptionEnabled"].isNull()) fileSystemsObject.encryptionEnabled = valueFileSystemsFileSystem["EncryptionEnabled"].asString() == "true"; + if(!valueFileSystemsFileSystem["ProfileCompatible"].isNull()) + fileSystemsObject.profileCompatible = valueFileSystemsFileSystem["ProfileCompatible"].asString() == "true"; + if(!valueFileSystemsFileSystem["DomainId"].isNull()) + fileSystemsObject.domainId = valueFileSystemsFileSystem["DomainId"].asString(); + auto allDesktopGroupsNode = valueFileSystemsFileSystem["DesktopGroups"]["DesktopGroup"]; + for (auto valueFileSystemsFileSystemDesktopGroupsDesktopGroup : allDesktopGroupsNode) + { + FileSystem::DesktopGroup desktopGroupsObject; + if(!valueFileSystemsFileSystemDesktopGroupsDesktopGroup["DesktopGroupId"].isNull()) + desktopGroupsObject.desktopGroupId = valueFileSystemsFileSystemDesktopGroupsDesktopGroup["DesktopGroupId"].asString(); + if(!valueFileSystemsFileSystemDesktopGroupsDesktopGroup["DesktopGroupName"].isNull()) + desktopGroupsObject.desktopGroupName = valueFileSystemsFileSystemDesktopGroupsDesktopGroup["DesktopGroupName"].asString(); + fileSystemsObject.desktopGroups.push_back(desktopGroupsObject); + } fileSystems_.push_back(fileSystemsObject); } if(!value["NextToken"].isNull()) diff --git a/ecd/src/model/DescribeNetworkPackagesResult.cc b/ecd/src/model/DescribeNetworkPackagesResult.cc index b516b54d1..232b3c6a6 100644 --- a/ecd/src/model/DescribeNetworkPackagesResult.cc +++ b/ecd/src/model/DescribeNetworkPackagesResult.cc @@ -53,8 +53,16 @@ void DescribeNetworkPackagesResult::parse(const std::string &payload) networkPackagesObject.createTime = valueNetworkPackagesNetworkPackage["CreateTime"].asString(); if(!valueNetworkPackagesNetworkPackage["OfficeSiteId"].isNull()) networkPackagesObject.officeSiteId = valueNetworkPackagesNetworkPackage["OfficeSiteId"].asString(); + if(!valueNetworkPackagesNetworkPackage["PayType"].isNull()) + networkPackagesObject.payType = valueNetworkPackagesNetworkPackage["PayType"].asString(); if(!valueNetworkPackagesNetworkPackage["InternetChargeType"].isNull()) networkPackagesObject.internetChargeType = valueNetworkPackagesNetworkPackage["InternetChargeType"].asString(); + if(!valueNetworkPackagesNetworkPackage["ReservationInternetChargeType"].isNull()) + networkPackagesObject.reservationInternetChargeType = valueNetworkPackagesNetworkPackage["ReservationInternetChargeType"].asString(); + if(!valueNetworkPackagesNetworkPackage["ReservationBandwidth"].isNull()) + networkPackagesObject.reservationBandwidth = std::stoi(valueNetworkPackagesNetworkPackage["ReservationBandwidth"].asString()); + if(!valueNetworkPackagesNetworkPackage["ReservationActiveTime"].isNull()) + networkPackagesObject.reservationActiveTime = valueNetworkPackagesNetworkPackage["ReservationActiveTime"].asString(); if(!valueNetworkPackagesNetworkPackage["NetworkPackageStatus"].isNull()) networkPackagesObject.networkPackageStatus = valueNetworkPackagesNetworkPackage["NetworkPackageStatus"].asString(); if(!valueNetworkPackagesNetworkPackage["OfficeSiteName"].isNull()) @@ -65,6 +73,8 @@ void DescribeNetworkPackagesResult::parse(const std::string &payload) networkPackagesObject.vpcSnatPolicy = valueNetworkPackagesNetworkPackage["VpcSnatPolicy"].asString(); if(!valueNetworkPackagesNetworkPackage["QosType"].isNull()) networkPackagesObject.qosType = valueNetworkPackagesNetworkPackage["QosType"].asString(); + if(!valueNetworkPackagesNetworkPackage["NgwVersion"].isNull()) + networkPackagesObject.ngwVersion = valueNetworkPackagesNetworkPackage["NgwVersion"].asString(); auto allEipAddresses = value["EipAddresses"]["EipAddress"]; for (auto value : allEipAddresses) networkPackagesObject.eipAddresses.push_back(value.asString()); diff --git a/ecd/src/model/DescribeOfficeSitesRequest.cc b/ecd/src/model/DescribeOfficeSitesRequest.cc index 2c74ca844..dbffc9aa3 100644 --- a/ecd/src/model/DescribeOfficeSitesRequest.cc +++ b/ecd/src/model/DescribeOfficeSitesRequest.cc @@ -51,6 +51,15 @@ void DescribeOfficeSitesRequest::setEnableInternetAccess(bool enableInternetAcce setParameter(std::string("EnableInternetAccess"), enableInternetAccess ? "true" : "false"); } +bool DescribeOfficeSitesRequest::getVpcNotNone() const { + return vpcNotNone_; +} + +void DescribeOfficeSitesRequest::setVpcNotNone(bool vpcNotNone) { + vpcNotNone_ = vpcNotNone; + setParameter(std::string("VpcNotNone"), vpcNotNone ? "true" : "false"); +} + std::string DescribeOfficeSitesRequest::getRegionId() const { return regionId_; } diff --git a/ecd/src/model/DescribeOfficeSitesResult.cc b/ecd/src/model/DescribeOfficeSitesResult.cc index 0bac0ad6f..07ec603a3 100644 --- a/ecd/src/model/DescribeOfficeSitesResult.cc +++ b/ecd/src/model/DescribeOfficeSitesResult.cc @@ -109,6 +109,12 @@ void DescribeOfficeSitesResult::parse(const std::string &payload) officeSitesObject.protocolType = valueOfficeSitesOfficeSite["ProtocolType"].asString(); if(!valueOfficeSitesOfficeSite["AdHostname"].isNull()) officeSitesObject.adHostname = valueOfficeSitesOfficeSite["AdHostname"].asString(); + if(!valueOfficeSitesOfficeSite["RdsLicenseStatus"].isNull()) + officeSitesObject.rdsLicenseStatus = valueOfficeSitesOfficeSite["RdsLicenseStatus"].asString(); + if(!valueOfficeSitesOfficeSite["RdsLicenseAddress"].isNull()) + officeSitesObject.rdsLicenseAddress = valueOfficeSitesOfficeSite["RdsLicenseAddress"].asString(); + if(!valueOfficeSitesOfficeSite["RdsLicenseDomainName"].isNull()) + officeSitesObject.rdsLicenseDomainName = valueOfficeSitesOfficeSite["RdsLicenseDomainName"].asString(); auto allADConnectorsNode = valueOfficeSitesOfficeSite["ADConnectors"]["ADConnector"]; for (auto valueOfficeSitesOfficeSiteADConnectorsADConnector : allADConnectorsNode) { diff --git a/ecd/src/model/DescribePolicyGroupsRequest.cc b/ecd/src/model/DescribePolicyGroupsRequest.cc index f4f733eba..4a2751745 100644 --- a/ecd/src/model/DescribePolicyGroupsRequest.cc +++ b/ecd/src/model/DescribePolicyGroupsRequest.cc @@ -43,6 +43,15 @@ void DescribePolicyGroupsRequest::setNextToken(const std::string &nextToken) { setParameter(std::string("NextToken"), nextToken); } +std::string DescribePolicyGroupsRequest::getScope() const { + return scope_; +} + +void DescribePolicyGroupsRequest::setScope(const std::string &scope) { + scope_ = scope; + setParameter(std::string("Scope"), scope); +} + int DescribePolicyGroupsRequest::getMaxResults() const { return maxResults_; } diff --git a/ecd/src/model/DescribePolicyGroupsResult.cc b/ecd/src/model/DescribePolicyGroupsResult.cc index ecd9c3c8f..03696d2ff 100644 --- a/ecd/src/model/DescribePolicyGroupsResult.cc +++ b/ecd/src/model/DescribePolicyGroupsResult.cc @@ -81,6 +81,8 @@ void DescribePolicyGroupsResult::parse(const std::string &payload) describePolicyGroupsObject.localDrive = valueDescribePolicyGroupsDescribePolicyGroup["LocalDrive"].asString(); if(!valueDescribePolicyGroupsDescribePolicyGroup["GpuAcceleration"].isNull()) describePolicyGroupsObject.gpuAcceleration = valueDescribePolicyGroupsDescribePolicyGroup["GpuAcceleration"].asString(); + if(!valueDescribePolicyGroupsDescribePolicyGroup["DomainResolveRuleType"].isNull()) + describePolicyGroupsObject.domainResolveRuleType = valueDescribePolicyGroupsDescribePolicyGroup["DomainResolveRuleType"].asString(); if(!valueDescribePolicyGroupsDescribePolicyGroup["Recording"].isNull()) describePolicyGroupsObject.recording = valueDescribePolicyGroupsDescribePolicyGroup["Recording"].asString(); if(!valueDescribePolicyGroupsDescribePolicyGroup["RecordingStartTime"].isNull()) @@ -103,6 +105,52 @@ void DescribePolicyGroupsResult::parse(const std::string &payload) describePolicyGroupsObject.recordContentExpires = std::stol(valueDescribePolicyGroupsDescribePolicyGroup["RecordContentExpires"].asString()); if(!valueDescribePolicyGroupsDescribePolicyGroup["RemoteCoordinate"].isNull()) describePolicyGroupsObject.remoteCoordinate = valueDescribePolicyGroupsDescribePolicyGroup["RemoteCoordinate"].asString(); + if(!valueDescribePolicyGroupsDescribePolicyGroup["RecordingDuration"].isNull()) + describePolicyGroupsObject.recordingDuration = std::stoi(valueDescribePolicyGroupsDescribePolicyGroup["RecordingDuration"].asString()); + if(!valueDescribePolicyGroupsDescribePolicyGroup["Scope"].isNull()) + describePolicyGroupsObject.scope = valueDescribePolicyGroupsDescribePolicyGroup["Scope"].asString(); + if(!valueDescribePolicyGroupsDescribePolicyGroup["RecordingAudio"].isNull()) + describePolicyGroupsObject.recordingAudio = valueDescribePolicyGroupsDescribePolicyGroup["RecordingAudio"].asString(); + if(!valueDescribePolicyGroupsDescribePolicyGroup["InternetCommunicationProtocol"].isNull()) + describePolicyGroupsObject.internetCommunicationProtocol = valueDescribePolicyGroupsDescribePolicyGroup["InternetCommunicationProtocol"].asString(); + if(!valueDescribePolicyGroupsDescribePolicyGroup["VideoRedirect"].isNull()) + describePolicyGroupsObject.videoRedirect = valueDescribePolicyGroupsDescribePolicyGroup["VideoRedirect"].asString(); + if(!valueDescribePolicyGroupsDescribePolicyGroup["WatermarkTransparencyValue"].isNull()) + describePolicyGroupsObject.watermarkTransparencyValue = std::stoi(valueDescribePolicyGroupsDescribePolicyGroup["WatermarkTransparencyValue"].asString()); + if(!valueDescribePolicyGroupsDescribePolicyGroup["WatermarkColor"].isNull()) + describePolicyGroupsObject.watermarkColor = std::stoi(valueDescribePolicyGroupsDescribePolicyGroup["WatermarkColor"].asString()); + if(!valueDescribePolicyGroupsDescribePolicyGroup["WatermarkFontSize"].isNull()) + describePolicyGroupsObject.watermarkFontSize = std::stoi(valueDescribePolicyGroupsDescribePolicyGroup["WatermarkFontSize"].asString()); + if(!valueDescribePolicyGroupsDescribePolicyGroup["WatermarkFontStyle"].isNull()) + describePolicyGroupsObject.watermarkFontStyle = valueDescribePolicyGroupsDescribePolicyGroup["WatermarkFontStyle"].asString(); + if(!valueDescribePolicyGroupsDescribePolicyGroup["WatermarkDegree"].isNull()) + describePolicyGroupsObject.watermarkDegree = valueDescribePolicyGroupsDescribePolicyGroup["WatermarkDegree"].asString(); + if(!valueDescribePolicyGroupsDescribePolicyGroup["WatermarkRowAmount"].isNull()) + describePolicyGroupsObject.watermarkRowAmount = std::stoi(valueDescribePolicyGroupsDescribePolicyGroup["WatermarkRowAmount"].asString()); + if(!valueDescribePolicyGroupsDescribePolicyGroup["EndUserApplyAdminCoordinate"].isNull()) + describePolicyGroupsObject.endUserApplyAdminCoordinate = valueDescribePolicyGroupsDescribePolicyGroup["EndUserApplyAdminCoordinate"].asString(); + if(!valueDescribePolicyGroupsDescribePolicyGroup["EndUserGroupCoordinate"].isNull()) + describePolicyGroupsObject.endUserGroupCoordinate = valueDescribePolicyGroupsDescribePolicyGroup["EndUserGroupCoordinate"].asString(); + if(!valueDescribePolicyGroupsDescribePolicyGroup["CpuProtectedMode"].isNull()) + describePolicyGroupsObject.cpuProtectedMode = valueDescribePolicyGroupsDescribePolicyGroup["CpuProtectedMode"].asString(); + if(!valueDescribePolicyGroupsDescribePolicyGroup["CpuRateLimit"].isNull()) + describePolicyGroupsObject.cpuRateLimit = std::stoi(valueDescribePolicyGroupsDescribePolicyGroup["CpuRateLimit"].asString()); + if(!valueDescribePolicyGroupsDescribePolicyGroup["CpuSampleDuration"].isNull()) + describePolicyGroupsObject.cpuSampleDuration = std::stoi(valueDescribePolicyGroupsDescribePolicyGroup["CpuSampleDuration"].asString()); + if(!valueDescribePolicyGroupsDescribePolicyGroup["CpuSingleRateLimit"].isNull()) + describePolicyGroupsObject.cpuSingleRateLimit = std::stoi(valueDescribePolicyGroupsDescribePolicyGroup["CpuSingleRateLimit"].asString()); + if(!valueDescribePolicyGroupsDescribePolicyGroup["CpuDownGradeDuration"].isNull()) + describePolicyGroupsObject.cpuDownGradeDuration = std::stoi(valueDescribePolicyGroupsDescribePolicyGroup["CpuDownGradeDuration"].asString()); + if(!valueDescribePolicyGroupsDescribePolicyGroup["MemoryProtectedMode"].isNull()) + describePolicyGroupsObject.memoryProtectedMode = valueDescribePolicyGroupsDescribePolicyGroup["MemoryProtectedMode"].asString(); + if(!valueDescribePolicyGroupsDescribePolicyGroup["MemoryRateLimit"].isNull()) + describePolicyGroupsObject.memoryRateLimit = std::stoi(valueDescribePolicyGroupsDescribePolicyGroup["MemoryRateLimit"].asString()); + if(!valueDescribePolicyGroupsDescribePolicyGroup["MemorySampleDuration"].isNull()) + describePolicyGroupsObject.memorySampleDuration = std::stoi(valueDescribePolicyGroupsDescribePolicyGroup["MemorySampleDuration"].asString()); + if(!valueDescribePolicyGroupsDescribePolicyGroup["MemorySingleRateLimit"].isNull()) + describePolicyGroupsObject.memorySingleRateLimit = std::stoi(valueDescribePolicyGroupsDescribePolicyGroup["MemorySingleRateLimit"].asString()); + if(!valueDescribePolicyGroupsDescribePolicyGroup["MemoryDownGradeDuration"].isNull()) + describePolicyGroupsObject.memoryDownGradeDuration = std::stoi(valueDescribePolicyGroupsDescribePolicyGroup["MemoryDownGradeDuration"].asString()); auto allAuthorizeSecurityPolicyRulesNode = valueDescribePolicyGroupsDescribePolicyGroup["AuthorizeSecurityPolicyRules"]["AuthorizeSecurityPolicyRule"]; for (auto valueDescribePolicyGroupsDescribePolicyGroupAuthorizeSecurityPolicyRulesAuthorizeSecurityPolicyRule : allAuthorizeSecurityPolicyRulesNode) { @@ -163,9 +211,42 @@ void DescribePolicyGroupsResult::parse(const std::string &payload) usbSupplyRedirectRuleObject.usbRuleType = std::stol(valueDescribePolicyGroupsDescribePolicyGroupUsbSupplyRedirectRuleUsbSupplyRedirectRuleItem["UsbRuleType"].asString()); describePolicyGroupsObject.usbSupplyRedirectRule.push_back(usbSupplyRedirectRuleObject); } + auto allDomainResolveRuleNode = valueDescribePolicyGroupsDescribePolicyGroup["DomainResolveRule"]["DomainResolveRuleItem"]; + for (auto valueDescribePolicyGroupsDescribePolicyGroupDomainResolveRuleDomainResolveRuleItem : allDomainResolveRuleNode) + { + DescribePolicyGroup::DomainResolveRuleItem domainResolveRuleObject; + if(!valueDescribePolicyGroupsDescribePolicyGroupDomainResolveRuleDomainResolveRuleItem["Domain"].isNull()) + domainResolveRuleObject.domain = valueDescribePolicyGroupsDescribePolicyGroupDomainResolveRuleDomainResolveRuleItem["Domain"].asString(); + if(!valueDescribePolicyGroupsDescribePolicyGroupDomainResolveRuleDomainResolveRuleItem["Policy"].isNull()) + domainResolveRuleObject.policy = valueDescribePolicyGroupsDescribePolicyGroupDomainResolveRuleDomainResolveRuleItem["Policy"].asString(); + if(!valueDescribePolicyGroupsDescribePolicyGroupDomainResolveRuleDomainResolveRuleItem["Description"].isNull()) + domainResolveRuleObject.description = valueDescribePolicyGroupsDescribePolicyGroupDomainResolveRuleDomainResolveRuleItem["Description"].asString(); + describePolicyGroupsObject.domainResolveRule.push_back(domainResolveRuleObject); + } + auto allNetRedirectRuleNode = valueDescribePolicyGroupsDescribePolicyGroup["NetRedirectRule"]["NetRedirectRuleItem"]; + for (auto valueDescribePolicyGroupsDescribePolicyGroupNetRedirectRuleNetRedirectRuleItem : allNetRedirectRuleNode) + { + DescribePolicyGroup::NetRedirectRuleItem netRedirectRuleObject; + if(!valueDescribePolicyGroupsDescribePolicyGroupNetRedirectRuleNetRedirectRuleItem["Domain"].isNull()) + netRedirectRuleObject.domain = valueDescribePolicyGroupsDescribePolicyGroupNetRedirectRuleNetRedirectRuleItem["Domain"].asString(); + if(!valueDescribePolicyGroupsDescribePolicyGroupNetRedirectRuleNetRedirectRuleItem["RuleType"].isNull()) + netRedirectRuleObject.ruleType = valueDescribePolicyGroupsDescribePolicyGroupNetRedirectRuleNetRedirectRuleItem["RuleType"].asString(); + if(!valueDescribePolicyGroupsDescribePolicyGroupNetRedirectRuleNetRedirectRuleItem["Policy"].isNull()) + netRedirectRuleObject.policy = valueDescribePolicyGroupsDescribePolicyGroupNetRedirectRuleNetRedirectRuleItem["Policy"].asString(); + describePolicyGroupsObject.netRedirectRule.push_back(netRedirectRuleObject); + } auto allPreemptLoginUsers = value["PreemptLoginUsers"]["PreemptLoginUser"]; for (auto value : allPreemptLoginUsers) describePolicyGroupsObject.preemptLoginUsers.push_back(value.asString()); + auto allScopeValue = value["ScopeValue"]["scopeValue"]; + for (auto value : allScopeValue) + describePolicyGroupsObject.scopeValue.push_back(value.asString()); + auto allCpuProcessors = value["CpuProcessors"]["cpuProcessor"]; + for (auto value : allCpuProcessors) + describePolicyGroupsObject.cpuProcessors.push_back(value.asString()); + auto allMemoryProcessors = value["MemoryProcessors"]["memoryProcessor"]; + for (auto value : allMemoryProcessors) + describePolicyGroupsObject.memoryProcessors.push_back(value.asString()); describePolicyGroups_.push_back(describePolicyGroupsObject); } if(!value["NextToken"].isNull()) diff --git a/ecd/src/model/DescribeSnapshotsRequest.cc b/ecd/src/model/DescribeSnapshotsRequest.cc index 608036bf2..c4dc033bf 100644 --- a/ecd/src/model/DescribeSnapshotsRequest.cc +++ b/ecd/src/model/DescribeSnapshotsRequest.cc @@ -34,6 +34,24 @@ void DescribeSnapshotsRequest::setSnapshotId(const std::string &snapshotId) { setParameter(std::string("SnapshotId"), snapshotId); } +std::string DescribeSnapshotsRequest::getSnapshotName() const { + return snapshotName_; +} + +void DescribeSnapshotsRequest::setSnapshotName(const std::string &snapshotName) { + snapshotName_ = snapshotName; + setParameter(std::string("SnapshotName"), snapshotName); +} + +std::string DescribeSnapshotsRequest::getStartTime() const { + return startTime_; +} + +void DescribeSnapshotsRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + std::string DescribeSnapshotsRequest::getRegionId() const { return regionId_; } @@ -52,15 +70,6 @@ void DescribeSnapshotsRequest::setNextToken(const std::string &nextToken) { setParameter(std::string("NextToken"), nextToken); } -int DescribeSnapshotsRequest::getMaxResults() const { - return maxResults_; -} - -void DescribeSnapshotsRequest::setMaxResults(int maxResults) { - maxResults_ = maxResults; - setParameter(std::string("MaxResults"), std::to_string(maxResults)); -} - std::string DescribeSnapshotsRequest::getDesktopId() const { return desktopId_; } @@ -70,3 +79,57 @@ void DescribeSnapshotsRequest::setDesktopId(const std::string &desktopId) { setParameter(std::string("DesktopId"), desktopId); } +std::string DescribeSnapshotsRequest::getDesktopName() const { + return desktopName_; +} + +void DescribeSnapshotsRequest::setDesktopName(const std::string &desktopName) { + desktopName_ = desktopName; + setParameter(std::string("DesktopName"), desktopName); +} + +std::string DescribeSnapshotsRequest::getCreator() const { + return creator_; +} + +void DescribeSnapshotsRequest::setCreator(const std::string &creator) { + creator_ = creator; + setParameter(std::string("Creator"), creator); +} + +std::string DescribeSnapshotsRequest::getSourceDiskType() const { + return sourceDiskType_; +} + +void DescribeSnapshotsRequest::setSourceDiskType(const std::string &sourceDiskType) { + sourceDiskType_ = sourceDiskType; + setParameter(std::string("SourceDiskType"), sourceDiskType); +} + +std::string DescribeSnapshotsRequest::getEndTime() const { + return endTime_; +} + +void DescribeSnapshotsRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +std::string DescribeSnapshotsRequest::getSnapshotType() const { + return snapshotType_; +} + +void DescribeSnapshotsRequest::setSnapshotType(const std::string &snapshotType) { + snapshotType_ = snapshotType; + setParameter(std::string("SnapshotType"), snapshotType); +} + +int DescribeSnapshotsRequest::getMaxResults() const { + return maxResults_; +} + +void DescribeSnapshotsRequest::setMaxResults(int maxResults) { + maxResults_ = maxResults; + setParameter(std::string("MaxResults"), std::to_string(maxResults)); +} + diff --git a/ecd/src/model/DescribeSnapshotsResult.cc b/ecd/src/model/DescribeSnapshotsResult.cc index 18e8433b5..63a160f88 100644 --- a/ecd/src/model/DescribeSnapshotsResult.cc +++ b/ecd/src/model/DescribeSnapshotsResult.cc @@ -65,12 +65,20 @@ void DescribeSnapshotsResult::parse(const std::string &payload) snapshotsObject.sourceDiskType = valueSnapshotsSnapshot["SourceDiskType"].asString(); if(!valueSnapshotsSnapshot["DesktopId"].isNull()) snapshotsObject.desktopId = valueSnapshotsSnapshot["DesktopId"].asString(); + if(!valueSnapshotsSnapshot["DesktopName"].isNull()) + snapshotsObject.desktopName = valueSnapshotsSnapshot["DesktopName"].asString(); + if(!valueSnapshotsSnapshot["DesktopStatus"].isNull()) + snapshotsObject.desktopStatus = valueSnapshotsSnapshot["DesktopStatus"].asString(); + if(!valueSnapshotsSnapshot["Creator"].isNull()) + snapshotsObject.creator = valueSnapshotsSnapshot["Creator"].asString(); + if(!valueSnapshotsSnapshot["ProtocolType"].isNull()) + snapshotsObject.protocolType = valueSnapshotsSnapshot["ProtocolType"].asString(); if(!valueSnapshotsSnapshot["VolumeEncryptionEnabled"].isNull()) snapshotsObject.volumeEncryptionEnabled = valueSnapshotsSnapshot["VolumeEncryptionEnabled"].asString() == "true"; if(!valueSnapshotsSnapshot["VolumeEncryptionKey"].isNull()) snapshotsObject.volumeEncryptionKey = valueSnapshotsSnapshot["VolumeEncryptionKey"].asString(); - if(!valueSnapshotsSnapshot["ProtocolType"].isNull()) - snapshotsObject.protocolType = valueSnapshotsSnapshot["ProtocolType"].asString(); + if(!valueSnapshotsSnapshot["DeletionTime"].isNull()) + snapshotsObject.deletionTime = valueSnapshotsSnapshot["DeletionTime"].asString(); snapshots_.push_back(snapshotsObject); } if(!value["NextToken"].isNull()) diff --git a/ecd/src/model/DescribeSuspEventsResult.cc b/ecd/src/model/DescribeSuspEventsResult.cc index 03149f82e..e39e91dad 100644 --- a/ecd/src/model/DescribeSuspEventsResult.cc +++ b/ecd/src/model/DescribeSuspEventsResult.cc @@ -85,6 +85,8 @@ void DescribeSuspEventsResult::parse(const std::string &payload) suspEventsObject.level = valueSuspEventsSuspEvent["Level"].asString(); if(!valueSuspEventsSuspEvent["Id"].isNull()) suspEventsObject.id = std::stol(valueSuspEventsSuspEvent["Id"].asString()); + if(!valueSuspEventsSuspEvent["DesktopGroupId"].isNull()) + suspEventsObject.desktopGroupId = valueSuspEventsSuspEvent["DesktopGroupId"].asString(); auto allDetailsNode = valueSuspEventsSuspEvent["Details"]["Detail"]; for (auto valueSuspEventsSuspEventDetailsDetail : allDetailsNode) { diff --git a/ecd/src/model/DescribeUserProfilePathRulesRequest.cc b/ecd/src/model/DescribeUserProfilePathRulesRequest.cc new file mode 100644 index 000000000..14b37b0fc --- /dev/null +++ b/ecd/src/model/DescribeUserProfilePathRulesRequest.cc @@ -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 + +using AlibabaCloud::Ecd::Model::DescribeUserProfilePathRulesRequest; + +DescribeUserProfilePathRulesRequest::DescribeUserProfilePathRulesRequest() + : RpcServiceRequest("ecd", "2020-09-30", "DescribeUserProfilePathRules") { + setMethod(HttpRequest::Method::Post); +} + +DescribeUserProfilePathRulesRequest::~DescribeUserProfilePathRulesRequest() {} + +std::string DescribeUserProfilePathRulesRequest::getRuleType() const { + return ruleType_; +} + +void DescribeUserProfilePathRulesRequest::setRuleType(const std::string &ruleType) { + ruleType_ = ruleType; + setParameter(std::string("RuleType"), ruleType); +} + +std::string DescribeUserProfilePathRulesRequest::getDesktopGroupId() const { + return desktopGroupId_; +} + +void DescribeUserProfilePathRulesRequest::setDesktopGroupId(const std::string &desktopGroupId) { + desktopGroupId_ = desktopGroupId; + setParameter(std::string("DesktopGroupId"), desktopGroupId); +} + +std::string DescribeUserProfilePathRulesRequest::getRegionId() const { + return regionId_; +} + +void DescribeUserProfilePathRulesRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/ecd/src/model/DescribeUserProfilePathRulesResult.cc b/ecd/src/model/DescribeUserProfilePathRulesResult.cc new file mode 100644 index 000000000..90daf080e --- /dev/null +++ b/ecd/src/model/DescribeUserProfilePathRulesResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +DescribeUserProfilePathRulesResult::DescribeUserProfilePathRulesResult() : + ServiceResult() +{} + +DescribeUserProfilePathRulesResult::DescribeUserProfilePathRulesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeUserProfilePathRulesResult::~DescribeUserProfilePathRulesResult() +{} + +void DescribeUserProfilePathRulesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto userProfilePathRuleNode = value["UserProfilePathRule"]; + if(!userProfilePathRuleNode["DesktopGroupId"].isNull()) + userProfilePathRule_.desktopGroupId = userProfilePathRuleNode["DesktopGroupId"].asString(); + if(!userProfilePathRuleNode["UserProfileRuleType"].isNull()) + userProfilePathRule_.userProfileRuleType = userProfilePathRuleNode["UserProfileRuleType"].asString(); + auto allRulesNode = userProfilePathRuleNode["Rules"]["upmPathRules"]; + for (auto userProfilePathRuleNodeRulesupmPathRules : allRulesNode) + { + UserProfilePathRule::UpmPathRules upmPathRulesObject; + auto allWhitePathsNode = userProfilePathRuleNodeRulesupmPathRules["WhitePaths"]["whiteList"]; + for (auto userProfilePathRuleNodeRulesupmPathRulesWhitePathswhiteList : allWhitePathsNode) + { + UserProfilePathRule::UpmPathRules::WhiteList whitePathsObject; + if(!userProfilePathRuleNodeRulesupmPathRulesWhitePathswhiteList["Path"].isNull()) + whitePathsObject.path = userProfilePathRuleNodeRulesupmPathRulesWhitePathswhiteList["Path"].asString(); + if(!userProfilePathRuleNodeRulesupmPathRulesWhitePathswhiteList["Type"].isNull()) + whitePathsObject.type = userProfilePathRuleNodeRulesupmPathRulesWhitePathswhiteList["Type"].asString(); + upmPathRulesObject.whitePaths.push_back(whitePathsObject); + } + auto blackPathNode = value["BlackPath"]; + if(!blackPathNode["Path"].isNull()) + upmPathRulesObject.blackPath.path = blackPathNode["Path"].asString(); + if(!blackPathNode["Type"].isNull()) + upmPathRulesObject.blackPath.type = blackPathNode["Type"].asString(); + userProfilePathRule_.rules.push_back(upmPathRulesObject); + } + +} + +DescribeUserProfilePathRulesResult::UserProfilePathRule DescribeUserProfilePathRulesResult::getUserProfilePathRule()const +{ + return userProfilePathRule_; +} + diff --git a/ecd/src/model/DescribeUsersInGroupRequest.cc b/ecd/src/model/DescribeUsersInGroupRequest.cc index b7ef0bb53..f774ef1f6 100644 --- a/ecd/src/model/DescribeUsersInGroupRequest.cc +++ b/ecd/src/model/DescribeUsersInGroupRequest.cc @@ -25,6 +25,14 @@ DescribeUsersInGroupRequest::DescribeUsersInGroupRequest() DescribeUsersInGroupRequest::~DescribeUsersInGroupRequest() {} +std::vector DescribeUsersInGroupRequest::getEndUserIds() const { + return endUserIds_; +} + +void DescribeUsersInGroupRequest::setEndUserIds(const std::vector &endUserIds) { + endUserIds_ = endUserIds; +} + int DescribeUsersInGroupRequest::getConnectState() const { return connectState_; } diff --git a/ecd/src/model/DetachEndUserRequest.cc b/ecd/src/model/DetachEndUserRequest.cc new file mode 100644 index 000000000..f99c3c7a7 --- /dev/null +++ b/ecd/src/model/DetachEndUserRequest.cc @@ -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 + +using AlibabaCloud::Ecd::Model::DetachEndUserRequest; + +DetachEndUserRequest::DetachEndUserRequest() + : RpcServiceRequest("ecd", "2020-09-30", "DetachEndUser") { + setMethod(HttpRequest::Method::Post); +} + +DetachEndUserRequest::~DetachEndUserRequest() {} + +std::string DetachEndUserRequest::getClientType() const { + return clientType_; +} + +void DetachEndUserRequest::setClientType(const std::string &clientType) { + clientType_ = clientType; + setParameter(std::string("ClientType"), clientType); +} + +std::string DetachEndUserRequest::getDeviceId() const { + return deviceId_; +} + +void DetachEndUserRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); +} + +std::string DetachEndUserRequest::getAdDomain() const { + return adDomain_; +} + +void DetachEndUserRequest::setAdDomain(const std::string &adDomain) { + adDomain_ = adDomain; + setParameter(std::string("AdDomain"), adDomain); +} + +std::string DetachEndUserRequest::getEndUserId() const { + return endUserId_; +} + +void DetachEndUserRequest::setEndUserId(const std::string &endUserId) { + endUserId_ = endUserId; + setParameter(std::string("EndUserId"), endUserId); +} + +std::string DetachEndUserRequest::getDirectoryId() const { + return directoryId_; +} + +void DetachEndUserRequest::setDirectoryId(const std::string &directoryId) { + directoryId_ = directoryId; + setParameter(std::string("DirectoryId"), directoryId); +} + +std::string DetachEndUserRequest::getRegion() const { + return region_; +} + +void DetachEndUserRequest::setRegion(const std::string ®ion) { + region_ = region; + setParameter(std::string("Region"), region); +} + diff --git a/ecd/src/model/DetachEndUserResult.cc b/ecd/src/model/DetachEndUserResult.cc new file mode 100644 index 000000000..23478d3b5 --- /dev/null +++ b/ecd/src/model/DetachEndUserResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +DetachEndUserResult::DetachEndUserResult() : + ServiceResult() +{} + +DetachEndUserResult::DetachEndUserResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DetachEndUserResult::~DetachEndUserResult() +{} + +void DetachEndUserResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/ecd/src/model/ExportClientEventsRequest.cc b/ecd/src/model/ExportClientEventsRequest.cc index c5d9aab2b..4c2d545bf 100644 --- a/ecd/src/model/ExportClientEventsRequest.cc +++ b/ecd/src/model/ExportClientEventsRequest.cc @@ -123,3 +123,12 @@ void ExportClientEventsRequest::setEventType(const std::string &eventType) { setParameter(std::string("EventType"), eventType); } +std::string ExportClientEventsRequest::getLangType() const { + return langType_; +} + +void ExportClientEventsRequest::setLangType(const std::string &langType) { + langType_ = langType; + setParameter(std::string("LangType"), langType); +} + diff --git a/ecd/src/model/GetConnectionTicketRequest.cc b/ecd/src/model/GetConnectionTicketRequest.cc index ac8ed4b1a..74a3f4bbf 100644 --- a/ecd/src/model/GetConnectionTicketRequest.cc +++ b/ecd/src/model/GetConnectionTicketRequest.cc @@ -43,6 +43,15 @@ void GetConnectionTicketRequest::setUuid(const std::string &uuid) { setParameter(std::string("Uuid"), uuid); } +std::string GetConnectionTicketRequest::getCommandContent() const { + return commandContent_; +} + +void GetConnectionTicketRequest::setCommandContent(const std::string &commandContent) { + commandContent_ = commandContent; + setParameter(std::string("CommandContent"), commandContent); +} + std::string GetConnectionTicketRequest::getPassword() const { return password_; } diff --git a/ecd/src/model/GetDesktopGroupDetailResult.cc b/ecd/src/model/GetDesktopGroupDetailResult.cc index 85dd75051..bdecc6e4a 100644 --- a/ecd/src/model/GetDesktopGroupDetailResult.cc +++ b/ecd/src/model/GetDesktopGroupDetailResult.cc @@ -126,6 +126,12 @@ void GetDesktopGroupDetailResult::parse(const std::string &payload) desktops_.nasFileSystemID = desktopsNode["NasFileSystemID"].asString(); if(!desktopsNode["NasFileSystemName"].isNull()) desktops_.nasFileSystemName = desktopsNode["NasFileSystemName"].asString(); + if(!desktopsNode["TimingStrategyInfo"].isNull()) + desktops_.timingStrategyInfo = desktopsNode["TimingStrategyInfo"].asString(); + if(!desktopsNode["BuyDesktopsCount"].isNull()) + desktops_.buyDesktopsCount = std::stoi(desktopsNode["BuyDesktopsCount"].asString()); + if(!desktopsNode["ImageId"].isNull()) + desktops_.imageId = desktopsNode["ImageId"].asString(); auto allTimerInfosNode = desktopsNode["TimerInfos"]["TimerInfo"]; for (auto desktopsNodeTimerInfosTimerInfo : allTimerInfosNode) { @@ -140,6 +146,34 @@ void GetDesktopGroupDetailResult::parse(const std::string &payload) timerInfoObject.forced = desktopsNodeTimerInfosTimerInfo["Forced"].asString() == "true"; desktops_.timerInfos.push_back(timerInfoObject); } + auto allScaleTimerInfosNode = desktopsNode["ScaleTimerInfos"]["ScaleTimerInfo"]; + for (auto desktopsNodeScaleTimerInfosScaleTimerInfo : allScaleTimerInfosNode) + { + Desktops::ScaleTimerInfo scaleTimerInfoObject; + if(!desktopsNodeScaleTimerInfosScaleTimerInfo["Type"].isNull()) + scaleTimerInfoObject.type = desktopsNodeScaleTimerInfosScaleTimerInfo["Type"].asString(); + if(!desktopsNodeScaleTimerInfosScaleTimerInfo["Cron"].isNull()) + scaleTimerInfoObject.cron = desktopsNodeScaleTimerInfosScaleTimerInfo["Cron"].asString(); + if(!desktopsNodeScaleTimerInfosScaleTimerInfo["LoadPolicy"].isNull()) + scaleTimerInfoObject.loadPolicy = std::stoi(desktopsNodeScaleTimerInfosScaleTimerInfo["LoadPolicy"].asString()); + if(!desktopsNodeScaleTimerInfosScaleTimerInfo["BuyResAmount"].isNull()) + scaleTimerInfoObject.buyResAmount = std::stoi(desktopsNodeScaleTimerInfosScaleTimerInfo["BuyResAmount"].asString()); + if(!desktopsNodeScaleTimerInfosScaleTimerInfo["MinResAmount"].isNull()) + scaleTimerInfoObject.minResAmount = std::stoi(desktopsNodeScaleTimerInfosScaleTimerInfo["MinResAmount"].asString()); + if(!desktopsNodeScaleTimerInfosScaleTimerInfo["MaxResAmount"].isNull()) + scaleTimerInfoObject.maxResAmount = std::stoi(desktopsNodeScaleTimerInfosScaleTimerInfo["MaxResAmount"].asString()); + if(!desktopsNodeScaleTimerInfosScaleTimerInfo["KeepDuration"].isNull()) + scaleTimerInfoObject.keepDuration = std::stol(desktopsNodeScaleTimerInfosScaleTimerInfo["KeepDuration"].asString()); + if(!desktopsNodeScaleTimerInfosScaleTimerInfo["RatioThreshold"].isNull()) + scaleTimerInfoObject.ratioThreshold = std::stof(desktopsNodeScaleTimerInfosScaleTimerInfo["RatioThreshold"].asString()); + desktops_.scaleTimerInfos.push_back(scaleTimerInfoObject); + } + auto allPolicyGroupIds = desktopsNode["PolicyGroupIds"]["policyGroupId"]; + for (auto value : allPolicyGroupIds) + desktops_.policyGroupIds.push_back(value.asString()); + auto allPolicyGroupNames = desktopsNode["PolicyGroupNames"]["policyGroupName"]; + for (auto value : allPolicyGroupNames) + desktops_.policyGroupNames.push_back(value.asString()); } diff --git a/ecd/src/model/HibernateDesktopsRequest.cc b/ecd/src/model/HibernateDesktopsRequest.cc new file mode 100644 index 000000000..4c50a9c1d --- /dev/null +++ b/ecd/src/model/HibernateDesktopsRequest.cc @@ -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 + +using AlibabaCloud::Ecd::Model::HibernateDesktopsRequest; + +HibernateDesktopsRequest::HibernateDesktopsRequest() + : RpcServiceRequest("ecd", "2020-09-30", "HibernateDesktops") { + setMethod(HttpRequest::Method::Post); +} + +HibernateDesktopsRequest::~HibernateDesktopsRequest() {} + +std::string HibernateDesktopsRequest::getRegionId() const { + return regionId_; +} + +void HibernateDesktopsRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::vector HibernateDesktopsRequest::getDesktopId() const { + return desktopId_; +} + +void HibernateDesktopsRequest::setDesktopId(const std::vector &desktopId) { + desktopId_ = desktopId; +} + diff --git a/ecd/src/model/HibernateDesktopsResult.cc b/ecd/src/model/HibernateDesktopsResult.cc new file mode 100644 index 000000000..5779cbdb8 --- /dev/null +++ b/ecd/src/model/HibernateDesktopsResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +HibernateDesktopsResult::HibernateDesktopsResult() : + ServiceResult() +{} + +HibernateDesktopsResult::HibernateDesktopsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +HibernateDesktopsResult::~HibernateDesktopsResult() +{} + +void HibernateDesktopsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/ecd/src/model/ListCdsFilesRequest.cc b/ecd/src/model/ListCdsFilesRequest.cc new file mode 100644 index 000000000..d6e9f6e05 --- /dev/null +++ b/ecd/src/model/ListCdsFilesRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ecd::Model::ListCdsFilesRequest; + +ListCdsFilesRequest::ListCdsFilesRequest() + : RpcServiceRequest("ecd", "2020-09-30", "ListCdsFiles") { + setMethod(HttpRequest::Method::Post); +} + +ListCdsFilesRequest::~ListCdsFilesRequest() {} + +std::string ListCdsFilesRequest::getRegionId() const { + return regionId_; +} + +void ListCdsFilesRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string ListCdsFilesRequest::getNextToken() const { + return nextToken_; +} + +void ListCdsFilesRequest::setNextToken(const std::string &nextToken) { + nextToken_ = nextToken; + setParameter(std::string("NextToken"), nextToken); +} + +std::string ListCdsFilesRequest::getEndUserId() const { + return endUserId_; +} + +void ListCdsFilesRequest::setEndUserId(const std::string &endUserId) { + endUserId_ = endUserId; + setParameter(std::string("EndUserId"), endUserId); +} + +std::string ListCdsFilesRequest::getRootId() const { + return rootId_; +} + +void ListCdsFilesRequest::setRootId(const std::string &rootId) { + rootId_ = rootId; + setParameter(std::string("RootId"), rootId); +} + +std::string ListCdsFilesRequest::getCdsId() const { + return cdsId_; +} + +void ListCdsFilesRequest::setCdsId(const std::string &cdsId) { + cdsId_ = cdsId; + setParameter(std::string("CdsId"), cdsId); +} + +std::string ListCdsFilesRequest::getParentFileId() const { + return parentFileId_; +} + +void ListCdsFilesRequest::setParentFileId(const std::string &parentFileId) { + parentFileId_ = parentFileId; + setParameter(std::string("ParentFileId"), parentFileId); +} + +std::string ListCdsFilesRequest::getFileIds() const { + return fileIds_; +} + +void ListCdsFilesRequest::setFileIds(const std::string &fileIds) { + fileIds_ = fileIds; + setParameter(std::string("FileIds"), fileIds); +} + +int ListCdsFilesRequest::getMaxResults() const { + return maxResults_; +} + +void ListCdsFilesRequest::setMaxResults(int maxResults) { + maxResults_ = maxResults; + setParameter(std::string("MaxResults"), std::to_string(maxResults)); +} + +std::string ListCdsFilesRequest::getOrderType() const { + return orderType_; +} + +void ListCdsFilesRequest::setOrderType(const std::string &orderType) { + orderType_ = orderType; + setParameter(std::string("OrderType"), orderType); +} + +std::string ListCdsFilesRequest::getStatus() const { + return status_; +} + +void ListCdsFilesRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); +} + diff --git a/ecd/src/model/ListCdsFilesResult.cc b/ecd/src/model/ListCdsFilesResult.cc new file mode 100644 index 000000000..399c541e5 --- /dev/null +++ b/ecd/src/model/ListCdsFilesResult.cc @@ -0,0 +1,142 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +ListCdsFilesResult::ListCdsFilesResult() : + ServiceResult() +{} + +ListCdsFilesResult::ListCdsFilesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListCdsFilesResult::~ListCdsFilesResult() +{} + +void ListCdsFilesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allFileModelsNode = value["FileModels"]["fileModel"]; + for (auto valueFileModelsfileModel : allFileModelsNode) + { + FileModel fileModelsObject; + if(!valueFileModelsfileModel["Status"].isNull()) + fileModelsObject.status = valueFileModelsfileModel["Status"].asString(); + if(!valueFileModelsfileModel["ContentType"].isNull()) + fileModelsObject.contentType = valueFileModelsfileModel["ContentType"].asString(); + if(!valueFileModelsfileModel["FileType"].isNull()) + fileModelsObject.fileType = valueFileModelsfileModel["FileType"].asString(); + if(!valueFileModelsfileModel["StorageType"].isNull()) + fileModelsObject.storageType = valueFileModelsfileModel["StorageType"].asString(); + if(!valueFileModelsfileModel["FileExtension"].isNull()) + fileModelsObject.fileExtension = valueFileModelsfileModel["FileExtension"].asString(); + if(!valueFileModelsfileModel["DomainId"].isNull()) + fileModelsObject.domainId = valueFileModelsfileModel["DomainId"].asString(); + if(!valueFileModelsfileModel["FileId"].isNull()) + fileModelsObject.fileId = valueFileModelsfileModel["FileId"].asString(); + if(!valueFileModelsfileModel["Creator"].isNull()) + fileModelsObject.creator = valueFileModelsfileModel["Creator"].asString(); + if(!valueFileModelsfileModel["OpenTime"].isNull()) + fileModelsObject.openTime = valueFileModelsfileModel["OpenTime"].asString(); + if(!valueFileModelsfileModel["ParentId"].isNull()) + fileModelsObject.parentId = valueFileModelsfileModel["ParentId"].asString(); + if(!valueFileModelsfileModel["Modifier"].isNull()) + fileModelsObject.modifier = valueFileModelsfileModel["Modifier"].asString(); + if(!valueFileModelsfileModel["Description"].isNull()) + fileModelsObject.description = valueFileModelsfileModel["Description"].asString(); + if(!valueFileModelsfileModel["Name"].isNull()) + fileModelsObject.name = valueFileModelsfileModel["Name"].asString(); + if(!valueFileModelsfileModel["DownloadUrl"].isNull()) + fileModelsObject.downloadUrl = valueFileModelsfileModel["DownloadUrl"].asString(); + if(!valueFileModelsfileModel["Sha1"].isNull()) + fileModelsObject.sha1 = valueFileModelsfileModel["Sha1"].asString(); + if(!valueFileModelsfileModel["OpenTimeStamp"].isNull()) + fileModelsObject.openTimeStamp = std::stol(valueFileModelsfileModel["OpenTimeStamp"].asString()); + if(!valueFileModelsfileModel["RegionId"].isNull()) + fileModelsObject.regionId = valueFileModelsfileModel["RegionId"].asString(); + if(!valueFileModelsfileModel["RootId"].isNull()) + fileModelsObject.rootId = valueFileModelsfileModel["RootId"].asString(); + if(!valueFileModelsfileModel["FilePath"].isNull()) + fileModelsObject.filePath = valueFileModelsfileModel["FilePath"].asString(); + if(!valueFileModelsfileModel["Size"].isNull()) + fileModelsObject.size = std::stol(valueFileModelsfileModel["Size"].asString()); + if(!valueFileModelsfileModel["Category"].isNull()) + fileModelsObject.category = valueFileModelsfileModel["Category"].asString(); + if(!valueFileModelsfileModel["Md5"].isNull()) + fileModelsObject.md5 = valueFileModelsfileModel["Md5"].asString(); + if(!valueFileModelsfileModel["DriveId"].isNull()) + fileModelsObject.driveId = valueFileModelsfileModel["DriveId"].asString(); + if(!valueFileModelsfileModel["Thumbnail"].isNull()) + fileModelsObject.thumbnail = valueFileModelsfileModel["Thumbnail"].asString(); + if(!valueFileModelsfileModel["CreateTime"].isNull()) + fileModelsObject.createTime = valueFileModelsfileModel["CreateTime"].asString(); + if(!valueFileModelsfileModel["ModifiedTime"].isNull()) + fileModelsObject.modifiedTime = valueFileModelsfileModel["ModifiedTime"].asString(); + fileModels_.push_back(fileModelsObject); + } + if(!value["NextToken"].isNull()) + nextToken_ = value["NextToken"].asString(); + if(!value["Count"].isNull()) + count_ = value["Count"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListCdsFilesResult::getNextToken()const +{ + return nextToken_; +} + +std::string ListCdsFilesResult::getMessage()const +{ + return message_; +} + +std::string ListCdsFilesResult::getCount()const +{ + return count_; +} + +std::vector ListCdsFilesResult::getFileModels()const +{ + return fileModels_; +} + +std::string ListCdsFilesResult::getCode()const +{ + return code_; +} + +bool ListCdsFilesResult::getSuccess()const +{ + return success_; +} + diff --git a/ecd/src/model/ListFilePermissionRequest.cc b/ecd/src/model/ListFilePermissionRequest.cc new file mode 100644 index 000000000..f60c9c31a --- /dev/null +++ b/ecd/src/model/ListFilePermissionRequest.cc @@ -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 + +using AlibabaCloud::Ecd::Model::ListFilePermissionRequest; + +ListFilePermissionRequest::ListFilePermissionRequest() + : RpcServiceRequest("ecd", "2020-09-30", "ListFilePermission") { + setMethod(HttpRequest::Method::Post); +} + +ListFilePermissionRequest::~ListFilePermissionRequest() {} + +std::string ListFilePermissionRequest::getCdsId() const { + return cdsId_; +} + +void ListFilePermissionRequest::setCdsId(const std::string &cdsId) { + cdsId_ = cdsId; + setParameter(std::string("CdsId"), cdsId); +} + +std::string ListFilePermissionRequest::getRegionId() const { + return regionId_; +} + +void ListFilePermissionRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string ListFilePermissionRequest::getEndUserId() const { + return endUserId_; +} + +void ListFilePermissionRequest::setEndUserId(const std::string &endUserId) { + endUserId_ = endUserId; + setParameter(std::string("EndUserId"), endUserId); +} + +std::string ListFilePermissionRequest::getFileId() const { + return fileId_; +} + +void ListFilePermissionRequest::setFileId(const std::string &fileId) { + fileId_ = fileId; + setParameter(std::string("FileId"), fileId); +} + diff --git a/ecd/src/model/ListFilePermissionResult.cc b/ecd/src/model/ListFilePermissionResult.cc new file mode 100644 index 000000000..d89b204ec --- /dev/null +++ b/ecd/src/model/ListFilePermissionResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +ListFilePermissionResult::ListFilePermissionResult() : + ServiceResult() +{} + +ListFilePermissionResult::ListFilePermissionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListFilePermissionResult::~ListFilePermissionResult() +{} + +void ListFilePermissionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allFilePermissionsNode = value["FilePermissions"]["filePermission"]; + for (auto valueFilePermissionsfilePermission : allFilePermissionsNode) + { + FilePermission filePermissionsObject; + if(!valueFilePermissionsfilePermission["RoleId"].isNull()) + filePermissionsObject.roleId = valueFilePermissionsfilePermission["RoleId"].asString(); + if(!valueFilePermissionsfilePermission["ExpireTime"].isNull()) + filePermissionsObject.expireTime = std::stol(valueFilePermissionsfilePermission["ExpireTime"].asString()); + if(!valueFilePermissionsfilePermission["DisinheritSubGroup"].isNull()) + filePermissionsObject.disinheritSubGroup = valueFilePermissionsfilePermission["DisinheritSubGroup"].asString() == "true"; + auto cdsIdentityNode = value["CdsIdentity"]; + if(!cdsIdentityNode["Id"].isNull()) + filePermissionsObject.cdsIdentity.id = cdsIdentityNode["Id"].asString(); + if(!cdsIdentityNode["Type"].isNull()) + filePermissionsObject.cdsIdentity.type = cdsIdentityNode["Type"].asString(); + filePermissions_.push_back(filePermissionsObject); + } + +} + +std::vector ListFilePermissionResult::getFilePermissions()const +{ + return filePermissions_; +} + diff --git a/ecd/src/model/ListUserAdOrganizationUnitsRequest.cc b/ecd/src/model/ListUserAdOrganizationUnitsRequest.cc index bbe6a185a..07308b3bb 100644 --- a/ecd/src/model/ListUserAdOrganizationUnitsRequest.cc +++ b/ecd/src/model/ListUserAdOrganizationUnitsRequest.cc @@ -34,6 +34,15 @@ void ListUserAdOrganizationUnitsRequest::setOfficeSiteId(const std::string &offi setParameter(std::string("OfficeSiteId"), officeSiteId); } +std::string ListUserAdOrganizationUnitsRequest::getFilter() const { + return filter_; +} + +void ListUserAdOrganizationUnitsRequest::setFilter(const std::string &filter) { + filter_ = filter; + setParameter(std::string("Filter"), filter); +} + std::string ListUserAdOrganizationUnitsRequest::getRegionId() const { return regionId_; } @@ -43,3 +52,21 @@ void ListUserAdOrganizationUnitsRequest::setRegionId(const std::string ®ionId setParameter(std::string("RegionId"), regionId); } +std::string ListUserAdOrganizationUnitsRequest::getNextToken() const { + return nextToken_; +} + +void ListUserAdOrganizationUnitsRequest::setNextToken(const std::string &nextToken) { + nextToken_ = nextToken; + setParameter(std::string("NextToken"), nextToken); +} + +int ListUserAdOrganizationUnitsRequest::getMaxResults() const { + return maxResults_; +} + +void ListUserAdOrganizationUnitsRequest::setMaxResults(int maxResults) { + maxResults_ = maxResults; + setParameter(std::string("MaxResults"), std::to_string(maxResults)); +} + diff --git a/ecd/src/model/ListUserAdOrganizationUnitsResult.cc b/ecd/src/model/ListUserAdOrganizationUnitsResult.cc index a1b0543f1..0b1254e78 100644 --- a/ecd/src/model/ListUserAdOrganizationUnitsResult.cc +++ b/ecd/src/model/ListUserAdOrganizationUnitsResult.cc @@ -47,8 +47,12 @@ void ListUserAdOrganizationUnitsResult::parse(const std::string &payload) oUNamesObject.officeSiteId = valueOUNamesouName["OfficeSiteId"].asString(); if(!valueOUNamesouName["OUName"].isNull()) oUNamesObject.oUName = valueOUNamesouName["OUName"].asString(); + if(!valueOUNamesouName["DisplayOUName"].isNull()) + oUNamesObject.displayOUName = valueOUNamesouName["DisplayOUName"].asString(); oUNames_.push_back(oUNamesObject); } + if(!value["NextToken"].isNull()) + nextToken_ = value["NextToken"].asString(); } @@ -57,3 +61,8 @@ std::vector ListUserAdOrganizationUni return oUNames_; } +std::string ListUserAdOrganizationUnitsResult::getNextToken()const +{ + return nextToken_; +} + diff --git a/ecd/src/model/MigrateDesktopsRequest.cc b/ecd/src/model/MigrateDesktopsRequest.cc new file mode 100644 index 000000000..e2b7dd59a --- /dev/null +++ b/ecd/src/model/MigrateDesktopsRequest.cc @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ecd::Model::MigrateDesktopsRequest; + +MigrateDesktopsRequest::MigrateDesktopsRequest() + : RpcServiceRequest("ecd", "2020-09-30", "MigrateDesktops") { + setMethod(HttpRequest::Method::Post); +} + +MigrateDesktopsRequest::~MigrateDesktopsRequest() {} + +std::string MigrateDesktopsRequest::getRegionId() const { + return regionId_; +} + +void MigrateDesktopsRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::vector MigrateDesktopsRequest::getDesktopId() const { + return desktopId_; +} + +void MigrateDesktopsRequest::setDesktopId(const std::vector &desktopId) { + desktopId_ = desktopId; +} + +std::string MigrateDesktopsRequest::getTargetOfficeSiteId() const { + return targetOfficeSiteId_; +} + +void MigrateDesktopsRequest::setTargetOfficeSiteId(const std::string &targetOfficeSiteId) { + targetOfficeSiteId_ = targetOfficeSiteId; + setParameter(std::string("TargetOfficeSiteId"), targetOfficeSiteId); +} + diff --git a/ecd/src/model/MigrateDesktopsResult.cc b/ecd/src/model/MigrateDesktopsResult.cc new file mode 100644 index 000000000..daa6d3c17 --- /dev/null +++ b/ecd/src/model/MigrateDesktopsResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +MigrateDesktopsResult::MigrateDesktopsResult() : + ServiceResult() +{} + +MigrateDesktopsResult::MigrateDesktopsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +MigrateDesktopsResult::~MigrateDesktopsResult() +{} + +void MigrateDesktopsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/ecd/src/model/ModifyAutoSnapshotPolicyRequest.cc b/ecd/src/model/ModifyAutoSnapshotPolicyRequest.cc new file mode 100644 index 000000000..a37f5f2d2 --- /dev/null +++ b/ecd/src/model/ModifyAutoSnapshotPolicyRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ecd::Model::ModifyAutoSnapshotPolicyRequest; + +ModifyAutoSnapshotPolicyRequest::ModifyAutoSnapshotPolicyRequest() + : RpcServiceRequest("ecd", "2020-09-30", "ModifyAutoSnapshotPolicy") { + setMethod(HttpRequest::Method::Post); +} + +ModifyAutoSnapshotPolicyRequest::~ModifyAutoSnapshotPolicyRequest() {} + +std::string ModifyAutoSnapshotPolicyRequest::getCronExpression() const { + return cronExpression_; +} + +void ModifyAutoSnapshotPolicyRequest::setCronExpression(const std::string &cronExpression) { + cronExpression_ = cronExpression; + setParameter(std::string("CronExpression"), cronExpression); +} + +std::string ModifyAutoSnapshotPolicyRequest::getPolicyId() const { + return policyId_; +} + +void ModifyAutoSnapshotPolicyRequest::setPolicyId(const std::string &policyId) { + policyId_ = policyId; + setParameter(std::string("PolicyId"), policyId); +} + +std::string ModifyAutoSnapshotPolicyRequest::getRegionId() const { + return regionId_; +} + +void ModifyAutoSnapshotPolicyRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string ModifyAutoSnapshotPolicyRequest::getPolicyName() const { + return policyName_; +} + +void ModifyAutoSnapshotPolicyRequest::setPolicyName(const std::string &policyName) { + policyName_ = policyName; + setParameter(std::string("PolicyName"), policyName); +} + +int ModifyAutoSnapshotPolicyRequest::getRetentionDays() const { + return retentionDays_; +} + +void ModifyAutoSnapshotPolicyRequest::setRetentionDays(int retentionDays) { + retentionDays_ = retentionDays; + setParameter(std::string("RetentionDays"), std::to_string(retentionDays)); +} + diff --git a/ecd/src/model/ModifyAutoSnapshotPolicyResult.cc b/ecd/src/model/ModifyAutoSnapshotPolicyResult.cc new file mode 100644 index 000000000..6cae4e1c4 --- /dev/null +++ b/ecd/src/model/ModifyAutoSnapshotPolicyResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +ModifyAutoSnapshotPolicyResult::ModifyAutoSnapshotPolicyResult() : + ServiceResult() +{} + +ModifyAutoSnapshotPolicyResult::ModifyAutoSnapshotPolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyAutoSnapshotPolicyResult::~ModifyAutoSnapshotPolicyResult() +{} + +void ModifyAutoSnapshotPolicyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/ecd/src/model/ModifyCdsFileRequest.cc b/ecd/src/model/ModifyCdsFileRequest.cc new file mode 100644 index 000000000..257317a56 --- /dev/null +++ b/ecd/src/model/ModifyCdsFileRequest.cc @@ -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 + +using AlibabaCloud::Ecd::Model::ModifyCdsFileRequest; + +ModifyCdsFileRequest::ModifyCdsFileRequest() + : RpcServiceRequest("ecd", "2020-09-30", "ModifyCdsFile") { + setMethod(HttpRequest::Method::Post); +} + +ModifyCdsFileRequest::~ModifyCdsFileRequest() {} + +std::string ModifyCdsFileRequest::getCdsId() const { + return cdsId_; +} + +void ModifyCdsFileRequest::setCdsId(const std::string &cdsId) { + cdsId_ = cdsId; + setParameter(std::string("CdsId"), cdsId); +} + +std::string ModifyCdsFileRequest::getConflictPolicy() const { + return conflictPolicy_; +} + +void ModifyCdsFileRequest::setConflictPolicy(const std::string &conflictPolicy) { + conflictPolicy_ = conflictPolicy; + setParameter(std::string("ConflictPolicy"), conflictPolicy); +} + +std::string ModifyCdsFileRequest::getFileName() const { + return fileName_; +} + +void ModifyCdsFileRequest::setFileName(const std::string &fileName) { + fileName_ = fileName; + setParameter(std::string("FileName"), fileName); +} + +std::string ModifyCdsFileRequest::getRegionId() const { + return regionId_; +} + +void ModifyCdsFileRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string ModifyCdsFileRequest::getEndUserId() const { + return endUserId_; +} + +void ModifyCdsFileRequest::setEndUserId(const std::string &endUserId) { + endUserId_ = endUserId; + setParameter(std::string("EndUserId"), endUserId); +} + +std::string ModifyCdsFileRequest::getFileId() const { + return fileId_; +} + +void ModifyCdsFileRequest::setFileId(const std::string &fileId) { + fileId_ = fileId; + setParameter(std::string("FileId"), fileId); +} + diff --git a/ecd/src/model/ModifyCdsFileResult.cc b/ecd/src/model/ModifyCdsFileResult.cc new file mode 100644 index 000000000..1227b5fed --- /dev/null +++ b/ecd/src/model/ModifyCdsFileResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +ModifyCdsFileResult::ModifyCdsFileResult() : + ServiceResult() +{} + +ModifyCdsFileResult::ModifyCdsFileResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyCdsFileResult::~ModifyCdsFileResult() +{} + +void ModifyCdsFileResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string ModifyCdsFileResult::getMessage()const +{ + return message_; +} + +std::string ModifyCdsFileResult::getData()const +{ + return data_; +} + +std::string ModifyCdsFileResult::getCode()const +{ + return code_; +} + +bool ModifyCdsFileResult::getSuccess()const +{ + return success_; +} + diff --git a/ecd/src/model/ModifyCdsFileShareLinkRequest.cc b/ecd/src/model/ModifyCdsFileShareLinkRequest.cc new file mode 100644 index 000000000..7637b8d91 --- /dev/null +++ b/ecd/src/model/ModifyCdsFileShareLinkRequest.cc @@ -0,0 +1,189 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ecd::Model::ModifyCdsFileShareLinkRequest; + +ModifyCdsFileShareLinkRequest::ModifyCdsFileShareLinkRequest() + : RpcServiceRequest("ecd", "2020-09-30", "ModifyCdsFileShareLink") { + setMethod(HttpRequest::Method::Post); +} + +ModifyCdsFileShareLinkRequest::~ModifyCdsFileShareLinkRequest() {} + +std::string ModifyCdsFileShareLinkRequest::getDescription() const { + return description_; +} + +void ModifyCdsFileShareLinkRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); +} + +std::string ModifyCdsFileShareLinkRequest::getShareId() const { + return shareId_; +} + +void ModifyCdsFileShareLinkRequest::setShareId(const std::string &shareId) { + shareId_ = shareId; + setParameter(std::string("ShareId"), shareId); +} + +long ModifyCdsFileShareLinkRequest::getPreviewLimit() const { + return previewLimit_; +} + +void ModifyCdsFileShareLinkRequest::setPreviewLimit(long previewLimit) { + previewLimit_ = previewLimit; + setParameter(std::string("PreviewLimit"), std::to_string(previewLimit)); +} + +bool ModifyCdsFileShareLinkRequest::getDisableDownload() const { + return disableDownload_; +} + +void ModifyCdsFileShareLinkRequest::setDisableDownload(bool disableDownload) { + disableDownload_ = disableDownload; + setParameter(std::string("DisableDownload"), disableDownload ? "true" : "false"); +} + +bool ModifyCdsFileShareLinkRequest::getDisablePreview() const { + return disablePreview_; +} + +void ModifyCdsFileShareLinkRequest::setDisablePreview(bool disablePreview) { + disablePreview_ = disablePreview; + setParameter(std::string("DisablePreview"), disablePreview ? "true" : "false"); +} + +std::string ModifyCdsFileShareLinkRequest::getSharePwd() const { + return sharePwd_; +} + +void ModifyCdsFileShareLinkRequest::setSharePwd(const std::string &sharePwd) { + sharePwd_ = sharePwd; + setParameter(std::string("SharePwd"), sharePwd); +} + +std::string ModifyCdsFileShareLinkRequest::getShareName() const { + return shareName_; +} + +void ModifyCdsFileShareLinkRequest::setShareName(const std::string &shareName) { + shareName_ = shareName; + setParameter(std::string("ShareName"), shareName); +} + +long ModifyCdsFileShareLinkRequest::getDownloadCount() const { + return downloadCount_; +} + +void ModifyCdsFileShareLinkRequest::setDownloadCount(long downloadCount) { + downloadCount_ = downloadCount; + setParameter(std::string("DownloadCount"), std::to_string(downloadCount)); +} + +bool ModifyCdsFileShareLinkRequest::getDisableSave() const { + return disableSave_; +} + +void ModifyCdsFileShareLinkRequest::setDisableSave(bool disableSave) { + disableSave_ = disableSave; + setParameter(std::string("DisableSave"), disableSave ? "true" : "false"); +} + +long ModifyCdsFileShareLinkRequest::getSaveCount() const { + return saveCount_; +} + +void ModifyCdsFileShareLinkRequest::setSaveCount(long saveCount) { + saveCount_ = saveCount; + setParameter(std::string("SaveCount"), std::to_string(saveCount)); +} + +long ModifyCdsFileShareLinkRequest::getReportCount() const { + return reportCount_; +} + +void ModifyCdsFileShareLinkRequest::setReportCount(long reportCount) { + reportCount_ = reportCount; + setParameter(std::string("ReportCount"), std::to_string(reportCount)); +} + +long ModifyCdsFileShareLinkRequest::getVideoPreviewCount() const { + return videoPreviewCount_; +} + +void ModifyCdsFileShareLinkRequest::setVideoPreviewCount(long videoPreviewCount) { + videoPreviewCount_ = videoPreviewCount; + setParameter(std::string("VideoPreviewCount"), std::to_string(videoPreviewCount)); +} + +long ModifyCdsFileShareLinkRequest::getDownloadLimit() const { + return downloadLimit_; +} + +void ModifyCdsFileShareLinkRequest::setDownloadLimit(long downloadLimit) { + downloadLimit_ = downloadLimit; + setParameter(std::string("DownloadLimit"), std::to_string(downloadLimit)); +} + +std::string ModifyCdsFileShareLinkRequest::getCdsId() const { + return cdsId_; +} + +void ModifyCdsFileShareLinkRequest::setCdsId(const std::string &cdsId) { + cdsId_ = cdsId; + setParameter(std::string("CdsId"), cdsId); +} + +long ModifyCdsFileShareLinkRequest::getSaveLimit() const { + return saveLimit_; +} + +void ModifyCdsFileShareLinkRequest::setSaveLimit(long saveLimit) { + saveLimit_ = saveLimit; + setParameter(std::string("SaveLimit"), std::to_string(saveLimit)); +} + +std::string ModifyCdsFileShareLinkRequest::getExpiration() const { + return expiration_; +} + +void ModifyCdsFileShareLinkRequest::setExpiration(const std::string &expiration) { + expiration_ = expiration; + setParameter(std::string("Expiration"), expiration); +} + +long ModifyCdsFileShareLinkRequest::getPreviewCount() const { + return previewCount_; +} + +void ModifyCdsFileShareLinkRequest::setPreviewCount(long previewCount) { + previewCount_ = previewCount; + setParameter(std::string("PreviewCount"), std::to_string(previewCount)); +} + +std::string ModifyCdsFileShareLinkRequest::getStatus() const { + return status_; +} + +void ModifyCdsFileShareLinkRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); +} + diff --git a/ecd/src/model/ModifyCdsFileShareLinkResult.cc b/ecd/src/model/ModifyCdsFileShareLinkResult.cc new file mode 100644 index 000000000..69810ee7b --- /dev/null +++ b/ecd/src/model/ModifyCdsFileShareLinkResult.cc @@ -0,0 +1,121 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +ModifyCdsFileShareLinkResult::ModifyCdsFileShareLinkResult() : + ServiceResult() +{} + +ModifyCdsFileShareLinkResult::ModifyCdsFileShareLinkResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyCdsFileShareLinkResult::~ModifyCdsFileShareLinkResult() +{} + +void ModifyCdsFileShareLinkResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Description"].isNull()) + data_.description = dataNode["Description"].asString(); + if(!dataNode["SaveLimit"].isNull()) + data_.saveLimit = std::stol(dataNode["SaveLimit"].asString()); + if(!dataNode["DownloadCount"].isNull()) + data_.downloadCount = std::stol(dataNode["DownloadCount"].asString()); + if(!dataNode["Creator"].isNull()) + data_.creator = dataNode["Creator"].asString(); + if(!dataNode["SaveCount"].isNull()) + data_.saveCount = std::stol(dataNode["SaveCount"].asString()); + if(!dataNode["DisableSave"].isNull()) + data_.disableSave = dataNode["DisableSave"].asString() == "true"; + if(!dataNode["SharePwd"].isNull()) + data_.sharePwd = dataNode["SharePwd"].asString(); + if(!dataNode["DisablePreview"].isNull()) + data_.disablePreview = dataNode["DisablePreview"].asString() == "true"; + if(!dataNode["AccessCount"].isNull()) + data_.accessCount = std::stol(dataNode["AccessCount"].asString()); + if(!dataNode["ShareId"].isNull()) + data_.shareId = dataNode["ShareId"].asString(); + if(!dataNode["DownloadLimit"].isNull()) + data_.downloadLimit = std::stol(dataNode["DownloadLimit"].asString()); + if(!dataNode["Status"].isNull()) + data_.status = dataNode["Status"].asString(); + if(!dataNode["DriveId"].isNull()) + data_.driveId = dataNode["DriveId"].asString(); + if(!dataNode["ModifiyTime"].isNull()) + data_.modifiyTime = dataNode["ModifiyTime"].asString(); + if(!dataNode["DisableDownload"].isNull()) + data_.disableDownload = dataNode["DisableDownload"].asString() == "true"; + if(!dataNode["Expiration"].isNull()) + data_.expiration = dataNode["Expiration"].asString(); + if(!dataNode["Expired"].isNull()) + data_.expired = dataNode["Expired"].asString() == "true"; + if(!dataNode["PreviewCount"].isNull()) + data_.previewCount = std::stol(dataNode["PreviewCount"].asString()); + if(!dataNode["PreviewLimit"].isNull()) + data_.previewLimit = std::stol(dataNode["PreviewLimit"].asString()); + if(!dataNode["VideoPreviewCount"].isNull()) + data_.videoPreviewCount = std::stol(dataNode["VideoPreviewCount"].asString()); + if(!dataNode["ReportCount"].isNull()) + data_.reportCount = std::stol(dataNode["ReportCount"].asString()); + if(!dataNode["FileIds"].isNull()) + data_.fileIds = dataNode["FileIds"].asString(); + if(!dataNode["ShareName"].isNull()) + data_.shareName = dataNode["ShareName"].asString(); + if(!dataNode["CreateTime"].isNull()) + data_.createTime = dataNode["CreateTime"].asString(); + if(!dataNode["ShareLink"].isNull()) + data_.shareLink = dataNode["ShareLink"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ModifyCdsFileShareLinkResult::getMessage()const +{ + return message_; +} + +ModifyCdsFileShareLinkResult::Data ModifyCdsFileShareLinkResult::getData()const +{ + return data_; +} + +std::string ModifyCdsFileShareLinkResult::getCode()const +{ + return code_; +} + +bool ModifyCdsFileShareLinkResult::getSuccess()const +{ + return success_; +} + diff --git a/ecd/src/model/ModifyCloudDriveGroupsRequest.cc b/ecd/src/model/ModifyCloudDriveGroupsRequest.cc new file mode 100644 index 000000000..4d00c32e7 --- /dev/null +++ b/ecd/src/model/ModifyCloudDriveGroupsRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ecd::Model::ModifyCloudDriveGroupsRequest; + +ModifyCloudDriveGroupsRequest::ModifyCloudDriveGroupsRequest() + : RpcServiceRequest("ecd", "2020-09-30", "ModifyCloudDriveGroups") { + setMethod(HttpRequest::Method::Post); +} + +ModifyCloudDriveGroupsRequest::~ModifyCloudDriveGroupsRequest() {} + +long ModifyCloudDriveGroupsRequest::getTotalSize() const { + return totalSize_; +} + +void ModifyCloudDriveGroupsRequest::setTotalSize(long totalSize) { + totalSize_ = totalSize; + setParameter(std::string("TotalSize"), std::to_string(totalSize)); +} + +std::vector ModifyCloudDriveGroupsRequest::getGroupId() const { + return groupId_; +} + +void ModifyCloudDriveGroupsRequest::setGroupId(const std::vector &groupId) { + groupId_ = groupId; +} + +std::string ModifyCloudDriveGroupsRequest::getCdsId() const { + return cdsId_; +} + +void ModifyCloudDriveGroupsRequest::setCdsId(const std::string &cdsId) { + cdsId_ = cdsId; + setParameter(std::string("CdsId"), cdsId); +} + +std::string ModifyCloudDriveGroupsRequest::getRegionId() const { + return regionId_; +} + +void ModifyCloudDriveGroupsRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string ModifyCloudDriveGroupsRequest::getStatus() const { + return status_; +} + +void ModifyCloudDriveGroupsRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); +} + diff --git a/ecd/src/model/ModifyCloudDriveGroupsResult.cc b/ecd/src/model/ModifyCloudDriveGroupsResult.cc new file mode 100644 index 000000000..b2cd9cfb0 --- /dev/null +++ b/ecd/src/model/ModifyCloudDriveGroupsResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +ModifyCloudDriveGroupsResult::ModifyCloudDriveGroupsResult() : + ServiceResult() +{} + +ModifyCloudDriveGroupsResult::ModifyCloudDriveGroupsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyCloudDriveGroupsResult::~ModifyCloudDriveGroupsResult() +{} + +void ModifyCloudDriveGroupsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string ModifyCloudDriveGroupsResult::getMessage()const +{ + return message_; +} + +std::string ModifyCloudDriveGroupsResult::getData()const +{ + return data_; +} + +std::string ModifyCloudDriveGroupsResult::getCode()const +{ + return code_; +} + +bool ModifyCloudDriveGroupsResult::getSuccess()const +{ + return success_; +} + diff --git a/ecd/src/model/ModifyDesktopGroupRequest.cc b/ecd/src/model/ModifyDesktopGroupRequest.cc index 166540db4..146de5a10 100644 --- a/ecd/src/model/ModifyDesktopGroupRequest.cc +++ b/ecd/src/model/ModifyDesktopGroupRequest.cc @@ -97,6 +97,14 @@ void ModifyDesktopGroupRequest::setAllowBufferCount(int allowBufferCount) { setParameter(std::string("AllowBufferCount"), std::to_string(allowBufferCount)); } +std::vector ModifyDesktopGroupRequest::getPolicyGroupIds() const { + return policyGroupIds_; +} + +void ModifyDesktopGroupRequest::setPolicyGroupIds(const std::vector &policyGroupIds) { + policyGroupIds_ = policyGroupIds; +} + long ModifyDesktopGroupRequest::getIdleDisconnectDuration() const { return idleDisconnectDuration_; } @@ -232,6 +240,15 @@ void ModifyDesktopGroupRequest::setProfileFollowSwitch(bool profileFollowSwitch) setParameter(std::string("ProfileFollowSwitch"), profileFollowSwitch ? "true" : "false"); } +int ModifyDesktopGroupRequest::getBuyDesktopsCount() const { + return buyDesktopsCount_; +} + +void ModifyDesktopGroupRequest::setBuyDesktopsCount(int buyDesktopsCount) { + buyDesktopsCount_ = buyDesktopsCount; + setParameter(std::string("BuyDesktopsCount"), std::to_string(buyDesktopsCount)); +} + std::string ModifyDesktopGroupRequest::getPolicyGroupId() const { return policyGroupId_; } diff --git a/ecd/src/model/ModifyDesktopsPolicyGroupRequest.cc b/ecd/src/model/ModifyDesktopsPolicyGroupRequest.cc index c51d39811..c3f2b133e 100644 --- a/ecd/src/model/ModifyDesktopsPolicyGroupRequest.cc +++ b/ecd/src/model/ModifyDesktopsPolicyGroupRequest.cc @@ -25,6 +25,23 @@ ModifyDesktopsPolicyGroupRequest::ModifyDesktopsPolicyGroupRequest() ModifyDesktopsPolicyGroupRequest::~ModifyDesktopsPolicyGroupRequest() {} +bool ModifyDesktopsPolicyGroupRequest::getPreCheck() const { + return preCheck_; +} + +void ModifyDesktopsPolicyGroupRequest::setPreCheck(bool preCheck) { + preCheck_ = preCheck; + setParameter(std::string("PreCheck"), preCheck ? "true" : "false"); +} + +std::vector ModifyDesktopsPolicyGroupRequest::getPolicyGroupIds() const { + return policyGroupIds_; +} + +void ModifyDesktopsPolicyGroupRequest::setPolicyGroupIds(const std::vector &policyGroupIds) { + policyGroupIds_ = policyGroupIds; +} + std::string ModifyDesktopsPolicyGroupRequest::getRegionId() const { return regionId_; } diff --git a/ecd/src/model/ModifyDesktopsPolicyGroupResult.cc b/ecd/src/model/ModifyDesktopsPolicyGroupResult.cc index 0ce3911d0..4ec327f1a 100644 --- a/ecd/src/model/ModifyDesktopsPolicyGroupResult.cc +++ b/ecd/src/model/ModifyDesktopsPolicyGroupResult.cc @@ -49,6 +49,8 @@ void ModifyDesktopsPolicyGroupResult::parse(const std::string &payload) modifyResultsObject.message = valueModifyResultsModifyResult["Message"].asString(); if(!valueModifyResultsModifyResult["DesktopId"].isNull()) modifyResultsObject.desktopId = valueModifyResultsModifyResult["DesktopId"].asString(); + if(!valueModifyResultsModifyResult["CheckResult"].isNull()) + modifyResultsObject.checkResult = valueModifyResultsModifyResult["CheckResult"].asString() == "true"; modifyResults_.push_back(modifyResultsObject); } diff --git a/ecd/src/model/ModifyOfficeSiteAttributeRequest.cc b/ecd/src/model/ModifyOfficeSiteAttributeRequest.cc index bb67baecb..47e725199 100644 --- a/ecd/src/model/ModifyOfficeSiteAttributeRequest.cc +++ b/ecd/src/model/ModifyOfficeSiteAttributeRequest.cc @@ -79,3 +79,12 @@ void ModifyOfficeSiteAttributeRequest::setRegionId(const std::string ®ionId) setParameter(std::string("RegionId"), regionId); } +bool ModifyOfficeSiteAttributeRequest::getEnableAdminAccess() const { + return enableAdminAccess_; +} + +void ModifyOfficeSiteAttributeRequest::setEnableAdminAccess(bool enableAdminAccess) { + enableAdminAccess_ = enableAdminAccess; + setParameter(std::string("EnableAdminAccess"), enableAdminAccess ? "true" : "false"); +} + diff --git a/ecd/src/model/ModifyPolicyGroupRequest.cc b/ecd/src/model/ModifyPolicyGroupRequest.cc index adc253bf2..a81680c1f 100644 --- a/ecd/src/model/ModifyPolicyGroupRequest.cc +++ b/ecd/src/model/ModifyPolicyGroupRequest.cc @@ -97,6 +97,15 @@ void ModifyPolicyGroupRequest::setLocalDrive(const std::string &localDrive) { setParameter(std::string("LocalDrive"), localDrive); } +int ModifyPolicyGroupRequest::getWatermarkTransparencyValue() const { + return watermarkTransparencyValue_; +} + +void ModifyPolicyGroupRequest::setWatermarkTransparencyValue(int watermarkTransparencyValue) { + watermarkTransparencyValue_ = watermarkTransparencyValue; + setParameter(std::string("WatermarkTransparencyValue"), std::to_string(watermarkTransparencyValue)); +} + std::vector ModifyPolicyGroupRequest::getAuthorizeSecurityPolicyRule() const { return authorizeSecurityPolicyRule_; } @@ -125,6 +134,15 @@ void ModifyPolicyGroupRequest::setClipboard(const std::string &clipboard) { setParameter(std::string("Clipboard"), clipboard); } +std::string ModifyPolicyGroupRequest::getEndUserApplyAdminCoordinate() const { + return endUserApplyAdminCoordinate_; +} + +void ModifyPolicyGroupRequest::setEndUserApplyAdminCoordinate(const std::string &endUserApplyAdminCoordinate) { + endUserApplyAdminCoordinate_ = endUserApplyAdminCoordinate; + setParameter(std::string("EndUserApplyAdminCoordinate"), endUserApplyAdminCoordinate); +} + std::string ModifyPolicyGroupRequest::getUsbRedirect() const { return usbRedirect_; } @@ -152,6 +170,48 @@ void ModifyPolicyGroupRequest::setRecordingStartTime(const std::string &recordin setParameter(std::string("RecordingStartTime"), recordingStartTime); } +std::vector ModifyPolicyGroupRequest::getNetRedirectRule() const { + return netRedirectRule_; +} + +void ModifyPolicyGroupRequest::setNetRedirectRule(const std::vector &netRedirectRule) { + netRedirectRule_ = netRedirectRule; + for(int dep1 = 0; dep1 != netRedirectRule.size(); dep1++) { + auto netRedirectRuleObj = netRedirectRule.at(dep1); + std::string netRedirectRuleObjStr = std::string("NetRedirectRule") + "." + std::to_string(dep1 + 1); + setParameter(netRedirectRuleObjStr + ".RuleType", netRedirectRuleObj.ruleType); + setParameter(netRedirectRuleObjStr + ".Domain", netRedirectRuleObj.domain); + setParameter(netRedirectRuleObjStr + ".Policy", netRedirectRuleObj.policy); + } +} + +int ModifyPolicyGroupRequest::getRecordingDuration() const { + return recordingDuration_; +} + +void ModifyPolicyGroupRequest::setRecordingDuration(int recordingDuration) { + recordingDuration_ = recordingDuration; + setParameter(std::string("RecordingDuration"), std::to_string(recordingDuration)); +} + +int ModifyPolicyGroupRequest::getWatermarkColor() const { + return watermarkColor_; +} + +void ModifyPolicyGroupRequest::setWatermarkColor(int watermarkColor) { + watermarkColor_ = watermarkColor; + setParameter(std::string("WatermarkColor"), std::to_string(watermarkColor)); +} + +int ModifyPolicyGroupRequest::getMemoryRateLimit() const { + return memoryRateLimit_; +} + +void ModifyPolicyGroupRequest::setMemoryRateLimit(int memoryRateLimit) { + memoryRateLimit_ = memoryRateLimit; + setParameter(std::string("MemoryRateLimit"), std::to_string(memoryRateLimit)); +} + std::vector ModifyPolicyGroupRequest::getRevokeAccessPolicyRule() const { return revokeAccessPolicyRule_; } @@ -184,6 +244,32 @@ void ModifyPolicyGroupRequest::setCameraRedirect(const std::string &cameraRedire setParameter(std::string("CameraRedirect"), cameraRedirect); } +std::vector ModifyPolicyGroupRequest::getMemoryProcessors() const { + return memoryProcessors_; +} + +void ModifyPolicyGroupRequest::setMemoryProcessors(const std::vector &memoryProcessors) { + memoryProcessors_ = memoryProcessors; +} + +std::string ModifyPolicyGroupRequest::getVideoRedirect() const { + return videoRedirect_; +} + +void ModifyPolicyGroupRequest::setVideoRedirect(const std::string &videoRedirect) { + videoRedirect_ = videoRedirect; + setParameter(std::string("VideoRedirect"), videoRedirect); +} + +int ModifyPolicyGroupRequest::getCpuSingleRateLimit() const { + return cpuSingleRateLimit_; +} + +void ModifyPolicyGroupRequest::setCpuSingleRateLimit(int cpuSingleRateLimit) { + cpuSingleRateLimit_ = cpuSingleRateLimit; + setParameter(std::string("CpuSingleRateLimit"), std::to_string(cpuSingleRateLimit)); +} + std::string ModifyPolicyGroupRequest::getAppContentProtection() const { return appContentProtection_; } @@ -193,6 +279,30 @@ void ModifyPolicyGroupRequest::setAppContentProtection(const std::string &appCon setParameter(std::string("AppContentProtection"), appContentProtection); } +std::string ModifyPolicyGroupRequest::getCpuProtectedMode() const { + return cpuProtectedMode_; +} + +void ModifyPolicyGroupRequest::setCpuProtectedMode(const std::string &cpuProtectedMode) { + cpuProtectedMode_ = cpuProtectedMode; + setParameter(std::string("CpuProtectedMode"), cpuProtectedMode); +} + +std::vector ModifyPolicyGroupRequest::getDomainResolveRule() const { + return domainResolveRule_; +} + +void ModifyPolicyGroupRequest::setDomainResolveRule(const std::vector &domainResolveRule) { + domainResolveRule_ = domainResolveRule; + for(int dep1 = 0; dep1 != domainResolveRule.size(); dep1++) { + auto domainResolveRuleObj = domainResolveRule.at(dep1); + std::string domainResolveRuleObjStr = std::string("DomainResolveRule") + "." + std::to_string(dep1 + 1); + setParameter(domainResolveRuleObjStr + ".Domain", domainResolveRuleObj.domain); + setParameter(domainResolveRuleObjStr + ".Description", domainResolveRuleObj.description); + setParameter(domainResolveRuleObjStr + ".Policy", domainResolveRuleObj.policy); + } +} + std::vector ModifyPolicyGroupRequest::getAuthorizeAccessPolicyRule() const { return authorizeAccessPolicyRule_; } @@ -225,6 +335,15 @@ void ModifyPolicyGroupRequest::setName(const std::string &name) { setParameter(std::string("Name"), name); } +int ModifyPolicyGroupRequest::getMemorySampleDuration() const { + return memorySampleDuration_; +} + +void ModifyPolicyGroupRequest::setMemorySampleDuration(int memorySampleDuration) { + memorySampleDuration_ = memorySampleDuration; + setParameter(std::string("MemorySampleDuration"), std::to_string(memorySampleDuration)); +} + std::string ModifyPolicyGroupRequest::getPolicyGroupId() const { return policyGroupId_; } @@ -243,6 +362,15 @@ void ModifyPolicyGroupRequest::setWatermarkCustomText(const std::string &waterma setParameter(std::string("WatermarkCustomText"), watermarkCustomText); } +int ModifyPolicyGroupRequest::getCpuDownGradeDuration() const { + return cpuDownGradeDuration_; +} + +void ModifyPolicyGroupRequest::setCpuDownGradeDuration(int cpuDownGradeDuration) { + cpuDownGradeDuration_ = cpuDownGradeDuration; + setParameter(std::string("CpuDownGradeDuration"), std::to_string(cpuDownGradeDuration)); +} + std::string ModifyPolicyGroupRequest::getPreemptLogin() const { return preemptLogin_; } @@ -285,6 +413,15 @@ void ModifyPolicyGroupRequest::setUsbSupplyRedirectRule(const std::vector ModifyPolicyGroupRequest::getScopeValue() const { + return scopeValue_; +} + +void ModifyPolicyGroupRequest::setScopeValue(const std::vector &scopeValue) { + scopeValue_ = scopeValue; +} + +std::string ModifyPolicyGroupRequest::getDomainResolveRuleType() const { + return domainResolveRuleType_; +} + +void ModifyPolicyGroupRequest::setDomainResolveRuleType(const std::string &domainResolveRuleType) { + domainResolveRuleType_ = domainResolveRuleType; + setParameter(std::string("DomainResolveRuleType"), domainResolveRuleType); +} + +int ModifyPolicyGroupRequest::getMemorySingleRateLimit() const { + return memorySingleRateLimit_; +} + +void ModifyPolicyGroupRequest::setMemorySingleRateLimit(int memorySingleRateLimit) { + memorySingleRateLimit_ = memorySingleRateLimit; + setParameter(std::string("MemorySingleRateLimit"), std::to_string(memorySingleRateLimit)); +} + long ModifyPolicyGroupRequest::getRecordingFps() const { return recordingFps_; } @@ -303,6 +466,15 @@ void ModifyPolicyGroupRequest::setRecordingFps(long recordingFps) { setParameter(std::string("RecordingFps"), std::to_string(recordingFps)); } +std::string ModifyPolicyGroupRequest::getWatermarkFontStyle() const { + return watermarkFontStyle_; +} + +void ModifyPolicyGroupRequest::setWatermarkFontStyle(const std::string &watermarkFontStyle) { + watermarkFontStyle_ = watermarkFontStyle; + setParameter(std::string("WatermarkFontStyle"), watermarkFontStyle); +} + std::string ModifyPolicyGroupRequest::getRegionId() const { return regionId_; } @@ -321,6 +493,50 @@ void ModifyPolicyGroupRequest::setRecordContent(const std::string &recordContent setParameter(std::string("RecordContent"), recordContent); } +std::string ModifyPolicyGroupRequest::getScope() const { + return scope_; +} + +void ModifyPolicyGroupRequest::setScope(const std::string &scope) { + scope_ = scope; + setParameter(std::string("Scope"), scope); +} + +int ModifyPolicyGroupRequest::getWatermarkRowAmount() const { + return watermarkRowAmount_; +} + +void ModifyPolicyGroupRequest::setWatermarkRowAmount(int watermarkRowAmount) { + watermarkRowAmount_ = watermarkRowAmount; + setParameter(std::string("WatermarkRowAmount"), std::to_string(watermarkRowAmount)); +} + +std::vector ModifyPolicyGroupRequest::getCpuProcessors() const { + return cpuProcessors_; +} + +void ModifyPolicyGroupRequest::setCpuProcessors(const std::vector &cpuProcessors) { + cpuProcessors_ = cpuProcessors; +} + +std::string ModifyPolicyGroupRequest::getEndUserGroupCoordinate() const { + return endUserGroupCoordinate_; +} + +void ModifyPolicyGroupRequest::setEndUserGroupCoordinate(const std::string &endUserGroupCoordinate) { + endUserGroupCoordinate_ = endUserGroupCoordinate; + setParameter(std::string("EndUserGroupCoordinate"), endUserGroupCoordinate); +} + +double ModifyPolicyGroupRequest::getWatermarkDegree() const { + return watermarkDegree_; +} + +void ModifyPolicyGroupRequest::setWatermarkDegree(double watermarkDegree) { + watermarkDegree_ = watermarkDegree; + setParameter(std::string("WatermarkDegree"), std::to_string(watermarkDegree)); +} + long ModifyPolicyGroupRequest::getRecordContentExpires() const { return recordContentExpires_; } @@ -330,6 +546,24 @@ void ModifyPolicyGroupRequest::setRecordContentExpires(long recordContentExpires setParameter(std::string("RecordContentExpires"), std::to_string(recordContentExpires)); } +std::string ModifyPolicyGroupRequest::getRecordingAudio() const { + return recordingAudio_; +} + +void ModifyPolicyGroupRequest::setRecordingAudio(const std::string &recordingAudio) { + recordingAudio_ = recordingAudio; + setParameter(std::string("RecordingAudio"), recordingAudio); +} + +int ModifyPolicyGroupRequest::getCpuRateLimit() const { + return cpuRateLimit_; +} + +void ModifyPolicyGroupRequest::setCpuRateLimit(int cpuRateLimit) { + cpuRateLimit_ = cpuRateLimit; + setParameter(std::string("CpuRateLimit"), std::to_string(cpuRateLimit)); +} + std::string ModifyPolicyGroupRequest::getRemoteCoordinate() const { return remoteCoordinate_; } @@ -339,6 +573,15 @@ void ModifyPolicyGroupRequest::setRemoteCoordinate(const std::string &remoteCoor setParameter(std::string("RemoteCoordinate"), remoteCoordinate); } +int ModifyPolicyGroupRequest::getCpuSampleDuration() const { + return cpuSampleDuration_; +} + +void ModifyPolicyGroupRequest::setCpuSampleDuration(int cpuSampleDuration) { + cpuSampleDuration_ = cpuSampleDuration; + setParameter(std::string("CpuSampleDuration"), std::to_string(cpuSampleDuration)); +} + std::string ModifyPolicyGroupRequest::getHtml5Access() const { return html5Access_; } @@ -384,3 +627,30 @@ void ModifyPolicyGroupRequest::setRecordingEndTime(const std::string &recordingE setParameter(std::string("RecordingEndTime"), recordingEndTime); } +std::string ModifyPolicyGroupRequest::getMemoryProtectedMode() const { + return memoryProtectedMode_; +} + +void ModifyPolicyGroupRequest::setMemoryProtectedMode(const std::string &memoryProtectedMode) { + memoryProtectedMode_ = memoryProtectedMode; + setParameter(std::string("MemoryProtectedMode"), memoryProtectedMode); +} + +int ModifyPolicyGroupRequest::getMemoryDownGradeDuration() const { + return memoryDownGradeDuration_; +} + +void ModifyPolicyGroupRequest::setMemoryDownGradeDuration(int memoryDownGradeDuration) { + memoryDownGradeDuration_ = memoryDownGradeDuration; + setParameter(std::string("MemoryDownGradeDuration"), std::to_string(memoryDownGradeDuration)); +} + +std::string ModifyPolicyGroupRequest::getInternetCommunicationProtocol() const { + return internetCommunicationProtocol_; +} + +void ModifyPolicyGroupRequest::setInternetCommunicationProtocol(const std::string &internetCommunicationProtocol) { + internetCommunicationProtocol_ = internetCommunicationProtocol; + setParameter(std::string("InternetCommunicationProtocol"), internetCommunicationProtocol); +} + diff --git a/ecd/src/model/MoveCdsFileRequest.cc b/ecd/src/model/MoveCdsFileRequest.cc new file mode 100644 index 000000000..d5711d45b --- /dev/null +++ b/ecd/src/model/MoveCdsFileRequest.cc @@ -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 + +using AlibabaCloud::Ecd::Model::MoveCdsFileRequest; + +MoveCdsFileRequest::MoveCdsFileRequest() + : RpcServiceRequest("ecd", "2020-09-30", "MoveCdsFile") { + setMethod(HttpRequest::Method::Post); +} + +MoveCdsFileRequest::~MoveCdsFileRequest() {} + +std::string MoveCdsFileRequest::getCdsId() const { + return cdsId_; +} + +void MoveCdsFileRequest::setCdsId(const std::string &cdsId) { + cdsId_ = cdsId; + setParameter(std::string("CdsId"), cdsId); +} + +std::string MoveCdsFileRequest::getParentFolderId() const { + return parentFolderId_; +} + +void MoveCdsFileRequest::setParentFolderId(const std::string &parentFolderId) { + parentFolderId_ = parentFolderId; + setParameter(std::string("ParentFolderId"), parentFolderId); +} + +std::string MoveCdsFileRequest::getConflictPolicy() const { + return conflictPolicy_; +} + +void MoveCdsFileRequest::setConflictPolicy(const std::string &conflictPolicy) { + conflictPolicy_ = conflictPolicy; + setParameter(std::string("ConflictPolicy"), conflictPolicy); +} + +std::string MoveCdsFileRequest::getRegionId() const { + return regionId_; +} + +void MoveCdsFileRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string MoveCdsFileRequest::getEndUserId() const { + return endUserId_; +} + +void MoveCdsFileRequest::setEndUserId(const std::string &endUserId) { + endUserId_ = endUserId; + setParameter(std::string("EndUserId"), endUserId); +} + +std::string MoveCdsFileRequest::getFileId() const { + return fileId_; +} + +void MoveCdsFileRequest::setFileId(const std::string &fileId) { + fileId_ = fileId; + setParameter(std::string("FileId"), fileId); +} + diff --git a/ecd/src/model/MoveCdsFileResult.cc b/ecd/src/model/MoveCdsFileResult.cc new file mode 100644 index 000000000..d714f3f55 --- /dev/null +++ b/ecd/src/model/MoveCdsFileResult.cc @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +MoveCdsFileResult::MoveCdsFileResult() : + ServiceResult() +{} + +MoveCdsFileResult::MoveCdsFileResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +MoveCdsFileResult::~MoveCdsFileResult() +{} + +void MoveCdsFileResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto moveCdsFileModelNode = value["MoveCdsFileModel"]; + if(!moveCdsFileModelNode["AsyncTaskId"].isNull()) + moveCdsFileModel_.asyncTaskId = moveCdsFileModelNode["AsyncTaskId"].asString(); + if(!moveCdsFileModelNode["Exist"].isNull()) + moveCdsFileModel_.exist = moveCdsFileModelNode["Exist"].asString() == "true"; + if(!moveCdsFileModelNode["FileId"].isNull()) + moveCdsFileModel_.fileId = moveCdsFileModelNode["FileId"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +MoveCdsFileResult::MoveCdsFileModel MoveCdsFileResult::getMoveCdsFileModel()const +{ + return moveCdsFileModel_; +} + +std::string MoveCdsFileResult::getMessage()const +{ + return message_; +} + +std::string MoveCdsFileResult::getCode()const +{ + return code_; +} + +bool MoveCdsFileResult::getSuccess()const +{ + return success_; +} + diff --git a/ecd/src/model/RebuildDesktopsRequest.cc b/ecd/src/model/RebuildDesktopsRequest.cc index d1093eac7..216cfd61d 100644 --- a/ecd/src/model/RebuildDesktopsRequest.cc +++ b/ecd/src/model/RebuildDesktopsRequest.cc @@ -43,6 +43,15 @@ void RebuildDesktopsRequest::setRegionId(const std::string ®ionId) { setParameter(std::string("RegionId"), regionId); } +std::string RebuildDesktopsRequest::getOperateType() const { + return operateType_; +} + +void RebuildDesktopsRequest::setOperateType(const std::string &operateType) { + operateType_ = operateType; + setParameter(std::string("OperateType"), operateType); +} + std::vector RebuildDesktopsRequest::getDesktopId() const { return desktopId_; } diff --git a/ecd/src/model/RemoveFilePermissionRequest.cc b/ecd/src/model/RemoveFilePermissionRequest.cc new file mode 100644 index 000000000..15d7eef77 --- /dev/null +++ b/ecd/src/model/RemoveFilePermissionRequest.cc @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ecd::Model::RemoveFilePermissionRequest; + +RemoveFilePermissionRequest::RemoveFilePermissionRequest() + : RpcServiceRequest("ecd", "2020-09-30", "RemoveFilePermission") { + setMethod(HttpRequest::Method::Post); +} + +RemoveFilePermissionRequest::~RemoveFilePermissionRequest() {} + +std::vector RemoveFilePermissionRequest::getMemberList() const { + return memberList_; +} + +void RemoveFilePermissionRequest::setMemberList(const std::vector &memberList) { + memberList_ = memberList; + for(int dep1 = 0; dep1 != memberList.size(); dep1++) { + setParameter(std::string("MemberList") + "." + std::to_string(dep1 + 1) + ".RoleId", memberList[dep1].roleId); + setParameter(std::string("MemberList") + "." + std::to_string(dep1 + 1) + ".CdsIdentity.Id", memberList[dep1].cdsIdentity.id); + setParameter(std::string("MemberList") + "." + std::to_string(dep1 + 1) + ".CdsIdentity.Type", memberList[dep1].cdsIdentity.type); + } +} + +std::string RemoveFilePermissionRequest::getCdsId() const { + return cdsId_; +} + +void RemoveFilePermissionRequest::setCdsId(const std::string &cdsId) { + cdsId_ = cdsId; + setParameter(std::string("CdsId"), cdsId); +} + +std::string RemoveFilePermissionRequest::getRegionId() const { + return regionId_; +} + +void RemoveFilePermissionRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::string RemoveFilePermissionRequest::getEndUserId() const { + return endUserId_; +} + +void RemoveFilePermissionRequest::setEndUserId(const std::string &endUserId) { + endUserId_ = endUserId; + setParameter(std::string("EndUserId"), endUserId); +} + +std::string RemoveFilePermissionRequest::getFileId() const { + return fileId_; +} + +void RemoveFilePermissionRequest::setFileId(const std::string &fileId) { + fileId_ = fileId; + setParameter(std::string("FileId"), fileId); +} + diff --git a/ecd/src/model/RemoveFilePermissionResult.cc b/ecd/src/model/RemoveFilePermissionResult.cc new file mode 100644 index 000000000..b6b2e7f04 --- /dev/null +++ b/ecd/src/model/RemoveFilePermissionResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +RemoveFilePermissionResult::RemoveFilePermissionResult() : + ServiceResult() +{} + +RemoveFilePermissionResult::RemoveFilePermissionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RemoveFilePermissionResult::~RemoveFilePermissionResult() +{} + +void RemoveFilePermissionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/ecd/src/model/SetDesktopGroupScaleTimerRequest.cc b/ecd/src/model/SetDesktopGroupScaleTimerRequest.cc new file mode 100644 index 000000000..2b3b97b00 --- /dev/null +++ b/ecd/src/model/SetDesktopGroupScaleTimerRequest.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ecd::Model::SetDesktopGroupScaleTimerRequest; + +SetDesktopGroupScaleTimerRequest::SetDesktopGroupScaleTimerRequest() + : RpcServiceRequest("ecd", "2020-09-30", "SetDesktopGroupScaleTimer") { + setMethod(HttpRequest::Method::Post); +} + +SetDesktopGroupScaleTimerRequest::~SetDesktopGroupScaleTimerRequest() {} + +std::string SetDesktopGroupScaleTimerRequest::getDesktopGroupId() const { + return desktopGroupId_; +} + +void SetDesktopGroupScaleTimerRequest::setDesktopGroupId(const std::string &desktopGroupId) { + desktopGroupId_ = desktopGroupId; + setParameter(std::string("DesktopGroupId"), desktopGroupId); +} + +std::vector SetDesktopGroupScaleTimerRequest::getScaleTimerInfos() const { + return scaleTimerInfos_; +} + +void SetDesktopGroupScaleTimerRequest::setScaleTimerInfos(const std::vector &scaleTimerInfos) { + scaleTimerInfos_ = scaleTimerInfos; + for(int dep1 = 0; dep1 != scaleTimerInfos.size(); dep1++) { + auto scaleTimerInfosObj = scaleTimerInfos.at(dep1); + std::string scaleTimerInfosObjStr = std::string("ScaleTimerInfos") + "." + std::to_string(dep1 + 1); + setParameter(scaleTimerInfosObjStr + ".KeepDuration", std::to_string(scaleTimerInfosObj.keepDuration)); + setParameter(scaleTimerInfosObjStr + ".MinResAmount", std::to_string(scaleTimerInfosObj.minResAmount)); + setParameter(scaleTimerInfosObjStr + ".Cron", scaleTimerInfosObj.cron); + setParameter(scaleTimerInfosObjStr + ".BuyResAmount", std::to_string(scaleTimerInfosObj.buyResAmount)); + setParameter(scaleTimerInfosObjStr + ".MaxResAmount", std::to_string(scaleTimerInfosObj.maxResAmount)); + setParameter(scaleTimerInfosObjStr + ".Type", scaleTimerInfosObj.type); + setParameter(scaleTimerInfosObjStr + ".LoadPolicy", std::to_string(scaleTimerInfosObj.loadPolicy)); + setParameter(scaleTimerInfosObjStr + ".RatioThreshold", std::to_string(scaleTimerInfosObj.ratioThreshold)); + } +} + +std::string SetDesktopGroupScaleTimerRequest::getRegionId() const { + return regionId_; +} + +void SetDesktopGroupScaleTimerRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + diff --git a/ecd/src/model/SetDesktopGroupScaleTimerResult.cc b/ecd/src/model/SetDesktopGroupScaleTimerResult.cc new file mode 100644 index 000000000..c7ae4c6e5 --- /dev/null +++ b/ecd/src/model/SetDesktopGroupScaleTimerResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +SetDesktopGroupScaleTimerResult::SetDesktopGroupScaleTimerResult() : + ServiceResult() +{} + +SetDesktopGroupScaleTimerResult::SetDesktopGroupScaleTimerResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetDesktopGroupScaleTimerResult::~SetDesktopGroupScaleTimerResult() +{} + +void SetDesktopGroupScaleTimerResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/ecd/src/model/SetDesktopGroupTimerResult.cc b/ecd/src/model/SetDesktopGroupTimerResult.cc index 41290660c..ce8756e33 100644 --- a/ecd/src/model/SetDesktopGroupTimerResult.cc +++ b/ecd/src/model/SetDesktopGroupTimerResult.cc @@ -39,21 +39,6 @@ void SetDesktopGroupTimerResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - auto allOrderIds = value["OrderIds"]["OrderId"]; - for (const auto &item : allOrderIds) - orderIds_.push_back(item.asString()); - if(!value["DesktopGroupId"].isNull()) - desktopGroupId_ = value["DesktopGroupId"].asString(); } -std::string SetDesktopGroupTimerResult::getDesktopGroupId()const -{ - return desktopGroupId_; -} - -std::vector SetDesktopGroupTimerResult::getOrderIds()const -{ - return orderIds_; -} - diff --git a/ecd/src/model/SetDesktopGroupTimerStatusResult.cc b/ecd/src/model/SetDesktopGroupTimerStatusResult.cc index b25a604dd..b354781e9 100644 --- a/ecd/src/model/SetDesktopGroupTimerStatusResult.cc +++ b/ecd/src/model/SetDesktopGroupTimerStatusResult.cc @@ -39,21 +39,6 @@ void SetDesktopGroupTimerStatusResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - auto allOrderIds = value["OrderIds"]["OrderId"]; - for (const auto &item : allOrderIds) - orderIds_.push_back(item.asString()); - if(!value["DesktopGroupId"].isNull()) - desktopGroupId_ = value["DesktopGroupId"].asString(); } -std::string SetDesktopGroupTimerStatusResult::getDesktopGroupId()const -{ - return desktopGroupId_; -} - -std::vector SetDesktopGroupTimerStatusResult::getOrderIds()const -{ - return orderIds_; -} - diff --git a/ecd/src/model/SetDirectorySsoStatusRequest.cc b/ecd/src/model/SetDirectorySsoStatusRequest.cc new file mode 100644 index 000000000..282e3706c --- /dev/null +++ b/ecd/src/model/SetDirectorySsoStatusRequest.cc @@ -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 + +using AlibabaCloud::Ecd::Model::SetDirectorySsoStatusRequest; + +SetDirectorySsoStatusRequest::SetDirectorySsoStatusRequest() + : RpcServiceRequest("ecd", "2020-09-30", "SetDirectorySsoStatus") { + setMethod(HttpRequest::Method::Post); +} + +SetDirectorySsoStatusRequest::~SetDirectorySsoStatusRequest() {} + +std::string SetDirectorySsoStatusRequest::getRegionId() const { + return regionId_; +} + +void SetDirectorySsoStatusRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +bool SetDirectorySsoStatusRequest::getEnableSso() const { + return enableSso_; +} + +void SetDirectorySsoStatusRequest::setEnableSso(bool enableSso) { + enableSso_ = enableSso; + setParameter(std::string("EnableSso"), enableSso ? "true" : "false"); +} + +std::string SetDirectorySsoStatusRequest::getDirectoryId() const { + return directoryId_; +} + +void SetDirectorySsoStatusRequest::setDirectoryId(const std::string &directoryId) { + directoryId_ = directoryId; + setParameter(std::string("DirectoryId"), directoryId); +} + diff --git a/ecd/src/model/SetDirectorySsoStatusResult.cc b/ecd/src/model/SetDirectorySsoStatusResult.cc new file mode 100644 index 000000000..de7aaf39d --- /dev/null +++ b/ecd/src/model/SetDirectorySsoStatusResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +SetDirectorySsoStatusResult::SetDirectorySsoStatusResult() : + ServiceResult() +{} + +SetDirectorySsoStatusResult::SetDirectorySsoStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetDirectorySsoStatusResult::~SetDirectorySsoStatusResult() +{} + +void SetDirectorySsoStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/ecd/src/model/SetUserProfilePathRulesRequest.cc b/ecd/src/model/SetUserProfilePathRulesRequest.cc new file mode 100644 index 000000000..215c8563d --- /dev/null +++ b/ecd/src/model/SetUserProfilePathRulesRequest.cc @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Ecd::Model::SetUserProfilePathRulesRequest; + +SetUserProfilePathRulesRequest::SetUserProfilePathRulesRequest() + : RpcServiceRequest("ecd", "2020-09-30", "SetUserProfilePathRules") { + setMethod(HttpRequest::Method::Post); +} + +SetUserProfilePathRulesRequest::~SetUserProfilePathRulesRequest() {} + +std::string SetUserProfilePathRulesRequest::getUserProfileRuleType() const { + return userProfileRuleType_; +} + +void SetUserProfilePathRulesRequest::setUserProfileRuleType(const std::string &userProfileRuleType) { + userProfileRuleType_ = userProfileRuleType; + setParameter(std::string("UserProfileRuleType"), userProfileRuleType); +} + +std::string SetUserProfilePathRulesRequest::getDesktopGroupId() const { + return desktopGroupId_; +} + +void SetUserProfilePathRulesRequest::setDesktopGroupId(const std::string &desktopGroupId) { + desktopGroupId_ = desktopGroupId; + setParameter(std::string("DesktopGroupId"), desktopGroupId); +} + +std::string SetUserProfilePathRulesRequest::getRegionId() const { + return regionId_; +} + +void SetUserProfilePathRulesRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); +} + +std::vector SetUserProfilePathRulesRequest::getUserProfilePathRule() const { + return userProfilePathRule_; +} + +void SetUserProfilePathRulesRequest::setUserProfilePathRule(const std::vector &userProfilePathRule) { + userProfilePathRule_ = userProfilePathRule; + for(int dep1 = 0; dep1 != userProfilePathRule.size(); dep1++) { + setParameter(std::string("UserProfilePathRule") + "." + std::to_string(dep1 + 1) + ".BlackPath.Path", userProfilePathRule[dep1].blackPath.path); + setParameter(std::string("UserProfilePathRule") + "." + std::to_string(dep1 + 1) + ".BlackPath.Type", userProfilePathRule[dep1].blackPath.type); + for(int dep2 = 0; dep2 != userProfilePathRule[dep1].whitePaths.size(); dep2++) { + setParameter(std::string("UserProfilePathRule") + "." + std::to_string(dep1 + 1) + ".WhitePaths." + std::to_string(dep2 + 1) + ".Path", userProfilePathRule[dep1].whitePaths[dep2].path); + setParameter(std::string("UserProfilePathRule") + "." + std::to_string(dep1 + 1) + ".WhitePaths." + std::to_string(dep2 + 1) + ".Type", userProfilePathRule[dep1].whitePaths[dep2].type); + } + } +} + diff --git a/ecd/src/model/SetUserProfilePathRulesResult.cc b/ecd/src/model/SetUserProfilePathRulesResult.cc new file mode 100644 index 000000000..281fd6fdd --- /dev/null +++ b/ecd/src/model/SetUserProfilePathRulesResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +SetUserProfilePathRulesResult::SetUserProfilePathRulesResult() : + ServiceResult() +{} + +SetUserProfilePathRulesResult::SetUserProfilePathRulesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetUserProfilePathRulesResult::~SetUserProfilePathRulesResult() +{} + +void SetUserProfilePathRulesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/ecd/src/model/DeleteDriveRequest.cc b/ecd/src/model/WakeupDesktopsRequest.cc similarity index 54% rename from ecd/src/model/DeleteDriveRequest.cc rename to ecd/src/model/WakeupDesktopsRequest.cc index f3207521c..49dae0057 100644 --- a/ecd/src/model/DeleteDriveRequest.cc +++ b/ecd/src/model/WakeupDesktopsRequest.cc @@ -14,32 +14,31 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Ecd::Model::DeleteDriveRequest; +using AlibabaCloud::Ecd::Model::WakeupDesktopsRequest; -DeleteDriveRequest::DeleteDriveRequest() - : RpcServiceRequest("ecd", "2020-09-30", "DeleteDrive") { +WakeupDesktopsRequest::WakeupDesktopsRequest() + : RpcServiceRequest("ecd", "2020-09-30", "WakeupDesktops") { setMethod(HttpRequest::Method::Post); } -DeleteDriveRequest::~DeleteDriveRequest() {} +WakeupDesktopsRequest::~WakeupDesktopsRequest() {} -std::string DeleteDriveRequest::getDriveId() const { - return driveId_; -} - -void DeleteDriveRequest::setDriveId(const std::string &driveId) { - driveId_ = driveId; - setParameter(std::string("DriveId"), driveId); -} - -std::string DeleteDriveRequest::getRegionId() const { +std::string WakeupDesktopsRequest::getRegionId() const { return regionId_; } -void DeleteDriveRequest::setRegionId(const std::string ®ionId) { +void WakeupDesktopsRequest::setRegionId(const std::string ®ionId) { regionId_ = regionId; setParameter(std::string("RegionId"), regionId); } +std::vector WakeupDesktopsRequest::getDesktopId() const { + return desktopId_; +} + +void WakeupDesktopsRequest::setDesktopId(const std::vector &desktopId) { + desktopId_ = desktopId; +} + diff --git a/ecd/src/model/WakeupDesktopsResult.cc b/ecd/src/model/WakeupDesktopsResult.cc new file mode 100644 index 000000000..79508347b --- /dev/null +++ b/ecd/src/model/WakeupDesktopsResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Ecd; +using namespace AlibabaCloud::Ecd::Model; + +WakeupDesktopsResult::WakeupDesktopsResult() : + ServiceResult() +{} + +WakeupDesktopsResult::WakeupDesktopsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +WakeupDesktopsResult::~WakeupDesktopsResult() +{} + +void WakeupDesktopsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} +