From be3de6fa816e88f84d29b8196c3bee97bca17337 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Mon, 17 May 2021 03:43:16 +0000 Subject: [PATCH] Support DescribeInstallCaptcha API. --- CHANGELOG | 3 + VERSION | 2 +- sas/CMakeLists.txt | 352 +- sas/include/alibabacloud/sas/SasClient.h | 704 +++- .../sas/model/AddVpcHoneyPotRequest.h | 54 + .../sas/model/AddVpcHoneyPotResult.h | 49 + .../sas/model/CheckQuaraFileIdRequest.h | 54 + .../sas/model/CheckQuaraFileIdResult.h | 51 + .../sas/model/CheckSecurityEventIdRequest.h | 54 + .../sas/model/CheckSecurityEventIdResult.h | 51 + .../sas/model/CreateBackupPolicyRequest.h | 66 + .../sas/model/CreateBackupPolicyResult.h | 49 + .../model/CreateOrUpdateAssetGroupResult.h | 2 + .../sas/model/CreateRestoreJobRequest.h | 75 + .../sas/model/CreateRestoreJobResult.h | 49 + .../sas/model/CreateSasOrderRequest.h | 90 + .../sas/model/CreateSasOrderResult.h | 51 + .../model/CreateServiceLinkedRoleRequest.h | 48 + .../sas/model/CreateServiceLinkedRoleResult.h | 49 + .../model/DeleteBackupPolicyMachineRequest.h | 63 + .../model/DeleteBackupPolicyMachineResult.h | 49 + .../sas/model/DeleteBackupPolicyRequest.h | 57 + .../sas/model/DeleteBackupPolicyResult.h | 49 + .../sas/model/DeleteVpcHoneyPotRequest.h | 51 + .../sas/model/DeleteVpcHoneyPotResult.h | 49 + .../model/DescribeAccesskeyLeakListRequest.h | 63 + .../model/DescribeAccesskeyLeakListResult.h | 75 + ...scribeAffectedMaliciousFileImagesRequest.h | 87 + ...escribeAffectedMaliciousFileImagesResult.h | 79 + .../model/DescribeAlarmEventDetailResult.h | 21 +- .../sas/model/DescribeAlarmEventListRequest.h | 12 + .../sas/model/DescribeAlarmEventListResult.h | 31 +- .../DescribeAlarmEventStackInfoRequest.h | 60 + .../model/DescribeAlarmEventStackInfoResult.h | 51 + .../sas/model/DescribeAllEntityResult.h | 1 + .../DescribeAntiBruteForceRulesRequest.h | 51 + .../model/DescribeAntiBruteForceRulesResult.h | 72 + .../model/DescribeAssetDetailByUuidResult.h | 8 +- .../model/DescribeAssetDetailByUuidsResult.h | 5 +- .../sas/model/DescribeBackupDirsRequest.h | 63 + .../sas/model/DescribeBackupDirsResult.h | 65 + .../sas/model/DescribeBackupFilesRequest.h | 66 + ...tyResult.h => DescribeBackupFilesResult.h} | 48 +- .../DescribeBackupMachineStatusRequest.h | 60 + .../model/DescribeBackupMachineStatusResult.h | 80 + .../sas/model/DescribeBackupPoliciesRequest.h | 63 + .../sas/model/DescribeBackupPoliciesResult.h | 76 + .../sas/model/DescribeBackupPolicyRequest.h | 57 + .../sas/model/DescribeBackupPolicyResult.h | 60 + .../model/DescribeBackupRestoreCountRequest.h | 51 + .../model/DescribeBackupRestoreCountResult.h | 56 + .../model/DescribeBruteForceSummaryRequest.h | 51 + .../model/DescribeBruteForceSummaryResult.h | 56 + .../model/DescribeCheckEcsWarningsRequest.h | 48 + .../model/DescribeCheckEcsWarningsResult.h | 55 + .../DescribeCloudCenterInstancesRequest.h | 6 + .../DescribeCloudCenterInstancesResult.h | 9 + .../DescribeContainerStatisticsRequest.h | 51 + .../model/DescribeContainerStatisticsResult.h | 60 + .../sas/model/DescribeDomainCountResult.h | 2 + .../sas/model/DescribeDomainDetailResult.h | 4 + .../sas/model/DescribeEmgVulItemRequest.h | 66 + ...oupResult.h => DescribeEmgVulItemResult.h} | 24 +- .../model/DescribeExcludeSystemPathRequest.h | 57 + .../model/DescribeExcludeSystemPathResult.h | 66 + .../DescribeExposedInstanceCriteriaRequest.h | 51 + .../DescribeExposedInstanceCriteriaResult.h | 57 + .../DescribeExposedInstanceDetailRequest.h | 51 + .../DescribeExposedInstanceDetailResult.h | 84 + .../DescribeExposedInstanceListRequest.h | 78 + .../model/DescribeExposedInstanceListResult.h | 81 + .../DescribeExposedStatisticsDetailRequest.h | 63 + .../DescribeExposedStatisticsDetailResult.h | 71 + .../model/DescribeExposedStatisticsRequest.h | 48 + .../model/DescribeExposedStatisticsResult.h | 67 + .../model/DescribeFieldStatisticsRequest.h | 3 + .../sas/model/DescribeFieldStatisticsResult.h | 10 +- .../model/DescribeFrontVulPatchListRequest.h | 57 + .../model/DescribeFrontVulPatchListResult.h | 61 + ...DescribeGroupedContainerInstancesRequest.h | 66 + .../DescribeGroupedContainerInstancesResult.h | 81 + .../model/DescribeGroupedInstancesRequest.h | 72 + .../model/DescribeGroupedInstancesResult.h | 71 + .../DescribeGroupedMaliciousFilesRequest.h | 90 + .../DescribeGroupedMaliciousFilesResult.h | 70 + .../sas/model/DescribeGroupedVulRequest.h | 15 + .../sas/model/DescribeGroupedVulResult.h | 1 + .../sas/model/DescribeHoneyPotAuthRequest.h | 48 + .../sas/model/DescribeHoneyPotAuthResult.h | 53 + .../DescribeHoneyPotSuspStatisticsRequest.h | 57 + .../DescribeHoneyPotSuspStatisticsResult.h | 60 + .../DescribeImageGroupedVulListRequest.h | 138 + .../model/DescribeImageGroupedVulListResult.h | 70 + .../model/DescribeImageStatisticsRequest.h | 48 + .../sas/model/DescribeImageStatisticsResult.h | 53 + .../sas/model/DescribeImageVulListRequest.h | 147 + .../sas/model/DescribeImageVulListResult.h | 95 + .../sas/model/DescribeInstallCaptchaRequest.h | 54 + .../sas/model/DescribeInstallCaptchaResult.h | 53 + ...scribeInstanceAntiBruteForceRulesRequest.h | 54 + ...escribeInstanceAntiBruteForceRulesResult.h | 66 + .../model/DescribeInstanceStatisticsResult.h | 1 + ...est.h => DescribeLogstoreStorageRequest.h} | 18 +- .../sas/model/DescribeLogstoreStorageResult.h | 57 + .../sas/model/DescribePropertyCountResult.h | 4 + .../model/DescribePropertyCronDetailRequest.h | 66 + .../model/DescribePropertyCronDetailResult.h | 76 + .../model/DescribePropertyScaDetailRequest.h | 84 + .../model/DescribePropertyScaDetailResult.h | 91 + .../model/DescribePropertyUserDetailResult.h | 1 + .../DescribeQuaraFileDownloadInfoRequest.h | 54 + .../DescribeQuaraFileDownloadInfoResult.h | 61 + .../sas/model/DescribeRestoreJobsRequest.h | 63 + .../sas/model/DescribeRestoreJobsResult.h | 106 + .../model/DescribeRiskCheckResultRequest.h | 3 + .../DescribeRiskListCheckResultRequest.h | 63 + .../model/DescribeRiskListCheckResultResult.h | 56 + .../model/DescribeScanTaskProgressRequest.h | 51 + .../model/DescribeScanTaskProgressResult.h | 53 + ...cribeSecurityEventOperationStatusRequest.h | 57 + ...scribeSecurityEventOperationStatusResult.h | 62 + .../DescribeSecurityEventOperationsRequest.h | 3 + .../DescribeSecurityEventOperationsResult.h | 17 + .../model/DescribeSecurityStatInfoResult.h | 9 +- .../DescribeServiceLinkedRoleStatusRequest.h | 48 + .../DescribeServiceLinkedRoleStatusResult.h | 55 + .../DescribeSimilarEventScenariosRequest.h | 54 + .../DescribeSimilarEventScenariosResult.h | 55 + .../sas/model/DescribeSnapshotsRequest.h | 75 + .../sas/model/DescribeSnapshotsResult.h | 110 + .../sas/model/DescribeSupportRegionRequest.h | 51 + .../sas/model/DescribeSupportRegionResult.h | 51 + .../DescribeSuspEventQuaraFilesRequest.h | 66 + .../model/DescribeSuspEventQuaraFilesResult.h | 76 + .../sas/model/DescribeSuspEventsRequest.h | 30 + .../sas/model/DescribeSuspEventsResult.h | 51 +- .../model/DescribeUserBackupMachinesRequest.h | 57 + .../model/DescribeUserBackupMachinesResult.h | 57 + .../model/DescribeUuidsByVulNamesRequest.h | 93 + .../sas/model/DescribeUuidsByVulNamesResult.h | 60 + .../sas/model/DescribeVersionConfigRequest.h | 51 + .../sas/model/DescribeVersionConfigResult.h | 99 + .../DescribeVpcHoneyPotCriteriaRequest.h | 48 + .../model/DescribeVpcHoneyPotCriteriaResult.h | 57 + .../model/DescribeVpcHoneyPotListRequest.h | 66 + .../sas/model/DescribeVpcHoneyPotListResult.h | 81 + .../sas/model/DescribeVulListRequest.h | 81 +- .../sas/model/DescribeVulListResult.h | 12 +- .../sas/model/DescribeWarningMachinesResult.h | 4 +- .../model/DescribeWebLockBindListRequest.h | 63 + .../sas/model/DescribeWebLockBindListResult.h | 73 + .../model/DescribeWebLockConfigListRequest.h | 54 + .../model/DescribeWebLockConfigListResult.h | 67 + .../sas/model/GetBackupStorageCountRequest.h | 51 + .../sas/model/GetBackupStorageCountResult.h | 57 + .../model/GetSuspiciousStatisticsRequest.h | 51 + .../sas/model/GetSuspiciousStatisticsResult.h | 59 + .../sas/model/GetVulStatisticsRequest.h | 54 + .../sas/model/GetVulStatisticsResult.h | 55 + .../sas/model/HandleSecurityEventsRequest.h | 66 + .../sas/model/HandleSecurityEventsResult.h | 55 + .../HandleSimilarSecurityEventsRequest.h | 3 + .../sas/model/IgnoreHcCheckWarningsRequest.h | 63 + .../sas/model/IgnoreHcCheckWarningsResult.h | 49 + .../sas/model/InstallBackupClientRequest.h | 60 + .../sas/model/InstallBackupClientResult.h | 49 + .../sas/model/ModifyAssetGroupRequest.h | 54 + .../sas/model/ModifyAssetGroupResult.h | 49 + .../sas/model/ModifyBackupPolicyRequest.h | 66 + .../sas/model/ModifyBackupPolicyResult.h | 49 + .../model/ModifyBackupPolicyStatusRequest.h | 60 + .../model/ModifyBackupPolicyStatusResult.h | 49 + .../ModifyInstanceAntiBruteForceRuleRequest.h | 57 + .../ModifyInstanceAntiBruteForceRuleResult.h | 49 + .../sas/model/ModifyOpenLogShipperRequest.h | 51 + .../sas/model/ModifyOpenLogShipperResult.h | 49 + .../sas/model/ModifyOperateVulRequest.h | 6 +- .../sas/model/ModifyVpcHoneyPotRequest.h | 54 + .../sas/model/ModifyVpcHoneyPotResult.h | 49 + .../model/ModifyWebLockCreateConfigRequest.h | 81 + .../model/ModifyWebLockCreateConfigResult.h | 49 + .../model/ModifyWebLockDeleteConfigRequest.h | 57 + .../model/ModifyWebLockDeleteConfigResult.h | 49 + .../sas/model/ModifyWebLockStartRequest.h | 75 + .../sas/model/ModifyWebLockStartResult.h | 49 + .../sas/model/ModifyWebLockStatusRequest.h | 57 + .../sas/model/ModifyWebLockStatusResult.h | 49 + ...Request.h => ModifyWebLockUnbindRequest.h} | 18 +- .../sas/model/ModifyWebLockUnbindResult.h | 49 + .../model/ModifyWebLockUpdateConfigRequest.h | 84 + .../model/ModifyWebLockUpdateConfigResult.h | 49 + .../sas/model/OperateVulsRequest.h | 66 + .../sas/model/OperateVulsResult.h | 49 + .../sas/model/RefreshContainerAssetsRequest.h | 51 + .../sas/model/RefreshContainerAssetsResult.h | 49 + .../model/RollbackSuspEventQuaraFileRequest.h | 54 + .../model/RollbackSuspEventQuaraFileResult.h | 49 + .../sas/model/StartImageVulScanRequest.h | 78 + .../sas/model/StartImageVulScanResult.h | 49 + .../sas/model/StartVirusScanTaskRequest.h | 51 + .../sas/model/StartVirusScanTaskResult.h | 51 + .../sas/model/UnbindAegisRequest.h | 51 + .../sas/model/UnbindAegisResult.h | 49 + .../sas/model/UninstallBackupClientRequest.h | 60 + .../sas/model/UninstallBackupClientResult.h | 49 + sas/src/SasClient.cc | 3114 ++++++++++++++++- sas/src/model/AddVpcHoneyPotRequest.cc | 62 + sas/src/model/AddVpcHoneyPotResult.cc | 44 + sas/src/model/CheckQuaraFileIdRequest.cc | 64 + sas/src/model/CheckQuaraFileIdResult.cc | 51 + sas/src/model/CheckSecurityEventIdRequest.cc | 64 + sas/src/model/CheckSecurityEventIdResult.cc | 51 + sas/src/model/CreateBackupPolicyRequest.cc | 108 + sas/src/model/CreateBackupPolicyResult.cc | 44 + .../model/CreateOrUpdateAssetGroupResult.cc | 7 + sas/src/model/CreateRestoreJobRequest.cc | 139 + sas/src/model/CreateRestoreJobResult.cc | 44 + sas/src/model/CreateSasOrderRequest.cc | 194 + sas/src/model/CreateSasOrderResult.cc | 51 + .../model/CreateServiceLinkedRoleRequest.cc | 40 + .../model/CreateServiceLinkedRoleResult.cc | 44 + .../model/DeleteBackupPolicyMachineRequest.cc | 97 + .../model/DeleteBackupPolicyMachineResult.cc | 44 + sas/src/model/DeleteBackupPolicyRequest.cc | 73 + sas/src/model/DeleteBackupPolicyResult.cc | 44 + sas/src/model/DeleteVpcHoneyPotRequest.cc | 51 + sas/src/model/DeleteVpcHoneyPotResult.cc | 44 + .../model/DescribeAccesskeyLeakListRequest.cc | 95 + .../model/DescribeAccesskeyLeakListResult.cc | 112 + ...cribeAffectedMaliciousFileImagesRequest.cc | 185 + ...scribeAffectedMaliciousFileImagesResult.cc | 101 + .../model/DescribeAlarmEventDetailResult.cc | 38 +- .../model/DescribeAlarmEventListRequest.cc | 44 + sas/src/model/DescribeAlarmEventListResult.cc | 26 + .../DescribeAlarmEventStackInfoRequest.cc | 84 + .../DescribeAlarmEventStackInfoResult.cc | 51 + sas/src/model/DescribeAllEntityResult.cc | 2 + .../DescribeAntiBruteForceRulesRequest.cc | 51 + .../DescribeAntiBruteForceRulesResult.cc | 88 + .../model/DescribeAssetDetailByUuidResult.cc | 12 +- .../model/DescribeAssetDetailByUuidsResult.cc | 6 +- sas/src/model/DescribeBackupDirsRequest.cc | 95 + sas/src/model/DescribeBackupDirsResult.cc | 73 + sas/src/model/DescribeBackupFilesRequest.cc | 106 + sas/src/model/DescribeBackupFilesResult.cc | 77 + .../DescribeBackupMachineStatusRequest.cc | 84 + .../DescribeBackupMachineStatusResult.cc | 100 + .../model/DescribeBackupPoliciesRequest.cc | 95 + sas/src/model/DescribeBackupPoliciesResult.cc | 99 + sas/src/model/DescribeBackupPolicyRequest.cc | 73 + sas/src/model/DescribeBackupPolicyResult.cc | 63 + .../DescribeBackupRestoreCountRequest.cc | 51 + .../model/DescribeBackupRestoreCountResult.cc | 54 + .../model/DescribeBruteForceSummaryRequest.cc | 51 + .../model/DescribeBruteForceSummaryResult.cc | 54 + .../model/DescribeCheckEcsWarningsRequest.cc | 40 + .../model/DescribeCheckEcsWarningsResult.cc | 65 + .../DescribeCloudCenterInstancesRequest.cc | 22 + .../DescribeCloudCenterInstancesResult.cc | 18 + .../DescribeContainerStatisticsRequest.cc | 51 + .../DescribeContainerStatisticsResult.cc | 62 + sas/src/model/DescribeDomainCountResult.cc | 7 + sas/src/model/DescribeDomainDetailResult.cc | 14 + sas/src/model/DescribeEmgVulGroupResult.cc | 80 - sas/src/model/DescribeEmgVulItemRequest.cc | 106 + sas/src/model/DescribeEmgVulItemResult.cc | 94 + .../model/DescribeExcludeSystemPathRequest.cc | 73 + .../model/DescribeExcludeSystemPathResult.cc | 75 + .../DescribeExposedInstanceCriteriaRequest.cc | 51 + .../DescribeExposedInstanceCriteriaResult.cc | 61 + .../DescribeExposedInstanceDetailRequest.cc | 51 + .../DescribeExposedInstanceDetailResult.cc | 111 + .../DescribeExposedInstanceListRequest.cc | 150 + .../DescribeExposedInstanceListResult.cc | 105 + .../DescribeExposedStatisticsDetailRequest.cc | 95 + .../DescribeExposedStatisticsDetailResult.cc | 85 + .../model/DescribeExposedStatisticsRequest.cc | 40 + .../model/DescribeExposedStatisticsResult.cc | 107 + .../model/DescribeFieldStatisticsRequest.cc | 11 + .../model/DescribeFieldStatisticsResult.cc | 8 + .../model/DescribeFrontVulPatchListRequest.cc | 73 + .../model/DescribeFrontVulPatchListResult.cc | 67 + ...DescribeGraph4InvestigationOnlineResult.cc | 16 +- ...escribeGroupedContainerInstancesRequest.cc | 106 + ...DescribeGroupedContainerInstancesResult.cc | 105 + .../model/DescribeGroupedInstancesRequest.cc | 128 + .../model/DescribeGroupedInstancesResult.cc | 86 + .../DescribeGroupedMaliciousFilesRequest.cc | 196 ++ .../DescribeGroupedMaliciousFilesResult.cc | 83 + sas/src/model/DescribeGroupedVulRequest.cc | 55 + sas/src/model/DescribeGroupedVulResult.cc | 2 + sas/src/model/DescribeHoneyPotAuthRequest.cc | 40 + sas/src/model/DescribeHoneyPotAuthResult.cc | 58 + .../DescribeHoneyPotSuspStatisticsRequest.cc | 73 + .../DescribeHoneyPotSuspStatisticsResult.cc | 67 + .../DescribeImageGroupedVulListRequest.cc | 370 ++ .../DescribeImageGroupedVulListResult.cc | 96 + .../model/DescribeImageStatisticsRequest.cc | 40 + .../model/DescribeImageStatisticsResult.cc | 58 + sas/src/model/DescribeImageVulListRequest.cc | 403 +++ sas/src/model/DescribeImageVulListResult.cc | 138 + .../model/DescribeInstallCaptchaRequest.cc | 62 + sas/src/model/DescribeInstallCaptchaResult.cc | 58 + ...cribeInstanceAntiBruteForceRulesRequest.cc | 64 + ...scribeInstanceAntiBruteForceRulesResult.cc | 75 + .../model/DescribeInstanceStatisticsResult.cc | 2 + ...t.cc => DescribeLogstoreStorageRequest.cc} | 28 +- .../model/DescribeLogstoreStorageResult.cc | 72 + sas/src/model/DescribeModuleConfigResult.cc | 28 +- sas/src/model/DescribePropertyCountResult.cc | 14 + .../DescribePropertyCronDetailRequest.cc | 106 + .../model/DescribePropertyCronDetailResult.cc | 95 + .../model/DescribePropertyScaDetailRequest.cc | 172 + .../model/DescribePropertyScaDetailResult.cc | 125 + .../model/DescribePropertyUserDetailResult.cc | 2 + .../DescribeQuaraFileDownloadInfoRequest.cc | 62 + .../DescribeQuaraFileDownloadInfoResult.cc | 86 + sas/src/model/DescribeRestoreJobsRequest.cc | 95 + sas/src/model/DescribeRestoreJobsResult.cc | 155 + .../model/DescribeRiskCheckResultRequest.cc | 11 + .../model/DescribeRiskCheckResultResult.cc | 12 +- .../model/DescribeRiskCheckSummaryResult.cc | 12 +- .../DescribeRiskListCheckResultRequest.cc | 97 + .../DescribeRiskListCheckResultResult.cc | 59 + .../model/DescribeScanTaskProgressRequest.cc | 51 + .../model/DescribeScanTaskProgressResult.cc | 58 + .../model/DescribeSecureSuggestionResult.cc | 16 +- ...ribeSecurityEventOperationStatusRequest.cc | 75 + ...cribeSecurityEventOperationStatusResult.cc | 64 + .../DescribeSecurityEventOperationsRequest.cc | 11 + .../DescribeSecurityEventOperationsResult.cc | 32 + .../model/DescribeSecurityStatInfoResult.cc | 27 +- .../DescribeServiceLinkedRoleStatusRequest.cc | 40 + .../DescribeServiceLinkedRoleStatusResult.cc | 52 + .../DescribeSimilarEventScenariosRequest.cc | 62 + .../DescribeSimilarEventScenariosResult.cc | 57 + sas/src/model/DescribeSnapshotsRequest.cc | 139 + sas/src/model/DescribeSnapshotsResult.cc | 164 + sas/src/model/DescribeStratetyResult.cc | 87 - sas/src/model/DescribeSupportRegionRequest.cc | 51 + sas/src/model/DescribeSupportRegionResult.cc | 52 + .../DescribeSuspEventQuaraFilesRequest.cc | 106 + .../DescribeSuspEventQuaraFilesResult.cc | 111 + sas/src/model/DescribeSuspEventsRequest.cc | 112 + sas/src/model/DescribeSuspEventsResult.cc | 78 + .../DescribeUserBackupMachinesRequest.cc | 73 + .../model/DescribeUserBackupMachinesResult.cc | 61 + .../model/DescribeUuidsByVulNamesRequest.cc | 207 ++ .../model/DescribeUuidsByVulNamesResult.cc | 67 + sas/src/model/DescribeVersionConfigRequest.cc | 51 + sas/src/model/DescribeVersionConfigResult.cc | 219 ++ .../DescribeVpcHoneyPotCriteriaRequest.cc | 40 + .../DescribeVpcHoneyPotCriteriaResult.cc | 61 + .../model/DescribeVpcHoneyPotListRequest.cc | 106 + .../model/DescribeVpcHoneyPotListResult.cc | 103 + sas/src/model/DescribeVulDetailsResult.cc | 16 +- sas/src/model/DescribeVulListRequest.cc | 225 +- sas/src/model/DescribeVulListResult.cc | 38 +- .../model/DescribeWarningMachinesResult.cc | 8 +- .../model/DescribeWebLockBindListRequest.cc | 95 + .../model/DescribeWebLockBindListResult.cc | 102 + .../model/DescribeWebLockConfigListRequest.cc | 62 + .../model/DescribeWebLockConfigListResult.cc | 84 + sas/src/model/GetBackupStorageCountRequest.cc | 51 + sas/src/model/GetBackupStorageCountResult.cc | 56 + .../model/GetSuspiciousStatisticsRequest.cc | 51 + .../model/GetSuspiciousStatisticsResult.cc | 79 + sas/src/model/GetVulStatisticsRequest.cc | 62 + sas/src/model/GetVulStatisticsResult.cc | 65 + sas/src/model/HandleSecurityEventsRequest.cc | 108 + sas/src/model/HandleSecurityEventsResult.cc | 52 + .../HandleSimilarSecurityEventsRequest.cc | 11 + sas/src/model/IgnoreHcCheckWarningsRequest.cc | 95 + sas/src/model/IgnoreHcCheckWarningsResult.cc | 44 + sas/src/model/InstallBackupClientRequest.cc | 86 + sas/src/model/InstallBackupClientResult.cc | 44 + sas/src/model/ModifyAssetGroupRequest.cc | 62 + sas/src/model/ModifyAssetGroupResult.cc | 44 + sas/src/model/ModifyBackupPolicyRequest.cc | 108 + sas/src/model/ModifyBackupPolicyResult.cc | 44 + .../model/ModifyBackupPolicyStatusRequest.cc | 84 + .../model/ModifyBackupPolicyStatusResult.cc | 44 + ...ModifyInstanceAntiBruteForceRuleRequest.cc | 73 + .../ModifyInstanceAntiBruteForceRuleResult.cc | 44 + sas/src/model/ModifyOpenLogShipperRequest.cc | 51 + sas/src/model/ModifyOpenLogShipperResult.cc | 44 + sas/src/model/ModifyOperateVulRequest.cc | 22 +- sas/src/model/ModifyVpcHoneyPotRequest.cc | 62 + sas/src/model/ModifyVpcHoneyPotResult.cc | 44 + .../model/ModifyWebLockCreateConfigRequest.cc | 161 + .../model/ModifyWebLockCreateConfigResult.cc | 44 + .../model/ModifyWebLockDeleteConfigRequest.cc | 73 + .../model/ModifyWebLockDeleteConfigResult.cc | 44 + sas/src/model/ModifyWebLockStartRequest.cc | 139 + sas/src/model/ModifyWebLockStartResult.cc | 44 + sas/src/model/ModifyWebLockStatusRequest.cc | 73 + sas/src/model/ModifyWebLockStatusResult.cc | 44 + ...quest.cc => ModifyWebLockUnbindRequest.cc} | 36 +- sas/src/model/ModifyWebLockUnbindResult.cc | 44 + .../model/ModifyWebLockUpdateConfigRequest.cc | 172 + .../model/ModifyWebLockUpdateConfigResult.cc | 44 + sas/src/model/OperateVulsRequest.cc | 110 + sas/src/model/OperateVulsResult.cc | 44 + .../model/RefreshContainerAssetsRequest.cc | 51 + sas/src/model/RefreshContainerAssetsResult.cc | 44 + .../RollbackSuspEventQuaraFileRequest.cc | 62 + .../model/RollbackSuspEventQuaraFileResult.cc | 44 + sas/src/model/StartImageVulScanRequest.cc | 152 + sas/src/model/StartImageVulScanResult.cc | 44 + sas/src/model/StartVirusScanTaskRequest.cc | 51 + sas/src/model/StartVirusScanTaskResult.cc | 51 + sas/src/model/UnbindAegisRequest.cc | 51 + sas/src/model/UnbindAegisResult.cc | 44 + sas/src/model/UninstallBackupClientRequest.cc | 86 + sas/src/model/UninstallBackupClientResult.cc | 44 + 415 files changed, 29534 insertions(+), 501 deletions(-) create mode 100644 sas/include/alibabacloud/sas/model/AddVpcHoneyPotRequest.h create mode 100644 sas/include/alibabacloud/sas/model/AddVpcHoneyPotResult.h create mode 100644 sas/include/alibabacloud/sas/model/CheckQuaraFileIdRequest.h create mode 100644 sas/include/alibabacloud/sas/model/CheckQuaraFileIdResult.h create mode 100644 sas/include/alibabacloud/sas/model/CheckSecurityEventIdRequest.h create mode 100644 sas/include/alibabacloud/sas/model/CheckSecurityEventIdResult.h create mode 100644 sas/include/alibabacloud/sas/model/CreateBackupPolicyRequest.h create mode 100644 sas/include/alibabacloud/sas/model/CreateBackupPolicyResult.h create mode 100644 sas/include/alibabacloud/sas/model/CreateRestoreJobRequest.h create mode 100644 sas/include/alibabacloud/sas/model/CreateRestoreJobResult.h create mode 100644 sas/include/alibabacloud/sas/model/CreateSasOrderRequest.h create mode 100644 sas/include/alibabacloud/sas/model/CreateSasOrderResult.h create mode 100644 sas/include/alibabacloud/sas/model/CreateServiceLinkedRoleRequest.h create mode 100644 sas/include/alibabacloud/sas/model/CreateServiceLinkedRoleResult.h create mode 100644 sas/include/alibabacloud/sas/model/DeleteBackupPolicyMachineRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DeleteBackupPolicyMachineResult.h create mode 100644 sas/include/alibabacloud/sas/model/DeleteBackupPolicyRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DeleteBackupPolicyResult.h create mode 100644 sas/include/alibabacloud/sas/model/DeleteVpcHoneyPotRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DeleteVpcHoneyPotResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeAccesskeyLeakListRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeAccesskeyLeakListResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeAffectedMaliciousFileImagesRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeAffectedMaliciousFileImagesResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeAlarmEventStackInfoRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeAlarmEventStackInfoResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeAntiBruteForceRulesRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeAntiBruteForceRulesResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeBackupDirsRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeBackupDirsResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeBackupFilesRequest.h rename sas/include/alibabacloud/sas/model/{DescribeStratetyResult.h => DescribeBackupFilesResult.h} (53%) create mode 100644 sas/include/alibabacloud/sas/model/DescribeBackupMachineStatusRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeBackupMachineStatusResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeBackupPoliciesRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeBackupPoliciesResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeBackupPolicyRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeBackupPolicyResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeBackupRestoreCountRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeBackupRestoreCountResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeBruteForceSummaryRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeBruteForceSummaryResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeCheckEcsWarningsRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeCheckEcsWarningsResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeContainerStatisticsRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeContainerStatisticsResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeEmgVulItemRequest.h rename sas/include/alibabacloud/sas/model/{DescribeEmgVulGroupResult.h => DescribeEmgVulItemResult.h} (65%) create mode 100644 sas/include/alibabacloud/sas/model/DescribeExcludeSystemPathRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeExcludeSystemPathResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeExposedInstanceCriteriaRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeExposedInstanceCriteriaResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeExposedInstanceDetailRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeExposedInstanceDetailResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeExposedInstanceListRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeExposedInstanceListResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeExposedStatisticsDetailRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeExposedStatisticsDetailResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeExposedStatisticsRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeExposedStatisticsResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeFrontVulPatchListRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeFrontVulPatchListResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeGroupedContainerInstancesRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeGroupedContainerInstancesResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeGroupedInstancesRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeGroupedInstancesResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeGroupedMaliciousFilesRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeGroupedMaliciousFilesResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeHoneyPotAuthRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeHoneyPotAuthResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeHoneyPotSuspStatisticsRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeHoneyPotSuspStatisticsResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeImageGroupedVulListRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeImageGroupedVulListResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeImageStatisticsRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeImageStatisticsResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeImageVulListRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeImageVulListResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeInstallCaptchaRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeInstallCaptchaResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeInstanceAntiBruteForceRulesRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeInstanceAntiBruteForceRulesResult.h rename sas/include/alibabacloud/sas/model/{DescribeStratetyRequest.h => DescribeLogstoreStorageRequest.h} (69%) create mode 100644 sas/include/alibabacloud/sas/model/DescribeLogstoreStorageResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribePropertyCronDetailRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribePropertyCronDetailResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribePropertyScaDetailRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribePropertyScaDetailResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeQuaraFileDownloadInfoRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeQuaraFileDownloadInfoResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeRestoreJobsRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeRestoreJobsResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeRiskListCheckResultRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeRiskListCheckResultResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeScanTaskProgressRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeScanTaskProgressResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeSecurityEventOperationStatusRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeSecurityEventOperationStatusResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeServiceLinkedRoleStatusRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeServiceLinkedRoleStatusResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeSimilarEventScenariosRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeSimilarEventScenariosResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeSnapshotsRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeSnapshotsResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeSupportRegionRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeSupportRegionResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeSuspEventQuaraFilesRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeSuspEventQuaraFilesResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeUserBackupMachinesRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeUserBackupMachinesResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeUuidsByVulNamesRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeUuidsByVulNamesResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeVersionConfigRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeVersionConfigResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeVpcHoneyPotCriteriaRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeVpcHoneyPotCriteriaResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeVpcHoneyPotListRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeVpcHoneyPotListResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeWebLockBindListRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeWebLockBindListResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeWebLockConfigListRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeWebLockConfigListResult.h create mode 100644 sas/include/alibabacloud/sas/model/GetBackupStorageCountRequest.h create mode 100644 sas/include/alibabacloud/sas/model/GetBackupStorageCountResult.h create mode 100644 sas/include/alibabacloud/sas/model/GetSuspiciousStatisticsRequest.h create mode 100644 sas/include/alibabacloud/sas/model/GetSuspiciousStatisticsResult.h create mode 100644 sas/include/alibabacloud/sas/model/GetVulStatisticsRequest.h create mode 100644 sas/include/alibabacloud/sas/model/GetVulStatisticsResult.h create mode 100644 sas/include/alibabacloud/sas/model/HandleSecurityEventsRequest.h create mode 100644 sas/include/alibabacloud/sas/model/HandleSecurityEventsResult.h create mode 100644 sas/include/alibabacloud/sas/model/IgnoreHcCheckWarningsRequest.h create mode 100644 sas/include/alibabacloud/sas/model/IgnoreHcCheckWarningsResult.h create mode 100644 sas/include/alibabacloud/sas/model/InstallBackupClientRequest.h create mode 100644 sas/include/alibabacloud/sas/model/InstallBackupClientResult.h create mode 100644 sas/include/alibabacloud/sas/model/ModifyAssetGroupRequest.h create mode 100644 sas/include/alibabacloud/sas/model/ModifyAssetGroupResult.h create mode 100644 sas/include/alibabacloud/sas/model/ModifyBackupPolicyRequest.h create mode 100644 sas/include/alibabacloud/sas/model/ModifyBackupPolicyResult.h create mode 100644 sas/include/alibabacloud/sas/model/ModifyBackupPolicyStatusRequest.h create mode 100644 sas/include/alibabacloud/sas/model/ModifyBackupPolicyStatusResult.h create mode 100644 sas/include/alibabacloud/sas/model/ModifyInstanceAntiBruteForceRuleRequest.h create mode 100644 sas/include/alibabacloud/sas/model/ModifyInstanceAntiBruteForceRuleResult.h create mode 100644 sas/include/alibabacloud/sas/model/ModifyOpenLogShipperRequest.h create mode 100644 sas/include/alibabacloud/sas/model/ModifyOpenLogShipperResult.h create mode 100644 sas/include/alibabacloud/sas/model/ModifyVpcHoneyPotRequest.h create mode 100644 sas/include/alibabacloud/sas/model/ModifyVpcHoneyPotResult.h create mode 100644 sas/include/alibabacloud/sas/model/ModifyWebLockCreateConfigRequest.h create mode 100644 sas/include/alibabacloud/sas/model/ModifyWebLockCreateConfigResult.h create mode 100644 sas/include/alibabacloud/sas/model/ModifyWebLockDeleteConfigRequest.h create mode 100644 sas/include/alibabacloud/sas/model/ModifyWebLockDeleteConfigResult.h create mode 100644 sas/include/alibabacloud/sas/model/ModifyWebLockStartRequest.h create mode 100644 sas/include/alibabacloud/sas/model/ModifyWebLockStartResult.h create mode 100644 sas/include/alibabacloud/sas/model/ModifyWebLockStatusRequest.h create mode 100644 sas/include/alibabacloud/sas/model/ModifyWebLockStatusResult.h rename sas/include/alibabacloud/sas/model/{DescribeEmgVulGroupRequest.h => ModifyWebLockUnbindRequest.h} (70%) create mode 100644 sas/include/alibabacloud/sas/model/ModifyWebLockUnbindResult.h create mode 100644 sas/include/alibabacloud/sas/model/ModifyWebLockUpdateConfigRequest.h create mode 100644 sas/include/alibabacloud/sas/model/ModifyWebLockUpdateConfigResult.h create mode 100644 sas/include/alibabacloud/sas/model/OperateVulsRequest.h create mode 100644 sas/include/alibabacloud/sas/model/OperateVulsResult.h create mode 100644 sas/include/alibabacloud/sas/model/RefreshContainerAssetsRequest.h create mode 100644 sas/include/alibabacloud/sas/model/RefreshContainerAssetsResult.h create mode 100644 sas/include/alibabacloud/sas/model/RollbackSuspEventQuaraFileRequest.h create mode 100644 sas/include/alibabacloud/sas/model/RollbackSuspEventQuaraFileResult.h create mode 100644 sas/include/alibabacloud/sas/model/StartImageVulScanRequest.h create mode 100644 sas/include/alibabacloud/sas/model/StartImageVulScanResult.h create mode 100644 sas/include/alibabacloud/sas/model/StartVirusScanTaskRequest.h create mode 100644 sas/include/alibabacloud/sas/model/StartVirusScanTaskResult.h create mode 100644 sas/include/alibabacloud/sas/model/UnbindAegisRequest.h create mode 100644 sas/include/alibabacloud/sas/model/UnbindAegisResult.h create mode 100644 sas/include/alibabacloud/sas/model/UninstallBackupClientRequest.h create mode 100644 sas/include/alibabacloud/sas/model/UninstallBackupClientResult.h create mode 100644 sas/src/model/AddVpcHoneyPotRequest.cc create mode 100644 sas/src/model/AddVpcHoneyPotResult.cc create mode 100644 sas/src/model/CheckQuaraFileIdRequest.cc create mode 100644 sas/src/model/CheckQuaraFileIdResult.cc create mode 100644 sas/src/model/CheckSecurityEventIdRequest.cc create mode 100644 sas/src/model/CheckSecurityEventIdResult.cc create mode 100644 sas/src/model/CreateBackupPolicyRequest.cc create mode 100644 sas/src/model/CreateBackupPolicyResult.cc create mode 100644 sas/src/model/CreateRestoreJobRequest.cc create mode 100644 sas/src/model/CreateRestoreJobResult.cc create mode 100644 sas/src/model/CreateSasOrderRequest.cc create mode 100644 sas/src/model/CreateSasOrderResult.cc create mode 100644 sas/src/model/CreateServiceLinkedRoleRequest.cc create mode 100644 sas/src/model/CreateServiceLinkedRoleResult.cc create mode 100644 sas/src/model/DeleteBackupPolicyMachineRequest.cc create mode 100644 sas/src/model/DeleteBackupPolicyMachineResult.cc create mode 100644 sas/src/model/DeleteBackupPolicyRequest.cc create mode 100644 sas/src/model/DeleteBackupPolicyResult.cc create mode 100644 sas/src/model/DeleteVpcHoneyPotRequest.cc create mode 100644 sas/src/model/DeleteVpcHoneyPotResult.cc create mode 100644 sas/src/model/DescribeAccesskeyLeakListRequest.cc create mode 100644 sas/src/model/DescribeAccesskeyLeakListResult.cc create mode 100644 sas/src/model/DescribeAffectedMaliciousFileImagesRequest.cc create mode 100644 sas/src/model/DescribeAffectedMaliciousFileImagesResult.cc create mode 100644 sas/src/model/DescribeAlarmEventStackInfoRequest.cc create mode 100644 sas/src/model/DescribeAlarmEventStackInfoResult.cc create mode 100644 sas/src/model/DescribeAntiBruteForceRulesRequest.cc create mode 100644 sas/src/model/DescribeAntiBruteForceRulesResult.cc create mode 100644 sas/src/model/DescribeBackupDirsRequest.cc create mode 100644 sas/src/model/DescribeBackupDirsResult.cc create mode 100644 sas/src/model/DescribeBackupFilesRequest.cc create mode 100644 sas/src/model/DescribeBackupFilesResult.cc create mode 100644 sas/src/model/DescribeBackupMachineStatusRequest.cc create mode 100644 sas/src/model/DescribeBackupMachineStatusResult.cc create mode 100644 sas/src/model/DescribeBackupPoliciesRequest.cc create mode 100644 sas/src/model/DescribeBackupPoliciesResult.cc create mode 100644 sas/src/model/DescribeBackupPolicyRequest.cc create mode 100644 sas/src/model/DescribeBackupPolicyResult.cc create mode 100644 sas/src/model/DescribeBackupRestoreCountRequest.cc create mode 100644 sas/src/model/DescribeBackupRestoreCountResult.cc create mode 100644 sas/src/model/DescribeBruteForceSummaryRequest.cc create mode 100644 sas/src/model/DescribeBruteForceSummaryResult.cc create mode 100644 sas/src/model/DescribeCheckEcsWarningsRequest.cc create mode 100644 sas/src/model/DescribeCheckEcsWarningsResult.cc create mode 100644 sas/src/model/DescribeContainerStatisticsRequest.cc create mode 100644 sas/src/model/DescribeContainerStatisticsResult.cc delete mode 100644 sas/src/model/DescribeEmgVulGroupResult.cc create mode 100644 sas/src/model/DescribeEmgVulItemRequest.cc create mode 100644 sas/src/model/DescribeEmgVulItemResult.cc create mode 100644 sas/src/model/DescribeExcludeSystemPathRequest.cc create mode 100644 sas/src/model/DescribeExcludeSystemPathResult.cc create mode 100644 sas/src/model/DescribeExposedInstanceCriteriaRequest.cc create mode 100644 sas/src/model/DescribeExposedInstanceCriteriaResult.cc create mode 100644 sas/src/model/DescribeExposedInstanceDetailRequest.cc create mode 100644 sas/src/model/DescribeExposedInstanceDetailResult.cc create mode 100644 sas/src/model/DescribeExposedInstanceListRequest.cc create mode 100644 sas/src/model/DescribeExposedInstanceListResult.cc create mode 100644 sas/src/model/DescribeExposedStatisticsDetailRequest.cc create mode 100644 sas/src/model/DescribeExposedStatisticsDetailResult.cc create mode 100644 sas/src/model/DescribeExposedStatisticsRequest.cc create mode 100644 sas/src/model/DescribeExposedStatisticsResult.cc create mode 100644 sas/src/model/DescribeFrontVulPatchListRequest.cc create mode 100644 sas/src/model/DescribeFrontVulPatchListResult.cc create mode 100644 sas/src/model/DescribeGroupedContainerInstancesRequest.cc create mode 100644 sas/src/model/DescribeGroupedContainerInstancesResult.cc create mode 100644 sas/src/model/DescribeGroupedInstancesRequest.cc create mode 100644 sas/src/model/DescribeGroupedInstancesResult.cc create mode 100644 sas/src/model/DescribeGroupedMaliciousFilesRequest.cc create mode 100644 sas/src/model/DescribeGroupedMaliciousFilesResult.cc create mode 100644 sas/src/model/DescribeHoneyPotAuthRequest.cc create mode 100644 sas/src/model/DescribeHoneyPotAuthResult.cc create mode 100644 sas/src/model/DescribeHoneyPotSuspStatisticsRequest.cc create mode 100644 sas/src/model/DescribeHoneyPotSuspStatisticsResult.cc create mode 100644 sas/src/model/DescribeImageGroupedVulListRequest.cc create mode 100644 sas/src/model/DescribeImageGroupedVulListResult.cc create mode 100644 sas/src/model/DescribeImageStatisticsRequest.cc create mode 100644 sas/src/model/DescribeImageStatisticsResult.cc create mode 100644 sas/src/model/DescribeImageVulListRequest.cc create mode 100644 sas/src/model/DescribeImageVulListResult.cc create mode 100644 sas/src/model/DescribeInstallCaptchaRequest.cc create mode 100644 sas/src/model/DescribeInstallCaptchaResult.cc create mode 100644 sas/src/model/DescribeInstanceAntiBruteForceRulesRequest.cc create mode 100644 sas/src/model/DescribeInstanceAntiBruteForceRulesResult.cc rename sas/src/model/{DescribeStratetyRequest.cc => DescribeLogstoreStorageRequest.cc} (50%) create mode 100644 sas/src/model/DescribeLogstoreStorageResult.cc create mode 100644 sas/src/model/DescribePropertyCronDetailRequest.cc create mode 100644 sas/src/model/DescribePropertyCronDetailResult.cc create mode 100644 sas/src/model/DescribePropertyScaDetailRequest.cc create mode 100644 sas/src/model/DescribePropertyScaDetailResult.cc create mode 100644 sas/src/model/DescribeQuaraFileDownloadInfoRequest.cc create mode 100644 sas/src/model/DescribeQuaraFileDownloadInfoResult.cc create mode 100644 sas/src/model/DescribeRestoreJobsRequest.cc create mode 100644 sas/src/model/DescribeRestoreJobsResult.cc create mode 100644 sas/src/model/DescribeRiskListCheckResultRequest.cc create mode 100644 sas/src/model/DescribeRiskListCheckResultResult.cc create mode 100644 sas/src/model/DescribeScanTaskProgressRequest.cc create mode 100644 sas/src/model/DescribeScanTaskProgressResult.cc create mode 100644 sas/src/model/DescribeSecurityEventOperationStatusRequest.cc create mode 100644 sas/src/model/DescribeSecurityEventOperationStatusResult.cc create mode 100644 sas/src/model/DescribeServiceLinkedRoleStatusRequest.cc create mode 100644 sas/src/model/DescribeServiceLinkedRoleStatusResult.cc create mode 100644 sas/src/model/DescribeSimilarEventScenariosRequest.cc create mode 100644 sas/src/model/DescribeSimilarEventScenariosResult.cc create mode 100644 sas/src/model/DescribeSnapshotsRequest.cc create mode 100644 sas/src/model/DescribeSnapshotsResult.cc delete mode 100644 sas/src/model/DescribeStratetyResult.cc create mode 100644 sas/src/model/DescribeSupportRegionRequest.cc create mode 100644 sas/src/model/DescribeSupportRegionResult.cc create mode 100644 sas/src/model/DescribeSuspEventQuaraFilesRequest.cc create mode 100644 sas/src/model/DescribeSuspEventQuaraFilesResult.cc create mode 100644 sas/src/model/DescribeUserBackupMachinesRequest.cc create mode 100644 sas/src/model/DescribeUserBackupMachinesResult.cc create mode 100644 sas/src/model/DescribeUuidsByVulNamesRequest.cc create mode 100644 sas/src/model/DescribeUuidsByVulNamesResult.cc create mode 100644 sas/src/model/DescribeVersionConfigRequest.cc create mode 100644 sas/src/model/DescribeVersionConfigResult.cc create mode 100644 sas/src/model/DescribeVpcHoneyPotCriteriaRequest.cc create mode 100644 sas/src/model/DescribeVpcHoneyPotCriteriaResult.cc create mode 100644 sas/src/model/DescribeVpcHoneyPotListRequest.cc create mode 100644 sas/src/model/DescribeVpcHoneyPotListResult.cc create mode 100644 sas/src/model/DescribeWebLockBindListRequest.cc create mode 100644 sas/src/model/DescribeWebLockBindListResult.cc create mode 100644 sas/src/model/DescribeWebLockConfigListRequest.cc create mode 100644 sas/src/model/DescribeWebLockConfigListResult.cc create mode 100644 sas/src/model/GetBackupStorageCountRequest.cc create mode 100644 sas/src/model/GetBackupStorageCountResult.cc create mode 100644 sas/src/model/GetSuspiciousStatisticsRequest.cc create mode 100644 sas/src/model/GetSuspiciousStatisticsResult.cc create mode 100644 sas/src/model/GetVulStatisticsRequest.cc create mode 100644 sas/src/model/GetVulStatisticsResult.cc create mode 100644 sas/src/model/HandleSecurityEventsRequest.cc create mode 100644 sas/src/model/HandleSecurityEventsResult.cc create mode 100644 sas/src/model/IgnoreHcCheckWarningsRequest.cc create mode 100644 sas/src/model/IgnoreHcCheckWarningsResult.cc create mode 100644 sas/src/model/InstallBackupClientRequest.cc create mode 100644 sas/src/model/InstallBackupClientResult.cc create mode 100644 sas/src/model/ModifyAssetGroupRequest.cc create mode 100644 sas/src/model/ModifyAssetGroupResult.cc create mode 100644 sas/src/model/ModifyBackupPolicyRequest.cc create mode 100644 sas/src/model/ModifyBackupPolicyResult.cc create mode 100644 sas/src/model/ModifyBackupPolicyStatusRequest.cc create mode 100644 sas/src/model/ModifyBackupPolicyStatusResult.cc create mode 100644 sas/src/model/ModifyInstanceAntiBruteForceRuleRequest.cc create mode 100644 sas/src/model/ModifyInstanceAntiBruteForceRuleResult.cc create mode 100644 sas/src/model/ModifyOpenLogShipperRequest.cc create mode 100644 sas/src/model/ModifyOpenLogShipperResult.cc create mode 100644 sas/src/model/ModifyVpcHoneyPotRequest.cc create mode 100644 sas/src/model/ModifyVpcHoneyPotResult.cc create mode 100644 sas/src/model/ModifyWebLockCreateConfigRequest.cc create mode 100644 sas/src/model/ModifyWebLockCreateConfigResult.cc create mode 100644 sas/src/model/ModifyWebLockDeleteConfigRequest.cc create mode 100644 sas/src/model/ModifyWebLockDeleteConfigResult.cc create mode 100644 sas/src/model/ModifyWebLockStartRequest.cc create mode 100644 sas/src/model/ModifyWebLockStartResult.cc create mode 100644 sas/src/model/ModifyWebLockStatusRequest.cc create mode 100644 sas/src/model/ModifyWebLockStatusResult.cc rename sas/src/model/{DescribeEmgVulGroupRequest.cc => ModifyWebLockUnbindRequest.cc} (55%) create mode 100644 sas/src/model/ModifyWebLockUnbindResult.cc create mode 100644 sas/src/model/ModifyWebLockUpdateConfigRequest.cc create mode 100644 sas/src/model/ModifyWebLockUpdateConfigResult.cc create mode 100644 sas/src/model/OperateVulsRequest.cc create mode 100644 sas/src/model/OperateVulsResult.cc create mode 100644 sas/src/model/RefreshContainerAssetsRequest.cc create mode 100644 sas/src/model/RefreshContainerAssetsResult.cc create mode 100644 sas/src/model/RollbackSuspEventQuaraFileRequest.cc create mode 100644 sas/src/model/RollbackSuspEventQuaraFileResult.cc create mode 100644 sas/src/model/StartImageVulScanRequest.cc create mode 100644 sas/src/model/StartImageVulScanResult.cc create mode 100644 sas/src/model/StartVirusScanTaskRequest.cc create mode 100644 sas/src/model/StartVirusScanTaskResult.cc create mode 100644 sas/src/model/UnbindAegisRequest.cc create mode 100644 sas/src/model/UnbindAegisResult.cc create mode 100644 sas/src/model/UninstallBackupClientRequest.cc create mode 100644 sas/src/model/UninstallBackupClientResult.cc diff --git a/CHANGELOG b/CHANGELOG index e5c9dd725..1a01ee5e5 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2021-05-17 Version: 1.36.740 +- Support DescribeInstallCaptcha API. + 2021-05-17 Version: 1.36.739 - Export new API for predictive dialer. diff --git a/VERSION b/VERSION index 2304a7faa..6554231d6 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.739 \ No newline at end of file +1.36.740 \ No newline at end of file diff --git a/sas/CMakeLists.txt b/sas/CMakeLists.txt index 6b588aa1b..f8dff0c63 100644 --- a/sas/CMakeLists.txt +++ b/sas/CMakeLists.txt @@ -21,34 +21,78 @@ set(sas_public_header include/alibabacloud/sas/SasExport.h ) set(sas_public_header_model + include/alibabacloud/sas/model/AddVpcHoneyPotRequest.h + include/alibabacloud/sas/model/AddVpcHoneyPotResult.h + include/alibabacloud/sas/model/CheckQuaraFileIdRequest.h + include/alibabacloud/sas/model/CheckQuaraFileIdResult.h + include/alibabacloud/sas/model/CheckSecurityEventIdRequest.h + include/alibabacloud/sas/model/CheckSecurityEventIdResult.h include/alibabacloud/sas/model/CreateAntiBruteForceRuleRequest.h include/alibabacloud/sas/model/CreateAntiBruteForceRuleResult.h + include/alibabacloud/sas/model/CreateBackupPolicyRequest.h + include/alibabacloud/sas/model/CreateBackupPolicyResult.h include/alibabacloud/sas/model/CreateOrUpdateAssetGroupRequest.h include/alibabacloud/sas/model/CreateOrUpdateAssetGroupResult.h + include/alibabacloud/sas/model/CreateRestoreJobRequest.h + include/alibabacloud/sas/model/CreateRestoreJobResult.h + include/alibabacloud/sas/model/CreateSasOrderRequest.h + include/alibabacloud/sas/model/CreateSasOrderResult.h + include/alibabacloud/sas/model/CreateServiceLinkedRoleRequest.h + include/alibabacloud/sas/model/CreateServiceLinkedRoleResult.h include/alibabacloud/sas/model/CreateSimilarSecurityEventsQueryTaskRequest.h include/alibabacloud/sas/model/CreateSimilarSecurityEventsQueryTaskResult.h + include/alibabacloud/sas/model/DeleteBackupPolicyRequest.h + include/alibabacloud/sas/model/DeleteBackupPolicyResult.h + include/alibabacloud/sas/model/DeleteBackupPolicyMachineRequest.h + include/alibabacloud/sas/model/DeleteBackupPolicyMachineResult.h include/alibabacloud/sas/model/DeleteGroupRequest.h include/alibabacloud/sas/model/DeleteGroupResult.h include/alibabacloud/sas/model/DeleteLoginBaseConfigRequest.h include/alibabacloud/sas/model/DeleteLoginBaseConfigResult.h include/alibabacloud/sas/model/DeleteTagWithUuidRequest.h include/alibabacloud/sas/model/DeleteTagWithUuidResult.h + include/alibabacloud/sas/model/DeleteVpcHoneyPotRequest.h + include/alibabacloud/sas/model/DeleteVpcHoneyPotResult.h + include/alibabacloud/sas/model/DescribeAccesskeyLeakListRequest.h + include/alibabacloud/sas/model/DescribeAccesskeyLeakListResult.h + include/alibabacloud/sas/model/DescribeAffectedMaliciousFileImagesRequest.h + include/alibabacloud/sas/model/DescribeAffectedMaliciousFileImagesResult.h include/alibabacloud/sas/model/DescribeAlarmEventDetailRequest.h include/alibabacloud/sas/model/DescribeAlarmEventDetailResult.h include/alibabacloud/sas/model/DescribeAlarmEventListRequest.h include/alibabacloud/sas/model/DescribeAlarmEventListResult.h + include/alibabacloud/sas/model/DescribeAlarmEventStackInfoRequest.h + include/alibabacloud/sas/model/DescribeAlarmEventStackInfoResult.h include/alibabacloud/sas/model/DescribeAllEntityRequest.h include/alibabacloud/sas/model/DescribeAllEntityResult.h include/alibabacloud/sas/model/DescribeAllGroupsRequest.h include/alibabacloud/sas/model/DescribeAllGroupsResult.h include/alibabacloud/sas/model/DescribeAllRegionsStatisticsRequest.h include/alibabacloud/sas/model/DescribeAllRegionsStatisticsResult.h + include/alibabacloud/sas/model/DescribeAntiBruteForceRulesRequest.h + include/alibabacloud/sas/model/DescribeAntiBruteForceRulesResult.h include/alibabacloud/sas/model/DescribeAssetDetailByUuidRequest.h include/alibabacloud/sas/model/DescribeAssetDetailByUuidResult.h include/alibabacloud/sas/model/DescribeAssetDetailByUuidsRequest.h include/alibabacloud/sas/model/DescribeAssetDetailByUuidsResult.h include/alibabacloud/sas/model/DescribeAutoDelConfigRequest.h include/alibabacloud/sas/model/DescribeAutoDelConfigResult.h + include/alibabacloud/sas/model/DescribeBackupDirsRequest.h + include/alibabacloud/sas/model/DescribeBackupDirsResult.h + include/alibabacloud/sas/model/DescribeBackupFilesRequest.h + include/alibabacloud/sas/model/DescribeBackupFilesResult.h + include/alibabacloud/sas/model/DescribeBackupMachineStatusRequest.h + include/alibabacloud/sas/model/DescribeBackupMachineStatusResult.h + include/alibabacloud/sas/model/DescribeBackupPoliciesRequest.h + include/alibabacloud/sas/model/DescribeBackupPoliciesResult.h + include/alibabacloud/sas/model/DescribeBackupPolicyRequest.h + include/alibabacloud/sas/model/DescribeBackupPolicyResult.h + include/alibabacloud/sas/model/DescribeBackupRestoreCountRequest.h + include/alibabacloud/sas/model/DescribeBackupRestoreCountResult.h + include/alibabacloud/sas/model/DescribeBruteForceSummaryRequest.h + include/alibabacloud/sas/model/DescribeBruteForceSummaryResult.h + include/alibabacloud/sas/model/DescribeCheckEcsWarningsRequest.h + include/alibabacloud/sas/model/DescribeCheckEcsWarningsResult.h include/alibabacloud/sas/model/DescribeCheckWarningDetailRequest.h include/alibabacloud/sas/model/DescribeCheckWarningDetailResult.h include/alibabacloud/sas/model/DescribeCheckWarningSummaryRequest.h @@ -61,6 +105,8 @@ set(sas_public_header_model include/alibabacloud/sas/model/DescribeCloudProductFieldStatisticsResult.h include/alibabacloud/sas/model/DescribeConcernNecessityRequest.h include/alibabacloud/sas/model/DescribeConcernNecessityResult.h + include/alibabacloud/sas/model/DescribeContainerStatisticsRequest.h + include/alibabacloud/sas/model/DescribeContainerStatisticsResult.h include/alibabacloud/sas/model/DescribeCriteriaRequest.h include/alibabacloud/sas/model/DescribeCriteriaResult.h include/alibabacloud/sas/model/DescribeDialogMessagesRequest.h @@ -73,28 +119,66 @@ set(sas_public_header_model include/alibabacloud/sas/model/DescribeDomainDetailResult.h include/alibabacloud/sas/model/DescribeDomainListRequest.h include/alibabacloud/sas/model/DescribeDomainListResult.h - include/alibabacloud/sas/model/DescribeEmgVulGroupRequest.h - include/alibabacloud/sas/model/DescribeEmgVulGroupResult.h + include/alibabacloud/sas/model/DescribeEmgVulItemRequest.h + include/alibabacloud/sas/model/DescribeEmgVulItemResult.h + include/alibabacloud/sas/model/DescribeExcludeSystemPathRequest.h + include/alibabacloud/sas/model/DescribeExcludeSystemPathResult.h include/alibabacloud/sas/model/DescribeExportInfoRequest.h include/alibabacloud/sas/model/DescribeExportInfoResult.h + include/alibabacloud/sas/model/DescribeExposedInstanceCriteriaRequest.h + include/alibabacloud/sas/model/DescribeExposedInstanceCriteriaResult.h + include/alibabacloud/sas/model/DescribeExposedInstanceDetailRequest.h + include/alibabacloud/sas/model/DescribeExposedInstanceDetailResult.h + include/alibabacloud/sas/model/DescribeExposedInstanceListRequest.h + include/alibabacloud/sas/model/DescribeExposedInstanceListResult.h + include/alibabacloud/sas/model/DescribeExposedStatisticsRequest.h + include/alibabacloud/sas/model/DescribeExposedStatisticsResult.h + include/alibabacloud/sas/model/DescribeExposedStatisticsDetailRequest.h + include/alibabacloud/sas/model/DescribeExposedStatisticsDetailResult.h include/alibabacloud/sas/model/DescribeFieldStatisticsRequest.h include/alibabacloud/sas/model/DescribeFieldStatisticsResult.h + include/alibabacloud/sas/model/DescribeFrontVulPatchListRequest.h + include/alibabacloud/sas/model/DescribeFrontVulPatchListResult.h include/alibabacloud/sas/model/DescribeGraph4InvestigationOnlineRequest.h include/alibabacloud/sas/model/DescribeGraph4InvestigationOnlineResult.h + include/alibabacloud/sas/model/DescribeGroupedContainerInstancesRequest.h + include/alibabacloud/sas/model/DescribeGroupedContainerInstancesResult.h + include/alibabacloud/sas/model/DescribeGroupedInstancesRequest.h + include/alibabacloud/sas/model/DescribeGroupedInstancesResult.h + include/alibabacloud/sas/model/DescribeGroupedMaliciousFilesRequest.h + include/alibabacloud/sas/model/DescribeGroupedMaliciousFilesResult.h include/alibabacloud/sas/model/DescribeGroupedTagsRequest.h include/alibabacloud/sas/model/DescribeGroupedTagsResult.h include/alibabacloud/sas/model/DescribeGroupedVulRequest.h include/alibabacloud/sas/model/DescribeGroupedVulResult.h + include/alibabacloud/sas/model/DescribeHoneyPotAuthRequest.h + include/alibabacloud/sas/model/DescribeHoneyPotAuthResult.h + include/alibabacloud/sas/model/DescribeHoneyPotSuspStatisticsRequest.h + include/alibabacloud/sas/model/DescribeHoneyPotSuspStatisticsResult.h + include/alibabacloud/sas/model/DescribeImageGroupedVulListRequest.h + include/alibabacloud/sas/model/DescribeImageGroupedVulListResult.h + include/alibabacloud/sas/model/DescribeImageStatisticsRequest.h + include/alibabacloud/sas/model/DescribeImageStatisticsResult.h + include/alibabacloud/sas/model/DescribeImageVulListRequest.h + include/alibabacloud/sas/model/DescribeImageVulListResult.h + include/alibabacloud/sas/model/DescribeInstallCaptchaRequest.h + include/alibabacloud/sas/model/DescribeInstallCaptchaResult.h + include/alibabacloud/sas/model/DescribeInstanceAntiBruteForceRulesRequest.h + include/alibabacloud/sas/model/DescribeInstanceAntiBruteForceRulesResult.h include/alibabacloud/sas/model/DescribeInstanceStatisticsRequest.h include/alibabacloud/sas/model/DescribeInstanceStatisticsResult.h include/alibabacloud/sas/model/DescribeIpInfoRequest.h include/alibabacloud/sas/model/DescribeIpInfoResult.h + include/alibabacloud/sas/model/DescribeLogstoreStorageRequest.h + include/alibabacloud/sas/model/DescribeLogstoreStorageResult.h include/alibabacloud/sas/model/DescribeModuleConfigRequest.h include/alibabacloud/sas/model/DescribeModuleConfigResult.h include/alibabacloud/sas/model/DescribeNoticeConfigRequest.h include/alibabacloud/sas/model/DescribeNoticeConfigResult.h include/alibabacloud/sas/model/DescribePropertyCountRequest.h include/alibabacloud/sas/model/DescribePropertyCountResult.h + include/alibabacloud/sas/model/DescribePropertyCronDetailRequest.h + include/alibabacloud/sas/model/DescribePropertyCronDetailResult.h include/alibabacloud/sas/model/DescribePropertyPortDetailRequest.h include/alibabacloud/sas/model/DescribePropertyPortDetailResult.h include/alibabacloud/sas/model/DescribePropertyPortItemRequest.h @@ -103,6 +187,8 @@ set(sas_public_header_model include/alibabacloud/sas/model/DescribePropertyProcDetailResult.h include/alibabacloud/sas/model/DescribePropertyProcItemRequest.h include/alibabacloud/sas/model/DescribePropertyProcItemResult.h + include/alibabacloud/sas/model/DescribePropertyScaDetailRequest.h + include/alibabacloud/sas/model/DescribePropertyScaDetailResult.h include/alibabacloud/sas/model/DescribePropertySoftwareDetailRequest.h include/alibabacloud/sas/model/DescribePropertySoftwareDetailResult.h include/alibabacloud/sas/model/DescribePropertySoftwareItemRequest.h @@ -113,6 +199,10 @@ set(sas_public_header_model include/alibabacloud/sas/model/DescribePropertyUserDetailResult.h include/alibabacloud/sas/model/DescribePropertyUserItemRequest.h include/alibabacloud/sas/model/DescribePropertyUserItemResult.h + include/alibabacloud/sas/model/DescribeQuaraFileDownloadInfoRequest.h + include/alibabacloud/sas/model/DescribeQuaraFileDownloadInfoResult.h + include/alibabacloud/sas/model/DescribeRestoreJobsRequest.h + include/alibabacloud/sas/model/DescribeRestoreJobsResult.h include/alibabacloud/sas/model/DescribeRiskCheckItemResultRequest.h include/alibabacloud/sas/model/DescribeRiskCheckItemResultResult.h include/alibabacloud/sas/model/DescribeRiskCheckResultRequest.h @@ -121,36 +211,60 @@ set(sas_public_header_model include/alibabacloud/sas/model/DescribeRiskCheckSummaryResult.h include/alibabacloud/sas/model/DescribeRiskItemTypeRequest.h include/alibabacloud/sas/model/DescribeRiskItemTypeResult.h + include/alibabacloud/sas/model/DescribeRiskListCheckResultRequest.h + include/alibabacloud/sas/model/DescribeRiskListCheckResultResult.h include/alibabacloud/sas/model/DescribeSasAssetStatisticsColumnRequest.h include/alibabacloud/sas/model/DescribeSasAssetStatisticsColumnResult.h + include/alibabacloud/sas/model/DescribeScanTaskProgressRequest.h + include/alibabacloud/sas/model/DescribeScanTaskProgressResult.h include/alibabacloud/sas/model/DescribeSearchConditionRequest.h include/alibabacloud/sas/model/DescribeSearchConditionResult.h include/alibabacloud/sas/model/DescribeSecureSuggestionRequest.h include/alibabacloud/sas/model/DescribeSecureSuggestionResult.h include/alibabacloud/sas/model/DescribeSecurityCheckScheduleConfigRequest.h include/alibabacloud/sas/model/DescribeSecurityCheckScheduleConfigResult.h + include/alibabacloud/sas/model/DescribeSecurityEventOperationStatusRequest.h + include/alibabacloud/sas/model/DescribeSecurityEventOperationStatusResult.h include/alibabacloud/sas/model/DescribeSecurityEventOperationsRequest.h include/alibabacloud/sas/model/DescribeSecurityEventOperationsResult.h include/alibabacloud/sas/model/DescribeSecurityStatInfoRequest.h include/alibabacloud/sas/model/DescribeSecurityStatInfoResult.h + include/alibabacloud/sas/model/DescribeServiceLinkedRoleStatusRequest.h + include/alibabacloud/sas/model/DescribeServiceLinkedRoleStatusResult.h + include/alibabacloud/sas/model/DescribeSimilarEventScenariosRequest.h + include/alibabacloud/sas/model/DescribeSimilarEventScenariosResult.h include/alibabacloud/sas/model/DescribeSimilarSecurityEventsRequest.h include/alibabacloud/sas/model/DescribeSimilarSecurityEventsResult.h + include/alibabacloud/sas/model/DescribeSnapshotsRequest.h + include/alibabacloud/sas/model/DescribeSnapshotsResult.h include/alibabacloud/sas/model/DescribeStrategyExecDetailRequest.h include/alibabacloud/sas/model/DescribeStrategyExecDetailResult.h - include/alibabacloud/sas/model/DescribeStratetyRequest.h - include/alibabacloud/sas/model/DescribeStratetyResult.h include/alibabacloud/sas/model/DescribeSummaryInfoRequest.h include/alibabacloud/sas/model/DescribeSummaryInfoResult.h + include/alibabacloud/sas/model/DescribeSupportRegionRequest.h + include/alibabacloud/sas/model/DescribeSupportRegionResult.h include/alibabacloud/sas/model/DescribeSuspEventDetailRequest.h include/alibabacloud/sas/model/DescribeSuspEventDetailResult.h + include/alibabacloud/sas/model/DescribeSuspEventQuaraFilesRequest.h + include/alibabacloud/sas/model/DescribeSuspEventQuaraFilesResult.h include/alibabacloud/sas/model/DescribeSuspEventsRequest.h include/alibabacloud/sas/model/DescribeSuspEventsResult.h + include/alibabacloud/sas/model/DescribeUserBackupMachinesRequest.h + include/alibabacloud/sas/model/DescribeUserBackupMachinesResult.h include/alibabacloud/sas/model/DescribeUserBaselineAuthorizationRequest.h include/alibabacloud/sas/model/DescribeUserBaselineAuthorizationResult.h include/alibabacloud/sas/model/DescribeUserLayoutAuthorizationRequest.h include/alibabacloud/sas/model/DescribeUserLayoutAuthorizationResult.h + include/alibabacloud/sas/model/DescribeUuidsByVulNamesRequest.h + include/alibabacloud/sas/model/DescribeUuidsByVulNamesResult.h + include/alibabacloud/sas/model/DescribeVersionConfigRequest.h + include/alibabacloud/sas/model/DescribeVersionConfigResult.h include/alibabacloud/sas/model/DescribeVolDingdingMessageRequest.h include/alibabacloud/sas/model/DescribeVolDingdingMessageResult.h + include/alibabacloud/sas/model/DescribeVpcHoneyPotCriteriaRequest.h + include/alibabacloud/sas/model/DescribeVpcHoneyPotCriteriaResult.h + include/alibabacloud/sas/model/DescribeVpcHoneyPotListRequest.h + include/alibabacloud/sas/model/DescribeVpcHoneyPotListResult.h include/alibabacloud/sas/model/DescribeVpcListRequest.h include/alibabacloud/sas/model/DescribeVpcListResult.h include/alibabacloud/sas/model/DescribeVulDetailsRequest.h @@ -161,30 +275,56 @@ set(sas_public_header_model include/alibabacloud/sas/model/DescribeVulWhitelistResult.h include/alibabacloud/sas/model/DescribeWarningMachinesRequest.h include/alibabacloud/sas/model/DescribeWarningMachinesResult.h + include/alibabacloud/sas/model/DescribeWebLockBindListRequest.h + include/alibabacloud/sas/model/DescribeWebLockBindListResult.h + include/alibabacloud/sas/model/DescribeWebLockConfigListRequest.h + include/alibabacloud/sas/model/DescribeWebLockConfigListResult.h include/alibabacloud/sas/model/ExportRecordRequest.h include/alibabacloud/sas/model/ExportRecordResult.h include/alibabacloud/sas/model/FixCheckWarningsRequest.h include/alibabacloud/sas/model/FixCheckWarningsResult.h + include/alibabacloud/sas/model/GetBackupStorageCountRequest.h + include/alibabacloud/sas/model/GetBackupStorageCountResult.h include/alibabacloud/sas/model/GetIOCsRequest.h include/alibabacloud/sas/model/GetIOCsResult.h include/alibabacloud/sas/model/GetIncIOCsRequest.h include/alibabacloud/sas/model/GetIncIOCsResult.h + include/alibabacloud/sas/model/GetSuspiciousStatisticsRequest.h + include/alibabacloud/sas/model/GetSuspiciousStatisticsResult.h + include/alibabacloud/sas/model/GetVulStatisticsRequest.h + include/alibabacloud/sas/model/GetVulStatisticsResult.h + include/alibabacloud/sas/model/HandleSecurityEventsRequest.h + include/alibabacloud/sas/model/HandleSecurityEventsResult.h include/alibabacloud/sas/model/HandleSimilarSecurityEventsRequest.h include/alibabacloud/sas/model/HandleSimilarSecurityEventsResult.h + include/alibabacloud/sas/model/IgnoreHcCheckWarningsRequest.h + include/alibabacloud/sas/model/IgnoreHcCheckWarningsResult.h + include/alibabacloud/sas/model/InstallBackupClientRequest.h + include/alibabacloud/sas/model/InstallBackupClientResult.h include/alibabacloud/sas/model/ModifyAntiBruteForceRuleRequest.h include/alibabacloud/sas/model/ModifyAntiBruteForceRuleResult.h + include/alibabacloud/sas/model/ModifyAssetGroupRequest.h + include/alibabacloud/sas/model/ModifyAssetGroupResult.h + include/alibabacloud/sas/model/ModifyBackupPolicyRequest.h + include/alibabacloud/sas/model/ModifyBackupPolicyResult.h + include/alibabacloud/sas/model/ModifyBackupPolicyStatusRequest.h + include/alibabacloud/sas/model/ModifyBackupPolicyStatusResult.h include/alibabacloud/sas/model/ModifyCreateVulWhitelistRequest.h include/alibabacloud/sas/model/ModifyCreateVulWhitelistResult.h include/alibabacloud/sas/model/ModifyEmgVulSubmitRequest.h include/alibabacloud/sas/model/ModifyEmgVulSubmitResult.h include/alibabacloud/sas/model/ModifyGroupPropertyRequest.h include/alibabacloud/sas/model/ModifyGroupPropertyResult.h + include/alibabacloud/sas/model/ModifyInstanceAntiBruteForceRuleRequest.h + include/alibabacloud/sas/model/ModifyInstanceAntiBruteForceRuleResult.h include/alibabacloud/sas/model/ModifyLoginBaseConfigRequest.h include/alibabacloud/sas/model/ModifyLoginBaseConfigResult.h include/alibabacloud/sas/model/ModifyLoginSwitchConfigRequest.h include/alibabacloud/sas/model/ModifyLoginSwitchConfigResult.h include/alibabacloud/sas/model/ModifyNoticeConfigRequest.h include/alibabacloud/sas/model/ModifyNoticeConfigResult.h + include/alibabacloud/sas/model/ModifyOpenLogShipperRequest.h + include/alibabacloud/sas/model/ModifyOpenLogShipperResult.h include/alibabacloud/sas/model/ModifyOperateVulRequest.h include/alibabacloud/sas/model/ModifyOperateVulResult.h include/alibabacloud/sas/model/ModifyPushAllTaskRequest.h @@ -199,51 +339,123 @@ set(sas_public_header_model include/alibabacloud/sas/model/ModifyStartVulScanResult.h include/alibabacloud/sas/model/ModifyTagWithUuidRequest.h include/alibabacloud/sas/model/ModifyTagWithUuidResult.h + include/alibabacloud/sas/model/ModifyVpcHoneyPotRequest.h + include/alibabacloud/sas/model/ModifyVpcHoneyPotResult.h include/alibabacloud/sas/model/ModifyVulTargetConfigRequest.h include/alibabacloud/sas/model/ModifyVulTargetConfigResult.h + include/alibabacloud/sas/model/ModifyWebLockCreateConfigRequest.h + include/alibabacloud/sas/model/ModifyWebLockCreateConfigResult.h + include/alibabacloud/sas/model/ModifyWebLockDeleteConfigRequest.h + include/alibabacloud/sas/model/ModifyWebLockDeleteConfigResult.h + include/alibabacloud/sas/model/ModifyWebLockStartRequest.h + include/alibabacloud/sas/model/ModifyWebLockStartResult.h + include/alibabacloud/sas/model/ModifyWebLockStatusRequest.h + include/alibabacloud/sas/model/ModifyWebLockStatusResult.h + include/alibabacloud/sas/model/ModifyWebLockUnbindRequest.h + include/alibabacloud/sas/model/ModifyWebLockUnbindResult.h + include/alibabacloud/sas/model/ModifyWebLockUpdateConfigRequest.h + include/alibabacloud/sas/model/ModifyWebLockUpdateConfigResult.h include/alibabacloud/sas/model/OperateSuspiciousTargetConfigRequest.h include/alibabacloud/sas/model/OperateSuspiciousTargetConfigResult.h + include/alibabacloud/sas/model/OperateVulsRequest.h + include/alibabacloud/sas/model/OperateVulsResult.h include/alibabacloud/sas/model/OperationSuspEventsRequest.h include/alibabacloud/sas/model/OperationSuspEventsResult.h include/alibabacloud/sas/model/PauseClientRequest.h include/alibabacloud/sas/model/PauseClientResult.h + include/alibabacloud/sas/model/RefreshContainerAssetsRequest.h + include/alibabacloud/sas/model/RefreshContainerAssetsResult.h + include/alibabacloud/sas/model/RollbackSuspEventQuaraFileRequest.h + include/alibabacloud/sas/model/RollbackSuspEventQuaraFileResult.h include/alibabacloud/sas/model/SasInstallCodeRequest.h include/alibabacloud/sas/model/SasInstallCodeResult.h include/alibabacloud/sas/model/StartBaselineSecurityCheckRequest.h include/alibabacloud/sas/model/StartBaselineSecurityCheckResult.h + include/alibabacloud/sas/model/StartImageVulScanRequest.h + include/alibabacloud/sas/model/StartImageVulScanResult.h + include/alibabacloud/sas/model/StartVirusScanTaskRequest.h + include/alibabacloud/sas/model/StartVirusScanTaskResult.h + include/alibabacloud/sas/model/UnbindAegisRequest.h + include/alibabacloud/sas/model/UnbindAegisResult.h + include/alibabacloud/sas/model/UninstallBackupClientRequest.h + include/alibabacloud/sas/model/UninstallBackupClientResult.h include/alibabacloud/sas/model/ValidateHcWarningsRequest.h include/alibabacloud/sas/model/ValidateHcWarningsResult.h ) set(sas_src src/SasClient.cc + src/model/AddVpcHoneyPotRequest.cc + src/model/AddVpcHoneyPotResult.cc + src/model/CheckQuaraFileIdRequest.cc + src/model/CheckQuaraFileIdResult.cc + src/model/CheckSecurityEventIdRequest.cc + src/model/CheckSecurityEventIdResult.cc src/model/CreateAntiBruteForceRuleRequest.cc src/model/CreateAntiBruteForceRuleResult.cc + src/model/CreateBackupPolicyRequest.cc + src/model/CreateBackupPolicyResult.cc src/model/CreateOrUpdateAssetGroupRequest.cc src/model/CreateOrUpdateAssetGroupResult.cc + src/model/CreateRestoreJobRequest.cc + src/model/CreateRestoreJobResult.cc + src/model/CreateSasOrderRequest.cc + src/model/CreateSasOrderResult.cc + src/model/CreateServiceLinkedRoleRequest.cc + src/model/CreateServiceLinkedRoleResult.cc src/model/CreateSimilarSecurityEventsQueryTaskRequest.cc src/model/CreateSimilarSecurityEventsQueryTaskResult.cc + src/model/DeleteBackupPolicyRequest.cc + src/model/DeleteBackupPolicyResult.cc + src/model/DeleteBackupPolicyMachineRequest.cc + src/model/DeleteBackupPolicyMachineResult.cc src/model/DeleteGroupRequest.cc src/model/DeleteGroupResult.cc src/model/DeleteLoginBaseConfigRequest.cc src/model/DeleteLoginBaseConfigResult.cc src/model/DeleteTagWithUuidRequest.cc src/model/DeleteTagWithUuidResult.cc + src/model/DeleteVpcHoneyPotRequest.cc + src/model/DeleteVpcHoneyPotResult.cc + src/model/DescribeAccesskeyLeakListRequest.cc + src/model/DescribeAccesskeyLeakListResult.cc + src/model/DescribeAffectedMaliciousFileImagesRequest.cc + src/model/DescribeAffectedMaliciousFileImagesResult.cc src/model/DescribeAlarmEventDetailRequest.cc src/model/DescribeAlarmEventDetailResult.cc src/model/DescribeAlarmEventListRequest.cc src/model/DescribeAlarmEventListResult.cc + src/model/DescribeAlarmEventStackInfoRequest.cc + src/model/DescribeAlarmEventStackInfoResult.cc src/model/DescribeAllEntityRequest.cc src/model/DescribeAllEntityResult.cc src/model/DescribeAllGroupsRequest.cc src/model/DescribeAllGroupsResult.cc src/model/DescribeAllRegionsStatisticsRequest.cc src/model/DescribeAllRegionsStatisticsResult.cc + src/model/DescribeAntiBruteForceRulesRequest.cc + src/model/DescribeAntiBruteForceRulesResult.cc src/model/DescribeAssetDetailByUuidRequest.cc src/model/DescribeAssetDetailByUuidResult.cc src/model/DescribeAssetDetailByUuidsRequest.cc src/model/DescribeAssetDetailByUuidsResult.cc src/model/DescribeAutoDelConfigRequest.cc src/model/DescribeAutoDelConfigResult.cc + src/model/DescribeBackupDirsRequest.cc + src/model/DescribeBackupDirsResult.cc + src/model/DescribeBackupFilesRequest.cc + src/model/DescribeBackupFilesResult.cc + src/model/DescribeBackupMachineStatusRequest.cc + src/model/DescribeBackupMachineStatusResult.cc + src/model/DescribeBackupPoliciesRequest.cc + src/model/DescribeBackupPoliciesResult.cc + src/model/DescribeBackupPolicyRequest.cc + src/model/DescribeBackupPolicyResult.cc + src/model/DescribeBackupRestoreCountRequest.cc + src/model/DescribeBackupRestoreCountResult.cc + src/model/DescribeBruteForceSummaryRequest.cc + src/model/DescribeBruteForceSummaryResult.cc + src/model/DescribeCheckEcsWarningsRequest.cc + src/model/DescribeCheckEcsWarningsResult.cc src/model/DescribeCheckWarningDetailRequest.cc src/model/DescribeCheckWarningDetailResult.cc src/model/DescribeCheckWarningSummaryRequest.cc @@ -256,6 +468,8 @@ set(sas_src src/model/DescribeCloudProductFieldStatisticsResult.cc src/model/DescribeConcernNecessityRequest.cc src/model/DescribeConcernNecessityResult.cc + src/model/DescribeContainerStatisticsRequest.cc + src/model/DescribeContainerStatisticsResult.cc src/model/DescribeCriteriaRequest.cc src/model/DescribeCriteriaResult.cc src/model/DescribeDialogMessagesRequest.cc @@ -268,28 +482,66 @@ set(sas_src src/model/DescribeDomainDetailResult.cc src/model/DescribeDomainListRequest.cc src/model/DescribeDomainListResult.cc - src/model/DescribeEmgVulGroupRequest.cc - src/model/DescribeEmgVulGroupResult.cc + src/model/DescribeEmgVulItemRequest.cc + src/model/DescribeEmgVulItemResult.cc + src/model/DescribeExcludeSystemPathRequest.cc + src/model/DescribeExcludeSystemPathResult.cc src/model/DescribeExportInfoRequest.cc src/model/DescribeExportInfoResult.cc + src/model/DescribeExposedInstanceCriteriaRequest.cc + src/model/DescribeExposedInstanceCriteriaResult.cc + src/model/DescribeExposedInstanceDetailRequest.cc + src/model/DescribeExposedInstanceDetailResult.cc + src/model/DescribeExposedInstanceListRequest.cc + src/model/DescribeExposedInstanceListResult.cc + src/model/DescribeExposedStatisticsRequest.cc + src/model/DescribeExposedStatisticsResult.cc + src/model/DescribeExposedStatisticsDetailRequest.cc + src/model/DescribeExposedStatisticsDetailResult.cc src/model/DescribeFieldStatisticsRequest.cc src/model/DescribeFieldStatisticsResult.cc + src/model/DescribeFrontVulPatchListRequest.cc + src/model/DescribeFrontVulPatchListResult.cc src/model/DescribeGraph4InvestigationOnlineRequest.cc src/model/DescribeGraph4InvestigationOnlineResult.cc + src/model/DescribeGroupedContainerInstancesRequest.cc + src/model/DescribeGroupedContainerInstancesResult.cc + src/model/DescribeGroupedInstancesRequest.cc + src/model/DescribeGroupedInstancesResult.cc + src/model/DescribeGroupedMaliciousFilesRequest.cc + src/model/DescribeGroupedMaliciousFilesResult.cc src/model/DescribeGroupedTagsRequest.cc src/model/DescribeGroupedTagsResult.cc src/model/DescribeGroupedVulRequest.cc src/model/DescribeGroupedVulResult.cc + src/model/DescribeHoneyPotAuthRequest.cc + src/model/DescribeHoneyPotAuthResult.cc + src/model/DescribeHoneyPotSuspStatisticsRequest.cc + src/model/DescribeHoneyPotSuspStatisticsResult.cc + src/model/DescribeImageGroupedVulListRequest.cc + src/model/DescribeImageGroupedVulListResult.cc + src/model/DescribeImageStatisticsRequest.cc + src/model/DescribeImageStatisticsResult.cc + src/model/DescribeImageVulListRequest.cc + src/model/DescribeImageVulListResult.cc + src/model/DescribeInstallCaptchaRequest.cc + src/model/DescribeInstallCaptchaResult.cc + src/model/DescribeInstanceAntiBruteForceRulesRequest.cc + src/model/DescribeInstanceAntiBruteForceRulesResult.cc src/model/DescribeInstanceStatisticsRequest.cc src/model/DescribeInstanceStatisticsResult.cc src/model/DescribeIpInfoRequest.cc src/model/DescribeIpInfoResult.cc + src/model/DescribeLogstoreStorageRequest.cc + src/model/DescribeLogstoreStorageResult.cc src/model/DescribeModuleConfigRequest.cc src/model/DescribeModuleConfigResult.cc src/model/DescribeNoticeConfigRequest.cc src/model/DescribeNoticeConfigResult.cc src/model/DescribePropertyCountRequest.cc src/model/DescribePropertyCountResult.cc + src/model/DescribePropertyCronDetailRequest.cc + src/model/DescribePropertyCronDetailResult.cc src/model/DescribePropertyPortDetailRequest.cc src/model/DescribePropertyPortDetailResult.cc src/model/DescribePropertyPortItemRequest.cc @@ -298,6 +550,8 @@ set(sas_src src/model/DescribePropertyProcDetailResult.cc src/model/DescribePropertyProcItemRequest.cc src/model/DescribePropertyProcItemResult.cc + src/model/DescribePropertyScaDetailRequest.cc + src/model/DescribePropertyScaDetailResult.cc src/model/DescribePropertySoftwareDetailRequest.cc src/model/DescribePropertySoftwareDetailResult.cc src/model/DescribePropertySoftwareItemRequest.cc @@ -308,6 +562,10 @@ set(sas_src src/model/DescribePropertyUserDetailResult.cc src/model/DescribePropertyUserItemRequest.cc src/model/DescribePropertyUserItemResult.cc + src/model/DescribeQuaraFileDownloadInfoRequest.cc + src/model/DescribeQuaraFileDownloadInfoResult.cc + src/model/DescribeRestoreJobsRequest.cc + src/model/DescribeRestoreJobsResult.cc src/model/DescribeRiskCheckItemResultRequest.cc src/model/DescribeRiskCheckItemResultResult.cc src/model/DescribeRiskCheckResultRequest.cc @@ -316,36 +574,60 @@ set(sas_src src/model/DescribeRiskCheckSummaryResult.cc src/model/DescribeRiskItemTypeRequest.cc src/model/DescribeRiskItemTypeResult.cc + src/model/DescribeRiskListCheckResultRequest.cc + src/model/DescribeRiskListCheckResultResult.cc src/model/DescribeSasAssetStatisticsColumnRequest.cc src/model/DescribeSasAssetStatisticsColumnResult.cc + src/model/DescribeScanTaskProgressRequest.cc + src/model/DescribeScanTaskProgressResult.cc src/model/DescribeSearchConditionRequest.cc src/model/DescribeSearchConditionResult.cc src/model/DescribeSecureSuggestionRequest.cc src/model/DescribeSecureSuggestionResult.cc src/model/DescribeSecurityCheckScheduleConfigRequest.cc src/model/DescribeSecurityCheckScheduleConfigResult.cc + src/model/DescribeSecurityEventOperationStatusRequest.cc + src/model/DescribeSecurityEventOperationStatusResult.cc src/model/DescribeSecurityEventOperationsRequest.cc src/model/DescribeSecurityEventOperationsResult.cc src/model/DescribeSecurityStatInfoRequest.cc src/model/DescribeSecurityStatInfoResult.cc + src/model/DescribeServiceLinkedRoleStatusRequest.cc + src/model/DescribeServiceLinkedRoleStatusResult.cc + src/model/DescribeSimilarEventScenariosRequest.cc + src/model/DescribeSimilarEventScenariosResult.cc src/model/DescribeSimilarSecurityEventsRequest.cc src/model/DescribeSimilarSecurityEventsResult.cc + src/model/DescribeSnapshotsRequest.cc + src/model/DescribeSnapshotsResult.cc src/model/DescribeStrategyExecDetailRequest.cc src/model/DescribeStrategyExecDetailResult.cc - src/model/DescribeStratetyRequest.cc - src/model/DescribeStratetyResult.cc src/model/DescribeSummaryInfoRequest.cc src/model/DescribeSummaryInfoResult.cc + src/model/DescribeSupportRegionRequest.cc + src/model/DescribeSupportRegionResult.cc src/model/DescribeSuspEventDetailRequest.cc src/model/DescribeSuspEventDetailResult.cc + src/model/DescribeSuspEventQuaraFilesRequest.cc + src/model/DescribeSuspEventQuaraFilesResult.cc src/model/DescribeSuspEventsRequest.cc src/model/DescribeSuspEventsResult.cc + src/model/DescribeUserBackupMachinesRequest.cc + src/model/DescribeUserBackupMachinesResult.cc src/model/DescribeUserBaselineAuthorizationRequest.cc src/model/DescribeUserBaselineAuthorizationResult.cc src/model/DescribeUserLayoutAuthorizationRequest.cc src/model/DescribeUserLayoutAuthorizationResult.cc + src/model/DescribeUuidsByVulNamesRequest.cc + src/model/DescribeUuidsByVulNamesResult.cc + src/model/DescribeVersionConfigRequest.cc + src/model/DescribeVersionConfigResult.cc src/model/DescribeVolDingdingMessageRequest.cc src/model/DescribeVolDingdingMessageResult.cc + src/model/DescribeVpcHoneyPotCriteriaRequest.cc + src/model/DescribeVpcHoneyPotCriteriaResult.cc + src/model/DescribeVpcHoneyPotListRequest.cc + src/model/DescribeVpcHoneyPotListResult.cc src/model/DescribeVpcListRequest.cc src/model/DescribeVpcListResult.cc src/model/DescribeVulDetailsRequest.cc @@ -356,30 +638,56 @@ set(sas_src src/model/DescribeVulWhitelistResult.cc src/model/DescribeWarningMachinesRequest.cc src/model/DescribeWarningMachinesResult.cc + src/model/DescribeWebLockBindListRequest.cc + src/model/DescribeWebLockBindListResult.cc + src/model/DescribeWebLockConfigListRequest.cc + src/model/DescribeWebLockConfigListResult.cc src/model/ExportRecordRequest.cc src/model/ExportRecordResult.cc src/model/FixCheckWarningsRequest.cc src/model/FixCheckWarningsResult.cc + src/model/GetBackupStorageCountRequest.cc + src/model/GetBackupStorageCountResult.cc src/model/GetIOCsRequest.cc src/model/GetIOCsResult.cc src/model/GetIncIOCsRequest.cc src/model/GetIncIOCsResult.cc + src/model/GetSuspiciousStatisticsRequest.cc + src/model/GetSuspiciousStatisticsResult.cc + src/model/GetVulStatisticsRequest.cc + src/model/GetVulStatisticsResult.cc + src/model/HandleSecurityEventsRequest.cc + src/model/HandleSecurityEventsResult.cc src/model/HandleSimilarSecurityEventsRequest.cc src/model/HandleSimilarSecurityEventsResult.cc + src/model/IgnoreHcCheckWarningsRequest.cc + src/model/IgnoreHcCheckWarningsResult.cc + src/model/InstallBackupClientRequest.cc + src/model/InstallBackupClientResult.cc src/model/ModifyAntiBruteForceRuleRequest.cc src/model/ModifyAntiBruteForceRuleResult.cc + src/model/ModifyAssetGroupRequest.cc + src/model/ModifyAssetGroupResult.cc + src/model/ModifyBackupPolicyRequest.cc + src/model/ModifyBackupPolicyResult.cc + src/model/ModifyBackupPolicyStatusRequest.cc + src/model/ModifyBackupPolicyStatusResult.cc src/model/ModifyCreateVulWhitelistRequest.cc src/model/ModifyCreateVulWhitelistResult.cc src/model/ModifyEmgVulSubmitRequest.cc src/model/ModifyEmgVulSubmitResult.cc src/model/ModifyGroupPropertyRequest.cc src/model/ModifyGroupPropertyResult.cc + src/model/ModifyInstanceAntiBruteForceRuleRequest.cc + src/model/ModifyInstanceAntiBruteForceRuleResult.cc src/model/ModifyLoginBaseConfigRequest.cc src/model/ModifyLoginBaseConfigResult.cc src/model/ModifyLoginSwitchConfigRequest.cc src/model/ModifyLoginSwitchConfigResult.cc src/model/ModifyNoticeConfigRequest.cc src/model/ModifyNoticeConfigResult.cc + src/model/ModifyOpenLogShipperRequest.cc + src/model/ModifyOpenLogShipperResult.cc src/model/ModifyOperateVulRequest.cc src/model/ModifyOperateVulResult.cc src/model/ModifyPushAllTaskRequest.cc @@ -394,18 +702,46 @@ set(sas_src src/model/ModifyStartVulScanResult.cc src/model/ModifyTagWithUuidRequest.cc src/model/ModifyTagWithUuidResult.cc + src/model/ModifyVpcHoneyPotRequest.cc + src/model/ModifyVpcHoneyPotResult.cc src/model/ModifyVulTargetConfigRequest.cc src/model/ModifyVulTargetConfigResult.cc + src/model/ModifyWebLockCreateConfigRequest.cc + src/model/ModifyWebLockCreateConfigResult.cc + src/model/ModifyWebLockDeleteConfigRequest.cc + src/model/ModifyWebLockDeleteConfigResult.cc + src/model/ModifyWebLockStartRequest.cc + src/model/ModifyWebLockStartResult.cc + src/model/ModifyWebLockStatusRequest.cc + src/model/ModifyWebLockStatusResult.cc + src/model/ModifyWebLockUnbindRequest.cc + src/model/ModifyWebLockUnbindResult.cc + src/model/ModifyWebLockUpdateConfigRequest.cc + src/model/ModifyWebLockUpdateConfigResult.cc src/model/OperateSuspiciousTargetConfigRequest.cc src/model/OperateSuspiciousTargetConfigResult.cc + src/model/OperateVulsRequest.cc + src/model/OperateVulsResult.cc src/model/OperationSuspEventsRequest.cc src/model/OperationSuspEventsResult.cc src/model/PauseClientRequest.cc src/model/PauseClientResult.cc + src/model/RefreshContainerAssetsRequest.cc + src/model/RefreshContainerAssetsResult.cc + src/model/RollbackSuspEventQuaraFileRequest.cc + src/model/RollbackSuspEventQuaraFileResult.cc src/model/SasInstallCodeRequest.cc src/model/SasInstallCodeResult.cc src/model/StartBaselineSecurityCheckRequest.cc src/model/StartBaselineSecurityCheckResult.cc + src/model/StartImageVulScanRequest.cc + src/model/StartImageVulScanResult.cc + src/model/StartVirusScanTaskRequest.cc + src/model/StartVirusScanTaskResult.cc + src/model/UnbindAegisRequest.cc + src/model/UnbindAegisResult.cc + src/model/UninstallBackupClientRequest.cc + src/model/UninstallBackupClientResult.cc src/model/ValidateHcWarningsRequest.cc src/model/ValidateHcWarningsResult.cc ) diff --git a/sas/include/alibabacloud/sas/SasClient.h b/sas/include/alibabacloud/sas/SasClient.h index da1e4f79c..603fbc6e5 100644 --- a/sas/include/alibabacloud/sas/SasClient.h +++ b/sas/include/alibabacloud/sas/SasClient.h @@ -22,34 +22,78 @@ #include #include #include "SasExport.h" +#include "model/AddVpcHoneyPotRequest.h" +#include "model/AddVpcHoneyPotResult.h" +#include "model/CheckQuaraFileIdRequest.h" +#include "model/CheckQuaraFileIdResult.h" +#include "model/CheckSecurityEventIdRequest.h" +#include "model/CheckSecurityEventIdResult.h" #include "model/CreateAntiBruteForceRuleRequest.h" #include "model/CreateAntiBruteForceRuleResult.h" +#include "model/CreateBackupPolicyRequest.h" +#include "model/CreateBackupPolicyResult.h" #include "model/CreateOrUpdateAssetGroupRequest.h" #include "model/CreateOrUpdateAssetGroupResult.h" +#include "model/CreateRestoreJobRequest.h" +#include "model/CreateRestoreJobResult.h" +#include "model/CreateSasOrderRequest.h" +#include "model/CreateSasOrderResult.h" +#include "model/CreateServiceLinkedRoleRequest.h" +#include "model/CreateServiceLinkedRoleResult.h" #include "model/CreateSimilarSecurityEventsQueryTaskRequest.h" #include "model/CreateSimilarSecurityEventsQueryTaskResult.h" +#include "model/DeleteBackupPolicyRequest.h" +#include "model/DeleteBackupPolicyResult.h" +#include "model/DeleteBackupPolicyMachineRequest.h" +#include "model/DeleteBackupPolicyMachineResult.h" #include "model/DeleteGroupRequest.h" #include "model/DeleteGroupResult.h" #include "model/DeleteLoginBaseConfigRequest.h" #include "model/DeleteLoginBaseConfigResult.h" #include "model/DeleteTagWithUuidRequest.h" #include "model/DeleteTagWithUuidResult.h" +#include "model/DeleteVpcHoneyPotRequest.h" +#include "model/DeleteVpcHoneyPotResult.h" +#include "model/DescribeAccesskeyLeakListRequest.h" +#include "model/DescribeAccesskeyLeakListResult.h" +#include "model/DescribeAffectedMaliciousFileImagesRequest.h" +#include "model/DescribeAffectedMaliciousFileImagesResult.h" #include "model/DescribeAlarmEventDetailRequest.h" #include "model/DescribeAlarmEventDetailResult.h" #include "model/DescribeAlarmEventListRequest.h" #include "model/DescribeAlarmEventListResult.h" +#include "model/DescribeAlarmEventStackInfoRequest.h" +#include "model/DescribeAlarmEventStackInfoResult.h" #include "model/DescribeAllEntityRequest.h" #include "model/DescribeAllEntityResult.h" #include "model/DescribeAllGroupsRequest.h" #include "model/DescribeAllGroupsResult.h" #include "model/DescribeAllRegionsStatisticsRequest.h" #include "model/DescribeAllRegionsStatisticsResult.h" +#include "model/DescribeAntiBruteForceRulesRequest.h" +#include "model/DescribeAntiBruteForceRulesResult.h" #include "model/DescribeAssetDetailByUuidRequest.h" #include "model/DescribeAssetDetailByUuidResult.h" #include "model/DescribeAssetDetailByUuidsRequest.h" #include "model/DescribeAssetDetailByUuidsResult.h" #include "model/DescribeAutoDelConfigRequest.h" #include "model/DescribeAutoDelConfigResult.h" +#include "model/DescribeBackupDirsRequest.h" +#include "model/DescribeBackupDirsResult.h" +#include "model/DescribeBackupFilesRequest.h" +#include "model/DescribeBackupFilesResult.h" +#include "model/DescribeBackupMachineStatusRequest.h" +#include "model/DescribeBackupMachineStatusResult.h" +#include "model/DescribeBackupPoliciesRequest.h" +#include "model/DescribeBackupPoliciesResult.h" +#include "model/DescribeBackupPolicyRequest.h" +#include "model/DescribeBackupPolicyResult.h" +#include "model/DescribeBackupRestoreCountRequest.h" +#include "model/DescribeBackupRestoreCountResult.h" +#include "model/DescribeBruteForceSummaryRequest.h" +#include "model/DescribeBruteForceSummaryResult.h" +#include "model/DescribeCheckEcsWarningsRequest.h" +#include "model/DescribeCheckEcsWarningsResult.h" #include "model/DescribeCheckWarningDetailRequest.h" #include "model/DescribeCheckWarningDetailResult.h" #include "model/DescribeCheckWarningSummaryRequest.h" @@ -62,6 +106,8 @@ #include "model/DescribeCloudProductFieldStatisticsResult.h" #include "model/DescribeConcernNecessityRequest.h" #include "model/DescribeConcernNecessityResult.h" +#include "model/DescribeContainerStatisticsRequest.h" +#include "model/DescribeContainerStatisticsResult.h" #include "model/DescribeCriteriaRequest.h" #include "model/DescribeCriteriaResult.h" #include "model/DescribeDialogMessagesRequest.h" @@ -74,28 +120,66 @@ #include "model/DescribeDomainDetailResult.h" #include "model/DescribeDomainListRequest.h" #include "model/DescribeDomainListResult.h" -#include "model/DescribeEmgVulGroupRequest.h" -#include "model/DescribeEmgVulGroupResult.h" +#include "model/DescribeEmgVulItemRequest.h" +#include "model/DescribeEmgVulItemResult.h" +#include "model/DescribeExcludeSystemPathRequest.h" +#include "model/DescribeExcludeSystemPathResult.h" #include "model/DescribeExportInfoRequest.h" #include "model/DescribeExportInfoResult.h" +#include "model/DescribeExposedInstanceCriteriaRequest.h" +#include "model/DescribeExposedInstanceCriteriaResult.h" +#include "model/DescribeExposedInstanceDetailRequest.h" +#include "model/DescribeExposedInstanceDetailResult.h" +#include "model/DescribeExposedInstanceListRequest.h" +#include "model/DescribeExposedInstanceListResult.h" +#include "model/DescribeExposedStatisticsRequest.h" +#include "model/DescribeExposedStatisticsResult.h" +#include "model/DescribeExposedStatisticsDetailRequest.h" +#include "model/DescribeExposedStatisticsDetailResult.h" #include "model/DescribeFieldStatisticsRequest.h" #include "model/DescribeFieldStatisticsResult.h" +#include "model/DescribeFrontVulPatchListRequest.h" +#include "model/DescribeFrontVulPatchListResult.h" #include "model/DescribeGraph4InvestigationOnlineRequest.h" #include "model/DescribeGraph4InvestigationOnlineResult.h" +#include "model/DescribeGroupedContainerInstancesRequest.h" +#include "model/DescribeGroupedContainerInstancesResult.h" +#include "model/DescribeGroupedInstancesRequest.h" +#include "model/DescribeGroupedInstancesResult.h" +#include "model/DescribeGroupedMaliciousFilesRequest.h" +#include "model/DescribeGroupedMaliciousFilesResult.h" #include "model/DescribeGroupedTagsRequest.h" #include "model/DescribeGroupedTagsResult.h" #include "model/DescribeGroupedVulRequest.h" #include "model/DescribeGroupedVulResult.h" +#include "model/DescribeHoneyPotAuthRequest.h" +#include "model/DescribeHoneyPotAuthResult.h" +#include "model/DescribeHoneyPotSuspStatisticsRequest.h" +#include "model/DescribeHoneyPotSuspStatisticsResult.h" +#include "model/DescribeImageGroupedVulListRequest.h" +#include "model/DescribeImageGroupedVulListResult.h" +#include "model/DescribeImageStatisticsRequest.h" +#include "model/DescribeImageStatisticsResult.h" +#include "model/DescribeImageVulListRequest.h" +#include "model/DescribeImageVulListResult.h" +#include "model/DescribeInstallCaptchaRequest.h" +#include "model/DescribeInstallCaptchaResult.h" +#include "model/DescribeInstanceAntiBruteForceRulesRequest.h" +#include "model/DescribeInstanceAntiBruteForceRulesResult.h" #include "model/DescribeInstanceStatisticsRequest.h" #include "model/DescribeInstanceStatisticsResult.h" #include "model/DescribeIpInfoRequest.h" #include "model/DescribeIpInfoResult.h" +#include "model/DescribeLogstoreStorageRequest.h" +#include "model/DescribeLogstoreStorageResult.h" #include "model/DescribeModuleConfigRequest.h" #include "model/DescribeModuleConfigResult.h" #include "model/DescribeNoticeConfigRequest.h" #include "model/DescribeNoticeConfigResult.h" #include "model/DescribePropertyCountRequest.h" #include "model/DescribePropertyCountResult.h" +#include "model/DescribePropertyCronDetailRequest.h" +#include "model/DescribePropertyCronDetailResult.h" #include "model/DescribePropertyPortDetailRequest.h" #include "model/DescribePropertyPortDetailResult.h" #include "model/DescribePropertyPortItemRequest.h" @@ -104,6 +188,8 @@ #include "model/DescribePropertyProcDetailResult.h" #include "model/DescribePropertyProcItemRequest.h" #include "model/DescribePropertyProcItemResult.h" +#include "model/DescribePropertyScaDetailRequest.h" +#include "model/DescribePropertyScaDetailResult.h" #include "model/DescribePropertySoftwareDetailRequest.h" #include "model/DescribePropertySoftwareDetailResult.h" #include "model/DescribePropertySoftwareItemRequest.h" @@ -114,6 +200,10 @@ #include "model/DescribePropertyUserDetailResult.h" #include "model/DescribePropertyUserItemRequest.h" #include "model/DescribePropertyUserItemResult.h" +#include "model/DescribeQuaraFileDownloadInfoRequest.h" +#include "model/DescribeQuaraFileDownloadInfoResult.h" +#include "model/DescribeRestoreJobsRequest.h" +#include "model/DescribeRestoreJobsResult.h" #include "model/DescribeRiskCheckItemResultRequest.h" #include "model/DescribeRiskCheckItemResultResult.h" #include "model/DescribeRiskCheckResultRequest.h" @@ -122,36 +212,60 @@ #include "model/DescribeRiskCheckSummaryResult.h" #include "model/DescribeRiskItemTypeRequest.h" #include "model/DescribeRiskItemTypeResult.h" +#include "model/DescribeRiskListCheckResultRequest.h" +#include "model/DescribeRiskListCheckResultResult.h" #include "model/DescribeSasAssetStatisticsColumnRequest.h" #include "model/DescribeSasAssetStatisticsColumnResult.h" +#include "model/DescribeScanTaskProgressRequest.h" +#include "model/DescribeScanTaskProgressResult.h" #include "model/DescribeSearchConditionRequest.h" #include "model/DescribeSearchConditionResult.h" #include "model/DescribeSecureSuggestionRequest.h" #include "model/DescribeSecureSuggestionResult.h" #include "model/DescribeSecurityCheckScheduleConfigRequest.h" #include "model/DescribeSecurityCheckScheduleConfigResult.h" +#include "model/DescribeSecurityEventOperationStatusRequest.h" +#include "model/DescribeSecurityEventOperationStatusResult.h" #include "model/DescribeSecurityEventOperationsRequest.h" #include "model/DescribeSecurityEventOperationsResult.h" #include "model/DescribeSecurityStatInfoRequest.h" #include "model/DescribeSecurityStatInfoResult.h" +#include "model/DescribeServiceLinkedRoleStatusRequest.h" +#include "model/DescribeServiceLinkedRoleStatusResult.h" +#include "model/DescribeSimilarEventScenariosRequest.h" +#include "model/DescribeSimilarEventScenariosResult.h" #include "model/DescribeSimilarSecurityEventsRequest.h" #include "model/DescribeSimilarSecurityEventsResult.h" +#include "model/DescribeSnapshotsRequest.h" +#include "model/DescribeSnapshotsResult.h" #include "model/DescribeStrategyExecDetailRequest.h" #include "model/DescribeStrategyExecDetailResult.h" -#include "model/DescribeStratetyRequest.h" -#include "model/DescribeStratetyResult.h" #include "model/DescribeSummaryInfoRequest.h" #include "model/DescribeSummaryInfoResult.h" +#include "model/DescribeSupportRegionRequest.h" +#include "model/DescribeSupportRegionResult.h" #include "model/DescribeSuspEventDetailRequest.h" #include "model/DescribeSuspEventDetailResult.h" +#include "model/DescribeSuspEventQuaraFilesRequest.h" +#include "model/DescribeSuspEventQuaraFilesResult.h" #include "model/DescribeSuspEventsRequest.h" #include "model/DescribeSuspEventsResult.h" +#include "model/DescribeUserBackupMachinesRequest.h" +#include "model/DescribeUserBackupMachinesResult.h" #include "model/DescribeUserBaselineAuthorizationRequest.h" #include "model/DescribeUserBaselineAuthorizationResult.h" #include "model/DescribeUserLayoutAuthorizationRequest.h" #include "model/DescribeUserLayoutAuthorizationResult.h" +#include "model/DescribeUuidsByVulNamesRequest.h" +#include "model/DescribeUuidsByVulNamesResult.h" +#include "model/DescribeVersionConfigRequest.h" +#include "model/DescribeVersionConfigResult.h" #include "model/DescribeVolDingdingMessageRequest.h" #include "model/DescribeVolDingdingMessageResult.h" +#include "model/DescribeVpcHoneyPotCriteriaRequest.h" +#include "model/DescribeVpcHoneyPotCriteriaResult.h" +#include "model/DescribeVpcHoneyPotListRequest.h" +#include "model/DescribeVpcHoneyPotListResult.h" #include "model/DescribeVpcListRequest.h" #include "model/DescribeVpcListResult.h" #include "model/DescribeVulDetailsRequest.h" @@ -162,30 +276,56 @@ #include "model/DescribeVulWhitelistResult.h" #include "model/DescribeWarningMachinesRequest.h" #include "model/DescribeWarningMachinesResult.h" +#include "model/DescribeWebLockBindListRequest.h" +#include "model/DescribeWebLockBindListResult.h" +#include "model/DescribeWebLockConfigListRequest.h" +#include "model/DescribeWebLockConfigListResult.h" #include "model/ExportRecordRequest.h" #include "model/ExportRecordResult.h" #include "model/FixCheckWarningsRequest.h" #include "model/FixCheckWarningsResult.h" +#include "model/GetBackupStorageCountRequest.h" +#include "model/GetBackupStorageCountResult.h" #include "model/GetIOCsRequest.h" #include "model/GetIOCsResult.h" #include "model/GetIncIOCsRequest.h" #include "model/GetIncIOCsResult.h" +#include "model/GetSuspiciousStatisticsRequest.h" +#include "model/GetSuspiciousStatisticsResult.h" +#include "model/GetVulStatisticsRequest.h" +#include "model/GetVulStatisticsResult.h" +#include "model/HandleSecurityEventsRequest.h" +#include "model/HandleSecurityEventsResult.h" #include "model/HandleSimilarSecurityEventsRequest.h" #include "model/HandleSimilarSecurityEventsResult.h" +#include "model/IgnoreHcCheckWarningsRequest.h" +#include "model/IgnoreHcCheckWarningsResult.h" +#include "model/InstallBackupClientRequest.h" +#include "model/InstallBackupClientResult.h" #include "model/ModifyAntiBruteForceRuleRequest.h" #include "model/ModifyAntiBruteForceRuleResult.h" +#include "model/ModifyAssetGroupRequest.h" +#include "model/ModifyAssetGroupResult.h" +#include "model/ModifyBackupPolicyRequest.h" +#include "model/ModifyBackupPolicyResult.h" +#include "model/ModifyBackupPolicyStatusRequest.h" +#include "model/ModifyBackupPolicyStatusResult.h" #include "model/ModifyCreateVulWhitelistRequest.h" #include "model/ModifyCreateVulWhitelistResult.h" #include "model/ModifyEmgVulSubmitRequest.h" #include "model/ModifyEmgVulSubmitResult.h" #include "model/ModifyGroupPropertyRequest.h" #include "model/ModifyGroupPropertyResult.h" +#include "model/ModifyInstanceAntiBruteForceRuleRequest.h" +#include "model/ModifyInstanceAntiBruteForceRuleResult.h" #include "model/ModifyLoginBaseConfigRequest.h" #include "model/ModifyLoginBaseConfigResult.h" #include "model/ModifyLoginSwitchConfigRequest.h" #include "model/ModifyLoginSwitchConfigResult.h" #include "model/ModifyNoticeConfigRequest.h" #include "model/ModifyNoticeConfigResult.h" +#include "model/ModifyOpenLogShipperRequest.h" +#include "model/ModifyOpenLogShipperResult.h" #include "model/ModifyOperateVulRequest.h" #include "model/ModifyOperateVulResult.h" #include "model/ModifyPushAllTaskRequest.h" @@ -200,18 +340,46 @@ #include "model/ModifyStartVulScanResult.h" #include "model/ModifyTagWithUuidRequest.h" #include "model/ModifyTagWithUuidResult.h" +#include "model/ModifyVpcHoneyPotRequest.h" +#include "model/ModifyVpcHoneyPotResult.h" #include "model/ModifyVulTargetConfigRequest.h" #include "model/ModifyVulTargetConfigResult.h" +#include "model/ModifyWebLockCreateConfigRequest.h" +#include "model/ModifyWebLockCreateConfigResult.h" +#include "model/ModifyWebLockDeleteConfigRequest.h" +#include "model/ModifyWebLockDeleteConfigResult.h" +#include "model/ModifyWebLockStartRequest.h" +#include "model/ModifyWebLockStartResult.h" +#include "model/ModifyWebLockStatusRequest.h" +#include "model/ModifyWebLockStatusResult.h" +#include "model/ModifyWebLockUnbindRequest.h" +#include "model/ModifyWebLockUnbindResult.h" +#include "model/ModifyWebLockUpdateConfigRequest.h" +#include "model/ModifyWebLockUpdateConfigResult.h" #include "model/OperateSuspiciousTargetConfigRequest.h" #include "model/OperateSuspiciousTargetConfigResult.h" +#include "model/OperateVulsRequest.h" +#include "model/OperateVulsResult.h" #include "model/OperationSuspEventsRequest.h" #include "model/OperationSuspEventsResult.h" #include "model/PauseClientRequest.h" #include "model/PauseClientResult.h" +#include "model/RefreshContainerAssetsRequest.h" +#include "model/RefreshContainerAssetsResult.h" +#include "model/RollbackSuspEventQuaraFileRequest.h" +#include "model/RollbackSuspEventQuaraFileResult.h" #include "model/SasInstallCodeRequest.h" #include "model/SasInstallCodeResult.h" #include "model/StartBaselineSecurityCheckRequest.h" #include "model/StartBaselineSecurityCheckResult.h" +#include "model/StartImageVulScanRequest.h" +#include "model/StartImageVulScanResult.h" +#include "model/StartVirusScanTaskRequest.h" +#include "model/StartVirusScanTaskResult.h" +#include "model/UnbindAegisRequest.h" +#include "model/UnbindAegisResult.h" +#include "model/UninstallBackupClientRequest.h" +#include "model/UninstallBackupClientResult.h" #include "model/ValidateHcWarningsRequest.h" #include "model/ValidateHcWarningsResult.h" @@ -223,15 +391,42 @@ namespace AlibabaCloud class ALIBABACLOUD_SAS_EXPORT SasClient : public RpcServiceClient { public: + typedef Outcome AddVpcHoneyPotOutcome; + typedef std::future AddVpcHoneyPotOutcomeCallable; + typedef std::function&)> AddVpcHoneyPotAsyncHandler; + typedef Outcome CheckQuaraFileIdOutcome; + typedef std::future CheckQuaraFileIdOutcomeCallable; + typedef std::function&)> CheckQuaraFileIdAsyncHandler; + typedef Outcome CheckSecurityEventIdOutcome; + typedef std::future CheckSecurityEventIdOutcomeCallable; + typedef std::function&)> CheckSecurityEventIdAsyncHandler; typedef Outcome CreateAntiBruteForceRuleOutcome; typedef std::future CreateAntiBruteForceRuleOutcomeCallable; typedef std::function&)> CreateAntiBruteForceRuleAsyncHandler; + typedef Outcome CreateBackupPolicyOutcome; + typedef std::future CreateBackupPolicyOutcomeCallable; + typedef std::function&)> CreateBackupPolicyAsyncHandler; typedef Outcome CreateOrUpdateAssetGroupOutcome; typedef std::future CreateOrUpdateAssetGroupOutcomeCallable; typedef std::function&)> CreateOrUpdateAssetGroupAsyncHandler; + typedef Outcome CreateRestoreJobOutcome; + typedef std::future CreateRestoreJobOutcomeCallable; + typedef std::function&)> CreateRestoreJobAsyncHandler; + typedef Outcome CreateSasOrderOutcome; + typedef std::future CreateSasOrderOutcomeCallable; + typedef std::function&)> CreateSasOrderAsyncHandler; + typedef Outcome CreateServiceLinkedRoleOutcome; + typedef std::future CreateServiceLinkedRoleOutcomeCallable; + typedef std::function&)> CreateServiceLinkedRoleAsyncHandler; typedef Outcome CreateSimilarSecurityEventsQueryTaskOutcome; typedef std::future CreateSimilarSecurityEventsQueryTaskOutcomeCallable; typedef std::function&)> CreateSimilarSecurityEventsQueryTaskAsyncHandler; + typedef Outcome DeleteBackupPolicyOutcome; + typedef std::future DeleteBackupPolicyOutcomeCallable; + typedef std::function&)> DeleteBackupPolicyAsyncHandler; + typedef Outcome DeleteBackupPolicyMachineOutcome; + typedef std::future DeleteBackupPolicyMachineOutcomeCallable; + typedef std::function&)> DeleteBackupPolicyMachineAsyncHandler; typedef Outcome DeleteGroupOutcome; typedef std::future DeleteGroupOutcomeCallable; typedef std::function&)> DeleteGroupAsyncHandler; @@ -241,12 +436,24 @@ namespace AlibabaCloud typedef Outcome DeleteTagWithUuidOutcome; typedef std::future DeleteTagWithUuidOutcomeCallable; typedef std::function&)> DeleteTagWithUuidAsyncHandler; + typedef Outcome DeleteVpcHoneyPotOutcome; + typedef std::future DeleteVpcHoneyPotOutcomeCallable; + typedef std::function&)> DeleteVpcHoneyPotAsyncHandler; + typedef Outcome DescribeAccesskeyLeakListOutcome; + typedef std::future DescribeAccesskeyLeakListOutcomeCallable; + typedef std::function&)> DescribeAccesskeyLeakListAsyncHandler; + typedef Outcome DescribeAffectedMaliciousFileImagesOutcome; + typedef std::future DescribeAffectedMaliciousFileImagesOutcomeCallable; + typedef std::function&)> DescribeAffectedMaliciousFileImagesAsyncHandler; typedef Outcome DescribeAlarmEventDetailOutcome; typedef std::future DescribeAlarmEventDetailOutcomeCallable; typedef std::function&)> DescribeAlarmEventDetailAsyncHandler; typedef Outcome DescribeAlarmEventListOutcome; typedef std::future DescribeAlarmEventListOutcomeCallable; typedef std::function&)> DescribeAlarmEventListAsyncHandler; + typedef Outcome DescribeAlarmEventStackInfoOutcome; + typedef std::future DescribeAlarmEventStackInfoOutcomeCallable; + typedef std::function&)> DescribeAlarmEventStackInfoAsyncHandler; typedef Outcome DescribeAllEntityOutcome; typedef std::future DescribeAllEntityOutcomeCallable; typedef std::function&)> DescribeAllEntityAsyncHandler; @@ -256,6 +463,9 @@ namespace AlibabaCloud typedef Outcome DescribeAllRegionsStatisticsOutcome; typedef std::future DescribeAllRegionsStatisticsOutcomeCallable; typedef std::function&)> DescribeAllRegionsStatisticsAsyncHandler; + typedef Outcome DescribeAntiBruteForceRulesOutcome; + typedef std::future DescribeAntiBruteForceRulesOutcomeCallable; + typedef std::function&)> DescribeAntiBruteForceRulesAsyncHandler; typedef Outcome DescribeAssetDetailByUuidOutcome; typedef std::future DescribeAssetDetailByUuidOutcomeCallable; typedef std::function&)> DescribeAssetDetailByUuidAsyncHandler; @@ -265,6 +475,30 @@ namespace AlibabaCloud typedef Outcome DescribeAutoDelConfigOutcome; typedef std::future DescribeAutoDelConfigOutcomeCallable; typedef std::function&)> DescribeAutoDelConfigAsyncHandler; + typedef Outcome DescribeBackupDirsOutcome; + typedef std::future DescribeBackupDirsOutcomeCallable; + typedef std::function&)> DescribeBackupDirsAsyncHandler; + typedef Outcome DescribeBackupFilesOutcome; + typedef std::future DescribeBackupFilesOutcomeCallable; + typedef std::function&)> DescribeBackupFilesAsyncHandler; + typedef Outcome DescribeBackupMachineStatusOutcome; + typedef std::future DescribeBackupMachineStatusOutcomeCallable; + typedef std::function&)> DescribeBackupMachineStatusAsyncHandler; + typedef Outcome DescribeBackupPoliciesOutcome; + typedef std::future DescribeBackupPoliciesOutcomeCallable; + typedef std::function&)> DescribeBackupPoliciesAsyncHandler; + typedef Outcome DescribeBackupPolicyOutcome; + typedef std::future DescribeBackupPolicyOutcomeCallable; + typedef std::function&)> DescribeBackupPolicyAsyncHandler; + typedef Outcome DescribeBackupRestoreCountOutcome; + typedef std::future DescribeBackupRestoreCountOutcomeCallable; + typedef std::function&)> DescribeBackupRestoreCountAsyncHandler; + typedef Outcome DescribeBruteForceSummaryOutcome; + typedef std::future DescribeBruteForceSummaryOutcomeCallable; + typedef std::function&)> DescribeBruteForceSummaryAsyncHandler; + typedef Outcome DescribeCheckEcsWarningsOutcome; + typedef std::future DescribeCheckEcsWarningsOutcomeCallable; + typedef std::function&)> DescribeCheckEcsWarningsAsyncHandler; typedef Outcome DescribeCheckWarningDetailOutcome; typedef std::future DescribeCheckWarningDetailOutcomeCallable; typedef std::function&)> DescribeCheckWarningDetailAsyncHandler; @@ -283,6 +517,9 @@ namespace AlibabaCloud typedef Outcome DescribeConcernNecessityOutcome; typedef std::future DescribeConcernNecessityOutcomeCallable; typedef std::function&)> DescribeConcernNecessityAsyncHandler; + typedef Outcome DescribeContainerStatisticsOutcome; + typedef std::future DescribeContainerStatisticsOutcomeCallable; + typedef std::function&)> DescribeContainerStatisticsAsyncHandler; typedef Outcome DescribeCriteriaOutcome; typedef std::future DescribeCriteriaOutcomeCallable; typedef std::function&)> DescribeCriteriaAsyncHandler; @@ -301,30 +538,84 @@ namespace AlibabaCloud typedef Outcome DescribeDomainListOutcome; typedef std::future DescribeDomainListOutcomeCallable; typedef std::function&)> DescribeDomainListAsyncHandler; - typedef Outcome DescribeEmgVulGroupOutcome; - typedef std::future DescribeEmgVulGroupOutcomeCallable; - typedef std::function&)> DescribeEmgVulGroupAsyncHandler; + typedef Outcome DescribeEmgVulItemOutcome; + typedef std::future DescribeEmgVulItemOutcomeCallable; + typedef std::function&)> DescribeEmgVulItemAsyncHandler; + typedef Outcome DescribeExcludeSystemPathOutcome; + typedef std::future DescribeExcludeSystemPathOutcomeCallable; + typedef std::function&)> DescribeExcludeSystemPathAsyncHandler; typedef Outcome DescribeExportInfoOutcome; typedef std::future DescribeExportInfoOutcomeCallable; typedef std::function&)> DescribeExportInfoAsyncHandler; + typedef Outcome DescribeExposedInstanceCriteriaOutcome; + typedef std::future DescribeExposedInstanceCriteriaOutcomeCallable; + typedef std::function&)> DescribeExposedInstanceCriteriaAsyncHandler; + typedef Outcome DescribeExposedInstanceDetailOutcome; + typedef std::future DescribeExposedInstanceDetailOutcomeCallable; + typedef std::function&)> DescribeExposedInstanceDetailAsyncHandler; + typedef Outcome DescribeExposedInstanceListOutcome; + typedef std::future DescribeExposedInstanceListOutcomeCallable; + typedef std::function&)> DescribeExposedInstanceListAsyncHandler; + typedef Outcome DescribeExposedStatisticsOutcome; + typedef std::future DescribeExposedStatisticsOutcomeCallable; + typedef std::function&)> DescribeExposedStatisticsAsyncHandler; + typedef Outcome DescribeExposedStatisticsDetailOutcome; + typedef std::future DescribeExposedStatisticsDetailOutcomeCallable; + typedef std::function&)> DescribeExposedStatisticsDetailAsyncHandler; typedef Outcome DescribeFieldStatisticsOutcome; typedef std::future DescribeFieldStatisticsOutcomeCallable; typedef std::function&)> DescribeFieldStatisticsAsyncHandler; + typedef Outcome DescribeFrontVulPatchListOutcome; + typedef std::future DescribeFrontVulPatchListOutcomeCallable; + typedef std::function&)> DescribeFrontVulPatchListAsyncHandler; typedef Outcome DescribeGraph4InvestigationOnlineOutcome; typedef std::future DescribeGraph4InvestigationOnlineOutcomeCallable; typedef std::function&)> DescribeGraph4InvestigationOnlineAsyncHandler; + typedef Outcome DescribeGroupedContainerInstancesOutcome; + typedef std::future DescribeGroupedContainerInstancesOutcomeCallable; + typedef std::function&)> DescribeGroupedContainerInstancesAsyncHandler; + typedef Outcome DescribeGroupedInstancesOutcome; + typedef std::future DescribeGroupedInstancesOutcomeCallable; + typedef std::function&)> DescribeGroupedInstancesAsyncHandler; + typedef Outcome DescribeGroupedMaliciousFilesOutcome; + typedef std::future DescribeGroupedMaliciousFilesOutcomeCallable; + typedef std::function&)> DescribeGroupedMaliciousFilesAsyncHandler; typedef Outcome DescribeGroupedTagsOutcome; typedef std::future DescribeGroupedTagsOutcomeCallable; typedef std::function&)> DescribeGroupedTagsAsyncHandler; typedef Outcome DescribeGroupedVulOutcome; typedef std::future DescribeGroupedVulOutcomeCallable; typedef std::function&)> DescribeGroupedVulAsyncHandler; + typedef Outcome DescribeHoneyPotAuthOutcome; + typedef std::future DescribeHoneyPotAuthOutcomeCallable; + typedef std::function&)> DescribeHoneyPotAuthAsyncHandler; + typedef Outcome DescribeHoneyPotSuspStatisticsOutcome; + typedef std::future DescribeHoneyPotSuspStatisticsOutcomeCallable; + typedef std::function&)> DescribeHoneyPotSuspStatisticsAsyncHandler; + typedef Outcome DescribeImageGroupedVulListOutcome; + typedef std::future DescribeImageGroupedVulListOutcomeCallable; + typedef std::function&)> DescribeImageGroupedVulListAsyncHandler; + typedef Outcome DescribeImageStatisticsOutcome; + typedef std::future DescribeImageStatisticsOutcomeCallable; + typedef std::function&)> DescribeImageStatisticsAsyncHandler; + typedef Outcome DescribeImageVulListOutcome; + typedef std::future DescribeImageVulListOutcomeCallable; + typedef std::function&)> DescribeImageVulListAsyncHandler; + typedef Outcome DescribeInstallCaptchaOutcome; + typedef std::future DescribeInstallCaptchaOutcomeCallable; + typedef std::function&)> DescribeInstallCaptchaAsyncHandler; + typedef Outcome DescribeInstanceAntiBruteForceRulesOutcome; + typedef std::future DescribeInstanceAntiBruteForceRulesOutcomeCallable; + typedef std::function&)> DescribeInstanceAntiBruteForceRulesAsyncHandler; typedef Outcome DescribeInstanceStatisticsOutcome; typedef std::future DescribeInstanceStatisticsOutcomeCallable; typedef std::function&)> DescribeInstanceStatisticsAsyncHandler; typedef Outcome DescribeIpInfoOutcome; typedef std::future DescribeIpInfoOutcomeCallable; typedef std::function&)> DescribeIpInfoAsyncHandler; + typedef Outcome DescribeLogstoreStorageOutcome; + typedef std::future DescribeLogstoreStorageOutcomeCallable; + typedef std::function&)> DescribeLogstoreStorageAsyncHandler; typedef Outcome DescribeModuleConfigOutcome; typedef std::future DescribeModuleConfigOutcomeCallable; typedef std::function&)> DescribeModuleConfigAsyncHandler; @@ -334,6 +625,9 @@ namespace AlibabaCloud typedef Outcome DescribePropertyCountOutcome; typedef std::future DescribePropertyCountOutcomeCallable; typedef std::function&)> DescribePropertyCountAsyncHandler; + typedef Outcome DescribePropertyCronDetailOutcome; + typedef std::future DescribePropertyCronDetailOutcomeCallable; + typedef std::function&)> DescribePropertyCronDetailAsyncHandler; typedef Outcome DescribePropertyPortDetailOutcome; typedef std::future DescribePropertyPortDetailOutcomeCallable; typedef std::function&)> DescribePropertyPortDetailAsyncHandler; @@ -346,6 +640,9 @@ namespace AlibabaCloud typedef Outcome DescribePropertyProcItemOutcome; typedef std::future DescribePropertyProcItemOutcomeCallable; typedef std::function&)> DescribePropertyProcItemAsyncHandler; + typedef Outcome DescribePropertyScaDetailOutcome; + typedef std::future DescribePropertyScaDetailOutcomeCallable; + typedef std::function&)> DescribePropertyScaDetailAsyncHandler; typedef Outcome DescribePropertySoftwareDetailOutcome; typedef std::future DescribePropertySoftwareDetailOutcomeCallable; typedef std::function&)> DescribePropertySoftwareDetailAsyncHandler; @@ -361,6 +658,12 @@ namespace AlibabaCloud typedef Outcome DescribePropertyUserItemOutcome; typedef std::future DescribePropertyUserItemOutcomeCallable; typedef std::function&)> DescribePropertyUserItemAsyncHandler; + typedef Outcome DescribeQuaraFileDownloadInfoOutcome; + typedef std::future DescribeQuaraFileDownloadInfoOutcomeCallable; + typedef std::function&)> DescribeQuaraFileDownloadInfoAsyncHandler; + typedef Outcome DescribeRestoreJobsOutcome; + typedef std::future DescribeRestoreJobsOutcomeCallable; + typedef std::function&)> DescribeRestoreJobsAsyncHandler; typedef Outcome DescribeRiskCheckItemResultOutcome; typedef std::future DescribeRiskCheckItemResultOutcomeCallable; typedef std::function&)> DescribeRiskCheckItemResultAsyncHandler; @@ -373,9 +676,15 @@ namespace AlibabaCloud typedef Outcome DescribeRiskItemTypeOutcome; typedef std::future DescribeRiskItemTypeOutcomeCallable; typedef std::function&)> DescribeRiskItemTypeAsyncHandler; + typedef Outcome DescribeRiskListCheckResultOutcome; + typedef std::future DescribeRiskListCheckResultOutcomeCallable; + typedef std::function&)> DescribeRiskListCheckResultAsyncHandler; typedef Outcome DescribeSasAssetStatisticsColumnOutcome; typedef std::future DescribeSasAssetStatisticsColumnOutcomeCallable; typedef std::function&)> DescribeSasAssetStatisticsColumnAsyncHandler; + typedef Outcome DescribeScanTaskProgressOutcome; + typedef std::future DescribeScanTaskProgressOutcomeCallable; + typedef std::function&)> DescribeScanTaskProgressAsyncHandler; typedef Outcome DescribeSearchConditionOutcome; typedef std::future DescribeSearchConditionOutcomeCallable; typedef std::function&)> DescribeSearchConditionAsyncHandler; @@ -385,39 +694,69 @@ namespace AlibabaCloud typedef Outcome DescribeSecurityCheckScheduleConfigOutcome; typedef std::future DescribeSecurityCheckScheduleConfigOutcomeCallable; typedef std::function&)> DescribeSecurityCheckScheduleConfigAsyncHandler; + typedef Outcome DescribeSecurityEventOperationStatusOutcome; + typedef std::future DescribeSecurityEventOperationStatusOutcomeCallable; + typedef std::function&)> DescribeSecurityEventOperationStatusAsyncHandler; typedef Outcome DescribeSecurityEventOperationsOutcome; typedef std::future DescribeSecurityEventOperationsOutcomeCallable; typedef std::function&)> DescribeSecurityEventOperationsAsyncHandler; typedef Outcome DescribeSecurityStatInfoOutcome; typedef std::future DescribeSecurityStatInfoOutcomeCallable; typedef std::function&)> DescribeSecurityStatInfoAsyncHandler; + typedef Outcome DescribeServiceLinkedRoleStatusOutcome; + typedef std::future DescribeServiceLinkedRoleStatusOutcomeCallable; + typedef std::function&)> DescribeServiceLinkedRoleStatusAsyncHandler; + typedef Outcome DescribeSimilarEventScenariosOutcome; + typedef std::future DescribeSimilarEventScenariosOutcomeCallable; + typedef std::function&)> DescribeSimilarEventScenariosAsyncHandler; typedef Outcome DescribeSimilarSecurityEventsOutcome; typedef std::future DescribeSimilarSecurityEventsOutcomeCallable; typedef std::function&)> DescribeSimilarSecurityEventsAsyncHandler; + typedef Outcome DescribeSnapshotsOutcome; + typedef std::future DescribeSnapshotsOutcomeCallable; + typedef std::function&)> DescribeSnapshotsAsyncHandler; typedef Outcome DescribeStrategyExecDetailOutcome; typedef std::future DescribeStrategyExecDetailOutcomeCallable; typedef std::function&)> DescribeStrategyExecDetailAsyncHandler; - typedef Outcome DescribeStratetyOutcome; - typedef std::future DescribeStratetyOutcomeCallable; - typedef std::function&)> DescribeStratetyAsyncHandler; typedef Outcome DescribeSummaryInfoOutcome; typedef std::future DescribeSummaryInfoOutcomeCallable; typedef std::function&)> DescribeSummaryInfoAsyncHandler; + typedef Outcome DescribeSupportRegionOutcome; + typedef std::future DescribeSupportRegionOutcomeCallable; + typedef std::function&)> DescribeSupportRegionAsyncHandler; typedef Outcome DescribeSuspEventDetailOutcome; typedef std::future DescribeSuspEventDetailOutcomeCallable; typedef std::function&)> DescribeSuspEventDetailAsyncHandler; + typedef Outcome DescribeSuspEventQuaraFilesOutcome; + typedef std::future DescribeSuspEventQuaraFilesOutcomeCallable; + typedef std::function&)> DescribeSuspEventQuaraFilesAsyncHandler; typedef Outcome DescribeSuspEventsOutcome; typedef std::future DescribeSuspEventsOutcomeCallable; typedef std::function&)> DescribeSuspEventsAsyncHandler; + typedef Outcome DescribeUserBackupMachinesOutcome; + typedef std::future DescribeUserBackupMachinesOutcomeCallable; + typedef std::function&)> DescribeUserBackupMachinesAsyncHandler; typedef Outcome DescribeUserBaselineAuthorizationOutcome; typedef std::future DescribeUserBaselineAuthorizationOutcomeCallable; typedef std::function&)> DescribeUserBaselineAuthorizationAsyncHandler; typedef Outcome DescribeUserLayoutAuthorizationOutcome; typedef std::future DescribeUserLayoutAuthorizationOutcomeCallable; typedef std::function&)> DescribeUserLayoutAuthorizationAsyncHandler; + typedef Outcome DescribeUuidsByVulNamesOutcome; + typedef std::future DescribeUuidsByVulNamesOutcomeCallable; + typedef std::function&)> DescribeUuidsByVulNamesAsyncHandler; + typedef Outcome DescribeVersionConfigOutcome; + typedef std::future DescribeVersionConfigOutcomeCallable; + typedef std::function&)> DescribeVersionConfigAsyncHandler; typedef Outcome DescribeVolDingdingMessageOutcome; typedef std::future DescribeVolDingdingMessageOutcomeCallable; typedef std::function&)> DescribeVolDingdingMessageAsyncHandler; + typedef Outcome DescribeVpcHoneyPotCriteriaOutcome; + typedef std::future DescribeVpcHoneyPotCriteriaOutcomeCallable; + typedef std::function&)> DescribeVpcHoneyPotCriteriaAsyncHandler; + typedef Outcome DescribeVpcHoneyPotListOutcome; + typedef std::future DescribeVpcHoneyPotListOutcomeCallable; + typedef std::function&)> DescribeVpcHoneyPotListAsyncHandler; typedef Outcome DescribeVpcListOutcome; typedef std::future DescribeVpcListOutcomeCallable; typedef std::function&)> DescribeVpcListAsyncHandler; @@ -433,24 +772,57 @@ namespace AlibabaCloud typedef Outcome DescribeWarningMachinesOutcome; typedef std::future DescribeWarningMachinesOutcomeCallable; typedef std::function&)> DescribeWarningMachinesAsyncHandler; + typedef Outcome DescribeWebLockBindListOutcome; + typedef std::future DescribeWebLockBindListOutcomeCallable; + typedef std::function&)> DescribeWebLockBindListAsyncHandler; + typedef Outcome DescribeWebLockConfigListOutcome; + typedef std::future DescribeWebLockConfigListOutcomeCallable; + typedef std::function&)> DescribeWebLockConfigListAsyncHandler; typedef Outcome ExportRecordOutcome; typedef std::future ExportRecordOutcomeCallable; typedef std::function&)> ExportRecordAsyncHandler; typedef Outcome FixCheckWarningsOutcome; typedef std::future FixCheckWarningsOutcomeCallable; typedef std::function&)> FixCheckWarningsAsyncHandler; + typedef Outcome GetBackupStorageCountOutcome; + typedef std::future GetBackupStorageCountOutcomeCallable; + typedef std::function&)> GetBackupStorageCountAsyncHandler; typedef Outcome GetIOCsOutcome; typedef std::future GetIOCsOutcomeCallable; typedef std::function&)> GetIOCsAsyncHandler; typedef Outcome GetIncIOCsOutcome; typedef std::future GetIncIOCsOutcomeCallable; typedef std::function&)> GetIncIOCsAsyncHandler; + typedef Outcome GetSuspiciousStatisticsOutcome; + typedef std::future GetSuspiciousStatisticsOutcomeCallable; + typedef std::function&)> GetSuspiciousStatisticsAsyncHandler; + typedef Outcome GetVulStatisticsOutcome; + typedef std::future GetVulStatisticsOutcomeCallable; + typedef std::function&)> GetVulStatisticsAsyncHandler; + typedef Outcome HandleSecurityEventsOutcome; + typedef std::future HandleSecurityEventsOutcomeCallable; + typedef std::function&)> HandleSecurityEventsAsyncHandler; typedef Outcome HandleSimilarSecurityEventsOutcome; typedef std::future HandleSimilarSecurityEventsOutcomeCallable; typedef std::function&)> HandleSimilarSecurityEventsAsyncHandler; + typedef Outcome IgnoreHcCheckWarningsOutcome; + typedef std::future IgnoreHcCheckWarningsOutcomeCallable; + typedef std::function&)> IgnoreHcCheckWarningsAsyncHandler; + typedef Outcome InstallBackupClientOutcome; + typedef std::future InstallBackupClientOutcomeCallable; + typedef std::function&)> InstallBackupClientAsyncHandler; typedef Outcome ModifyAntiBruteForceRuleOutcome; typedef std::future ModifyAntiBruteForceRuleOutcomeCallable; typedef std::function&)> ModifyAntiBruteForceRuleAsyncHandler; + typedef Outcome ModifyAssetGroupOutcome; + typedef std::future ModifyAssetGroupOutcomeCallable; + typedef std::function&)> ModifyAssetGroupAsyncHandler; + typedef Outcome ModifyBackupPolicyOutcome; + typedef std::future ModifyBackupPolicyOutcomeCallable; + typedef std::function&)> ModifyBackupPolicyAsyncHandler; + typedef Outcome ModifyBackupPolicyStatusOutcome; + typedef std::future ModifyBackupPolicyStatusOutcomeCallable; + typedef std::function&)> ModifyBackupPolicyStatusAsyncHandler; typedef Outcome ModifyCreateVulWhitelistOutcome; typedef std::future ModifyCreateVulWhitelistOutcomeCallable; typedef std::function&)> ModifyCreateVulWhitelistAsyncHandler; @@ -460,6 +832,9 @@ namespace AlibabaCloud typedef Outcome ModifyGroupPropertyOutcome; typedef std::future ModifyGroupPropertyOutcomeCallable; typedef std::function&)> ModifyGroupPropertyAsyncHandler; + typedef Outcome ModifyInstanceAntiBruteForceRuleOutcome; + typedef std::future ModifyInstanceAntiBruteForceRuleOutcomeCallable; + typedef std::function&)> ModifyInstanceAntiBruteForceRuleAsyncHandler; typedef Outcome ModifyLoginBaseConfigOutcome; typedef std::future ModifyLoginBaseConfigOutcomeCallable; typedef std::function&)> ModifyLoginBaseConfigAsyncHandler; @@ -469,6 +844,9 @@ namespace AlibabaCloud typedef Outcome ModifyNoticeConfigOutcome; typedef std::future ModifyNoticeConfigOutcomeCallable; typedef std::function&)> ModifyNoticeConfigAsyncHandler; + typedef Outcome ModifyOpenLogShipperOutcome; + typedef std::future ModifyOpenLogShipperOutcomeCallable; + typedef std::function&)> ModifyOpenLogShipperAsyncHandler; typedef Outcome ModifyOperateVulOutcome; typedef std::future ModifyOperateVulOutcomeCallable; typedef std::function&)> ModifyOperateVulAsyncHandler; @@ -490,24 +868,66 @@ namespace AlibabaCloud typedef Outcome ModifyTagWithUuidOutcome; typedef std::future ModifyTagWithUuidOutcomeCallable; typedef std::function&)> ModifyTagWithUuidAsyncHandler; + typedef Outcome ModifyVpcHoneyPotOutcome; + typedef std::future ModifyVpcHoneyPotOutcomeCallable; + typedef std::function&)> ModifyVpcHoneyPotAsyncHandler; typedef Outcome ModifyVulTargetConfigOutcome; typedef std::future ModifyVulTargetConfigOutcomeCallable; typedef std::function&)> ModifyVulTargetConfigAsyncHandler; + typedef Outcome ModifyWebLockCreateConfigOutcome; + typedef std::future ModifyWebLockCreateConfigOutcomeCallable; + typedef std::function&)> ModifyWebLockCreateConfigAsyncHandler; + typedef Outcome ModifyWebLockDeleteConfigOutcome; + typedef std::future ModifyWebLockDeleteConfigOutcomeCallable; + typedef std::function&)> ModifyWebLockDeleteConfigAsyncHandler; + typedef Outcome ModifyWebLockStartOutcome; + typedef std::future ModifyWebLockStartOutcomeCallable; + typedef std::function&)> ModifyWebLockStartAsyncHandler; + typedef Outcome ModifyWebLockStatusOutcome; + typedef std::future ModifyWebLockStatusOutcomeCallable; + typedef std::function&)> ModifyWebLockStatusAsyncHandler; + typedef Outcome ModifyWebLockUnbindOutcome; + typedef std::future ModifyWebLockUnbindOutcomeCallable; + typedef std::function&)> ModifyWebLockUnbindAsyncHandler; + typedef Outcome ModifyWebLockUpdateConfigOutcome; + typedef std::future ModifyWebLockUpdateConfigOutcomeCallable; + typedef std::function&)> ModifyWebLockUpdateConfigAsyncHandler; typedef Outcome OperateSuspiciousTargetConfigOutcome; typedef std::future OperateSuspiciousTargetConfigOutcomeCallable; typedef std::function&)> OperateSuspiciousTargetConfigAsyncHandler; + typedef Outcome OperateVulsOutcome; + typedef std::future OperateVulsOutcomeCallable; + typedef std::function&)> OperateVulsAsyncHandler; typedef Outcome OperationSuspEventsOutcome; typedef std::future OperationSuspEventsOutcomeCallable; typedef std::function&)> OperationSuspEventsAsyncHandler; typedef Outcome PauseClientOutcome; typedef std::future PauseClientOutcomeCallable; typedef std::function&)> PauseClientAsyncHandler; + typedef Outcome RefreshContainerAssetsOutcome; + typedef std::future RefreshContainerAssetsOutcomeCallable; + typedef std::function&)> RefreshContainerAssetsAsyncHandler; + typedef Outcome RollbackSuspEventQuaraFileOutcome; + typedef std::future RollbackSuspEventQuaraFileOutcomeCallable; + typedef std::function&)> RollbackSuspEventQuaraFileAsyncHandler; typedef Outcome SasInstallCodeOutcome; typedef std::future SasInstallCodeOutcomeCallable; typedef std::function&)> SasInstallCodeAsyncHandler; typedef Outcome StartBaselineSecurityCheckOutcome; typedef std::future StartBaselineSecurityCheckOutcomeCallable; typedef std::function&)> StartBaselineSecurityCheckAsyncHandler; + typedef Outcome StartImageVulScanOutcome; + typedef std::future StartImageVulScanOutcomeCallable; + typedef std::function&)> StartImageVulScanAsyncHandler; + typedef Outcome StartVirusScanTaskOutcome; + typedef std::future StartVirusScanTaskOutcomeCallable; + typedef std::function&)> StartVirusScanTaskAsyncHandler; + typedef Outcome UnbindAegisOutcome; + typedef std::future UnbindAegisOutcomeCallable; + typedef std::function&)> UnbindAegisAsyncHandler; + typedef Outcome UninstallBackupClientOutcome; + typedef std::future UninstallBackupClientOutcomeCallable; + typedef std::function&)> UninstallBackupClientAsyncHandler; typedef Outcome ValidateHcWarningsOutcome; typedef std::future ValidateHcWarningsOutcomeCallable; typedef std::function&)> ValidateHcWarningsAsyncHandler; @@ -516,15 +936,42 @@ namespace AlibabaCloud SasClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); SasClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); ~SasClient(); + AddVpcHoneyPotOutcome addVpcHoneyPot(const Model::AddVpcHoneyPotRequest &request)const; + void addVpcHoneyPotAsync(const Model::AddVpcHoneyPotRequest& request, const AddVpcHoneyPotAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddVpcHoneyPotOutcomeCallable addVpcHoneyPotCallable(const Model::AddVpcHoneyPotRequest& request) const; + CheckQuaraFileIdOutcome checkQuaraFileId(const Model::CheckQuaraFileIdRequest &request)const; + void checkQuaraFileIdAsync(const Model::CheckQuaraFileIdRequest& request, const CheckQuaraFileIdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CheckQuaraFileIdOutcomeCallable checkQuaraFileIdCallable(const Model::CheckQuaraFileIdRequest& request) const; + CheckSecurityEventIdOutcome checkSecurityEventId(const Model::CheckSecurityEventIdRequest &request)const; + void checkSecurityEventIdAsync(const Model::CheckSecurityEventIdRequest& request, const CheckSecurityEventIdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CheckSecurityEventIdOutcomeCallable checkSecurityEventIdCallable(const Model::CheckSecurityEventIdRequest& request) const; CreateAntiBruteForceRuleOutcome createAntiBruteForceRule(const Model::CreateAntiBruteForceRuleRequest &request)const; void createAntiBruteForceRuleAsync(const Model::CreateAntiBruteForceRuleRequest& request, const CreateAntiBruteForceRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateAntiBruteForceRuleOutcomeCallable createAntiBruteForceRuleCallable(const Model::CreateAntiBruteForceRuleRequest& request) const; + CreateBackupPolicyOutcome createBackupPolicy(const Model::CreateBackupPolicyRequest &request)const; + void createBackupPolicyAsync(const Model::CreateBackupPolicyRequest& request, const CreateBackupPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateBackupPolicyOutcomeCallable createBackupPolicyCallable(const Model::CreateBackupPolicyRequest& request) const; CreateOrUpdateAssetGroupOutcome createOrUpdateAssetGroup(const Model::CreateOrUpdateAssetGroupRequest &request)const; void createOrUpdateAssetGroupAsync(const Model::CreateOrUpdateAssetGroupRequest& request, const CreateOrUpdateAssetGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateOrUpdateAssetGroupOutcomeCallable createOrUpdateAssetGroupCallable(const Model::CreateOrUpdateAssetGroupRequest& request) const; + CreateRestoreJobOutcome createRestoreJob(const Model::CreateRestoreJobRequest &request)const; + void createRestoreJobAsync(const Model::CreateRestoreJobRequest& request, const CreateRestoreJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateRestoreJobOutcomeCallable createRestoreJobCallable(const Model::CreateRestoreJobRequest& request) const; + CreateSasOrderOutcome createSasOrder(const Model::CreateSasOrderRequest &request)const; + void createSasOrderAsync(const Model::CreateSasOrderRequest& request, const CreateSasOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateSasOrderOutcomeCallable createSasOrderCallable(const Model::CreateSasOrderRequest& request) const; + CreateServiceLinkedRoleOutcome createServiceLinkedRole(const Model::CreateServiceLinkedRoleRequest &request)const; + void createServiceLinkedRoleAsync(const Model::CreateServiceLinkedRoleRequest& request, const CreateServiceLinkedRoleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateServiceLinkedRoleOutcomeCallable createServiceLinkedRoleCallable(const Model::CreateServiceLinkedRoleRequest& request) const; CreateSimilarSecurityEventsQueryTaskOutcome createSimilarSecurityEventsQueryTask(const Model::CreateSimilarSecurityEventsQueryTaskRequest &request)const; void createSimilarSecurityEventsQueryTaskAsync(const Model::CreateSimilarSecurityEventsQueryTaskRequest& request, const CreateSimilarSecurityEventsQueryTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateSimilarSecurityEventsQueryTaskOutcomeCallable createSimilarSecurityEventsQueryTaskCallable(const Model::CreateSimilarSecurityEventsQueryTaskRequest& request) const; + DeleteBackupPolicyOutcome deleteBackupPolicy(const Model::DeleteBackupPolicyRequest &request)const; + void deleteBackupPolicyAsync(const Model::DeleteBackupPolicyRequest& request, const DeleteBackupPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteBackupPolicyOutcomeCallable deleteBackupPolicyCallable(const Model::DeleteBackupPolicyRequest& request) const; + DeleteBackupPolicyMachineOutcome deleteBackupPolicyMachine(const Model::DeleteBackupPolicyMachineRequest &request)const; + void deleteBackupPolicyMachineAsync(const Model::DeleteBackupPolicyMachineRequest& request, const DeleteBackupPolicyMachineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteBackupPolicyMachineOutcomeCallable deleteBackupPolicyMachineCallable(const Model::DeleteBackupPolicyMachineRequest& request) const; DeleteGroupOutcome deleteGroup(const Model::DeleteGroupRequest &request)const; void deleteGroupAsync(const Model::DeleteGroupRequest& request, const DeleteGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteGroupOutcomeCallable deleteGroupCallable(const Model::DeleteGroupRequest& request) const; @@ -534,12 +981,24 @@ namespace AlibabaCloud DeleteTagWithUuidOutcome deleteTagWithUuid(const Model::DeleteTagWithUuidRequest &request)const; void deleteTagWithUuidAsync(const Model::DeleteTagWithUuidRequest& request, const DeleteTagWithUuidAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteTagWithUuidOutcomeCallable deleteTagWithUuidCallable(const Model::DeleteTagWithUuidRequest& request) const; + DeleteVpcHoneyPotOutcome deleteVpcHoneyPot(const Model::DeleteVpcHoneyPotRequest &request)const; + void deleteVpcHoneyPotAsync(const Model::DeleteVpcHoneyPotRequest& request, const DeleteVpcHoneyPotAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteVpcHoneyPotOutcomeCallable deleteVpcHoneyPotCallable(const Model::DeleteVpcHoneyPotRequest& request) const; + DescribeAccesskeyLeakListOutcome describeAccesskeyLeakList(const Model::DescribeAccesskeyLeakListRequest &request)const; + void describeAccesskeyLeakListAsync(const Model::DescribeAccesskeyLeakListRequest& request, const DescribeAccesskeyLeakListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAccesskeyLeakListOutcomeCallable describeAccesskeyLeakListCallable(const Model::DescribeAccesskeyLeakListRequest& request) const; + DescribeAffectedMaliciousFileImagesOutcome describeAffectedMaliciousFileImages(const Model::DescribeAffectedMaliciousFileImagesRequest &request)const; + void describeAffectedMaliciousFileImagesAsync(const Model::DescribeAffectedMaliciousFileImagesRequest& request, const DescribeAffectedMaliciousFileImagesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAffectedMaliciousFileImagesOutcomeCallable describeAffectedMaliciousFileImagesCallable(const Model::DescribeAffectedMaliciousFileImagesRequest& request) const; DescribeAlarmEventDetailOutcome describeAlarmEventDetail(const Model::DescribeAlarmEventDetailRequest &request)const; void describeAlarmEventDetailAsync(const Model::DescribeAlarmEventDetailRequest& request, const DescribeAlarmEventDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeAlarmEventDetailOutcomeCallable describeAlarmEventDetailCallable(const Model::DescribeAlarmEventDetailRequest& request) const; DescribeAlarmEventListOutcome describeAlarmEventList(const Model::DescribeAlarmEventListRequest &request)const; void describeAlarmEventListAsync(const Model::DescribeAlarmEventListRequest& request, const DescribeAlarmEventListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeAlarmEventListOutcomeCallable describeAlarmEventListCallable(const Model::DescribeAlarmEventListRequest& request) const; + 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; DescribeAllEntityOutcome describeAllEntity(const Model::DescribeAllEntityRequest &request)const; void describeAllEntityAsync(const Model::DescribeAllEntityRequest& request, const DescribeAllEntityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeAllEntityOutcomeCallable describeAllEntityCallable(const Model::DescribeAllEntityRequest& request) const; @@ -549,6 +1008,9 @@ namespace AlibabaCloud DescribeAllRegionsStatisticsOutcome describeAllRegionsStatistics(const Model::DescribeAllRegionsStatisticsRequest &request)const; void describeAllRegionsStatisticsAsync(const Model::DescribeAllRegionsStatisticsRequest& request, const DescribeAllRegionsStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeAllRegionsStatisticsOutcomeCallable describeAllRegionsStatisticsCallable(const Model::DescribeAllRegionsStatisticsRequest& request) const; + DescribeAntiBruteForceRulesOutcome describeAntiBruteForceRules(const Model::DescribeAntiBruteForceRulesRequest &request)const; + void describeAntiBruteForceRulesAsync(const Model::DescribeAntiBruteForceRulesRequest& request, const DescribeAntiBruteForceRulesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAntiBruteForceRulesOutcomeCallable describeAntiBruteForceRulesCallable(const Model::DescribeAntiBruteForceRulesRequest& request) const; DescribeAssetDetailByUuidOutcome describeAssetDetailByUuid(const Model::DescribeAssetDetailByUuidRequest &request)const; void describeAssetDetailByUuidAsync(const Model::DescribeAssetDetailByUuidRequest& request, const DescribeAssetDetailByUuidAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeAssetDetailByUuidOutcomeCallable describeAssetDetailByUuidCallable(const Model::DescribeAssetDetailByUuidRequest& request) const; @@ -558,6 +1020,30 @@ namespace AlibabaCloud DescribeAutoDelConfigOutcome describeAutoDelConfig(const Model::DescribeAutoDelConfigRequest &request)const; void describeAutoDelConfigAsync(const Model::DescribeAutoDelConfigRequest& request, const DescribeAutoDelConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeAutoDelConfigOutcomeCallable describeAutoDelConfigCallable(const Model::DescribeAutoDelConfigRequest& request) const; + DescribeBackupDirsOutcome describeBackupDirs(const Model::DescribeBackupDirsRequest &request)const; + void describeBackupDirsAsync(const Model::DescribeBackupDirsRequest& request, const DescribeBackupDirsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBackupDirsOutcomeCallable describeBackupDirsCallable(const Model::DescribeBackupDirsRequest& request) const; + DescribeBackupFilesOutcome describeBackupFiles(const Model::DescribeBackupFilesRequest &request)const; + void describeBackupFilesAsync(const Model::DescribeBackupFilesRequest& request, const DescribeBackupFilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBackupFilesOutcomeCallable describeBackupFilesCallable(const Model::DescribeBackupFilesRequest& request) const; + DescribeBackupMachineStatusOutcome describeBackupMachineStatus(const Model::DescribeBackupMachineStatusRequest &request)const; + void describeBackupMachineStatusAsync(const Model::DescribeBackupMachineStatusRequest& request, const DescribeBackupMachineStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBackupMachineStatusOutcomeCallable describeBackupMachineStatusCallable(const Model::DescribeBackupMachineStatusRequest& request) const; + DescribeBackupPoliciesOutcome describeBackupPolicies(const Model::DescribeBackupPoliciesRequest &request)const; + void describeBackupPoliciesAsync(const Model::DescribeBackupPoliciesRequest& request, const DescribeBackupPoliciesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBackupPoliciesOutcomeCallable describeBackupPoliciesCallable(const Model::DescribeBackupPoliciesRequest& request) const; + DescribeBackupPolicyOutcome describeBackupPolicy(const Model::DescribeBackupPolicyRequest &request)const; + void describeBackupPolicyAsync(const Model::DescribeBackupPolicyRequest& request, const DescribeBackupPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBackupPolicyOutcomeCallable describeBackupPolicyCallable(const Model::DescribeBackupPolicyRequest& request) const; + DescribeBackupRestoreCountOutcome describeBackupRestoreCount(const Model::DescribeBackupRestoreCountRequest &request)const; + void describeBackupRestoreCountAsync(const Model::DescribeBackupRestoreCountRequest& request, const DescribeBackupRestoreCountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBackupRestoreCountOutcomeCallable describeBackupRestoreCountCallable(const Model::DescribeBackupRestoreCountRequest& request) const; + DescribeBruteForceSummaryOutcome describeBruteForceSummary(const Model::DescribeBruteForceSummaryRequest &request)const; + void describeBruteForceSummaryAsync(const Model::DescribeBruteForceSummaryRequest& request, const DescribeBruteForceSummaryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBruteForceSummaryOutcomeCallable describeBruteForceSummaryCallable(const Model::DescribeBruteForceSummaryRequest& request) const; + DescribeCheckEcsWarningsOutcome describeCheckEcsWarnings(const Model::DescribeCheckEcsWarningsRequest &request)const; + void describeCheckEcsWarningsAsync(const Model::DescribeCheckEcsWarningsRequest& request, const DescribeCheckEcsWarningsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCheckEcsWarningsOutcomeCallable describeCheckEcsWarningsCallable(const Model::DescribeCheckEcsWarningsRequest& request) const; DescribeCheckWarningDetailOutcome describeCheckWarningDetail(const Model::DescribeCheckWarningDetailRequest &request)const; void describeCheckWarningDetailAsync(const Model::DescribeCheckWarningDetailRequest& request, const DescribeCheckWarningDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCheckWarningDetailOutcomeCallable describeCheckWarningDetailCallable(const Model::DescribeCheckWarningDetailRequest& request) const; @@ -576,6 +1062,9 @@ namespace AlibabaCloud DescribeConcernNecessityOutcome describeConcernNecessity(const Model::DescribeConcernNecessityRequest &request)const; void describeConcernNecessityAsync(const Model::DescribeConcernNecessityRequest& request, const DescribeConcernNecessityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeConcernNecessityOutcomeCallable describeConcernNecessityCallable(const Model::DescribeConcernNecessityRequest& request) const; + DescribeContainerStatisticsOutcome describeContainerStatistics(const Model::DescribeContainerStatisticsRequest &request)const; + void describeContainerStatisticsAsync(const Model::DescribeContainerStatisticsRequest& request, const DescribeContainerStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeContainerStatisticsOutcomeCallable describeContainerStatisticsCallable(const Model::DescribeContainerStatisticsRequest& request) const; DescribeCriteriaOutcome describeCriteria(const Model::DescribeCriteriaRequest &request)const; void describeCriteriaAsync(const Model::DescribeCriteriaRequest& request, const DescribeCriteriaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCriteriaOutcomeCallable describeCriteriaCallable(const Model::DescribeCriteriaRequest& request) const; @@ -594,30 +1083,84 @@ namespace AlibabaCloud DescribeDomainListOutcome describeDomainList(const Model::DescribeDomainListRequest &request)const; void describeDomainListAsync(const Model::DescribeDomainListRequest& request, const DescribeDomainListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDomainListOutcomeCallable describeDomainListCallable(const Model::DescribeDomainListRequest& request) const; - DescribeEmgVulGroupOutcome describeEmgVulGroup(const Model::DescribeEmgVulGroupRequest &request)const; - void describeEmgVulGroupAsync(const Model::DescribeEmgVulGroupRequest& request, const DescribeEmgVulGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeEmgVulGroupOutcomeCallable describeEmgVulGroupCallable(const Model::DescribeEmgVulGroupRequest& request) const; + DescribeEmgVulItemOutcome describeEmgVulItem(const Model::DescribeEmgVulItemRequest &request)const; + void describeEmgVulItemAsync(const Model::DescribeEmgVulItemRequest& request, const DescribeEmgVulItemAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeEmgVulItemOutcomeCallable describeEmgVulItemCallable(const Model::DescribeEmgVulItemRequest& request) const; + DescribeExcludeSystemPathOutcome describeExcludeSystemPath(const Model::DescribeExcludeSystemPathRequest &request)const; + void describeExcludeSystemPathAsync(const Model::DescribeExcludeSystemPathRequest& request, const DescribeExcludeSystemPathAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeExcludeSystemPathOutcomeCallable describeExcludeSystemPathCallable(const Model::DescribeExcludeSystemPathRequest& request) const; DescribeExportInfoOutcome describeExportInfo(const Model::DescribeExportInfoRequest &request)const; void describeExportInfoAsync(const Model::DescribeExportInfoRequest& request, const DescribeExportInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeExportInfoOutcomeCallable describeExportInfoCallable(const Model::DescribeExportInfoRequest& request) const; + DescribeExposedInstanceCriteriaOutcome describeExposedInstanceCriteria(const Model::DescribeExposedInstanceCriteriaRequest &request)const; + void describeExposedInstanceCriteriaAsync(const Model::DescribeExposedInstanceCriteriaRequest& request, const DescribeExposedInstanceCriteriaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeExposedInstanceCriteriaOutcomeCallable describeExposedInstanceCriteriaCallable(const Model::DescribeExposedInstanceCriteriaRequest& request) const; + DescribeExposedInstanceDetailOutcome describeExposedInstanceDetail(const Model::DescribeExposedInstanceDetailRequest &request)const; + void describeExposedInstanceDetailAsync(const Model::DescribeExposedInstanceDetailRequest& request, const DescribeExposedInstanceDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeExposedInstanceDetailOutcomeCallable describeExposedInstanceDetailCallable(const Model::DescribeExposedInstanceDetailRequest& request) const; + DescribeExposedInstanceListOutcome describeExposedInstanceList(const Model::DescribeExposedInstanceListRequest &request)const; + void describeExposedInstanceListAsync(const Model::DescribeExposedInstanceListRequest& request, const DescribeExposedInstanceListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeExposedInstanceListOutcomeCallable describeExposedInstanceListCallable(const Model::DescribeExposedInstanceListRequest& request) const; + DescribeExposedStatisticsOutcome describeExposedStatistics(const Model::DescribeExposedStatisticsRequest &request)const; + void describeExposedStatisticsAsync(const Model::DescribeExposedStatisticsRequest& request, const DescribeExposedStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeExposedStatisticsOutcomeCallable describeExposedStatisticsCallable(const Model::DescribeExposedStatisticsRequest& request) const; + DescribeExposedStatisticsDetailOutcome describeExposedStatisticsDetail(const Model::DescribeExposedStatisticsDetailRequest &request)const; + void describeExposedStatisticsDetailAsync(const Model::DescribeExposedStatisticsDetailRequest& request, const DescribeExposedStatisticsDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeExposedStatisticsDetailOutcomeCallable describeExposedStatisticsDetailCallable(const Model::DescribeExposedStatisticsDetailRequest& request) const; DescribeFieldStatisticsOutcome describeFieldStatistics(const Model::DescribeFieldStatisticsRequest &request)const; void describeFieldStatisticsAsync(const Model::DescribeFieldStatisticsRequest& request, const DescribeFieldStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeFieldStatisticsOutcomeCallable describeFieldStatisticsCallable(const Model::DescribeFieldStatisticsRequest& request) const; + DescribeFrontVulPatchListOutcome describeFrontVulPatchList(const Model::DescribeFrontVulPatchListRequest &request)const; + void describeFrontVulPatchListAsync(const Model::DescribeFrontVulPatchListRequest& request, const DescribeFrontVulPatchListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeFrontVulPatchListOutcomeCallable describeFrontVulPatchListCallable(const Model::DescribeFrontVulPatchListRequest& request) const; DescribeGraph4InvestigationOnlineOutcome describeGraph4InvestigationOnline(const Model::DescribeGraph4InvestigationOnlineRequest &request)const; void describeGraph4InvestigationOnlineAsync(const Model::DescribeGraph4InvestigationOnlineRequest& request, const DescribeGraph4InvestigationOnlineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeGraph4InvestigationOnlineOutcomeCallable describeGraph4InvestigationOnlineCallable(const Model::DescribeGraph4InvestigationOnlineRequest& request) const; + DescribeGroupedContainerInstancesOutcome describeGroupedContainerInstances(const Model::DescribeGroupedContainerInstancesRequest &request)const; + void describeGroupedContainerInstancesAsync(const Model::DescribeGroupedContainerInstancesRequest& request, const DescribeGroupedContainerInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeGroupedContainerInstancesOutcomeCallable describeGroupedContainerInstancesCallable(const Model::DescribeGroupedContainerInstancesRequest& request) const; + DescribeGroupedInstancesOutcome describeGroupedInstances(const Model::DescribeGroupedInstancesRequest &request)const; + void describeGroupedInstancesAsync(const Model::DescribeGroupedInstancesRequest& request, const DescribeGroupedInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeGroupedInstancesOutcomeCallable describeGroupedInstancesCallable(const Model::DescribeGroupedInstancesRequest& request) const; + DescribeGroupedMaliciousFilesOutcome describeGroupedMaliciousFiles(const Model::DescribeGroupedMaliciousFilesRequest &request)const; + void describeGroupedMaliciousFilesAsync(const Model::DescribeGroupedMaliciousFilesRequest& request, const DescribeGroupedMaliciousFilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeGroupedMaliciousFilesOutcomeCallable describeGroupedMaliciousFilesCallable(const Model::DescribeGroupedMaliciousFilesRequest& request) const; DescribeGroupedTagsOutcome describeGroupedTags(const Model::DescribeGroupedTagsRequest &request)const; void describeGroupedTagsAsync(const Model::DescribeGroupedTagsRequest& request, const DescribeGroupedTagsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeGroupedTagsOutcomeCallable describeGroupedTagsCallable(const Model::DescribeGroupedTagsRequest& request) const; DescribeGroupedVulOutcome describeGroupedVul(const Model::DescribeGroupedVulRequest &request)const; void describeGroupedVulAsync(const Model::DescribeGroupedVulRequest& request, const DescribeGroupedVulAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeGroupedVulOutcomeCallable describeGroupedVulCallable(const Model::DescribeGroupedVulRequest& request) const; + DescribeHoneyPotAuthOutcome describeHoneyPotAuth(const Model::DescribeHoneyPotAuthRequest &request)const; + void describeHoneyPotAuthAsync(const Model::DescribeHoneyPotAuthRequest& request, const DescribeHoneyPotAuthAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeHoneyPotAuthOutcomeCallable describeHoneyPotAuthCallable(const Model::DescribeHoneyPotAuthRequest& request) const; + DescribeHoneyPotSuspStatisticsOutcome describeHoneyPotSuspStatistics(const Model::DescribeHoneyPotSuspStatisticsRequest &request)const; + void describeHoneyPotSuspStatisticsAsync(const Model::DescribeHoneyPotSuspStatisticsRequest& request, const DescribeHoneyPotSuspStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeHoneyPotSuspStatisticsOutcomeCallable describeHoneyPotSuspStatisticsCallable(const Model::DescribeHoneyPotSuspStatisticsRequest& request) const; + DescribeImageGroupedVulListOutcome describeImageGroupedVulList(const Model::DescribeImageGroupedVulListRequest &request)const; + void describeImageGroupedVulListAsync(const Model::DescribeImageGroupedVulListRequest& request, const DescribeImageGroupedVulListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeImageGroupedVulListOutcomeCallable describeImageGroupedVulListCallable(const Model::DescribeImageGroupedVulListRequest& request) const; + DescribeImageStatisticsOutcome describeImageStatistics(const Model::DescribeImageStatisticsRequest &request)const; + void describeImageStatisticsAsync(const Model::DescribeImageStatisticsRequest& request, const DescribeImageStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeImageStatisticsOutcomeCallable describeImageStatisticsCallable(const Model::DescribeImageStatisticsRequest& request) const; + DescribeImageVulListOutcome describeImageVulList(const Model::DescribeImageVulListRequest &request)const; + void describeImageVulListAsync(const Model::DescribeImageVulListRequest& request, const DescribeImageVulListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeImageVulListOutcomeCallable describeImageVulListCallable(const Model::DescribeImageVulListRequest& request) const; + DescribeInstallCaptchaOutcome describeInstallCaptcha(const Model::DescribeInstallCaptchaRequest &request)const; + void describeInstallCaptchaAsync(const Model::DescribeInstallCaptchaRequest& request, const DescribeInstallCaptchaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeInstallCaptchaOutcomeCallable describeInstallCaptchaCallable(const Model::DescribeInstallCaptchaRequest& request) const; + DescribeInstanceAntiBruteForceRulesOutcome describeInstanceAntiBruteForceRules(const Model::DescribeInstanceAntiBruteForceRulesRequest &request)const; + void describeInstanceAntiBruteForceRulesAsync(const Model::DescribeInstanceAntiBruteForceRulesRequest& request, const DescribeInstanceAntiBruteForceRulesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeInstanceAntiBruteForceRulesOutcomeCallable describeInstanceAntiBruteForceRulesCallable(const Model::DescribeInstanceAntiBruteForceRulesRequest& request) const; DescribeInstanceStatisticsOutcome describeInstanceStatistics(const Model::DescribeInstanceStatisticsRequest &request)const; void describeInstanceStatisticsAsync(const Model::DescribeInstanceStatisticsRequest& request, const DescribeInstanceStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeInstanceStatisticsOutcomeCallable describeInstanceStatisticsCallable(const Model::DescribeInstanceStatisticsRequest& request) const; DescribeIpInfoOutcome describeIpInfo(const Model::DescribeIpInfoRequest &request)const; void describeIpInfoAsync(const Model::DescribeIpInfoRequest& request, const DescribeIpInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeIpInfoOutcomeCallable describeIpInfoCallable(const Model::DescribeIpInfoRequest& request) const; + DescribeLogstoreStorageOutcome describeLogstoreStorage(const Model::DescribeLogstoreStorageRequest &request)const; + void describeLogstoreStorageAsync(const Model::DescribeLogstoreStorageRequest& request, const DescribeLogstoreStorageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLogstoreStorageOutcomeCallable describeLogstoreStorageCallable(const Model::DescribeLogstoreStorageRequest& request) const; DescribeModuleConfigOutcome describeModuleConfig(const Model::DescribeModuleConfigRequest &request)const; void describeModuleConfigAsync(const Model::DescribeModuleConfigRequest& request, const DescribeModuleConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeModuleConfigOutcomeCallable describeModuleConfigCallable(const Model::DescribeModuleConfigRequest& request) const; @@ -627,6 +1170,9 @@ namespace AlibabaCloud DescribePropertyCountOutcome describePropertyCount(const Model::DescribePropertyCountRequest &request)const; void describePropertyCountAsync(const Model::DescribePropertyCountRequest& request, const DescribePropertyCountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribePropertyCountOutcomeCallable describePropertyCountCallable(const Model::DescribePropertyCountRequest& request) const; + DescribePropertyCronDetailOutcome describePropertyCronDetail(const Model::DescribePropertyCronDetailRequest &request)const; + void describePropertyCronDetailAsync(const Model::DescribePropertyCronDetailRequest& request, const DescribePropertyCronDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribePropertyCronDetailOutcomeCallable describePropertyCronDetailCallable(const Model::DescribePropertyCronDetailRequest& request) const; DescribePropertyPortDetailOutcome describePropertyPortDetail(const Model::DescribePropertyPortDetailRequest &request)const; void describePropertyPortDetailAsync(const Model::DescribePropertyPortDetailRequest& request, const DescribePropertyPortDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribePropertyPortDetailOutcomeCallable describePropertyPortDetailCallable(const Model::DescribePropertyPortDetailRequest& request) const; @@ -639,6 +1185,9 @@ namespace AlibabaCloud DescribePropertyProcItemOutcome describePropertyProcItem(const Model::DescribePropertyProcItemRequest &request)const; void describePropertyProcItemAsync(const Model::DescribePropertyProcItemRequest& request, const DescribePropertyProcItemAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribePropertyProcItemOutcomeCallable describePropertyProcItemCallable(const Model::DescribePropertyProcItemRequest& request) const; + DescribePropertyScaDetailOutcome describePropertyScaDetail(const Model::DescribePropertyScaDetailRequest &request)const; + void describePropertyScaDetailAsync(const Model::DescribePropertyScaDetailRequest& request, const DescribePropertyScaDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribePropertyScaDetailOutcomeCallable describePropertyScaDetailCallable(const Model::DescribePropertyScaDetailRequest& request) const; DescribePropertySoftwareDetailOutcome describePropertySoftwareDetail(const Model::DescribePropertySoftwareDetailRequest &request)const; void describePropertySoftwareDetailAsync(const Model::DescribePropertySoftwareDetailRequest& request, const DescribePropertySoftwareDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribePropertySoftwareDetailOutcomeCallable describePropertySoftwareDetailCallable(const Model::DescribePropertySoftwareDetailRequest& request) const; @@ -654,6 +1203,12 @@ namespace AlibabaCloud DescribePropertyUserItemOutcome describePropertyUserItem(const Model::DescribePropertyUserItemRequest &request)const; void describePropertyUserItemAsync(const Model::DescribePropertyUserItemRequest& request, const DescribePropertyUserItemAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribePropertyUserItemOutcomeCallable describePropertyUserItemCallable(const Model::DescribePropertyUserItemRequest& request) const; + DescribeQuaraFileDownloadInfoOutcome describeQuaraFileDownloadInfo(const Model::DescribeQuaraFileDownloadInfoRequest &request)const; + void describeQuaraFileDownloadInfoAsync(const Model::DescribeQuaraFileDownloadInfoRequest& request, const DescribeQuaraFileDownloadInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeQuaraFileDownloadInfoOutcomeCallable describeQuaraFileDownloadInfoCallable(const Model::DescribeQuaraFileDownloadInfoRequest& request) const; + DescribeRestoreJobsOutcome describeRestoreJobs(const Model::DescribeRestoreJobsRequest &request)const; + void describeRestoreJobsAsync(const Model::DescribeRestoreJobsRequest& request, const DescribeRestoreJobsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRestoreJobsOutcomeCallable describeRestoreJobsCallable(const Model::DescribeRestoreJobsRequest& request) const; DescribeRiskCheckItemResultOutcome describeRiskCheckItemResult(const Model::DescribeRiskCheckItemResultRequest &request)const; void describeRiskCheckItemResultAsync(const Model::DescribeRiskCheckItemResultRequest& request, const DescribeRiskCheckItemResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeRiskCheckItemResultOutcomeCallable describeRiskCheckItemResultCallable(const Model::DescribeRiskCheckItemResultRequest& request) const; @@ -666,9 +1221,15 @@ namespace AlibabaCloud DescribeRiskItemTypeOutcome describeRiskItemType(const Model::DescribeRiskItemTypeRequest &request)const; void describeRiskItemTypeAsync(const Model::DescribeRiskItemTypeRequest& request, const DescribeRiskItemTypeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeRiskItemTypeOutcomeCallable describeRiskItemTypeCallable(const Model::DescribeRiskItemTypeRequest& request) const; + DescribeRiskListCheckResultOutcome describeRiskListCheckResult(const Model::DescribeRiskListCheckResultRequest &request)const; + void describeRiskListCheckResultAsync(const Model::DescribeRiskListCheckResultRequest& request, const DescribeRiskListCheckResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRiskListCheckResultOutcomeCallable describeRiskListCheckResultCallable(const Model::DescribeRiskListCheckResultRequest& request) const; DescribeSasAssetStatisticsColumnOutcome describeSasAssetStatisticsColumn(const Model::DescribeSasAssetStatisticsColumnRequest &request)const; void describeSasAssetStatisticsColumnAsync(const Model::DescribeSasAssetStatisticsColumnRequest& request, const DescribeSasAssetStatisticsColumnAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSasAssetStatisticsColumnOutcomeCallable describeSasAssetStatisticsColumnCallable(const Model::DescribeSasAssetStatisticsColumnRequest& request) const; + DescribeScanTaskProgressOutcome describeScanTaskProgress(const Model::DescribeScanTaskProgressRequest &request)const; + void describeScanTaskProgressAsync(const Model::DescribeScanTaskProgressRequest& request, const DescribeScanTaskProgressAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeScanTaskProgressOutcomeCallable describeScanTaskProgressCallable(const Model::DescribeScanTaskProgressRequest& request) const; DescribeSearchConditionOutcome describeSearchCondition(const Model::DescribeSearchConditionRequest &request)const; void describeSearchConditionAsync(const Model::DescribeSearchConditionRequest& request, const DescribeSearchConditionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSearchConditionOutcomeCallable describeSearchConditionCallable(const Model::DescribeSearchConditionRequest& request) const; @@ -678,39 +1239,69 @@ namespace AlibabaCloud DescribeSecurityCheckScheduleConfigOutcome describeSecurityCheckScheduleConfig(const Model::DescribeSecurityCheckScheduleConfigRequest &request)const; void describeSecurityCheckScheduleConfigAsync(const Model::DescribeSecurityCheckScheduleConfigRequest& request, const DescribeSecurityCheckScheduleConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSecurityCheckScheduleConfigOutcomeCallable describeSecurityCheckScheduleConfigCallable(const Model::DescribeSecurityCheckScheduleConfigRequest& request) const; + DescribeSecurityEventOperationStatusOutcome describeSecurityEventOperationStatus(const Model::DescribeSecurityEventOperationStatusRequest &request)const; + void describeSecurityEventOperationStatusAsync(const Model::DescribeSecurityEventOperationStatusRequest& request, const DescribeSecurityEventOperationStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSecurityEventOperationStatusOutcomeCallable describeSecurityEventOperationStatusCallable(const Model::DescribeSecurityEventOperationStatusRequest& request) const; DescribeSecurityEventOperationsOutcome describeSecurityEventOperations(const Model::DescribeSecurityEventOperationsRequest &request)const; void describeSecurityEventOperationsAsync(const Model::DescribeSecurityEventOperationsRequest& request, const DescribeSecurityEventOperationsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSecurityEventOperationsOutcomeCallable describeSecurityEventOperationsCallable(const Model::DescribeSecurityEventOperationsRequest& request) const; DescribeSecurityStatInfoOutcome describeSecurityStatInfo(const Model::DescribeSecurityStatInfoRequest &request)const; void describeSecurityStatInfoAsync(const Model::DescribeSecurityStatInfoRequest& request, const DescribeSecurityStatInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSecurityStatInfoOutcomeCallable describeSecurityStatInfoCallable(const Model::DescribeSecurityStatInfoRequest& request) const; + DescribeServiceLinkedRoleStatusOutcome describeServiceLinkedRoleStatus(const Model::DescribeServiceLinkedRoleStatusRequest &request)const; + void describeServiceLinkedRoleStatusAsync(const Model::DescribeServiceLinkedRoleStatusRequest& request, const DescribeServiceLinkedRoleStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeServiceLinkedRoleStatusOutcomeCallable describeServiceLinkedRoleStatusCallable(const Model::DescribeServiceLinkedRoleStatusRequest& request) const; + DescribeSimilarEventScenariosOutcome describeSimilarEventScenarios(const Model::DescribeSimilarEventScenariosRequest &request)const; + void describeSimilarEventScenariosAsync(const Model::DescribeSimilarEventScenariosRequest& request, const DescribeSimilarEventScenariosAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSimilarEventScenariosOutcomeCallable describeSimilarEventScenariosCallable(const Model::DescribeSimilarEventScenariosRequest& request) const; DescribeSimilarSecurityEventsOutcome describeSimilarSecurityEvents(const Model::DescribeSimilarSecurityEventsRequest &request)const; void describeSimilarSecurityEventsAsync(const Model::DescribeSimilarSecurityEventsRequest& request, const DescribeSimilarSecurityEventsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSimilarSecurityEventsOutcomeCallable describeSimilarSecurityEventsCallable(const Model::DescribeSimilarSecurityEventsRequest& request) const; + DescribeSnapshotsOutcome describeSnapshots(const Model::DescribeSnapshotsRequest &request)const; + void describeSnapshotsAsync(const Model::DescribeSnapshotsRequest& request, const DescribeSnapshotsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSnapshotsOutcomeCallable describeSnapshotsCallable(const Model::DescribeSnapshotsRequest& request) const; DescribeStrategyExecDetailOutcome describeStrategyExecDetail(const Model::DescribeStrategyExecDetailRequest &request)const; void describeStrategyExecDetailAsync(const Model::DescribeStrategyExecDetailRequest& request, const DescribeStrategyExecDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeStrategyExecDetailOutcomeCallable describeStrategyExecDetailCallable(const Model::DescribeStrategyExecDetailRequest& request) const; - DescribeStratetyOutcome describeStratety(const Model::DescribeStratetyRequest &request)const; - void describeStratetyAsync(const Model::DescribeStratetyRequest& request, const DescribeStratetyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeStratetyOutcomeCallable describeStratetyCallable(const Model::DescribeStratetyRequest& request) const; DescribeSummaryInfoOutcome describeSummaryInfo(const Model::DescribeSummaryInfoRequest &request)const; void describeSummaryInfoAsync(const Model::DescribeSummaryInfoRequest& request, const DescribeSummaryInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSummaryInfoOutcomeCallable describeSummaryInfoCallable(const Model::DescribeSummaryInfoRequest& request) const; + DescribeSupportRegionOutcome describeSupportRegion(const Model::DescribeSupportRegionRequest &request)const; + void describeSupportRegionAsync(const Model::DescribeSupportRegionRequest& request, const DescribeSupportRegionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSupportRegionOutcomeCallable describeSupportRegionCallable(const Model::DescribeSupportRegionRequest& request) const; DescribeSuspEventDetailOutcome describeSuspEventDetail(const Model::DescribeSuspEventDetailRequest &request)const; void describeSuspEventDetailAsync(const Model::DescribeSuspEventDetailRequest& request, const DescribeSuspEventDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSuspEventDetailOutcomeCallable describeSuspEventDetailCallable(const Model::DescribeSuspEventDetailRequest& request) const; + DescribeSuspEventQuaraFilesOutcome describeSuspEventQuaraFiles(const Model::DescribeSuspEventQuaraFilesRequest &request)const; + void describeSuspEventQuaraFilesAsync(const Model::DescribeSuspEventQuaraFilesRequest& request, const DescribeSuspEventQuaraFilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSuspEventQuaraFilesOutcomeCallable describeSuspEventQuaraFilesCallable(const Model::DescribeSuspEventQuaraFilesRequest& request) const; DescribeSuspEventsOutcome describeSuspEvents(const Model::DescribeSuspEventsRequest &request)const; void describeSuspEventsAsync(const Model::DescribeSuspEventsRequest& request, const DescribeSuspEventsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSuspEventsOutcomeCallable describeSuspEventsCallable(const Model::DescribeSuspEventsRequest& request) const; + DescribeUserBackupMachinesOutcome describeUserBackupMachines(const Model::DescribeUserBackupMachinesRequest &request)const; + void describeUserBackupMachinesAsync(const Model::DescribeUserBackupMachinesRequest& request, const DescribeUserBackupMachinesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeUserBackupMachinesOutcomeCallable describeUserBackupMachinesCallable(const Model::DescribeUserBackupMachinesRequest& request) const; DescribeUserBaselineAuthorizationOutcome describeUserBaselineAuthorization(const Model::DescribeUserBaselineAuthorizationRequest &request)const; void describeUserBaselineAuthorizationAsync(const Model::DescribeUserBaselineAuthorizationRequest& request, const DescribeUserBaselineAuthorizationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeUserBaselineAuthorizationOutcomeCallable describeUserBaselineAuthorizationCallable(const Model::DescribeUserBaselineAuthorizationRequest& request) const; DescribeUserLayoutAuthorizationOutcome describeUserLayoutAuthorization(const Model::DescribeUserLayoutAuthorizationRequest &request)const; void describeUserLayoutAuthorizationAsync(const Model::DescribeUserLayoutAuthorizationRequest& request, const DescribeUserLayoutAuthorizationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeUserLayoutAuthorizationOutcomeCallable describeUserLayoutAuthorizationCallable(const Model::DescribeUserLayoutAuthorizationRequest& request) const; + DescribeUuidsByVulNamesOutcome describeUuidsByVulNames(const Model::DescribeUuidsByVulNamesRequest &request)const; + void describeUuidsByVulNamesAsync(const Model::DescribeUuidsByVulNamesRequest& request, const DescribeUuidsByVulNamesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeUuidsByVulNamesOutcomeCallable describeUuidsByVulNamesCallable(const Model::DescribeUuidsByVulNamesRequest& request) const; + DescribeVersionConfigOutcome describeVersionConfig(const Model::DescribeVersionConfigRequest &request)const; + void describeVersionConfigAsync(const Model::DescribeVersionConfigRequest& request, const DescribeVersionConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVersionConfigOutcomeCallable describeVersionConfigCallable(const Model::DescribeVersionConfigRequest& request) const; DescribeVolDingdingMessageOutcome describeVolDingdingMessage(const Model::DescribeVolDingdingMessageRequest &request)const; void describeVolDingdingMessageAsync(const Model::DescribeVolDingdingMessageRequest& request, const DescribeVolDingdingMessageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeVolDingdingMessageOutcomeCallable describeVolDingdingMessageCallable(const Model::DescribeVolDingdingMessageRequest& request) const; + DescribeVpcHoneyPotCriteriaOutcome describeVpcHoneyPotCriteria(const Model::DescribeVpcHoneyPotCriteriaRequest &request)const; + void describeVpcHoneyPotCriteriaAsync(const Model::DescribeVpcHoneyPotCriteriaRequest& request, const DescribeVpcHoneyPotCriteriaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVpcHoneyPotCriteriaOutcomeCallable describeVpcHoneyPotCriteriaCallable(const Model::DescribeVpcHoneyPotCriteriaRequest& request) const; + DescribeVpcHoneyPotListOutcome describeVpcHoneyPotList(const Model::DescribeVpcHoneyPotListRequest &request)const; + void describeVpcHoneyPotListAsync(const Model::DescribeVpcHoneyPotListRequest& request, const DescribeVpcHoneyPotListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVpcHoneyPotListOutcomeCallable describeVpcHoneyPotListCallable(const Model::DescribeVpcHoneyPotListRequest& request) const; DescribeVpcListOutcome describeVpcList(const Model::DescribeVpcListRequest &request)const; void describeVpcListAsync(const Model::DescribeVpcListRequest& request, const DescribeVpcListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeVpcListOutcomeCallable describeVpcListCallable(const Model::DescribeVpcListRequest& request) const; @@ -726,24 +1317,57 @@ namespace AlibabaCloud DescribeWarningMachinesOutcome describeWarningMachines(const Model::DescribeWarningMachinesRequest &request)const; void describeWarningMachinesAsync(const Model::DescribeWarningMachinesRequest& request, const DescribeWarningMachinesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeWarningMachinesOutcomeCallable describeWarningMachinesCallable(const Model::DescribeWarningMachinesRequest& request) const; + DescribeWebLockBindListOutcome describeWebLockBindList(const Model::DescribeWebLockBindListRequest &request)const; + void describeWebLockBindListAsync(const Model::DescribeWebLockBindListRequest& request, const DescribeWebLockBindListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeWebLockBindListOutcomeCallable describeWebLockBindListCallable(const Model::DescribeWebLockBindListRequest& request) const; + DescribeWebLockConfigListOutcome describeWebLockConfigList(const Model::DescribeWebLockConfigListRequest &request)const; + void describeWebLockConfigListAsync(const Model::DescribeWebLockConfigListRequest& request, const DescribeWebLockConfigListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeWebLockConfigListOutcomeCallable describeWebLockConfigListCallable(const Model::DescribeWebLockConfigListRequest& request) const; ExportRecordOutcome exportRecord(const Model::ExportRecordRequest &request)const; void exportRecordAsync(const Model::ExportRecordRequest& request, const ExportRecordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ExportRecordOutcomeCallable exportRecordCallable(const Model::ExportRecordRequest& request) const; FixCheckWarningsOutcome fixCheckWarnings(const Model::FixCheckWarningsRequest &request)const; void fixCheckWarningsAsync(const Model::FixCheckWarningsRequest& request, const FixCheckWarningsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; FixCheckWarningsOutcomeCallable fixCheckWarningsCallable(const Model::FixCheckWarningsRequest& request) const; + GetBackupStorageCountOutcome getBackupStorageCount(const Model::GetBackupStorageCountRequest &request)const; + void getBackupStorageCountAsync(const Model::GetBackupStorageCountRequest& request, const GetBackupStorageCountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetBackupStorageCountOutcomeCallable getBackupStorageCountCallable(const Model::GetBackupStorageCountRequest& request) const; GetIOCsOutcome getIOCs(const Model::GetIOCsRequest &request)const; void getIOCsAsync(const Model::GetIOCsRequest& request, const GetIOCsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetIOCsOutcomeCallable getIOCsCallable(const Model::GetIOCsRequest& request) const; GetIncIOCsOutcome getIncIOCs(const Model::GetIncIOCsRequest &request)const; void getIncIOCsAsync(const Model::GetIncIOCsRequest& request, const GetIncIOCsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetIncIOCsOutcomeCallable getIncIOCsCallable(const Model::GetIncIOCsRequest& request) const; + GetSuspiciousStatisticsOutcome getSuspiciousStatistics(const Model::GetSuspiciousStatisticsRequest &request)const; + void getSuspiciousStatisticsAsync(const Model::GetSuspiciousStatisticsRequest& request, const GetSuspiciousStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetSuspiciousStatisticsOutcomeCallable getSuspiciousStatisticsCallable(const Model::GetSuspiciousStatisticsRequest& request) const; + GetVulStatisticsOutcome getVulStatistics(const Model::GetVulStatisticsRequest &request)const; + void getVulStatisticsAsync(const Model::GetVulStatisticsRequest& request, const GetVulStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetVulStatisticsOutcomeCallable getVulStatisticsCallable(const Model::GetVulStatisticsRequest& request) const; + 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; HandleSimilarSecurityEventsOutcome handleSimilarSecurityEvents(const Model::HandleSimilarSecurityEventsRequest &request)const; void handleSimilarSecurityEventsAsync(const Model::HandleSimilarSecurityEventsRequest& request, const HandleSimilarSecurityEventsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; HandleSimilarSecurityEventsOutcomeCallable handleSimilarSecurityEventsCallable(const Model::HandleSimilarSecurityEventsRequest& request) const; + IgnoreHcCheckWarningsOutcome ignoreHcCheckWarnings(const Model::IgnoreHcCheckWarningsRequest &request)const; + void ignoreHcCheckWarningsAsync(const Model::IgnoreHcCheckWarningsRequest& request, const IgnoreHcCheckWarningsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + IgnoreHcCheckWarningsOutcomeCallable ignoreHcCheckWarningsCallable(const Model::IgnoreHcCheckWarningsRequest& request) const; + InstallBackupClientOutcome installBackupClient(const Model::InstallBackupClientRequest &request)const; + void installBackupClientAsync(const Model::InstallBackupClientRequest& request, const InstallBackupClientAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + InstallBackupClientOutcomeCallable installBackupClientCallable(const Model::InstallBackupClientRequest& request) const; ModifyAntiBruteForceRuleOutcome modifyAntiBruteForceRule(const Model::ModifyAntiBruteForceRuleRequest &request)const; void modifyAntiBruteForceRuleAsync(const Model::ModifyAntiBruteForceRuleRequest& request, const ModifyAntiBruteForceRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyAntiBruteForceRuleOutcomeCallable modifyAntiBruteForceRuleCallable(const Model::ModifyAntiBruteForceRuleRequest& request) const; + ModifyAssetGroupOutcome modifyAssetGroup(const Model::ModifyAssetGroupRequest &request)const; + void modifyAssetGroupAsync(const Model::ModifyAssetGroupRequest& request, const ModifyAssetGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyAssetGroupOutcomeCallable modifyAssetGroupCallable(const Model::ModifyAssetGroupRequest& request) const; + ModifyBackupPolicyOutcome modifyBackupPolicy(const Model::ModifyBackupPolicyRequest &request)const; + void modifyBackupPolicyAsync(const Model::ModifyBackupPolicyRequest& request, const ModifyBackupPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyBackupPolicyOutcomeCallable modifyBackupPolicyCallable(const Model::ModifyBackupPolicyRequest& request) const; + ModifyBackupPolicyStatusOutcome modifyBackupPolicyStatus(const Model::ModifyBackupPolicyStatusRequest &request)const; + void modifyBackupPolicyStatusAsync(const Model::ModifyBackupPolicyStatusRequest& request, const ModifyBackupPolicyStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyBackupPolicyStatusOutcomeCallable modifyBackupPolicyStatusCallable(const Model::ModifyBackupPolicyStatusRequest& request) const; ModifyCreateVulWhitelistOutcome modifyCreateVulWhitelist(const Model::ModifyCreateVulWhitelistRequest &request)const; void modifyCreateVulWhitelistAsync(const Model::ModifyCreateVulWhitelistRequest& request, const ModifyCreateVulWhitelistAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyCreateVulWhitelistOutcomeCallable modifyCreateVulWhitelistCallable(const Model::ModifyCreateVulWhitelistRequest& request) const; @@ -753,6 +1377,9 @@ namespace AlibabaCloud ModifyGroupPropertyOutcome modifyGroupProperty(const Model::ModifyGroupPropertyRequest &request)const; void modifyGroupPropertyAsync(const Model::ModifyGroupPropertyRequest& request, const ModifyGroupPropertyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyGroupPropertyOutcomeCallable modifyGroupPropertyCallable(const Model::ModifyGroupPropertyRequest& request) const; + ModifyInstanceAntiBruteForceRuleOutcome modifyInstanceAntiBruteForceRule(const Model::ModifyInstanceAntiBruteForceRuleRequest &request)const; + void modifyInstanceAntiBruteForceRuleAsync(const Model::ModifyInstanceAntiBruteForceRuleRequest& request, const ModifyInstanceAntiBruteForceRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyInstanceAntiBruteForceRuleOutcomeCallable modifyInstanceAntiBruteForceRuleCallable(const Model::ModifyInstanceAntiBruteForceRuleRequest& request) const; ModifyLoginBaseConfigOutcome modifyLoginBaseConfig(const Model::ModifyLoginBaseConfigRequest &request)const; void modifyLoginBaseConfigAsync(const Model::ModifyLoginBaseConfigRequest& request, const ModifyLoginBaseConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyLoginBaseConfigOutcomeCallable modifyLoginBaseConfigCallable(const Model::ModifyLoginBaseConfigRequest& request) const; @@ -762,6 +1389,9 @@ namespace AlibabaCloud ModifyNoticeConfigOutcome modifyNoticeConfig(const Model::ModifyNoticeConfigRequest &request)const; void modifyNoticeConfigAsync(const Model::ModifyNoticeConfigRequest& request, const ModifyNoticeConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyNoticeConfigOutcomeCallable modifyNoticeConfigCallable(const Model::ModifyNoticeConfigRequest& request) const; + ModifyOpenLogShipperOutcome modifyOpenLogShipper(const Model::ModifyOpenLogShipperRequest &request)const; + void modifyOpenLogShipperAsync(const Model::ModifyOpenLogShipperRequest& request, const ModifyOpenLogShipperAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyOpenLogShipperOutcomeCallable modifyOpenLogShipperCallable(const Model::ModifyOpenLogShipperRequest& request) const; ModifyOperateVulOutcome modifyOperateVul(const Model::ModifyOperateVulRequest &request)const; void modifyOperateVulAsync(const Model::ModifyOperateVulRequest& request, const ModifyOperateVulAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyOperateVulOutcomeCallable modifyOperateVulCallable(const Model::ModifyOperateVulRequest& request) const; @@ -783,24 +1413,66 @@ namespace AlibabaCloud ModifyTagWithUuidOutcome modifyTagWithUuid(const Model::ModifyTagWithUuidRequest &request)const; void modifyTagWithUuidAsync(const Model::ModifyTagWithUuidRequest& request, const ModifyTagWithUuidAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyTagWithUuidOutcomeCallable modifyTagWithUuidCallable(const Model::ModifyTagWithUuidRequest& request) const; + ModifyVpcHoneyPotOutcome modifyVpcHoneyPot(const Model::ModifyVpcHoneyPotRequest &request)const; + void modifyVpcHoneyPotAsync(const Model::ModifyVpcHoneyPotRequest& request, const ModifyVpcHoneyPotAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyVpcHoneyPotOutcomeCallable modifyVpcHoneyPotCallable(const Model::ModifyVpcHoneyPotRequest& request) const; ModifyVulTargetConfigOutcome modifyVulTargetConfig(const Model::ModifyVulTargetConfigRequest &request)const; void modifyVulTargetConfigAsync(const Model::ModifyVulTargetConfigRequest& request, const ModifyVulTargetConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyVulTargetConfigOutcomeCallable modifyVulTargetConfigCallable(const Model::ModifyVulTargetConfigRequest& request) const; + ModifyWebLockCreateConfigOutcome modifyWebLockCreateConfig(const Model::ModifyWebLockCreateConfigRequest &request)const; + void modifyWebLockCreateConfigAsync(const Model::ModifyWebLockCreateConfigRequest& request, const ModifyWebLockCreateConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyWebLockCreateConfigOutcomeCallable modifyWebLockCreateConfigCallable(const Model::ModifyWebLockCreateConfigRequest& request) const; + ModifyWebLockDeleteConfigOutcome modifyWebLockDeleteConfig(const Model::ModifyWebLockDeleteConfigRequest &request)const; + void modifyWebLockDeleteConfigAsync(const Model::ModifyWebLockDeleteConfigRequest& request, const ModifyWebLockDeleteConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyWebLockDeleteConfigOutcomeCallable modifyWebLockDeleteConfigCallable(const Model::ModifyWebLockDeleteConfigRequest& request) const; + ModifyWebLockStartOutcome modifyWebLockStart(const Model::ModifyWebLockStartRequest &request)const; + void modifyWebLockStartAsync(const Model::ModifyWebLockStartRequest& request, const ModifyWebLockStartAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyWebLockStartOutcomeCallable modifyWebLockStartCallable(const Model::ModifyWebLockStartRequest& request) const; + ModifyWebLockStatusOutcome modifyWebLockStatus(const Model::ModifyWebLockStatusRequest &request)const; + void modifyWebLockStatusAsync(const Model::ModifyWebLockStatusRequest& request, const ModifyWebLockStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyWebLockStatusOutcomeCallable modifyWebLockStatusCallable(const Model::ModifyWebLockStatusRequest& request) const; + ModifyWebLockUnbindOutcome modifyWebLockUnbind(const Model::ModifyWebLockUnbindRequest &request)const; + void modifyWebLockUnbindAsync(const Model::ModifyWebLockUnbindRequest& request, const ModifyWebLockUnbindAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyWebLockUnbindOutcomeCallable modifyWebLockUnbindCallable(const Model::ModifyWebLockUnbindRequest& request) const; + ModifyWebLockUpdateConfigOutcome modifyWebLockUpdateConfig(const Model::ModifyWebLockUpdateConfigRequest &request)const; + void modifyWebLockUpdateConfigAsync(const Model::ModifyWebLockUpdateConfigRequest& request, const ModifyWebLockUpdateConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyWebLockUpdateConfigOutcomeCallable modifyWebLockUpdateConfigCallable(const Model::ModifyWebLockUpdateConfigRequest& request) const; OperateSuspiciousTargetConfigOutcome operateSuspiciousTargetConfig(const Model::OperateSuspiciousTargetConfigRequest &request)const; void operateSuspiciousTargetConfigAsync(const Model::OperateSuspiciousTargetConfigRequest& request, const OperateSuspiciousTargetConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; OperateSuspiciousTargetConfigOutcomeCallable operateSuspiciousTargetConfigCallable(const Model::OperateSuspiciousTargetConfigRequest& 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; OperationSuspEventsOutcome operationSuspEvents(const Model::OperationSuspEventsRequest &request)const; void operationSuspEventsAsync(const Model::OperationSuspEventsRequest& request, const OperationSuspEventsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; OperationSuspEventsOutcomeCallable operationSuspEventsCallable(const Model::OperationSuspEventsRequest& request) const; PauseClientOutcome pauseClient(const Model::PauseClientRequest &request)const; void pauseClientAsync(const Model::PauseClientRequest& request, const PauseClientAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; PauseClientOutcomeCallable pauseClientCallable(const Model::PauseClientRequest& request) const; + RefreshContainerAssetsOutcome refreshContainerAssets(const Model::RefreshContainerAssetsRequest &request)const; + void refreshContainerAssetsAsync(const Model::RefreshContainerAssetsRequest& request, const RefreshContainerAssetsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RefreshContainerAssetsOutcomeCallable refreshContainerAssetsCallable(const Model::RefreshContainerAssetsRequest& request) const; + RollbackSuspEventQuaraFileOutcome rollbackSuspEventQuaraFile(const Model::RollbackSuspEventQuaraFileRequest &request)const; + void rollbackSuspEventQuaraFileAsync(const Model::RollbackSuspEventQuaraFileRequest& request, const RollbackSuspEventQuaraFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RollbackSuspEventQuaraFileOutcomeCallable rollbackSuspEventQuaraFileCallable(const Model::RollbackSuspEventQuaraFileRequest& request) const; SasInstallCodeOutcome sasInstallCode(const Model::SasInstallCodeRequest &request)const; void sasInstallCodeAsync(const Model::SasInstallCodeRequest& request, const SasInstallCodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SasInstallCodeOutcomeCallable sasInstallCodeCallable(const Model::SasInstallCodeRequest& request) const; StartBaselineSecurityCheckOutcome startBaselineSecurityCheck(const Model::StartBaselineSecurityCheckRequest &request)const; void startBaselineSecurityCheckAsync(const Model::StartBaselineSecurityCheckRequest& request, const StartBaselineSecurityCheckAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; StartBaselineSecurityCheckOutcomeCallable startBaselineSecurityCheckCallable(const Model::StartBaselineSecurityCheckRequest& request) const; + StartImageVulScanOutcome startImageVulScan(const Model::StartImageVulScanRequest &request)const; + void startImageVulScanAsync(const Model::StartImageVulScanRequest& request, const StartImageVulScanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StartImageVulScanOutcomeCallable startImageVulScanCallable(const Model::StartImageVulScanRequest& request) const; + StartVirusScanTaskOutcome startVirusScanTask(const Model::StartVirusScanTaskRequest &request)const; + void startVirusScanTaskAsync(const Model::StartVirusScanTaskRequest& request, const StartVirusScanTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StartVirusScanTaskOutcomeCallable startVirusScanTaskCallable(const Model::StartVirusScanTaskRequest& request) const; + UnbindAegisOutcome unbindAegis(const Model::UnbindAegisRequest &request)const; + void unbindAegisAsync(const Model::UnbindAegisRequest& request, const UnbindAegisAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UnbindAegisOutcomeCallable unbindAegisCallable(const Model::UnbindAegisRequest& request) const; + UninstallBackupClientOutcome uninstallBackupClient(const Model::UninstallBackupClientRequest &request)const; + void uninstallBackupClientAsync(const Model::UninstallBackupClientRequest& request, const UninstallBackupClientAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UninstallBackupClientOutcomeCallable uninstallBackupClientCallable(const Model::UninstallBackupClientRequest& request) const; ValidateHcWarningsOutcome validateHcWarnings(const Model::ValidateHcWarningsRequest &request)const; void validateHcWarningsAsync(const Model::ValidateHcWarningsRequest& request, const ValidateHcWarningsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ValidateHcWarningsOutcomeCallable validateHcWarningsCallable(const Model::ValidateHcWarningsRequest& request) const; diff --git a/sas/include/alibabacloud/sas/model/AddVpcHoneyPotRequest.h b/sas/include/alibabacloud/sas/model/AddVpcHoneyPotRequest.h new file mode 100644 index 000000000..15396da38 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/AddVpcHoneyPotRequest.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_SAS_MODEL_ADDVPCHONEYPOTREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_ADDVPCHONEYPOTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT AddVpcHoneyPotRequest : public RpcServiceRequest + { + + public: + AddVpcHoneyPotRequest(); + ~AddVpcHoneyPotRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getVpcSwitchId()const; + void setVpcSwitchId(const std::string& vpcSwitchId); + std::string getVpcId()const; + void setVpcId(const std::string& vpcId); + + private: + std::string sourceIp_; + std::string vpcSwitchId_; + std::string vpcId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_ADDVPCHONEYPOTREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/AddVpcHoneyPotResult.h b/sas/include/alibabacloud/sas/model/AddVpcHoneyPotResult.h new file mode 100644 index 000000000..7432a664b --- /dev/null +++ b/sas/include/alibabacloud/sas/model/AddVpcHoneyPotResult.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_SAS_MODEL_ADDVPCHONEYPOTRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_ADDVPCHONEYPOTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT AddVpcHoneyPotResult : public ServiceResult + { + public: + + + AddVpcHoneyPotResult(); + explicit AddVpcHoneyPotResult(const std::string &payload); + ~AddVpcHoneyPotResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_ADDVPCHONEYPOTRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/CheckQuaraFileIdRequest.h b/sas/include/alibabacloud/sas/model/CheckQuaraFileIdRequest.h new file mode 100644 index 000000000..a4f0273a6 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/CheckQuaraFileIdRequest.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_SAS_MODEL_CHECKQUARAFILEIDREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_CHECKQUARAFILEIDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT CheckQuaraFileIdRequest : public RpcServiceRequest + { + + public: + CheckQuaraFileIdRequest(); + ~CheckQuaraFileIdRequest(); + + std::vector getQuaraFileIds()const; + void setQuaraFileIds(const std::vector& quaraFileIds); + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::vector quaraFileIds_; + std::string uuid_; + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_CHECKQUARAFILEIDREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/CheckQuaraFileIdResult.h b/sas/include/alibabacloud/sas/model/CheckQuaraFileIdResult.h new file mode 100644 index 000000000..47650c8c4 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/CheckQuaraFileIdResult.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_SAS_MODEL_CHECKQUARAFILEIDRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_CHECKQUARAFILEIDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT CheckQuaraFileIdResult : public ServiceResult + { + public: + + + CheckQuaraFileIdResult(); + explicit CheckQuaraFileIdResult(const std::string &payload); + ~CheckQuaraFileIdResult(); + bool getData()const; + + protected: + void parse(const std::string &payload); + private: + bool data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_CHECKQUARAFILEIDRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/CheckSecurityEventIdRequest.h b/sas/include/alibabacloud/sas/model/CheckSecurityEventIdRequest.h new file mode 100644 index 000000000..215889feb --- /dev/null +++ b/sas/include/alibabacloud/sas/model/CheckSecurityEventIdRequest.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_SAS_MODEL_CHECKSECURITYEVENTIDREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_CHECKSECURITYEVENTIDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT CheckSecurityEventIdRequest : public RpcServiceRequest + { + + public: + CheckSecurityEventIdRequest(); + ~CheckSecurityEventIdRequest(); + + std::vector getSecurityEventIds()const; + void setSecurityEventIds(const std::vector& securityEventIds); + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::vector securityEventIds_; + std::string uuid_; + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_CHECKSECURITYEVENTIDREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/CheckSecurityEventIdResult.h b/sas/include/alibabacloud/sas/model/CheckSecurityEventIdResult.h new file mode 100644 index 000000000..71ff0b153 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/CheckSecurityEventIdResult.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_SAS_MODEL_CHECKSECURITYEVENTIDRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_CHECKSECURITYEVENTIDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT CheckSecurityEventIdResult : public ServiceResult + { + public: + + + CheckSecurityEventIdResult(); + explicit CheckSecurityEventIdResult(const std::string &payload); + ~CheckSecurityEventIdResult(); + bool getData()const; + + protected: + void parse(const std::string &payload); + private: + bool data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_CHECKSECURITYEVENTIDRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/CreateBackupPolicyRequest.h b/sas/include/alibabacloud/sas/model/CreateBackupPolicyRequest.h new file mode 100644 index 000000000..e40ae5344 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/CreateBackupPolicyRequest.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_SAS_MODEL_CREATEBACKUPPOLICYREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_CREATEBACKUPPOLICYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT CreateBackupPolicyRequest : public RpcServiceRequest + { + + public: + CreateBackupPolicyRequest(); + ~CreateBackupPolicyRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::vector getUuidList()const; + void setUuidList(const std::vector& uuidList); + std::string getPolicy()const; + void setPolicy(const std::string& policy); + std::string getPolicyVersion()const; + void setPolicyVersion(const std::string& policyVersion); + std::string getName()const; + void setName(const std::string& name); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + long resourceOwnerId_; + std::string sourceIp_; + std::vector uuidList_; + std::string policy_; + std::string policyVersion_; + std::string name_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_CREATEBACKUPPOLICYREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/CreateBackupPolicyResult.h b/sas/include/alibabacloud/sas/model/CreateBackupPolicyResult.h new file mode 100644 index 000000000..5ada526ce --- /dev/null +++ b/sas/include/alibabacloud/sas/model/CreateBackupPolicyResult.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_SAS_MODEL_CREATEBACKUPPOLICYRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_CREATEBACKUPPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT CreateBackupPolicyResult : public ServiceResult + { + public: + + + CreateBackupPolicyResult(); + explicit CreateBackupPolicyResult(const std::string &payload); + ~CreateBackupPolicyResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_CREATEBACKUPPOLICYRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/CreateOrUpdateAssetGroupResult.h b/sas/include/alibabacloud/sas/model/CreateOrUpdateAssetGroupResult.h index cd374b9e5..a43683b69 100644 --- a/sas/include/alibabacloud/sas/model/CreateOrUpdateAssetGroupResult.h +++ b/sas/include/alibabacloud/sas/model/CreateOrUpdateAssetGroupResult.h @@ -37,10 +37,12 @@ namespace AlibabaCloud CreateOrUpdateAssetGroupResult(); explicit CreateOrUpdateAssetGroupResult(const std::string &payload); ~CreateOrUpdateAssetGroupResult(); + long getGroupId()const; protected: void parse(const std::string &payload); private: + long groupId_; }; } diff --git a/sas/include/alibabacloud/sas/model/CreateRestoreJobRequest.h b/sas/include/alibabacloud/sas/model/CreateRestoreJobRequest.h new file mode 100644 index 000000000..42d7699f3 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/CreateRestoreJobRequest.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_SAS_MODEL_CREATERESTOREJOBREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_CREATERESTOREJOBREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT CreateRestoreJobRequest : public RpcServiceRequest + { + + public: + CreateRestoreJobRequest(); + ~CreateRestoreJobRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getSnapshotId()const; + void setSnapshotId(const std::string& snapshotId); + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getSnapshotHash()const; + void setSnapshotHash(const std::string& snapshotHash); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getSnapshotVersion()const; + void setSnapshotVersion(const std::string& snapshotVersion); + std::string getPolicyVersion()const; + void setPolicyVersion(const std::string& policyVersion); + std::string getIncludes()const; + void setIncludes(const std::string& includes); + std::string getTarget()const; + void setTarget(const std::string& target); + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + + private: + long resourceOwnerId_; + std::string snapshotId_; + std::string uuid_; + std::string snapshotHash_; + std::string sourceIp_; + std::string snapshotVersion_; + std::string policyVersion_; + std::string includes_; + std::string target_; + std::string instanceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_CREATERESTOREJOBREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/CreateRestoreJobResult.h b/sas/include/alibabacloud/sas/model/CreateRestoreJobResult.h new file mode 100644 index 000000000..f1da1de90 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/CreateRestoreJobResult.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_SAS_MODEL_CREATERESTOREJOBRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_CREATERESTOREJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT CreateRestoreJobResult : public ServiceResult + { + public: + + + CreateRestoreJobResult(); + explicit CreateRestoreJobResult(const std::string &payload); + ~CreateRestoreJobResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_CREATERESTOREJOBRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/CreateSasOrderRequest.h b/sas/include/alibabacloud/sas/model/CreateSasOrderRequest.h new file mode 100644 index 000000000..210359bd5 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/CreateSasOrderRequest.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_SAS_MODEL_CREATESASORDERREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_CREATESASORDERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT CreateSasOrderRequest : public RpcServiceRequest + { + + public: + CreateSasOrderRequest(); + ~CreateSasOrderRequest(); + + std::string getSasWebguardBoolean()const; + void setSasWebguardBoolean(const std::string& sasWebguardBoolean); + bool getAutoUseCoupon()const; + void setAutoUseCoupon(bool autoUseCoupon); + std::string getSpec()const; + void setSpec(const std::string& spec); + std::string getInstanceCount()const; + void setInstanceCount(const std::string& instanceCount); + std::string getSasWebguardOrderNum()const; + void setSasWebguardOrderNum(const std::string& sasWebguardOrderNum); + std::string getContainerImageScan()const; + void setContainerImageScan(const std::string& containerImageScan); + int getAutoRenewPeriod()const; + void setAutoRenewPeriod(int autoRenewPeriod); + int getPeriod()const; + void setPeriod(int period); + bool getAutoPay()const; + void setAutoPay(bool autoPay); + std::string getSasAntiRansomware()const; + void setSasAntiRansomware(const std::string& sasAntiRansomware); + std::string getPeriodUnit()const; + void setPeriodUnit(const std::string& periodUnit); + std::string getSasSc()const; + void setSasSc(const std::string& sasSc); + std::string getVcore()const; + void setVcore(const std::string& vcore); + std::string getSasSlsStorage()const; + void setSasSlsStorage(const std::string& sasSlsStorage); + std::string getSasProductService()const; + void setSasProductService(const std::string& sasProductService); + + private: + std::string sasWebguardBoolean_; + bool autoUseCoupon_; + std::string spec_; + std::string instanceCount_; + std::string sasWebguardOrderNum_; + std::string containerImageScan_; + int autoRenewPeriod_; + int period_; + bool autoPay_; + std::string sasAntiRansomware_; + std::string periodUnit_; + std::string sasSc_; + std::string vcore_; + std::string sasSlsStorage_; + std::string sasProductService_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_CREATESASORDERREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/CreateSasOrderResult.h b/sas/include/alibabacloud/sas/model/CreateSasOrderResult.h new file mode 100644 index 000000000..b4e1b9c61 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/CreateSasOrderResult.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_SAS_MODEL_CREATESASORDERRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_CREATESASORDERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT CreateSasOrderResult : public ServiceResult + { + public: + + + CreateSasOrderResult(); + explicit CreateSasOrderResult(const std::string &payload); + ~CreateSasOrderResult(); + std::string getOrderId()const; + + protected: + void parse(const std::string &payload); + private: + std::string orderId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_CREATESASORDERRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/CreateServiceLinkedRoleRequest.h b/sas/include/alibabacloud/sas/model/CreateServiceLinkedRoleRequest.h new file mode 100644 index 000000000..d45afe1fb --- /dev/null +++ b/sas/include/alibabacloud/sas/model/CreateServiceLinkedRoleRequest.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_SAS_MODEL_CREATESERVICELINKEDROLEREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_CREATESERVICELINKEDROLEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT CreateServiceLinkedRoleRequest : public RpcServiceRequest + { + + public: + CreateServiceLinkedRoleRequest(); + ~CreateServiceLinkedRoleRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_CREATESERVICELINKEDROLEREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/CreateServiceLinkedRoleResult.h b/sas/include/alibabacloud/sas/model/CreateServiceLinkedRoleResult.h new file mode 100644 index 000000000..47cbdf6a5 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/CreateServiceLinkedRoleResult.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_SAS_MODEL_CREATESERVICELINKEDROLERESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_CREATESERVICELINKEDROLERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT CreateServiceLinkedRoleResult : public ServiceResult + { + public: + + + CreateServiceLinkedRoleResult(); + explicit CreateServiceLinkedRoleResult(const std::string &payload); + ~CreateServiceLinkedRoleResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_CREATESERVICELINKEDROLERESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DeleteBackupPolicyMachineRequest.h b/sas/include/alibabacloud/sas/model/DeleteBackupPolicyMachineRequest.h new file mode 100644 index 000000000..caa4ee547 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DeleteBackupPolicyMachineRequest.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_SAS_MODEL_DELETEBACKUPPOLICYMACHINEREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DELETEBACKUPPOLICYMACHINEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DeleteBackupPolicyMachineRequest : public RpcServiceRequest + { + + public: + DeleteBackupPolicyMachineRequest(); + ~DeleteBackupPolicyMachineRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getPolicyVersion()const; + void setPolicyVersion(const std::string& policyVersion); + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getPolicyId()const; + void setPolicyId(long policyId); + std::vector getUuidList()const; + void setUuidList(const std::vector& uuidList); + + private: + long resourceOwnerId_; + std::string policyVersion_; + std::string uuid_; + std::string sourceIp_; + long policyId_; + std::vector uuidList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DELETEBACKUPPOLICYMACHINEREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DeleteBackupPolicyMachineResult.h b/sas/include/alibabacloud/sas/model/DeleteBackupPolicyMachineResult.h new file mode 100644 index 000000000..fede802b4 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DeleteBackupPolicyMachineResult.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_SAS_MODEL_DELETEBACKUPPOLICYMACHINERESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DELETEBACKUPPOLICYMACHINERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DeleteBackupPolicyMachineResult : public ServiceResult + { + public: + + + DeleteBackupPolicyMachineResult(); + explicit DeleteBackupPolicyMachineResult(const std::string &payload); + ~DeleteBackupPolicyMachineResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DELETEBACKUPPOLICYMACHINERESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DeleteBackupPolicyRequest.h b/sas/include/alibabacloud/sas/model/DeleteBackupPolicyRequest.h new file mode 100644 index 000000000..442a48beb --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DeleteBackupPolicyRequest.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_SAS_MODEL_DELETEBACKUPPOLICYREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DELETEBACKUPPOLICYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DeleteBackupPolicyRequest : public RpcServiceRequest + { + + public: + DeleteBackupPolicyRequest(); + ~DeleteBackupPolicyRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getPolicyVersion()const; + void setPolicyVersion(const std::string& policyVersion); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getId()const; + void setId(long id); + + private: + long resourceOwnerId_; + std::string policyVersion_; + std::string sourceIp_; + long id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DELETEBACKUPPOLICYREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DeleteBackupPolicyResult.h b/sas/include/alibabacloud/sas/model/DeleteBackupPolicyResult.h new file mode 100644 index 000000000..788eb877d --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DeleteBackupPolicyResult.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_SAS_MODEL_DELETEBACKUPPOLICYRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DELETEBACKUPPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DeleteBackupPolicyResult : public ServiceResult + { + public: + + + DeleteBackupPolicyResult(); + explicit DeleteBackupPolicyResult(const std::string &payload); + ~DeleteBackupPolicyResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DELETEBACKUPPOLICYRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DeleteVpcHoneyPotRequest.h b/sas/include/alibabacloud/sas/model/DeleteVpcHoneyPotRequest.h new file mode 100644 index 000000000..d267fff5a --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DeleteVpcHoneyPotRequest.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_SAS_MODEL_DELETEVPCHONEYPOTREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DELETEVPCHONEYPOTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DeleteVpcHoneyPotRequest : public RpcServiceRequest + { + + public: + DeleteVpcHoneyPotRequest(); + ~DeleteVpcHoneyPotRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getVpcId()const; + void setVpcId(const std::string& vpcId); + + private: + std::string sourceIp_; + std::string vpcId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DELETEVPCHONEYPOTREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DeleteVpcHoneyPotResult.h b/sas/include/alibabacloud/sas/model/DeleteVpcHoneyPotResult.h new file mode 100644 index 000000000..8a31166c3 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DeleteVpcHoneyPotResult.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_SAS_MODEL_DELETEVPCHONEYPOTRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DELETEVPCHONEYPOTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DeleteVpcHoneyPotResult : public ServiceResult + { + public: + + + DeleteVpcHoneyPotResult(); + explicit DeleteVpcHoneyPotResult(const std::string &payload); + ~DeleteVpcHoneyPotResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DELETEVPCHONEYPOTRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeAccesskeyLeakListRequest.h b/sas/include/alibabacloud/sas/model/DescribeAccesskeyLeakListRequest.h new file mode 100644 index 000000000..c8c545117 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeAccesskeyLeakListRequest.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_SAS_MODEL_DESCRIBEACCESSKEYLEAKLISTREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEACCESSKEYLEAKLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeAccesskeyLeakListRequest : public RpcServiceRequest + { + + public: + DescribeAccesskeyLeakListRequest(); + ~DescribeAccesskeyLeakListRequest(); + + std::string getQuery()const; + void setQuery(const std::string& query); + long getStartTs()const; + void setStartTs(long startTs); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + std::string query_; + long startTs_; + int currentPage_; + std::string sourceIp_; + int pageSize_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEACCESSKEYLEAKLISTREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeAccesskeyLeakListResult.h b/sas/include/alibabacloud/sas/model/DescribeAccesskeyLeakListResult.h new file mode 100644 index 000000000..2eb04584f --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeAccesskeyLeakListResult.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_SAS_MODEL_DESCRIBEACCESSKEYLEAKLISTRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEACCESSKEYLEAKLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeAccesskeyLeakListResult : public ServiceResult + { + public: + struct AccessKeyLeak + { + std::string status; + std::string aliUserName; + std::string type; + std::string dealType; + std::string accesskeyId; + long gmtModified; + std::string asset; + long id; + std::string dealTime; + std::string userType; + std::string url; + }; + + + DescribeAccesskeyLeakListResult(); + explicit DescribeAccesskeyLeakListResult(const std::string &payload); + ~DescribeAccesskeyLeakListResult(); + int getAkLeakCount()const; + std::vector getAccessKeyLeakList()const; + int getTotalCount()const; + int getPageSize()const; + long getGmtLast()const; + int getCurrentPage()const; + + protected: + void parse(const std::string &payload); + private: + int akLeakCount_; + std::vector accessKeyLeakList_; + int totalCount_; + int pageSize_; + long gmtLast_; + int currentPage_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEACCESSKEYLEAKLISTRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeAffectedMaliciousFileImagesRequest.h b/sas/include/alibabacloud/sas/model/DescribeAffectedMaliciousFileImagesRequest.h new file mode 100644 index 000000000..3225a0317 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeAffectedMaliciousFileImagesRequest.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_SAS_MODEL_DESCRIBEAFFECTEDMALICIOUSFILEIMAGESREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEAFFECTEDMALICIOUSFILEIMAGESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeAffectedMaliciousFileImagesRequest : public RpcServiceRequest + { + + public: + DescribeAffectedMaliciousFileImagesRequest(); + ~DescribeAffectedMaliciousFileImagesRequest(); + + std::string getRepoId()const; + void setRepoId(const std::string& repoId); + std::string getRepoNamespace()const; + void setRepoNamespace(const std::string& repoNamespace); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getImageDigest()const; + void setImageDigest(const std::string& imageDigest); + std::string getPageSize()const; + void setPageSize(const std::string& pageSize); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getImageTag()const; + void setImageTag(const std::string& imageTag); + std::string getMaliciousMd5()const; + void setMaliciousMd5(const std::string& maliciousMd5); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getRepoName()const; + void setRepoName(const std::string& repoName); + std::string getRepoInstanceId()const; + void setRepoInstanceId(const std::string& repoInstanceId); + std::string getImageLayer()const; + void setImageLayer(const std::string& imageLayer); + std::vector getUuids()const; + void setUuids(const std::vector& uuids); + std::string getRepoRegionId()const; + void setRepoRegionId(const std::string& repoRegionId); + + private: + std::string repoId_; + std::string repoNamespace_; + std::string sourceIp_; + std::string imageDigest_; + std::string pageSize_; + std::string lang_; + std::string imageTag_; + std::string maliciousMd5_; + int currentPage_; + std::string repoName_; + std::string repoInstanceId_; + std::string imageLayer_; + std::vector uuids_; + std::string repoRegionId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEAFFECTEDMALICIOUSFILEIMAGESREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeAffectedMaliciousFileImagesResult.h b/sas/include/alibabacloud/sas/model/DescribeAffectedMaliciousFileImagesResult.h new file mode 100644 index 000000000..6a31a877f --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeAffectedMaliciousFileImagesResult.h @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEAFFECTEDMALICIOUSFILEIMAGESRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEAFFECTEDMALICIOUSFILEIMAGESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeAffectedMaliciousFileImagesResult : public ServiceResult + { + public: + struct PageInfo + { + int totalCount; + int pageSize; + int currentPage; + int count; + }; + struct AffectedMaliciousFileImage + { + int status; + std::string filePath; + long latestScanTimestamp; + std::string repoRegionId; + std::string digest; + std::string repoName; + std::string _namespace; + std::string layer; + std::string imageUuid; + std::string repoInstanceId; + long latestVerifyTimestamp; + std::string level; + std::string tag; + std::string repoId; + long firstScanTimestamp; + std::string maliciousMd5; + }; + + + DescribeAffectedMaliciousFileImagesResult(); + explicit DescribeAffectedMaliciousFileImagesResult(const std::string &payload); + ~DescribeAffectedMaliciousFileImagesResult(); + std::vector getAffectedMaliciousFileImagesResponse()const; + PageInfo getPageInfo()const; + + protected: + void parse(const std::string &payload); + private: + std::vector affectedMaliciousFileImagesResponse_; + PageInfo pageInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEAFFECTEDMALICIOUSFILEIMAGESRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeAlarmEventDetailResult.h b/sas/include/alibabacloud/sas/model/DescribeAlarmEventDetailResult.h index 73acef63c..19cf7ec68 100644 --- a/sas/include/alibabacloud/sas/model/DescribeAlarmEventDetailResult.h +++ b/sas/include/alibabacloud/sas/model/DescribeAlarmEventDetailResult.h @@ -45,22 +45,33 @@ namespace AlibabaCloud std::vector value; std::string key; }; - bool canCancelFault; + std::string k8sNodeId; long endTime; + bool containHwMode; + std::string k8sNodeName; + std::string intranetIp; + std::string k8sClusterId; + std::string appName; + std::string k8sNamespace; + std::string internetIp; + std::string containerId; + std::string alarmEventDesc; + std::string solution; + bool canCancelFault; std::vector causeDetails; long startTime; - std::string intranetIp; + std::string k8sPodName; + std::string containerImageId; std::string dataSource; std::string instanceName; std::string type; bool canBeDealOnLine; std::string uuid; - std::string internetIp; - std::string alarmEventDesc; + std::string k8sClusterName; + std::string containerImageName; std::string alarmUniqueInfo; std::string level; std::string alarmEventAliasName; - std::string solution; }; diff --git a/sas/include/alibabacloud/sas/model/DescribeAlarmEventListRequest.h b/sas/include/alibabacloud/sas/model/DescribeAlarmEventListRequest.h index 4fd5ebf25..4af1bcb0d 100644 --- a/sas/include/alibabacloud/sas/model/DescribeAlarmEventListRequest.h +++ b/sas/include/alibabacloud/sas/model/DescribeAlarmEventListRequest.h @@ -35,14 +35,20 @@ namespace AlibabaCloud DescribeAlarmEventListRequest(); ~DescribeAlarmEventListRequest(); + std::string getTargetType()const; + void setTargetType(const std::string& targetType); std::string getAlarmEventType()const; void setAlarmEventType(const std::string& alarmEventType); std::string getRemark()const; void setRemark(const std::string& remark); + std::string getContainerFieldName()const; + void setContainerFieldName(const std::string& containerFieldName); std::string getAlarmEventName()const; void setAlarmEventName(const std::string& alarmEventName); std::string getSourceIp()const; void setSourceIp(const std::string& sourceIp); + std::string getContainerFieldValue()const; + void setContainerFieldValue(const std::string& containerFieldValue); std::string getPageSize()const; void setPageSize(const std::string& pageSize); std::string getFrom()const; @@ -55,22 +61,28 @@ namespace AlibabaCloud void setDealed(const std::string& dealed); int getCurrentPage()const; void setCurrentPage(int currentPage); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); std::vector getOperateErrorCodeList()const; void setOperateErrorCodeList(const std::vector& operateErrorCodeList); std::string getLevels()const; void setLevels(const std::string& levels); private: + std::string targetType_; std::string alarmEventType_; std::string remark_; + std::string containerFieldName_; std::string alarmEventName_; std::string sourceIp_; + std::string containerFieldValue_; std::string pageSize_; std::string from_; std::string lang_; std::string groupId_; std::string dealed_; int currentPage_; + std::string clusterId_; std::vector operateErrorCodeList_; std::string levels_; diff --git a/sas/include/alibabacloud/sas/model/DescribeAlarmEventListResult.h b/sas/include/alibabacloud/sas/model/DescribeAlarmEventListResult.h index bb3c1ed9b..6e02bd8f5 100644 --- a/sas/include/alibabacloud/sas/model/DescribeAlarmEventListResult.h +++ b/sas/include/alibabacloud/sas/model/DescribeAlarmEventListResult.h @@ -41,30 +41,43 @@ namespace AlibabaCloud }; struct SuspEventsItem { - bool canCancelFault; std::string description; - std::string alarmEventNameOriginal; + std::string k8sNodeId; long endTime; + bool containHwMode; + std::string k8sNodeName; std::string operateErrorCode; - std::string instanceId; std::string alarmEventName; std::string securityEventIds; - long startTime; long gmtModified; - std::string saleVersion; std::string intranetIp; - bool dealed; bool hasTraceInfo; + std::string k8sClusterId; + std::string appName; + std::string k8sNamespace; + std::string internetIp; + std::string containerId; + std::string alarmEventType; + std::string solution; + bool canCancelFault; + std::string alarmEventNameOriginal; + std::string instanceId; + std::string stages; + long startTime; + std::string saleVersion; + std::string k8sPodName; + bool dealed; + std::string containerImageId; std::string dataSource; std::string instanceName; + long operateTime; bool canBeDealOnLine; std::string uuid; - std::string internetIp; - std::string alarmEventType; + std::string k8sClusterName; + std::string containerImageName; int suspiciousEventCount; std::string alarmUniqueInfo; std::string level; - std::string solution; }; diff --git a/sas/include/alibabacloud/sas/model/DescribeAlarmEventStackInfoRequest.h b/sas/include/alibabacloud/sas/model/DescribeAlarmEventStackInfoRequest.h new file mode 100644 index 000000000..f7f8c77b0 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeAlarmEventStackInfoRequest.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_SAS_MODEL_DESCRIBEALARMEVENTSTACKINFOREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEALARMEVENTSTACKINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeAlarmEventStackInfoRequest : public RpcServiceRequest + { + + public: + DescribeAlarmEventStackInfoRequest(); + ~DescribeAlarmEventStackInfoRequest(); + + std::string getUniqueInfo()const; + void setUniqueInfo(const std::string& uniqueInfo); + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getEventName()const; + void setEventName(const std::string& eventName); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string uniqueInfo_; + std::string uuid_; + std::string eventName_; + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEALARMEVENTSTACKINFOREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeAlarmEventStackInfoResult.h b/sas/include/alibabacloud/sas/model/DescribeAlarmEventStackInfoResult.h new file mode 100644 index 000000000..d1ed647a0 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeAlarmEventStackInfoResult.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_SAS_MODEL_DESCRIBEALARMEVENTSTACKINFORESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEALARMEVENTSTACKINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeAlarmEventStackInfoResult : public ServiceResult + { + public: + + + DescribeAlarmEventStackInfoResult(); + explicit DescribeAlarmEventStackInfoResult(const std::string &payload); + ~DescribeAlarmEventStackInfoResult(); + std::string getStackInfo()const; + + protected: + void parse(const std::string &payload); + private: + std::string stackInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEALARMEVENTSTACKINFORESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeAllEntityResult.h b/sas/include/alibabacloud/sas/model/DescribeAllEntityResult.h index 98a2b3035..2a0e636ca 100644 --- a/sas/include/alibabacloud/sas/model/DescribeAllEntityResult.h +++ b/sas/include/alibabacloud/sas/model/DescribeAllEntityResult.h @@ -36,6 +36,7 @@ namespace AlibabaCloud { std::string instanceName; std::string uuid; + std::string os; std::string internetIp; std::string ip; std::string intranetIp; diff --git a/sas/include/alibabacloud/sas/model/DescribeAntiBruteForceRulesRequest.h b/sas/include/alibabacloud/sas/model/DescribeAntiBruteForceRulesRequest.h new file mode 100644 index 000000000..e0d07ce1b --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeAntiBruteForceRulesRequest.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_SAS_MODEL_DESCRIBEANTIBRUTEFORCERULESREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEANTIBRUTEFORCERULESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeAntiBruteForceRulesRequest : public RpcServiceRequest + { + + public: + DescribeAntiBruteForceRulesRequest(); + ~DescribeAntiBruteForceRulesRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + long resourceOwnerId_; + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEANTIBRUTEFORCERULESREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeAntiBruteForceRulesResult.h b/sas/include/alibabacloud/sas/model/DescribeAntiBruteForceRulesResult.h new file mode 100644 index 000000000..882f68ea1 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeAntiBruteForceRulesResult.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_SAS_MODEL_DESCRIBEANTIBRUTEFORCERULESRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEANTIBRUTEFORCERULESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeAntiBruteForceRulesResult : public ServiceResult + { + public: + struct PageInfo + { + int totalCount; + int pageSize; + int currentPage; + int count; + }; + struct AntiBruteForceRule + { + bool defaultRule; + int forbiddenTime; + std::vector uuidList; + int failCount; + bool enableSmartRule; + int machineCount; + long id; + int span; + std::string name; + }; + + + DescribeAntiBruteForceRulesResult(); + explicit DescribeAntiBruteForceRulesResult(const std::string &payload); + ~DescribeAntiBruteForceRulesResult(); + PageInfo getPageInfo()const; + std::vector getRules()const; + + protected: + void parse(const std::string &payload); + private: + PageInfo pageInfo_; + std::vector rules_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEANTIBRUTEFORCERULESRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeAssetDetailByUuidResult.h b/sas/include/alibabacloud/sas/model/DescribeAssetDetailByUuidResult.h index ae882c112..9d6d8fbeb 100644 --- a/sas/include/alibabacloud/sas/model/DescribeAssetDetailByUuidResult.h +++ b/sas/include/alibabacloud/sas/model/DescribeAssetDetailByUuidResult.h @@ -43,22 +43,24 @@ namespace AlibabaCloud std::vector diskInfoList; std::string internetIp; std::string regionName; + std::string instanceStatus; std::string kernel; std::string hostName; - std::string osName1; std::string clientStatus; - int instanceId; + std::string instanceId; std::string cpuInfo; std::vector ipList; std::string osName; + long createTime; std::string sysInfo; - int instanceName; + std::string instanceName; std::vector macList; std::string assetType; std::string uuid; int mem; std::string region; std::string vpcInstanceId; + std::string regionId; std::string tag; }; diff --git a/sas/include/alibabacloud/sas/model/DescribeAssetDetailByUuidsResult.h b/sas/include/alibabacloud/sas/model/DescribeAssetDetailByUuidsResult.h index 2d748d083..f67ed649a 100644 --- a/sas/include/alibabacloud/sas/model/DescribeAssetDetailByUuidsResult.h +++ b/sas/include/alibabacloud/sas/model/DescribeAssetDetailByUuidsResult.h @@ -36,17 +36,18 @@ namespace AlibabaCloud { std::string clientStatus; std::string os; - int instanceId; + std::string instanceId; std::string ip; std::string osName; std::string intranetIp; - int instanceName; + std::string instanceName; std::string assetType; std::string uuid; std::string internetIp; std::string regionName; std::string region; std::string vpcInstanceId; + std::string regionId; }; diff --git a/sas/include/alibabacloud/sas/model/DescribeBackupDirsRequest.h b/sas/include/alibabacloud/sas/model/DescribeBackupDirsRequest.h new file mode 100644 index 000000000..c246759d9 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeBackupDirsRequest.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_SAS_MODEL_DESCRIBEBACKUPDIRSREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPDIRSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeBackupDirsRequest : public RpcServiceRequest + { + + public: + DescribeBackupDirsRequest(); + ~DescribeBackupDirsRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getPolicyId()const; + void setPolicyId(long policyId); + int getPageSize()const; + void setPageSize(int pageSize); + + private: + long resourceOwnerId_; + int currentPage_; + std::string uuid_; + std::string sourceIp_; + long policyId_; + int pageSize_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPDIRSREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeBackupDirsResult.h b/sas/include/alibabacloud/sas/model/DescribeBackupDirsResult.h new file mode 100644 index 000000000..7ccd3eb3a --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeBackupDirsResult.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_SAS_MODEL_DESCRIBEBACKUPDIRSRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPDIRSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeBackupDirsResult : public ServiceResult + { + public: + struct PageInfo + { + int totalCount; + int pageSize; + int currentPage; + int count; + }; + struct SimpleBackupJob + { + long backupJobId; + std::string source; + }; + + + DescribeBackupDirsResult(); + explicit DescribeBackupDirsResult(const std::string &payload); + ~DescribeBackupDirsResult(); + PageInfo getPageInfo()const; + std::vector getBackupDirs()const; + + protected: + void parse(const std::string &payload); + private: + PageInfo pageInfo_; + std::vector backupDirs_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPDIRSRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeBackupFilesRequest.h b/sas/include/alibabacloud/sas/model/DescribeBackupFilesRequest.h new file mode 100644 index 000000000..d851a5c07 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeBackupFilesRequest.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_SAS_MODEL_DESCRIBEBACKUPFILESREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPFILESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeBackupFilesRequest : public RpcServiceRequest + { + + public: + DescribeBackupFilesRequest(); + ~DescribeBackupFilesRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getPath()const; + void setPath(const std::string& path); + std::string getSnapshotHash()const; + void setSnapshotHash(const std::string& snapshotHash); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getPageSize()const; + void setPageSize(const std::string& pageSize); + std::string getCurrentPage()const; + void setCurrentPage(const std::string& currentPage); + + private: + long resourceOwnerId_; + std::string uuid_; + std::string path_; + std::string snapshotHash_; + std::string sourceIp_; + std::string pageSize_; + std::string currentPage_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPFILESREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeStratetyResult.h b/sas/include/alibabacloud/sas/model/DescribeBackupFilesResult.h similarity index 53% rename from sas/include/alibabacloud/sas/model/DescribeStratetyResult.h rename to sas/include/alibabacloud/sas/model/DescribeBackupFilesResult.h index 5d3f3154c..b465cfeac 100644 --- a/sas/include/alibabacloud/sas/model/DescribeStratetyResult.h +++ b/sas/include/alibabacloud/sas/model/DescribeBackupFilesResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBESTRATETYRESULT_H_ -#define ALIBABACLOUD_SAS_MODEL_DESCRIBESTRATETYRESULT_H_ +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPFILESRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPFILESRESULT_H_ #include #include @@ -29,43 +29,39 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_SAS_EXPORT DescribeStratetyResult : public ServiceResult + class ALIBABACLOUD_SAS_EXPORT DescribeBackupFilesResult : public ServiceResult { public: - struct Strategy + struct PageInfo { - struct ConfigTarget - { - std::string target; - std::string targetType; - std::string flag; - }; - int cycleStartTime; - int ecsCount; - int type; - int execStatus; - int passRate; - int processRate; - int cycleDays; - int id; - std::vector configTargets; - int riskCount; + int totalCount; + int pageSize; + int currentPage; + int count; + }; + struct BrowseFile + { + std::string type; + long size; + std::string subtree; std::string name; }; - DescribeStratetyResult(); - explicit DescribeStratetyResult(const std::string &payload); - ~DescribeStratetyResult(); - std::vector getStrategies()const; + DescribeBackupFilesResult(); + explicit DescribeBackupFilesResult(const std::string &payload); + ~DescribeBackupFilesResult(); + PageInfo getPageInfo()const; + std::vector getBackupFiles()const; protected: void parse(const std::string &payload); private: - std::vector strategies_; + PageInfo pageInfo_; + std::vector backupFiles_; }; } } } -#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBESTRATETYRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPFILESRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeBackupMachineStatusRequest.h b/sas/include/alibabacloud/sas/model/DescribeBackupMachineStatusRequest.h new file mode 100644 index 000000000..25da0f89d --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeBackupMachineStatusRequest.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_SAS_MODEL_DESCRIBEBACKUPMACHINESTATUSREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPMACHINESTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeBackupMachineStatusRequest : public RpcServiceRequest + { + + public: + DescribeBackupMachineStatusRequest(); + ~DescribeBackupMachineStatusRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getPolicyVersion()const; + void setPolicyVersion(const std::string& policyVersion); + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getPolicyId()const; + void setPolicyId(long policyId); + + private: + long resourceOwnerId_; + std::string policyVersion_; + std::string uuid_; + std::string sourceIp_; + long policyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPMACHINESTATUSREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeBackupMachineStatusResult.h b/sas/include/alibabacloud/sas/model/DescribeBackupMachineStatusResult.h new file mode 100644 index 000000000..00b1835a5 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeBackupMachineStatusResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPMACHINESTATUSRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPMACHINESTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeBackupMachineStatusResult : public ServiceResult + { + public: + struct BackupMachineStatus + { + struct BackupErrorMsg + { + std::string path; + long errorTime; + std::string errorType; + std::string errorFile; + std::string requestId; + std::string errorStatus; + std::string errorMsg; + std::string errorFileUrl; + std::string errorCode; + std::string key; + }; + std::string status; + std::string clientStatus; + std::string requestId; + std::string instanceId; + std::string clientVersion; + std::string vaultId; + std::string uuid; + std::vector errorList; + std::string jobs; + std::string clientId; + std::string errorCode; + std::string regionId; + int savedBackupCount; + }; + + + DescribeBackupMachineStatusResult(); + explicit DescribeBackupMachineStatusResult(const std::string &payload); + ~DescribeBackupMachineStatusResult(); + BackupMachineStatus getBackupMachineStatus()const; + + protected: + void parse(const std::string &payload); + private: + BackupMachineStatus backupMachineStatus_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPMACHINESTATUSRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeBackupPoliciesRequest.h b/sas/include/alibabacloud/sas/model/DescribeBackupPoliciesRequest.h new file mode 100644 index 000000000..e3acf37b2 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeBackupPoliciesRequest.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_SAS_MODEL_DESCRIBEBACKUPPOLICIESREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPPOLICIESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeBackupPoliciesRequest : public RpcServiceRequest + { + + public: + DescribeBackupPoliciesRequest(); + ~DescribeBackupPoliciesRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getName()const; + void setName(const std::string& name); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + long resourceOwnerId_; + int currentPage_; + std::string sourceIp_; + std::string name_; + int pageSize_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPPOLICIESREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeBackupPoliciesResult.h b/sas/include/alibabacloud/sas/model/DescribeBackupPoliciesResult.h new file mode 100644 index 000000000..1b41e0db7 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeBackupPoliciesResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPPOLICIESRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPPOLICIESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeBackupPoliciesResult : public ServiceResult + { + public: + struct PageInfo + { + int totalCount; + int pageSize; + int currentPage; + int count; + }; + struct BackupPolicy + { + std::string status; + std::string policy; + std::string policyVersion; + std::string clientStatus; + std::vector serviceErrorUuidList; + std::string name; + std::vector clientErrorUuidList; + std::vector healthClientUuidList; + std::vector uuidList; + int clientErrorCount; + int serviceErrorCount; + long id; + int healthClientCount; + }; + + + DescribeBackupPoliciesResult(); + explicit DescribeBackupPoliciesResult(const std::string &payload); + ~DescribeBackupPoliciesResult(); + PageInfo getPageInfo()const; + std::vector getPolicies()const; + + protected: + void parse(const std::string &payload); + private: + PageInfo pageInfo_; + std::vector policies_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPPOLICIESRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeBackupPolicyRequest.h b/sas/include/alibabacloud/sas/model/DescribeBackupPolicyRequest.h new file mode 100644 index 000000000..bddd4755c --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeBackupPolicyRequest.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_SAS_MODEL_DESCRIBEBACKUPPOLICYREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPPOLICYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeBackupPolicyRequest : public RpcServiceRequest + { + + public: + DescribeBackupPolicyRequest(); + ~DescribeBackupPolicyRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getPolicyVersion()const; + void setPolicyVersion(const std::string& policyVersion); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getId()const; + void setId(long id); + + private: + long resourceOwnerId_; + std::string policyVersion_; + std::string sourceIp_; + long id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPPOLICYREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeBackupPolicyResult.h b/sas/include/alibabacloud/sas/model/DescribeBackupPolicyResult.h new file mode 100644 index 000000000..b293eda7d --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeBackupPolicyResult.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_SAS_MODEL_DESCRIBEBACKUPPOLICYRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeBackupPolicyResult : public ServiceResult + { + public: + struct BackupPolicyDetail + { + std::string policy; + std::string status; + std::string clientStatus; + std::vector uuidList; + long id; + std::string name; + }; + + + DescribeBackupPolicyResult(); + explicit DescribeBackupPolicyResult(const std::string &payload); + ~DescribeBackupPolicyResult(); + BackupPolicyDetail getBackupPolicyDetail()const; + + protected: + void parse(const std::string &payload); + private: + BackupPolicyDetail backupPolicyDetail_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPPOLICYRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeBackupRestoreCountRequest.h b/sas/include/alibabacloud/sas/model/DescribeBackupRestoreCountRequest.h new file mode 100644 index 000000000..61fc3ba55 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeBackupRestoreCountRequest.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_SAS_MODEL_DESCRIBEBACKUPRESTORECOUNTREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPRESTORECOUNTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeBackupRestoreCountRequest : public RpcServiceRequest + { + + public: + DescribeBackupRestoreCountRequest(); + ~DescribeBackupRestoreCountRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + long resourceOwnerId_; + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPRESTORECOUNTREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeBackupRestoreCountResult.h b/sas/include/alibabacloud/sas/model/DescribeBackupRestoreCountResult.h new file mode 100644 index 000000000..95ae4a0a8 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeBackupRestoreCountResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPRESTORECOUNTRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPRESTORECOUNTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeBackupRestoreCountResult : public ServiceResult + { + public: + struct BackupRestoreCount + { + int recovering; + int total; + }; + + + DescribeBackupRestoreCountResult(); + explicit DescribeBackupRestoreCountResult(const std::string &payload); + ~DescribeBackupRestoreCountResult(); + BackupRestoreCount getBackupRestoreCount()const; + + protected: + void parse(const std::string &payload); + private: + BackupRestoreCount backupRestoreCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEBACKUPRESTORECOUNTRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeBruteForceSummaryRequest.h b/sas/include/alibabacloud/sas/model/DescribeBruteForceSummaryRequest.h new file mode 100644 index 000000000..5444a2d0c --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeBruteForceSummaryRequest.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_SAS_MODEL_DESCRIBEBRUTEFORCESUMMARYREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEBRUTEFORCESUMMARYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeBruteForceSummaryRequest : public RpcServiceRequest + { + + public: + DescribeBruteForceSummaryRequest(); + ~DescribeBruteForceSummaryRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + long resourceOwnerId_; + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEBRUTEFORCESUMMARYREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeBruteForceSummaryResult.h b/sas/include/alibabacloud/sas/model/DescribeBruteForceSummaryResult.h new file mode 100644 index 000000000..872af4623 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeBruteForceSummaryResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEBRUTEFORCESUMMARYRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEBRUTEFORCESUMMARYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeBruteForceSummaryResult : public ServiceResult + { + public: + struct BruteForceSummary + { + int allStrategyCount; + int effectiveCount; + }; + + + DescribeBruteForceSummaryResult(); + explicit DescribeBruteForceSummaryResult(const std::string &payload); + ~DescribeBruteForceSummaryResult(); + BruteForceSummary getBruteForceSummary()const; + + protected: + void parse(const std::string &payload); + private: + BruteForceSummary bruteForceSummary_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEBRUTEFORCESUMMARYRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeCheckEcsWarningsRequest.h b/sas/include/alibabacloud/sas/model/DescribeCheckEcsWarningsRequest.h new file mode 100644 index 000000000..028cbbb7c --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeCheckEcsWarningsRequest.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_SAS_MODEL_DESCRIBECHECKECSWARNINGSREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBECHECKECSWARNINGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeCheckEcsWarningsRequest : public RpcServiceRequest + { + + public: + DescribeCheckEcsWarningsRequest(); + ~DescribeCheckEcsWarningsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBECHECKECSWARNINGSREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeCheckEcsWarningsResult.h b/sas/include/alibabacloud/sas/model/DescribeCheckEcsWarningsResult.h new file mode 100644 index 000000000..58ab788e8 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeCheckEcsWarningsResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBECHECKECSWARNINGSRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBECHECKECSWARNINGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeCheckEcsWarningsResult : public ServiceResult + { + public: + + + DescribeCheckEcsWarningsResult(); + explicit DescribeCheckEcsWarningsResult(const std::string &payload); + ~DescribeCheckEcsWarningsResult(); + std::string getSasVersion()const; + std::string getCanTry()const; + std::string getWeakPasswordCount()const; + + protected: + void parse(const std::string &payload); + private: + std::string sasVersion_; + std::string canTry_; + std::string weakPasswordCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBECHECKECSWARNINGSRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeCloudCenterInstancesRequest.h b/sas/include/alibabacloud/sas/model/DescribeCloudCenterInstancesRequest.h index a21a39f35..f8b0fec7e 100644 --- a/sas/include/alibabacloud/sas/model/DescribeCloudCenterInstancesRequest.h +++ b/sas/include/alibabacloud/sas/model/DescribeCloudCenterInstancesRequest.h @@ -37,8 +37,12 @@ namespace AlibabaCloud std::string getCriteria()const; void setCriteria(const std::string& criteria); + int getImportance()const; + void setImportance(int importance); std::string getSourceIp()const; void setSourceIp(const std::string& sourceIp); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); bool getNoPage()const; void setNoPage(bool noPage); int getPageSize()const; @@ -52,7 +56,9 @@ namespace AlibabaCloud private: std::string criteria_; + int importance_; std::string sourceIp_; + std::string regionId_; bool noPage_; int pageSize_; std::string logicalExp_; diff --git a/sas/include/alibabacloud/sas/model/DescribeCloudCenterInstancesResult.h b/sas/include/alibabacloud/sas/model/DescribeCloudCenterInstancesResult.h index 11bfe69af..22400b586 100644 --- a/sas/include/alibabacloud/sas/model/DescribeCloudCenterInstancesResult.h +++ b/sas/include/alibabacloud/sas/model/DescribeCloudCenterInstancesResult.h @@ -41,16 +41,25 @@ namespace AlibabaCloud }; struct Instance { + long createdTime; std::string os; std::string vulStatus; std::string ip; + std::string clientVersion; std::string intranetIp; + std::string riskCount; + int importance; + int podCount; + int autoSnapshotsLevel; std::string internetIp; std::string regionName; + std::string clusterName; std::string status; + int exposedStatus; std::string clientStatus; int safeEventCount; std::string instanceId; + std::string clusterId; std::string osName; int healthCheckCount; int flag; diff --git a/sas/include/alibabacloud/sas/model/DescribeContainerStatisticsRequest.h b/sas/include/alibabacloud/sas/model/DescribeContainerStatisticsRequest.h new file mode 100644 index 000000000..2f425e5ab --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeContainerStatisticsRequest.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_SAS_MODEL_DESCRIBECONTAINERSTATISTICSREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBECONTAINERSTATISTICSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeContainerStatisticsRequest : public RpcServiceRequest + { + + public: + DescribeContainerStatisticsRequest(); + ~DescribeContainerStatisticsRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string clusterId_; + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBECONTAINERSTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeContainerStatisticsResult.h b/sas/include/alibabacloud/sas/model/DescribeContainerStatisticsResult.h new file mode 100644 index 000000000..6a918ad51 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeContainerStatisticsResult.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_SAS_MODEL_DESCRIBECONTAINERSTATISTICSRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBECONTAINERSTATISTICSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeContainerStatisticsResult : public ServiceResult + { + public: + struct Data + { + int totalNode; + int remindAlarmCount; + int hasRiskNode; + int totalAlarmCount; + int seriousAlarmCount; + int suspiciousAlarmCount; + }; + + + DescribeContainerStatisticsResult(); + explicit DescribeContainerStatisticsResult(const std::string &payload); + ~DescribeContainerStatisticsResult(); + Data getData()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBECONTAINERSTATISTICSRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeDomainCountResult.h b/sas/include/alibabacloud/sas/model/DescribeDomainCountResult.h index 27a5baac7..c58109510 100644 --- a/sas/include/alibabacloud/sas/model/DescribeDomainCountResult.h +++ b/sas/include/alibabacloud/sas/model/DescribeDomainCountResult.h @@ -37,12 +37,14 @@ namespace AlibabaCloud DescribeDomainCountResult(); explicit DescribeDomainCountResult(const std::string &payload); ~DescribeDomainCountResult(); + int getSubDomainsCount()const; int getTotalDomainsCount()const; int getRootDomainsCount()const; protected: void parse(const std::string &payload); private: + int subDomainsCount_; int totalDomainsCount_; int rootDomainsCount_; diff --git a/sas/include/alibabacloud/sas/model/DescribeDomainDetailResult.h b/sas/include/alibabacloud/sas/model/DescribeDomainDetailResult.h index 182b00025..59b737a7a 100644 --- a/sas/include/alibabacloud/sas/model/DescribeDomainDetailResult.h +++ b/sas/include/alibabacloud/sas/model/DescribeDomainDetailResult.h @@ -50,6 +50,8 @@ namespace AlibabaCloud std::vector getDomainDetailItems()const; std::string getRootDomain()const; std::string getDomain()const; + int getVulCount()const; + int getAlarmCount()const; protected: void parse(const std::string &payload); @@ -57,6 +59,8 @@ namespace AlibabaCloud std::vector domainDetailItems_; std::string rootDomain_; std::string domain_; + int vulCount_; + int alarmCount_; }; } diff --git a/sas/include/alibabacloud/sas/model/DescribeEmgVulItemRequest.h b/sas/include/alibabacloud/sas/model/DescribeEmgVulItemRequest.h new file mode 100644 index 000000000..b548600f5 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeEmgVulItemRequest.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_SAS_MODEL_DESCRIBEEMGVULITEMREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEEMGVULITEMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeEmgVulItemRequest : public RpcServiceRequest + { + + public: + DescribeEmgVulItemRequest(); + ~DescribeEmgVulItemRequest(); + + std::string getScanType()const; + void setScanType(const std::string& scanType); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getLang()const; + void setLang(const std::string& lang); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getVulName()const; + void setVulName(const std::string& vulName); + std::string getRiskStatus()const; + void setRiskStatus(const std::string& riskStatus); + + private: + std::string scanType_; + std::string sourceIp_; + int pageSize_; + std::string lang_; + int currentPage_; + std::string vulName_; + std::string riskStatus_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEEMGVULITEMREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeEmgVulGroupResult.h b/sas/include/alibabacloud/sas/model/DescribeEmgVulItemResult.h similarity index 65% rename from sas/include/alibabacloud/sas/model/DescribeEmgVulGroupResult.h rename to sas/include/alibabacloud/sas/model/DescribeEmgVulItemResult.h index 749d8200a..af13af52e 100644 --- a/sas/include/alibabacloud/sas/model/DescribeEmgVulGroupResult.h +++ b/sas/include/alibabacloud/sas/model/DescribeEmgVulItemResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEEMGVULGROUPRESULT_H_ -#define ALIBABACLOUD_SAS_MODEL_DESCRIBEEMGVULGROUPRESULT_H_ +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEEMGVULITEMRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEEMGVULITEMRESULT_H_ #include #include @@ -29,10 +29,10 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_SAS_EXPORT DescribeEmgVulGroupResult : public ServiceResult + class ALIBABACLOUD_SAS_EXPORT DescribeEmgVulItemResult : public ServiceResult { public: - struct EmgVulGroup + struct GroupedVulItem { int pendingCount; int status; @@ -46,20 +46,24 @@ namespace AlibabaCloud }; - DescribeEmgVulGroupResult(); - explicit DescribeEmgVulGroupResult(const std::string &payload); - ~DescribeEmgVulGroupResult(); + DescribeEmgVulItemResult(); + explicit DescribeEmgVulItemResult(const std::string &payload); + ~DescribeEmgVulItemResult(); int getTotalCount()const; - std::vector getEmgVulGroupList()const; + int getPageSize()const; + int getCurrentPage()const; + std::vector getGroupedVulItems()const; protected: void parse(const std::string &payload); private: int totalCount_; - std::vector emgVulGroupList_; + int pageSize_; + int currentPage_; + std::vector groupedVulItems_; }; } } } -#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEEMGVULGROUPRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEEMGVULITEMRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeExcludeSystemPathRequest.h b/sas/include/alibabacloud/sas/model/DescribeExcludeSystemPathRequest.h new file mode 100644 index 000000000..a2acbd5e5 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeExcludeSystemPathRequest.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_SAS_MODEL_DESCRIBEEXCLUDESYSTEMPATHREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEEXCLUDESYSTEMPATHREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeExcludeSystemPathRequest : public RpcServiceRequest + { + + public: + DescribeExcludeSystemPathRequest(); + ~DescribeExcludeSystemPathRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getPageSize()const; + void setPageSize(int pageSize); + + private: + long resourceOwnerId_; + int currentPage_; + std::string sourceIp_; + int pageSize_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEEXCLUDESYSTEMPATHREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeExcludeSystemPathResult.h b/sas/include/alibabacloud/sas/model/DescribeExcludeSystemPathResult.h new file mode 100644 index 000000000..5de103e52 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeExcludeSystemPathResult.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_SAS_MODEL_DESCRIBEEXCLUDESYSTEMPATHRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEEXCLUDESYSTEMPATHRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeExcludeSystemPathResult : public ServiceResult + { + public: + struct PageInfo + { + int totalCount; + int pageSize; + int currentPage; + int count; + }; + struct BaseModelDTO + { + std::string path; + std::string os; + long id; + }; + + + DescribeExcludeSystemPathResult(); + explicit DescribeExcludeSystemPathResult(const std::string &payload); + ~DescribeExcludeSystemPathResult(); + PageInfo getPageInfo()const; + std::vector getExcludePaths()const; + + protected: + void parse(const std::string &payload); + private: + PageInfo pageInfo_; + std::vector excludePaths_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEEXCLUDESYSTEMPATHRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeExposedInstanceCriteriaRequest.h b/sas/include/alibabacloud/sas/model/DescribeExposedInstanceCriteriaRequest.h new file mode 100644 index 000000000..a26b4421c --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeExposedInstanceCriteriaRequest.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_SAS_MODEL_DESCRIBEEXPOSEDINSTANCECRITERIAREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEEXPOSEDINSTANCECRITERIAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeExposedInstanceCriteriaRequest : public RpcServiceRequest + { + + public: + DescribeExposedInstanceCriteriaRequest(); + ~DescribeExposedInstanceCriteriaRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getValue()const; + void setValue(const std::string& value); + + private: + std::string sourceIp_; + std::string value_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEEXPOSEDINSTANCECRITERIAREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeExposedInstanceCriteriaResult.h b/sas/include/alibabacloud/sas/model/DescribeExposedInstanceCriteriaResult.h new file mode 100644 index 000000000..6e1c4407b --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeExposedInstanceCriteriaResult.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_SAS_MODEL_DESCRIBEEXPOSEDINSTANCECRITERIARESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEEXPOSEDINSTANCECRITERIARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeExposedInstanceCriteriaResult : public ServiceResult + { + public: + struct Criteria + { + std::string type; + std::string values; + std::string name; + }; + + + DescribeExposedInstanceCriteriaResult(); + explicit DescribeExposedInstanceCriteriaResult(const std::string &payload); + ~DescribeExposedInstanceCriteriaResult(); + std::vector getCriteriaList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector criteriaList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEEXPOSEDINSTANCECRITERIARESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeExposedInstanceDetailRequest.h b/sas/include/alibabacloud/sas/model/DescribeExposedInstanceDetailRequest.h new file mode 100644 index 000000000..96a57c731 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeExposedInstanceDetailRequest.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_SAS_MODEL_DESCRIBEEXPOSEDINSTANCEDETAILREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEEXPOSEDINSTANCEDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeExposedInstanceDetailRequest : public RpcServiceRequest + { + + public: + DescribeExposedInstanceDetailRequest(); + ~DescribeExposedInstanceDetailRequest(); + + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string uuid_; + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEEXPOSEDINSTANCEDETAILREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeExposedInstanceDetailResult.h b/sas/include/alibabacloud/sas/model/DescribeExposedInstanceDetailResult.h new file mode 100644 index 000000000..72d2cb51b --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeExposedInstanceDetailResult.h @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEEXPOSEDINSTANCEDETAILRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEEXPOSEDINSTANCEDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeExposedInstanceDetailResult : public ServiceResult + { + public: + struct ExposedChain + { + struct ScaVulRecord + { + std::string type; + std::string uuid; + std::string aliasName; + std::string necessity; + std::string name; + }; + struct ScaVulRecord + { + std::string type; + std::string uuid; + std::string aliasName; + std::string necessity; + std::string name; + }; + std::string exposureType; + std::string instanceId; + std::string exposureComponent; + std::string exposurePort; + std::string intranetIp; + std::string instanceName; + std::vector realVulList; + std::vector allVulList; + std::string uuid; + std::string internetIp; + std::string exposureIp; + std::string exposureTypeId; + std::string groupNo; + std::string regionId; + }; + + + DescribeExposedInstanceDetailResult(); + explicit DescribeExposedInstanceDetailResult(const std::string &payload); + ~DescribeExposedInstanceDetailResult(); + std::vector getExposedChains()const; + + protected: + void parse(const std::string &payload); + private: + std::vector exposedChains_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEEXPOSEDINSTANCEDETAILRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeExposedInstanceListRequest.h b/sas/include/alibabacloud/sas/model/DescribeExposedInstanceListRequest.h new file mode 100644 index 000000000..fec3b5f71 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeExposedInstanceListRequest.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_SAS_MODEL_DESCRIBEEXPOSEDINSTANCELISTREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEEXPOSEDINSTANCELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeExposedInstanceListRequest : public RpcServiceRequest + { + + public: + DescribeExposedInstanceListRequest(); + ~DescribeExposedInstanceListRequest(); + + std::string getExposurePort()const; + void setExposurePort(const std::string& exposurePort); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getPageSize()const; + void setPageSize(int pageSize); + bool getVulStatus()const; + void setVulStatus(bool vulStatus); + std::string getExposureIp()const; + void setExposureIp(const std::string& exposureIp); + long getGroupId()const; + void setGroupId(long groupId); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getExposureComponent()const; + void setExposureComponent(const std::string& exposureComponent); + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getInstanceName()const; + void setInstanceName(const std::string& instanceName); + bool getHealthStatus()const; + void setHealthStatus(bool healthStatus); + + private: + std::string exposurePort_; + std::string sourceIp_; + int pageSize_; + bool vulStatus_; + std::string exposureIp_; + long groupId_; + int currentPage_; + std::string exposureComponent_; + std::string instanceId_; + std::string instanceName_; + bool healthStatus_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEEXPOSEDINSTANCELISTREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeExposedInstanceListResult.h b/sas/include/alibabacloud/sas/model/DescribeExposedInstanceListResult.h new file mode 100644 index 000000000..c0c486a2a --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeExposedInstanceListResult.h @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEEXPOSEDINSTANCELISTRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEEXPOSEDINSTANCELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeExposedInstanceListResult : public ServiceResult + { + public: + struct PageInfo + { + int totalCount; + int pageSize; + int currentPage; + int count; + }; + struct ExposedInstance + { + int totalVulCount; + std::string groupName; + std::string exposureType; + std::string instanceId; + std::string exposureComponent; + std::string exposurePort; + int asapVulCount; + int nntfVulCount; + int exploitHealthCount; + std::string intranetIp; + long groupId; + std::string instanceName; + std::string uuid; + std::string internetIp; + std::string exposureTypeId; + std::string exposureIp; + int laterVulCount; + std::string regionId; + }; + + + DescribeExposedInstanceListResult(); + explicit DescribeExposedInstanceListResult(const std::string &payload); + ~DescribeExposedInstanceListResult(); + PageInfo getPageInfo()const; + std::vector getExposedInstances()const; + + protected: + void parse(const std::string &payload); + private: + PageInfo pageInfo_; + std::vector exposedInstances_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEEXPOSEDINSTANCELISTRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeExposedStatisticsDetailRequest.h b/sas/include/alibabacloud/sas/model/DescribeExposedStatisticsDetailRequest.h new file mode 100644 index 000000000..dbfa88b99 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeExposedStatisticsDetailRequest.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_SAS_MODEL_DESCRIBEEXPOSEDSTATISTICSDETAILREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEEXPOSEDSTATISTICSDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeExposedStatisticsDetailRequest : public RpcServiceRequest + { + + public: + DescribeExposedStatisticsDetailRequest(); + ~DescribeExposedStatisticsDetailRequest(); + + std::string getStatisticsType()const; + void setStatisticsType(const std::string& statisticsType); + std::string getStatisticsTypeGatewayType()const; + void setStatisticsTypeGatewayType(const std::string& statisticsTypeGatewayType); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getStatisticsTypeInstanceValue()const; + void setStatisticsTypeInstanceValue(const std::string& statisticsTypeInstanceValue); + int getPageSize()const; + void setPageSize(int pageSize); + + private: + std::string statisticsType_; + std::string statisticsTypeGatewayType_; + int currentPage_; + std::string sourceIp_; + std::string statisticsTypeInstanceValue_; + int pageSize_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEEXPOSEDSTATISTICSDETAILREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeExposedStatisticsDetailResult.h b/sas/include/alibabacloud/sas/model/DescribeExposedStatisticsDetailResult.h new file mode 100644 index 000000000..e4063b3ad --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeExposedStatisticsDetailResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEEXPOSEDSTATISTICSDETAILRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEEXPOSEDSTATISTICSDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeExposedStatisticsDetailResult : public ServiceResult + { + public: + struct PageInfo + { + int totalCount; + int pageSize; + int currentPage; + int count; + }; + struct StatisticsDetail + { + std::string exposureType; + std::string exposureTypeId; + std::string exposureIp; + std::string exposureComponent; + int exposedCount; + std::string exposureTypeInstanceName; + std::string exposurePort; + std::string regionId; + }; + + + DescribeExposedStatisticsDetailResult(); + explicit DescribeExposedStatisticsDetailResult(const std::string &payload); + ~DescribeExposedStatisticsDetailResult(); + PageInfo getPageInfo()const; + std::vector getStatisticsDetails()const; + + protected: + void parse(const std::string &payload); + private: + PageInfo pageInfo_; + std::vector statisticsDetails_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEEXPOSEDSTATISTICSDETAILRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeExposedStatisticsRequest.h b/sas/include/alibabacloud/sas/model/DescribeExposedStatisticsRequest.h new file mode 100644 index 000000000..f5190ba75 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeExposedStatisticsRequest.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_SAS_MODEL_DESCRIBEEXPOSEDSTATISTICSREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEEXPOSEDSTATISTICSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeExposedStatisticsRequest : public RpcServiceRequest + { + + public: + DescribeExposedStatisticsRequest(); + ~DescribeExposedStatisticsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEEXPOSEDSTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeExposedStatisticsResult.h b/sas/include/alibabacloud/sas/model/DescribeExposedStatisticsResult.h new file mode 100644 index 000000000..b9a829ed8 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeExposedStatisticsResult.h @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEEXPOSEDSTATISTICSRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEEXPOSEDSTATISTICSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeExposedStatisticsResult : public ServiceResult + { + public: + + + DescribeExposedStatisticsResult(); + explicit DescribeExposedStatisticsResult(const std::string &payload); + ~DescribeExposedStatisticsResult(); + int getExposedPortCount()const; + int getExposedWeekPasswordMachineCount()const; + int getExposedInstanceCount()const; + int getGatewayAssetCount()const; + int getExposedLaterVulCount()const; + int getExposedComponentCount()const; + int getExposedIpCount()const; + int getExposedNntfVulCount()const; + int getExposedAsapVulCount()const; + + protected: + void parse(const std::string &payload); + private: + int exposedPortCount_; + int exposedWeekPasswordMachineCount_; + int exposedInstanceCount_; + int gatewayAssetCount_; + int exposedLaterVulCount_; + int exposedComponentCount_; + int exposedIpCount_; + int exposedNntfVulCount_; + int exposedAsapVulCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEEXPOSEDSTATISTICSRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeFieldStatisticsRequest.h b/sas/include/alibabacloud/sas/model/DescribeFieldStatisticsRequest.h index 33aeb4689..b6d9131f8 100644 --- a/sas/include/alibabacloud/sas/model/DescribeFieldStatisticsRequest.h +++ b/sas/include/alibabacloud/sas/model/DescribeFieldStatisticsRequest.h @@ -39,10 +39,13 @@ namespace AlibabaCloud void setMachineTypes(const std::string& machineTypes); std::string getSourceIp()const; void setSourceIp(const std::string& sourceIp); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); private: std::string machineTypes_; std::string sourceIp_; + std::string regionId_; }; } diff --git a/sas/include/alibabacloud/sas/model/DescribeFieldStatisticsResult.h b/sas/include/alibabacloud/sas/model/DescribeFieldStatisticsResult.h index c8a8f2a84..3dc9a8610 100644 --- a/sas/include/alibabacloud/sas/model/DescribeFieldStatisticsResult.h +++ b/sas/include/alibabacloud/sas/model/DescribeFieldStatisticsResult.h @@ -34,15 +34,19 @@ namespace AlibabaCloud public: struct GroupedFields { + int groupCount; + int exposedInstanceCount; + int riskInstanceCount; + int importantAssetCount; + int generalAssetCount; + int testAssetCount; + int unprotectedInstanceCount; int instanceCount; int offlineInstanceCount; int vpcCount; - int groupCount; - int riskInstanceCount; int regionCount; int notRunningStatusCount; int newInstanceCount; - int unprotectedInstanceCount; }; diff --git a/sas/include/alibabacloud/sas/model/DescribeFrontVulPatchListRequest.h b/sas/include/alibabacloud/sas/model/DescribeFrontVulPatchListRequest.h new file mode 100644 index 000000000..ece2925aa --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeFrontVulPatchListRequest.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_SAS_MODEL_DESCRIBEFRONTVULPATCHLISTREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEFRONTVULPATCHLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeFrontVulPatchListRequest : public RpcServiceRequest + { + + public: + DescribeFrontVulPatchListRequest(); + ~DescribeFrontVulPatchListRequest(); + + std::string getType()const; + void setType(const std::string& type); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getOperateType()const; + void setOperateType(const std::string& operateType); + std::string getInfo()const; + void setInfo(const std::string& info); + + private: + std::string type_; + std::string sourceIp_; + std::string operateType_; + std::string info_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEFRONTVULPATCHLISTREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeFrontVulPatchListResult.h b/sas/include/alibabacloud/sas/model/DescribeFrontVulPatchListResult.h new file mode 100644 index 000000000..f66276dd9 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeFrontVulPatchListResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_SAS_MODEL_DESCRIBEFRONTVULPATCHLISTRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEFRONTVULPATCHLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeFrontVulPatchListResult : public ServiceResult + { + public: + struct FrontPatch + { + struct Patch + { + std::string aliasName; + std::string name; + }; + std::vector patchList; + std::string uuid; + }; + + + DescribeFrontVulPatchListResult(); + explicit DescribeFrontVulPatchListResult(const std::string &payload); + ~DescribeFrontVulPatchListResult(); + std::vector getFrontPatchList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector frontPatchList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEFRONTVULPATCHLISTRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeGroupedContainerInstancesRequest.h b/sas/include/alibabacloud/sas/model/DescribeGroupedContainerInstancesRequest.h new file mode 100644 index 000000000..e6599ee80 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeGroupedContainerInstancesRequest.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_SAS_MODEL_DESCRIBEGROUPEDCONTAINERINSTANCESREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEGROUPEDCONTAINERINSTANCESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeGroupedContainerInstancesRequest : public RpcServiceRequest + { + + public: + DescribeGroupedContainerInstancesRequest(); + ~DescribeGroupedContainerInstancesRequest(); + + std::string getCriteria()const; + void setCriteria(const std::string& criteria); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getGroupField()const; + void setGroupField(const std::string& groupField); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getLogicalExp()const; + void setLogicalExp(const std::string& logicalExp); + std::string getFieldValue()const; + void setFieldValue(const std::string& fieldValue); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + + private: + std::string criteria_; + std::string sourceIp_; + std::string groupField_; + int pageSize_; + std::string logicalExp_; + std::string fieldValue_; + int currentPage_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEGROUPEDCONTAINERINSTANCESREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeGroupedContainerInstancesResult.h b/sas/include/alibabacloud/sas/model/DescribeGroupedContainerInstancesResult.h new file mode 100644 index 000000000..27b047047 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeGroupedContainerInstancesResult.h @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEGROUPEDCONTAINERINSTANCESRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEGROUPEDCONTAINERINSTANCESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeGroupedContainerInstancesResult : public ServiceResult + { + public: + struct PageInfo + { + int totalCount; + int pageSize; + int currentPage; + int count; + }; + struct GroupedContainerInstance + { + std::string hostIp; + std::string pod; + std::string clusterId; + std::string instanceId; + std::string custerState; + int riskInstanceCount; + long createTime; + std::string _namespace; + std::string clusterType; + std::string riskStatus; + int vulCount; + std::string appName; + int instanceCount; + std::string podIp; + std::string clusterName; + std::string regionId; + std::string riskLevel; + int alarmCount; + }; + + + DescribeGroupedContainerInstancesResult(); + explicit DescribeGroupedContainerInstancesResult(const std::string &payload); + ~DescribeGroupedContainerInstancesResult(); + PageInfo getPageInfo()const; + std::vector getGroupedContainerInstanceList()const; + + protected: + void parse(const std::string &payload); + private: + PageInfo pageInfo_; + std::vector groupedContainerInstanceList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEGROUPEDCONTAINERINSTANCESRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeGroupedInstancesRequest.h b/sas/include/alibabacloud/sas/model/DescribeGroupedInstancesRequest.h new file mode 100644 index 000000000..f8b1720f2 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeGroupedInstancesRequest.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_SAS_MODEL_DESCRIBEGROUPEDINSTANCESREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEGROUPEDINSTANCESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeGroupedInstancesRequest : public RpcServiceRequest + { + + public: + DescribeGroupedInstancesRequest(); + ~DescribeGroupedInstancesRequest(); + + std::string getCriteria()const; + void setCriteria(const std::string& criteria); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getGroupField()const; + void setGroupField(const std::string& groupField); + bool getNoPage()const; + void setNoPage(bool noPage); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getFieldValue()const; + void setFieldValue(const std::string& fieldValue); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getMachineTypes()const; + void setMachineTypes(const std::string& machineTypes); + + private: + std::string criteria_; + std::string sourceIp_; + std::string groupField_; + bool noPage_; + int pageSize_; + std::string lang_; + std::string fieldValue_; + int currentPage_; + std::string machineTypes_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEGROUPEDINSTANCESREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeGroupedInstancesResult.h b/sas/include/alibabacloud/sas/model/DescribeGroupedInstancesResult.h new file mode 100644 index 000000000..6936b5731 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeGroupedInstancesResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEGROUPEDINSTANCESRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEGROUPEDINSTANCESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeGroupedInstancesResult : public ServiceResult + { + public: + struct PageInfo + { + int totalCount; + int pageSize; + int currentPage; + int count; + }; + struct Instance + { + std::string fieldAliasName; + std::string instanceCount; + long asapVulInstanceCount; + std::string unProtectedInstanceCount; + long fieldId; + std::string riskInstanceCount; + int groupFlag; + std::vector groupPath; + }; + + + DescribeGroupedInstancesResult(); + explicit DescribeGroupedInstancesResult(const std::string &payload); + ~DescribeGroupedInstancesResult(); + std::vector getInstances()const; + PageInfo getPageInfo()const; + + protected: + void parse(const std::string &payload); + private: + std::vector instances_; + PageInfo pageInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEGROUPEDINSTANCESRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeGroupedMaliciousFilesRequest.h b/sas/include/alibabacloud/sas/model/DescribeGroupedMaliciousFilesRequest.h new file mode 100644 index 000000000..a054e4251 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeGroupedMaliciousFilesRequest.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_SAS_MODEL_DESCRIBEGROUPEDMALICIOUSFILESREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEGROUPEDMALICIOUSFILESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeGroupedMaliciousFilesRequest : public RpcServiceRequest + { + + public: + DescribeGroupedMaliciousFilesRequest(); + ~DescribeGroupedMaliciousFilesRequest(); + + std::string getRepoId()const; + void setRepoId(const std::string& repoId); + std::string getFuzzyMaliciousName()const; + void setFuzzyMaliciousName(const std::string& fuzzyMaliciousName); + std::string getRepoNamespace()const; + void setRepoNamespace(const std::string& repoNamespace); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getImageDigest()const; + void setImageDigest(const std::string& imageDigest); + std::string getPageSize()const; + void setPageSize(const std::string& pageSize); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getImageTag()const; + void setImageTag(const std::string& imageTag); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getRepoName()const; + void setRepoName(const std::string& repoName); + std::string getRepoInstanceId()const; + void setRepoInstanceId(const std::string& repoInstanceId); + std::string getImageLayer()const; + void setImageLayer(const std::string& imageLayer); + std::string getLevels()const; + void setLevels(const std::string& levels); + std::vector getUuids()const; + void setUuids(const std::vector& uuids); + std::string getRepoRegionId()const; + void setRepoRegionId(const std::string& repoRegionId); + + private: + std::string repoId_; + std::string fuzzyMaliciousName_; + std::string repoNamespace_; + std::string sourceIp_; + std::string imageDigest_; + std::string pageSize_; + std::string lang_; + std::string imageTag_; + int currentPage_; + std::string repoName_; + std::string repoInstanceId_; + std::string imageLayer_; + std::string levels_; + std::vector uuids_; + std::string repoRegionId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEGROUPEDMALICIOUSFILESREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeGroupedMaliciousFilesResult.h b/sas/include/alibabacloud/sas/model/DescribeGroupedMaliciousFilesResult.h new file mode 100644 index 000000000..53b446ba6 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeGroupedMaliciousFilesResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEGROUPEDMALICIOUSFILESRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEGROUPEDMALICIOUSFILESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeGroupedMaliciousFilesResult : public ServiceResult + { + public: + struct PageInfo + { + int totalCount; + int pageSize; + int currentPage; + int count; + }; + struct GroupedMaliciousFile + { + int status; + long latestScanTimestamp; + long imageCount; + std::string maliciousName; + std::string level; + long firstScanTimestamp; + std::string maliciousMd5; + }; + + + DescribeGroupedMaliciousFilesResult(); + explicit DescribeGroupedMaliciousFilesResult(const std::string &payload); + ~DescribeGroupedMaliciousFilesResult(); + PageInfo getPageInfo()const; + std::vector getGroupedMaliciousFileResponse()const; + + protected: + void parse(const std::string &payload); + private: + PageInfo pageInfo_; + std::vector groupedMaliciousFileResponse_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEGROUPEDMALICIOUSFILESRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeGroupedVulRequest.h b/sas/include/alibabacloud/sas/model/DescribeGroupedVulRequest.h index 4b42eb328..1d7234268 100644 --- a/sas/include/alibabacloud/sas/model/DescribeGroupedVulRequest.h +++ b/sas/include/alibabacloud/sas/model/DescribeGroupedVulRequest.h @@ -37,10 +37,18 @@ namespace AlibabaCloud std::string getStatusList()const; void setStatusList(const std::string& statusList); + std::string getTargetType()const; + void setTargetType(const std::string& targetType); + int getMinScore()const; + void setMinScore(int minScore); std::string getType()const; void setType(const std::string& type); + std::string getContainerFieldName()const; + void setContainerFieldName(const std::string& containerFieldName); std::string getSourceIp()const; void setSourceIp(const std::string& sourceIp); + std::string getContainerFieldValue()const; + void setContainerFieldValue(const std::string& containerFieldValue); int getPageSize()const; void setPageSize(int pageSize); std::string getLang()const; @@ -51,6 +59,8 @@ namespace AlibabaCloud void setDealed(const std::string& dealed); int getCurrentPage()const; void setCurrentPage(int currentPage); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); std::string getAliasName()const; void setAliasName(const std::string& aliasName); std::string getNecessity()const; @@ -60,13 +70,18 @@ namespace AlibabaCloud private: std::string statusList_; + std::string targetType_; + int minScore_; std::string type_; + std::string containerFieldName_; std::string sourceIp_; + std::string containerFieldValue_; int pageSize_; std::string lang_; std::string groupId_; std::string dealed_; int currentPage_; + std::string clusterId_; std::string aliasName_; std::string necessity_; std::string uuids_; diff --git a/sas/include/alibabacloud/sas/model/DescribeGroupedVulResult.h b/sas/include/alibabacloud/sas/model/DescribeGroupedVulResult.h index f2799bdf8..fbeb0f4d1 100644 --- a/sas/include/alibabacloud/sas/model/DescribeGroupedVulResult.h +++ b/sas/include/alibabacloud/sas/model/DescribeGroupedVulResult.h @@ -41,6 +41,7 @@ namespace AlibabaCloud std::string aliasName; int asapCount; int nntfCount; + long totalFixCount; std::string tags; std::string name; }; diff --git a/sas/include/alibabacloud/sas/model/DescribeHoneyPotAuthRequest.h b/sas/include/alibabacloud/sas/model/DescribeHoneyPotAuthRequest.h new file mode 100644 index 000000000..cd8f2ecb9 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeHoneyPotAuthRequest.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_SAS_MODEL_DESCRIBEHONEYPOTAUTHREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEHONEYPOTAUTHREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeHoneyPotAuthRequest : public RpcServiceRequest + { + + public: + DescribeHoneyPotAuthRequest(); + ~DescribeHoneyPotAuthRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEHONEYPOTAUTHREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeHoneyPotAuthResult.h b/sas/include/alibabacloud/sas/model/DescribeHoneyPotAuthResult.h new file mode 100644 index 000000000..c48de5841 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeHoneyPotAuthResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEHONEYPOTAUTHRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEHONEYPOTAUTHRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeHoneyPotAuthResult : public ServiceResult + { + public: + + + DescribeHoneyPotAuthResult(); + explicit DescribeHoneyPotAuthResult(const std::string &payload); + ~DescribeHoneyPotAuthResult(); + long getHoneyPotAuthCount()const; + int getHoneyPotCount()const; + + protected: + void parse(const std::string &payload); + private: + long honeyPotAuthCount_; + int honeyPotCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEHONEYPOTAUTHRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeHoneyPotSuspStatisticsRequest.h b/sas/include/alibabacloud/sas/model/DescribeHoneyPotSuspStatisticsRequest.h new file mode 100644 index 000000000..2fe66779d --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeHoneyPotSuspStatisticsRequest.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_SAS_MODEL_DESCRIBEHONEYPOTSUSPSTATISTICSREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEHONEYPOTSUSPSTATISTICSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeHoneyPotSuspStatisticsRequest : public RpcServiceRequest + { + + public: + DescribeHoneyPotSuspStatisticsRequest(); + ~DescribeHoneyPotSuspStatisticsRequest(); + + int getStatisticsDays()const; + void setStatisticsDays(int statisticsDays); + std::string getStatisticsKeyType()const; + void setStatisticsKeyType(const std::string& statisticsKeyType); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getFrom()const; + void setFrom(const std::string& from); + + private: + int statisticsDays_; + std::string statisticsKeyType_; + std::string sourceIp_; + std::string from_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEHONEYPOTSUSPSTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeHoneyPotSuspStatisticsResult.h b/sas/include/alibabacloud/sas/model/DescribeHoneyPotSuspStatisticsResult.h new file mode 100644 index 000000000..35847828f --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeHoneyPotSuspStatisticsResult.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_SAS_MODEL_DESCRIBEHONEYPOTSUSPSTATISTICSRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEHONEYPOTSUSPSTATISTICSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeHoneyPotSuspStatisticsResult : public ServiceResult + { + public: + struct SuspHoneyPotStatisticsResponseItem + { + std::string instanceName; + std::string type; + std::string vpcId; + std::string instanceId; + std::string vpcName; + int count; + }; + + + DescribeHoneyPotSuspStatisticsResult(); + explicit DescribeHoneyPotSuspStatisticsResult(const std::string &payload); + ~DescribeHoneyPotSuspStatisticsResult(); + std::vector getSuspHoneyPotStatisticsResponse()const; + + protected: + void parse(const std::string &payload); + private: + std::vector suspHoneyPotStatisticsResponse_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEHONEYPOTSUSPSTATISTICSRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeImageGroupedVulListRequest.h b/sas/include/alibabacloud/sas/model/DescribeImageGroupedVulListRequest.h new file mode 100644 index 000000000..bd794d3fc --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeImageGroupedVulListRequest.h @@ -0,0 +1,138 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_SAS_MODEL_DESCRIBEIMAGEGROUPEDVULLISTREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEIMAGEGROUPEDVULLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeImageGroupedVulListRequest : public RpcServiceRequest + { + + public: + DescribeImageGroupedVulListRequest(); + ~DescribeImageGroupedVulListRequest(); + + std::string getType()const; + void setType(const std::string& type); + long getLastTsEnd()const; + void setLastTsEnd(long lastTsEnd); + long getCreateTsStart()const; + void setCreateTsStart(long createTsStart); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getImageTag()const; + void setImageTag(const std::string& imageTag); + std::string getLevel()const; + void setLevel(const std::string& level); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getOrderBy()const; + void setOrderBy(const std::string& orderBy); + std::string getAliasName()const; + void setAliasName(const std::string& aliasName); + long getPatchId()const; + void setPatchId(long patchId); + std::string getName()const; + void setName(const std::string& name); + long getCreateTsEnd()const; + void setCreateTsEnd(long createTsEnd); + std::string getNecessity()const; + void setNecessity(const std::string& necessity); + std::string getUuids()const; + void setUuids(const std::string& uuids); + std::string getRepoId()const; + void setRepoId(const std::string& repoId); + std::string getStatusList()const; + void setStatusList(const std::string& statusList); + std::string getCveId()const; + void setCveId(const std::string& cveId); + std::string getRemark()const; + void setRemark(const std::string& remark); + std::string getRepoNamespace()const; + void setRepoNamespace(const std::string& repoNamespace); + std::string getImageDigest()const; + void setImageDigest(const std::string& imageDigest); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getLang()const; + void setLang(const std::string& lang); + long getLastTsStart()const; + void setLastTsStart(long lastTsStart); + std::string getDirection()const; + void setDirection(const std::string& direction); + std::string getDealed()const; + void setDealed(const std::string& dealed); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getSearchTags()const; + void setSearchTags(const std::string& searchTags); + std::string getRepoName()const; + void setRepoName(const std::string& repoName); + std::string getRepoInstanceId()const; + void setRepoInstanceId(const std::string& repoInstanceId); + std::string getImageLayer()const; + void setImageLayer(const std::string& imageLayer); + std::string getRepoRegionId()const; + void setRepoRegionId(const std::string& repoRegionId); + + private: + std::string type_; + long lastTsEnd_; + long createTsStart_; + std::string sourceIp_; + std::string imageTag_; + std::string level_; + std::string groupId_; + std::string orderBy_; + std::string aliasName_; + long patchId_; + std::string name_; + long createTsEnd_; + std::string necessity_; + std::string uuids_; + std::string repoId_; + std::string statusList_; + std::string cveId_; + std::string remark_; + std::string repoNamespace_; + std::string imageDigest_; + int pageSize_; + std::string lang_; + long lastTsStart_; + std::string direction_; + std::string dealed_; + int currentPage_; + std::string searchTags_; + std::string repoName_; + std::string repoInstanceId_; + std::string imageLayer_; + std::string repoRegionId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEIMAGEGROUPEDVULLISTREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeImageGroupedVulListResult.h b/sas/include/alibabacloud/sas/model/DescribeImageGroupedVulListResult.h new file mode 100644 index 000000000..b3499b7aa --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeImageGroupedVulListResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEIMAGEGROUPEDVULLISTRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEIMAGEGROUPEDVULLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeImageGroupedVulListResult : public ServiceResult + { + public: + struct GroupedVulItem + { + int status; + std::string type; + long gmtLast; + int laterCount; + std::string aliasName; + int asapCount; + long lastScanTime; + int nntfCount; + std::string tags; + std::string name; + }; + + + DescribeImageGroupedVulListResult(); + explicit DescribeImageGroupedVulListResult(const std::string &payload); + ~DescribeImageGroupedVulListResult(); + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + std::vector getGroupedVulItems()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int currentPage_; + std::vector groupedVulItems_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEIMAGEGROUPEDVULLISTRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeImageStatisticsRequest.h b/sas/include/alibabacloud/sas/model/DescribeImageStatisticsRequest.h new file mode 100644 index 000000000..ee6dc024f --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeImageStatisticsRequest.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_SAS_MODEL_DESCRIBEIMAGESTATISTICSREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEIMAGESTATISTICSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeImageStatisticsRequest : public RpcServiceRequest + { + + public: + DescribeImageStatisticsRequest(); + ~DescribeImageStatisticsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEIMAGESTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeImageStatisticsResult.h b/sas/include/alibabacloud/sas/model/DescribeImageStatisticsResult.h new file mode 100644 index 000000000..1a9e7c740 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeImageStatisticsResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEIMAGESTATISTICSRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEIMAGESTATISTICSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeImageStatisticsResult : public ServiceResult + { + public: + + + DescribeImageStatisticsResult(); + explicit DescribeImageStatisticsResult(const std::string &payload); + ~DescribeImageStatisticsResult(); + int getInstanceCount()const; + int getRiskInstanceCount()const; + + protected: + void parse(const std::string &payload); + private: + int instanceCount_; + int riskInstanceCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEIMAGESTATISTICSRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeImageVulListRequest.h b/sas/include/alibabacloud/sas/model/DescribeImageVulListRequest.h new file mode 100644 index 000000000..dfbfe3fb3 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeImageVulListRequest.h @@ -0,0 +1,147 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_SAS_MODEL_DESCRIBEIMAGEVULLISTREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEIMAGEVULLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeImageVulListRequest : public RpcServiceRequest + { + + public: + DescribeImageVulListRequest(); + ~DescribeImageVulListRequest(); + + std::string getType()const; + void setType(const std::string& type); + long getCreateTsStart()const; + void setCreateTsStart(long createTsStart); + std::string getContainerFieldName()const; + void setContainerFieldName(const std::string& containerFieldName); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getTag()const; + void setTag(const std::string& tag); + long getModifyTsEnd()const; + void setModifyTsEnd(long modifyTsEnd); + std::string getLevel()const; + void setLevel(const std::string& level); + std::string getResource()const; + void setResource(const std::string& resource); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getAliasName()const; + void setAliasName(const std::string& aliasName); + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getName()const; + void setName(const std::string& name); + std::string getIds()const; + void setIds(const std::string& ids); + long getCreateTsEnd()const; + void setCreateTsEnd(long createTsEnd); + std::string getNecessity()const; + void setNecessity(const std::string& necessity); + std::string getUuids()const; + void setUuids(const std::string& uuids); + std::string getRepoId()const; + void setRepoId(const std::string& repoId); + std::string getStatusList()const; + void setStatusList(const std::string& statusList); + std::string getTargetType()const; + void setTargetType(const std::string& targetType); + std::string getCveId()const; + void setCveId(const std::string& cveId); + std::string getRemark()const; + void setRemark(const std::string& remark); + std::string getRepoNamespace()const; + void setRepoNamespace(const std::string& repoNamespace); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getContainerFieldValue()const; + void setContainerFieldValue(const std::string& containerFieldValue); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getDigest()const; + void setDigest(const std::string& digest); + long getModifyTsStart()const; + void setModifyTsStart(long modifyTsStart); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getDealed()const; + void setDealed(const std::string& dealed); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getBatchName()const; + void setBatchName(const std::string& batchName); + std::string getRepoName()const; + void setRepoName(const std::string& repoName); + std::string getRepoInstanceId()const; + void setRepoInstanceId(const std::string& repoInstanceId); + std::string getRepoRegionId()const; + void setRepoRegionId(const std::string& repoRegionId); + + private: + std::string type_; + long createTsStart_; + std::string containerFieldName_; + std::string sourceIp_; + std::string tag_; + long modifyTsEnd_; + std::string level_; + std::string resource_; + std::string groupId_; + std::string aliasName_; + std::string instanceId_; + std::string name_; + std::string ids_; + long createTsEnd_; + std::string necessity_; + std::string uuids_; + std::string repoId_; + std::string statusList_; + std::string targetType_; + std::string cveId_; + std::string remark_; + std::string repoNamespace_; + std::string regionId_; + std::string containerFieldValue_; + int pageSize_; + std::string digest_; + long modifyTsStart_; + std::string lang_; + std::string dealed_; + int currentPage_; + std::string batchName_; + std::string repoName_; + std::string repoInstanceId_; + std::string repoRegionId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEIMAGEVULLISTREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeImageVulListResult.h b/sas/include/alibabacloud/sas/model/DescribeImageVulListResult.h new file mode 100644 index 000000000..909808607 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeImageVulListResult.h @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEIMAGEVULLISTRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEIMAGEVULLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeImageVulListResult : public ServiceResult + { + public: + struct VulRecord + { + struct ExtendContentJson + { + struct RpmEntity + { + std::string path; + std::string updateCmd; + std::string matchList; + std::string version; + std::string fullVersion; + std::string matchDetail; + std::string layer; + std::string name; + }; + std::string os; + std::vector rpmEntityList; + std::string osRelease; + }; + int status; + int progress; + std::string imageDigest; + long lastTs; + std::string necessity; + std::string name; + std::string type; + long firstTs; + std::string uuid; + std::string related; + long modifyTs; + bool canUpdate; + std::string aliasName; + std::string level; + std::string tag; + ExtendContentJson extendContentJson; + std::vector layers; + long primaryId; + }; + + + DescribeImageVulListResult(); + explicit DescribeImageVulListResult(const std::string &payload); + ~DescribeImageVulListResult(); + int getTotalCount()const; + std::vector getVulRecords()const; + int getPageSize()const; + int getCurrentPage()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector vulRecords_; + int pageSize_; + int currentPage_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEIMAGEVULLISTRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeInstallCaptchaRequest.h b/sas/include/alibabacloud/sas/model/DescribeInstallCaptchaRequest.h new file mode 100644 index 000000000..a9e9d45f6 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeInstallCaptchaRequest.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_SAS_MODEL_DESCRIBEINSTALLCAPTCHAREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEINSTALLCAPTCHAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeInstallCaptchaRequest : public RpcServiceRequest + { + + public: + DescribeInstallCaptchaRequest(); + ~DescribeInstallCaptchaRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getDeadline()const; + void setDeadline(const std::string& deadline); + + private: + std::string sourceIp_; + std::string lang_; + std::string deadline_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEINSTALLCAPTCHAREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeInstallCaptchaResult.h b/sas/include/alibabacloud/sas/model/DescribeInstallCaptchaResult.h new file mode 100644 index 000000000..2aebdd132 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeInstallCaptchaResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEINSTALLCAPTCHARESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEINSTALLCAPTCHARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeInstallCaptchaResult : public ServiceResult + { + public: + + + DescribeInstallCaptchaResult(); + explicit DescribeInstallCaptchaResult(const std::string &payload); + ~DescribeInstallCaptchaResult(); + std::string getDeadline()const; + std::string getCaptchaCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string deadline_; + std::string captchaCode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEINSTALLCAPTCHARESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeInstanceAntiBruteForceRulesRequest.h b/sas/include/alibabacloud/sas/model/DescribeInstanceAntiBruteForceRulesRequest.h new file mode 100644 index 000000000..c806945d1 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeInstanceAntiBruteForceRulesRequest.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_SAS_MODEL_DESCRIBEINSTANCEANTIBRUTEFORCERULESREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEINSTANCEANTIBRUTEFORCERULESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeInstanceAntiBruteForceRulesRequest : public RpcServiceRequest + { + + public: + DescribeInstanceAntiBruteForceRulesRequest(); + ~DescribeInstanceAntiBruteForceRulesRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::vector getUuidList()const; + void setUuidList(const std::vector& uuidList); + + private: + long resourceOwnerId_; + std::string sourceIp_; + std::vector uuidList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEINSTANCEANTIBRUTEFORCERULESREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeInstanceAntiBruteForceRulesResult.h b/sas/include/alibabacloud/sas/model/DescribeInstanceAntiBruteForceRulesResult.h new file mode 100644 index 000000000..5de222ae9 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeInstanceAntiBruteForceRulesResult.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_SAS_MODEL_DESCRIBEINSTANCEANTIBRUTEFORCERULESRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEINSTANCEANTIBRUTEFORCERULESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeInstanceAntiBruteForceRulesResult : public ServiceResult + { + public: + struct PageInfo + { + int totalCount; + int pageSize; + int currentPage; + int count; + }; + struct InstanceAntiBruteForceRule + { + std::string uuid; + long id; + std::string name; + }; + + + DescribeInstanceAntiBruteForceRulesResult(); + explicit DescribeInstanceAntiBruteForceRulesResult(const std::string &payload); + ~DescribeInstanceAntiBruteForceRulesResult(); + PageInfo getPageInfo()const; + std::vector getRules()const; + + protected: + void parse(const std::string &payload); + private: + PageInfo pageInfo_; + std::vector rules_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEINSTANCEANTIBRUTEFORCERULESRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeInstanceStatisticsResult.h b/sas/include/alibabacloud/sas/model/DescribeInstanceStatisticsResult.h index ceaaa869a..3538218a7 100644 --- a/sas/include/alibabacloud/sas/model/DescribeInstanceStatisticsResult.h +++ b/sas/include/alibabacloud/sas/model/DescribeInstanceStatisticsResult.h @@ -41,6 +41,7 @@ namespace AlibabaCloud int cveNum; int trojan; int cmsNum; + int scaNum; int emgNum; int sysNum; int vul; diff --git a/sas/include/alibabacloud/sas/model/DescribeStratetyRequest.h b/sas/include/alibabacloud/sas/model/DescribeLogstoreStorageRequest.h similarity index 69% rename from sas/include/alibabacloud/sas/model/DescribeStratetyRequest.h rename to sas/include/alibabacloud/sas/model/DescribeLogstoreStorageRequest.h index 25348e701..b1d89506d 100644 --- a/sas/include/alibabacloud/sas/model/DescribeStratetyRequest.h +++ b/sas/include/alibabacloud/sas/model/DescribeLogstoreStorageRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBESTRATETYREQUEST_H_ -#define ALIBABACLOUD_SAS_MODEL_DESCRIBESTRATETYREQUEST_H_ +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBELOGSTORESTORAGEREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBELOGSTORESTORAGEREQUEST_H_ #include #include @@ -28,27 +28,27 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_SAS_EXPORT DescribeStratetyRequest : public RpcServiceRequest + class ALIBABACLOUD_SAS_EXPORT DescribeLogstoreStorageRequest : public RpcServiceRequest { public: - DescribeStratetyRequest(); - ~DescribeStratetyRequest(); + DescribeLogstoreStorageRequest(); + ~DescribeLogstoreStorageRequest(); std::string getSourceIp()const; void setSourceIp(const std::string& sourceIp); - std::string getStrategyIds()const; - void setStrategyIds(const std::string& strategyIds); + std::string getFrom()const; + void setFrom(const std::string& from); std::string getLang()const; void setLang(const std::string& lang); private: std::string sourceIp_; - std::string strategyIds_; + std::string from_; std::string lang_; }; } } } -#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBESTRATETYREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBELOGSTORESTORAGEREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeLogstoreStorageResult.h b/sas/include/alibabacloud/sas/model/DescribeLogstoreStorageResult.h new file mode 100644 index 000000000..d4d8792cd --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeLogstoreStorageResult.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_SAS_MODEL_DESCRIBELOGSTORESTORAGERESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBELOGSTORESTORAGERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeLogstoreStorageResult : public ServiceResult + { + public: + + + DescribeLogstoreStorageResult(); + explicit DescribeLogstoreStorageResult(const std::string &payload); + ~DescribeLogstoreStorageResult(); + long getUsed()const; + std::string getLogstore()const; + int getTtl()const; + long getPreserve()const; + + protected: + void parse(const std::string &payload); + private: + long used_; + std::string logstore_; + int ttl_; + long preserve_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBELOGSTORESTORAGERESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribePropertyCountResult.h b/sas/include/alibabacloud/sas/model/DescribePropertyCountResult.h index be5712a01..fd605a403 100644 --- a/sas/include/alibabacloud/sas/model/DescribePropertyCountResult.h +++ b/sas/include/alibabacloud/sas/model/DescribePropertyCountResult.h @@ -37,20 +37,24 @@ namespace AlibabaCloud DescribePropertyCountResult(); explicit DescribePropertyCountResult(const std::string &payload); ~DescribePropertyCountResult(); + int getSca()const; int getUser()const; int getPort()const; int getProcess()const; int getSoftware()const; int getCron()const; + int getAutoRun()const; protected: void parse(const std::string &payload); private: + int sca_; int user_; int port_; int process_; int software_; int cron_; + int autoRun_; }; } diff --git a/sas/include/alibabacloud/sas/model/DescribePropertyCronDetailRequest.h b/sas/include/alibabacloud/sas/model/DescribePropertyCronDetailRequest.h new file mode 100644 index 000000000..4715246aa --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribePropertyCronDetailRequest.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_SAS_MODEL_DESCRIBEPROPERTYCRONDETAILREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEPROPERTYCRONDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribePropertyCronDetailRequest : public RpcServiceRequest + { + + public: + DescribePropertyCronDetailRequest(); + ~DescribePropertyCronDetailRequest(); + + std::string getRemark()const; + void setRemark(const std::string& remark); + std::string getSource()const; + void setSource(const std::string& source); + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getPageSize()const; + void setPageSize(int pageSize); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getUser()const; + void setUser(const std::string& user); + + private: + std::string remark_; + std::string source_; + std::string uuid_; + std::string sourceIp_; + int pageSize_; + int currentPage_; + std::string user_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEPROPERTYCRONDETAILREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribePropertyCronDetailResult.h b/sas/include/alibabacloud/sas/model/DescribePropertyCronDetailResult.h new file mode 100644 index 000000000..b8983ca45 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribePropertyCronDetailResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEPROPERTYCRONDETAILRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEPROPERTYCRONDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribePropertyCronDetailResult : public ServiceResult + { + public: + struct PageInfo + { + int totalCount; + int pageSize; + int currentPage; + int count; + }; + struct PropertyCron + { + std::string user; + std::string instanceId; + std::string ip; + std::string period; + std::string intranetIp; + std::string source; + std::string instanceName; + std::string uuid; + std::string internetIp; + std::string create; + std::string cmd; + long createTimestamp; + std::string md5; + }; + + + DescribePropertyCronDetailResult(); + explicit DescribePropertyCronDetailResult(const std::string &payload); + ~DescribePropertyCronDetailResult(); + std::vector getPropertys()const; + PageInfo getPageInfo()const; + + protected: + void parse(const std::string &payload); + private: + std::vector propertys_; + PageInfo pageInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEPROPERTYCRONDETAILRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribePropertyScaDetailRequest.h b/sas/include/alibabacloud/sas/model/DescribePropertyScaDetailRequest.h new file mode 100644 index 000000000..d869f9faa --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribePropertyScaDetailRequest.h @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEPROPERTYSCADETAILREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEPROPERTYSCADETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribePropertyScaDetailRequest : public RpcServiceRequest + { + + public: + DescribePropertyScaDetailRequest(); + ~DescribePropertyScaDetailRequest(); + + std::string getSearchItemSub()const; + void setSearchItemSub(const std::string& searchItemSub); + std::string getRemark()const; + void setRemark(const std::string& remark); + std::string getSearchItem()const; + void setSearchItem(const std::string& searchItem); + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getSearchInfoSub()const; + void setSearchInfoSub(const std::string& searchInfoSub); + std::string getSearchInfo()const; + void setSearchInfo(const std::string& searchInfo); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getBizType()const; + void setBizType(const std::string& bizType); + long getName()const; + void setName(long name); + std::string getScaName()const; + void setScaName(const std::string& scaName); + + private: + std::string searchItemSub_; + std::string remark_; + std::string searchItem_; + std::string uuid_; + std::string sourceIp_; + int pageSize_; + std::string lang_; + std::string searchInfoSub_; + std::string searchInfo_; + int currentPage_; + std::string bizType_; + long name_; + std::string scaName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEPROPERTYSCADETAILREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribePropertyScaDetailResult.h b/sas/include/alibabacloud/sas/model/DescribePropertyScaDetailResult.h new file mode 100644 index 000000000..f4ecdae0f --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribePropertyScaDetailResult.h @@ -0,0 +1,91 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_SAS_MODEL_DESCRIBEPROPERTYSCADETAILRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEPROPERTYSCADETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribePropertyScaDetailResult : public ServiceResult + { + public: + struct PageInfo + { + int totalCount; + int pageSize; + int currentPage; + int count; + }; + struct PropertySca + { + std::string bizTypeDispaly; + std::string processUser; + std::string ip; + std::string port; + std::string intranetIp; + std::string name; + long processStarted; + std::string internetIp; + std::string version; + std::string containerName; + std::string listenProtocol; + std::string create; + std::string webPath; + long createTimestamp; + std::string ppid; + std::string path; + std::string instanceId; + std::string pid; + std::string bizType; + std::string instanceName; + std::string imageName; + std::string type; + std::string uuid; + std::string listenStatus; + std::string configPath; + std::string proof; + std::string listenIp; + std::string cmdline; + }; + + + DescribePropertyScaDetailResult(); + explicit DescribePropertyScaDetailResult(const std::string &payload); + ~DescribePropertyScaDetailResult(); + std::vector getPropertys()const; + PageInfo getPageInfo()const; + + protected: + void parse(const std::string &payload); + private: + std::vector propertys_; + PageInfo pageInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEPROPERTYSCADETAILRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribePropertyUserDetailResult.h b/sas/include/alibabacloud/sas/model/DescribePropertyUserDetailResult.h index 8a3d070ea..fc1a3f4f1 100644 --- a/sas/include/alibabacloud/sas/model/DescribePropertyUserDetailResult.h +++ b/sas/include/alibabacloud/sas/model/DescribePropertyUserDetailResult.h @@ -53,6 +53,7 @@ namespace AlibabaCloud std::string instanceName; std::string lastLoginTime; std::string uuid; + long lastLoginTimestamp; std::string internetIp; std::string create; long createTimestamp; diff --git a/sas/include/alibabacloud/sas/model/DescribeQuaraFileDownloadInfoRequest.h b/sas/include/alibabacloud/sas/model/DescribeQuaraFileDownloadInfoRequest.h new file mode 100644 index 000000000..4d8329ffa --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeQuaraFileDownloadInfoRequest.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_SAS_MODEL_DESCRIBEQUARAFILEDOWNLOADINFOREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEQUARAFILEDOWNLOADINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeQuaraFileDownloadInfoRequest : public RpcServiceRequest + { + + public: + DescribeQuaraFileDownloadInfoRequest(); + ~DescribeQuaraFileDownloadInfoRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getFrom()const; + void setFrom(const std::string& from); + int getQuaraFileId()const; + void setQuaraFileId(int quaraFileId); + + private: + std::string sourceIp_; + std::string from_; + int quaraFileId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEQUARAFILEDOWNLOADINFOREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeQuaraFileDownloadInfoResult.h b/sas/include/alibabacloud/sas/model/DescribeQuaraFileDownloadInfoResult.h new file mode 100644 index 000000000..d8eb6cbe0 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeQuaraFileDownloadInfoResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_SAS_MODEL_DESCRIBEQUARAFILEDOWNLOADINFORESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEQUARAFILEDOWNLOADINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeQuaraFileDownloadInfoResult : public ServiceResult + { + public: + + + DescribeQuaraFileDownloadInfoResult(); + explicit DescribeQuaraFileDownloadInfoResult(const std::string &payload); + ~DescribeQuaraFileDownloadInfoResult(); + std::string getPath()const; + std::string getUuid()const; + int getQuaraFileId()const; + std::string getTag()const; + std::string getMd5()const; + std::string getDownloadUrl()const; + + protected: + void parse(const std::string &payload); + private: + std::string path_; + std::string uuid_; + int quaraFileId_; + std::string tag_; + std::string md5_; + std::string downloadUrl_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEQUARAFILEDOWNLOADINFORESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeRestoreJobsRequest.h b/sas/include/alibabacloud/sas/model/DescribeRestoreJobsRequest.h new file mode 100644 index 000000000..4e2802a92 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeRestoreJobsRequest.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_SAS_MODEL_DESCRIBERESTOREJOBSREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBERESTOREJOBSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeRestoreJobsRequest : public RpcServiceRequest + { + + public: + DescribeRestoreJobsRequest(); + ~DescribeRestoreJobsRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getMachineRemark()const; + void setMachineRemark(const std::string& machineRemark); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + long resourceOwnerId_; + int currentPage_; + std::string sourceIp_; + std::string machineRemark_; + int pageSize_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBERESTOREJOBSREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeRestoreJobsResult.h b/sas/include/alibabacloud/sas/model/DescribeRestoreJobsResult.h new file mode 100644 index 000000000..3ea6a8790 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeRestoreJobsResult.h @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBERESTOREJOBSRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBERESTOREJOBSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeRestoreJobsResult : public ServiceResult + { + public: + struct PageInfo + { + int totalCount; + int pageSize; + int currentPage; + int count; + }; + struct RestoreJob + { + long createdTime; + std::string message; + std::string sourceClientId; + std::string exitCode; + std::string restoreName; + long gmtModified; + std::string vaultId; + long errorCount; + std::string excludes; + std::string intranetIp; + std::string source; + long bytesTotal; + std::string includes; + std::string target; + long itemsDone; + std::string errorType; + std::string internetIp; + std::string errorFile; + std::string snapshotVersion; + std::string clientId; + long bytesDone; + std::string restoreId; + long actualBytes; + std::string restoreType; + long completeTime; + std::string errorFile1; + std::string status; + long speed; + std::string requestId; + int percentage; + std::string instanceId; + long itemsTotal; + std::string errorFileUrl; + long duration; + std::string snapshotHash; + std::string instanceName; + std::string snapshotId; + std::string gmtCreate; + std::string uuid; + long eta; + std::string extra; + long id; + long updatedTime; + }; + + + DescribeRestoreJobsResult(); + explicit DescribeRestoreJobsResult(const std::string &payload); + ~DescribeRestoreJobsResult(); + PageInfo getPageInfo()const; + std::vector getRestoreJobs()const; + + protected: + void parse(const std::string &payload); + private: + PageInfo pageInfo_; + std::vector restoreJobs_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBERESTOREJOBSRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeRiskCheckResultRequest.h b/sas/include/alibabacloud/sas/model/DescribeRiskCheckResultRequest.h index c6ab5be3d..3aa060086 100644 --- a/sas/include/alibabacloud/sas/model/DescribeRiskCheckResultRequest.h +++ b/sas/include/alibabacloud/sas/model/DescribeRiskCheckResultRequest.h @@ -45,6 +45,8 @@ namespace AlibabaCloud void setLang(const std::string& lang); std::string getAssetType()const; void setAssetType(const std::string& assetType); + std::string getQueryFlag()const; + void setQueryFlag(const std::string& queryFlag); long getGroupId()const; void setGroupId(long groupId); std::vector getItemIds()const; @@ -66,6 +68,7 @@ namespace AlibabaCloud int pageSize_; std::string lang_; std::string assetType_; + std::string queryFlag_; long groupId_; std::vector itemIds_; int currentPage_; diff --git a/sas/include/alibabacloud/sas/model/DescribeRiskListCheckResultRequest.h b/sas/include/alibabacloud/sas/model/DescribeRiskListCheckResultRequest.h new file mode 100644 index 000000000..5b2ee4913 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeRiskListCheckResultRequest.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_SAS_MODEL_DESCRIBERISKLISTCHECKRESULTREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBERISKLISTCHECKRESULTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeRiskListCheckResultRequest : public RpcServiceRequest + { + + public: + DescribeRiskListCheckResultRequest(); + ~DescribeRiskListCheckResultRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::vector getInstanceIds()const; + void setInstanceIds(const std::vector& instanceIds); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + long resourceOwnerId_; + int currentPage_; + std::string sourceIp_; + std::vector instanceIds_; + int pageSize_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBERISKLISTCHECKRESULTREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeRiskListCheckResultResult.h b/sas/include/alibabacloud/sas/model/DescribeRiskListCheckResultResult.h new file mode 100644 index 000000000..91021abe3 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeRiskListCheckResultResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBERISKLISTCHECKRESULTRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBERISKLISTCHECKRESULTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeRiskListCheckResultResult : public ServiceResult + { + public: + struct RiskCountDO + { + std::string instanceId; + long riskCount; + }; + + + DescribeRiskListCheckResultResult(); + explicit DescribeRiskListCheckResultResult(const std::string &payload); + ~DescribeRiskListCheckResultResult(); + std::vector getList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector list_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBERISKLISTCHECKRESULTRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeScanTaskProgressRequest.h b/sas/include/alibabacloud/sas/model/DescribeScanTaskProgressRequest.h new file mode 100644 index 000000000..b2c7f3b6c --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeScanTaskProgressRequest.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_SAS_MODEL_DESCRIBESCANTASKPROGRESSREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBESCANTASKPROGRESSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeScanTaskProgressRequest : public RpcServiceRequest + { + + public: + DescribeScanTaskProgressRequest(); + ~DescribeScanTaskProgressRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getTaskId()const; + void setTaskId(long taskId); + + private: + std::string sourceIp_; + long taskId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBESCANTASKPROGRESSREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeScanTaskProgressResult.h b/sas/include/alibabacloud/sas/model/DescribeScanTaskProgressResult.h new file mode 100644 index 000000000..7bcd2e403 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeScanTaskProgressResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBESCANTASKPROGRESSRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBESCANTASKPROGRESSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeScanTaskProgressResult : public ServiceResult + { + public: + + + DescribeScanTaskProgressResult(); + explicit DescribeScanTaskProgressResult(const std::string &payload); + ~DescribeScanTaskProgressResult(); + std::string getTargetInfo()const; + std::string getScanTaskProgress()const; + + protected: + void parse(const std::string &payload); + private: + std::string targetInfo_; + std::string scanTaskProgress_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBESCANTASKPROGRESSRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeSecurityEventOperationStatusRequest.h b/sas/include/alibabacloud/sas/model/DescribeSecurityEventOperationStatusRequest.h new file mode 100644 index 000000000..750c56924 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeSecurityEventOperationStatusRequest.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_SAS_MODEL_DESCRIBESECURITYEVENTOPERATIONSTATUSREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBESECURITYEVENTOPERATIONSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeSecurityEventOperationStatusRequest : public RpcServiceRequest + { + + public: + DescribeSecurityEventOperationStatusRequest(); + ~DescribeSecurityEventOperationStatusRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::vector getSecurityEventIds()const; + void setSecurityEventIds(const std::vector& securityEventIds); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getTaskId()const; + void setTaskId(long taskId); + + private: + long resourceOwnerId_; + std::vector securityEventIds_; + std::string sourceIp_; + long taskId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBESECURITYEVENTOPERATIONSTATUSREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeSecurityEventOperationStatusResult.h b/sas/include/alibabacloud/sas/model/DescribeSecurityEventOperationStatusResult.h new file mode 100644 index 000000000..f69e3b7fc --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeSecurityEventOperationStatusResult.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_SAS_MODEL_DESCRIBESECURITYEVENTOPERATIONSTATUSRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBESECURITYEVENTOPERATIONSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeSecurityEventOperationStatusResult : public ServiceResult + { + public: + struct SecurityEventOperationStatusResponse + { + struct SecurityEventOperationStatus + { + std::string status; + std::string securityEventId; + std::string errorCode; + }; + std::vector securityEventOperationStatuses; + std::string taskStatus; + }; + + + DescribeSecurityEventOperationStatusResult(); + explicit DescribeSecurityEventOperationStatusResult(const std::string &payload); + ~DescribeSecurityEventOperationStatusResult(); + SecurityEventOperationStatusResponse getSecurityEventOperationStatusResponse()const; + + protected: + void parse(const std::string &payload); + private: + SecurityEventOperationStatusResponse securityEventOperationStatusResponse_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBESECURITYEVENTOPERATIONSTATUSRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeSecurityEventOperationsRequest.h b/sas/include/alibabacloud/sas/model/DescribeSecurityEventOperationsRequest.h index 3e43b2c84..74601cdaf 100644 --- a/sas/include/alibabacloud/sas/model/DescribeSecurityEventOperationsRequest.h +++ b/sas/include/alibabacloud/sas/model/DescribeSecurityEventOperationsRequest.h @@ -39,12 +39,15 @@ namespace AlibabaCloud void setResourceOwnerId(long resourceOwnerId); std::string getSourceIp()const; void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); long getSecurityEventId()const; void setSecurityEventId(long securityEventId); private: long resourceOwnerId_; std::string sourceIp_; + std::string lang_; long securityEventId_; }; diff --git a/sas/include/alibabacloud/sas/model/DescribeSecurityEventOperationsResult.h b/sas/include/alibabacloud/sas/model/DescribeSecurityEventOperationsResult.h index 1fea3ff47..11cecb2b3 100644 --- a/sas/include/alibabacloud/sas/model/DescribeSecurityEventOperationsResult.h +++ b/sas/include/alibabacloud/sas/model/DescribeSecurityEventOperationsResult.h @@ -34,9 +34,26 @@ namespace AlibabaCloud public: struct SecurityEventOperation { + struct MarkFieldItem + { + std::string filedName; + std::vector supportedMisType; + std::string markMisValue; + std::string markMisType; + std::string filedAliasName; + }; + struct SecurityEventOperation1 + { + std::string filedName; + std::string markMisValue; + std::vector supportedMisType2; + std::string filedAliasName; + }; std::string operationParams; std::string operationCode; bool userCanOperate; + std::vector markFieldsSource; + std::vector markField; }; diff --git a/sas/include/alibabacloud/sas/model/DescribeSecurityStatInfoResult.h b/sas/include/alibabacloud/sas/model/DescribeSecurityStatInfoResult.h index 6c5b68398..60ffd453e 100644 --- a/sas/include/alibabacloud/sas/model/DescribeSecurityStatInfoResult.h +++ b/sas/include/alibabacloud/sas/model/DescribeSecurityStatInfoResult.h @@ -39,6 +39,7 @@ namespace AlibabaCloud std::vector levelsOn; int suspiciousCount; std::vector seriousList; + std::vector timeArray; int remindCount; int seriousCount; std::vector valueArray; @@ -62,20 +63,22 @@ namespace AlibabaCloud std::vector lowList; int lowCount; std::vector dateArray3; + std::vector timeArray6; int mediumCount; }; struct Vulnerability { int totalCount; std::vector asapList; - std::vector valueArray7; std::vector laterList; int laterCount; int asapCount; + std::vector dateArray7; + std::vector valueArray8; + std::vector levelsOn9; std::vector nntfList; int nntfCount; - std::vector levelsOn8; - std::vector dateArray6; + std::vector timeArray10; }; diff --git a/sas/include/alibabacloud/sas/model/DescribeServiceLinkedRoleStatusRequest.h b/sas/include/alibabacloud/sas/model/DescribeServiceLinkedRoleStatusRequest.h new file mode 100644 index 000000000..1da4b1a0b --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeServiceLinkedRoleStatusRequest.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_SAS_MODEL_DESCRIBESERVICELINKEDROLESTATUSREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBESERVICELINKEDROLESTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeServiceLinkedRoleStatusRequest : public RpcServiceRequest + { + + public: + DescribeServiceLinkedRoleStatusRequest(); + ~DescribeServiceLinkedRoleStatusRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBESERVICELINKEDROLESTATUSREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeServiceLinkedRoleStatusResult.h b/sas/include/alibabacloud/sas/model/DescribeServiceLinkedRoleStatusResult.h new file mode 100644 index 000000000..032102666 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeServiceLinkedRoleStatusResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBESERVICELINKEDROLESTATUSRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBESERVICELINKEDROLESTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeServiceLinkedRoleStatusResult : public ServiceResult + { + public: + struct RoleStatus + { + bool status; + }; + + + DescribeServiceLinkedRoleStatusResult(); + explicit DescribeServiceLinkedRoleStatusResult(const std::string &payload); + ~DescribeServiceLinkedRoleStatusResult(); + RoleStatus getRoleStatus()const; + + protected: + void parse(const std::string &payload); + private: + RoleStatus roleStatus_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBESERVICELINKEDROLESTATUSRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeSimilarEventScenariosRequest.h b/sas/include/alibabacloud/sas/model/DescribeSimilarEventScenariosRequest.h new file mode 100644 index 000000000..8fbb3a6b1 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeSimilarEventScenariosRequest.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_SAS_MODEL_DESCRIBESIMILAREVENTSCENARIOSREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBESIMILAREVENTSCENARIOSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeSimilarEventScenariosRequest : public RpcServiceRequest + { + + public: + DescribeSimilarEventScenariosRequest(); + ~DescribeSimilarEventScenariosRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getSecurityEventId()const; + void setSecurityEventId(long securityEventId); + + private: + long resourceOwnerId_; + std::string sourceIp_; + long securityEventId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBESIMILAREVENTSCENARIOSREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeSimilarEventScenariosResult.h b/sas/include/alibabacloud/sas/model/DescribeSimilarEventScenariosResult.h new file mode 100644 index 000000000..ff49c95fd --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeSimilarEventScenariosResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBESIMILAREVENTSCENARIOSRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBESIMILAREVENTSCENARIOSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeSimilarEventScenariosResult : public ServiceResult + { + public: + struct Scenario + { + std::string code; + }; + + + DescribeSimilarEventScenariosResult(); + explicit DescribeSimilarEventScenariosResult(const std::string &payload); + ~DescribeSimilarEventScenariosResult(); + std::vector getScenarios()const; + + protected: + void parse(const std::string &payload); + private: + std::vector scenarios_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBESIMILAREVENTSCENARIOSRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeSnapshotsRequest.h b/sas/include/alibabacloud/sas/model/DescribeSnapshotsRequest.h new file mode 100644 index 000000000..fbe7ba019 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeSnapshotsRequest.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_SAS_MODEL_DESCRIBESNAPSHOTSREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBESNAPSHOTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeSnapshotsRequest : public RpcServiceRequest + { + + public: + DescribeSnapshotsRequest(); + ~DescribeSnapshotsRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getStatusList()const; + void setStatusList(const std::string& statusList); + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getMachineRemark()const; + void setMachineRemark(const std::string& machineRemark); + std::string getNextToken()const; + void setNextToken(const std::string& nextToken); + int getPageSize()const; + void setPageSize(int pageSize); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getApiVersion()const; + void setApiVersion(const std::string& apiVersion); + std::string getMachineRegion()const; + void setMachineRegion(const std::string& machineRegion); + + private: + long resourceOwnerId_; + std::string statusList_; + std::string uuid_; + std::string sourceIp_; + std::string machineRemark_; + std::string nextToken_; + int pageSize_; + int currentPage_; + std::string apiVersion_; + std::string machineRegion_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBESNAPSHOTSREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeSnapshotsResult.h b/sas/include/alibabacloud/sas/model/DescribeSnapshotsResult.h new file mode 100644 index 000000000..af617888f --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeSnapshotsResult.h @@ -0,0 +1,110 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_SAS_MODEL_DESCRIBESNAPSHOTSRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBESNAPSHOTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeSnapshotsResult : public ServiceResult + { + public: + struct PageInfo + { + int totalCount; + std::string nextToken; + int pageSize; + int currentPage; + int count; + }; + struct BackupSnapshots + { + long createdTime; + long size; + std::string exitCode; + std::string sourceType; + std::string prefix; + std::string vaultId; + long errorCount; + long retention; + std::string snapshotName; + std::string source; + std::string parentHash; + long bytesTotal; + std::string serverId; + long itemsDone; + std::string errorFile; + std::string errorType; + long actualItems; + std::string machineInfoJson; + std::string clientId; + long bytesDone; + std::string backupType; + std::string fileSystemId; + long actualBytes; + std::vector paths; + long completeTime; + std::string jobId; + std::string status; + std::string path; + std::string instanceId; + long itemsTotal; + std::string planId; + long createTime; + long startTime; + long duration; + std::string snapshotHash; + std::string snapshotId; + std::string containerSnapshotId; + std::string uuid; + std::string extra; + std::string bucket; + std::string parentSnapshotHash; + long updatedTime; + std::string snapshotOption; + std::string snapshotType; + std::string regionId; + std::string errorMessage; + }; + + + DescribeSnapshotsResult(); + explicit DescribeSnapshotsResult(const std::string &payload); + ~DescribeSnapshotsResult(); + PageInfo getPageInfo()const; + std::vector getSnapshots()const; + + protected: + void parse(const std::string &payload); + private: + PageInfo pageInfo_; + std::vector snapshots_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBESNAPSHOTSRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeSupportRegionRequest.h b/sas/include/alibabacloud/sas/model/DescribeSupportRegionRequest.h new file mode 100644 index 000000000..a4a564092 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeSupportRegionRequest.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_SAS_MODEL_DESCRIBESUPPORTREGIONREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBESUPPORTREGIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeSupportRegionRequest : public RpcServiceRequest + { + + public: + DescribeSupportRegionRequest(); + ~DescribeSupportRegionRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + long resourceOwnerId_; + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBESUPPORTREGIONREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeSupportRegionResult.h b/sas/include/alibabacloud/sas/model/DescribeSupportRegionResult.h new file mode 100644 index 000000000..301d6d79a --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeSupportRegionResult.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_SAS_MODEL_DESCRIBESUPPORTREGIONRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBESUPPORTREGIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeSupportRegionResult : public ServiceResult + { + public: + + + DescribeSupportRegionResult(); + explicit DescribeSupportRegionResult(const std::string &payload); + ~DescribeSupportRegionResult(); + std::vector getSupportRegion()const; + + protected: + void parse(const std::string &payload); + private: + std::vector supportRegion_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBESUPPORTREGIONRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeSuspEventQuaraFilesRequest.h b/sas/include/alibabacloud/sas/model/DescribeSuspEventQuaraFilesRequest.h new file mode 100644 index 000000000..86349c02b --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeSuspEventQuaraFilesRequest.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_SAS_MODEL_DESCRIBESUSPEVENTQUARAFILESREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBESUSPEVENTQUARAFILESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeSuspEventQuaraFilesRequest : public RpcServiceRequest + { + + public: + DescribeSuspEventQuaraFilesRequest(); + ~DescribeSuspEventQuaraFilesRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getPageSize()const; + void setPageSize(const std::string& pageSize); + std::string getFrom()const; + void setFrom(const std::string& from); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getCurrentPage()const; + void setCurrentPage(const std::string& currentPage); + std::string getQuaraTag()const; + void setQuaraTag(const std::string& quaraTag); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + std::string sourceIp_; + std::string pageSize_; + std::string from_; + std::string groupId_; + std::string currentPage_; + std::string quaraTag_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBESUSPEVENTQUARAFILESREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeSuspEventQuaraFilesResult.h b/sas/include/alibabacloud/sas/model/DescribeSuspEventQuaraFilesResult.h new file mode 100644 index 000000000..d2dd3a555 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeSuspEventQuaraFilesResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBESUSPEVENTQUARAFILESRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBESUSPEVENTQUARAFILESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeSuspEventQuaraFilesResult : public ServiceResult + { + public: + struct QuaraFile + { + std::string path; + std::string status; + std::string modifyTime; + std::string eventType; + std::string instanceId; + std::string ip; + std::string eventName; + std::string instanceName; + std::string uuid; + std::string internetIp; + int id; + std::string tag; + std::string link; + std::string md5; + }; + + + DescribeSuspEventQuaraFilesResult(); + explicit DescribeSuspEventQuaraFilesResult(const std::string &payload); + ~DescribeSuspEventQuaraFilesResult(); + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + std::vector getQuaraFiles()const; + int getCount()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int currentPage_; + std::vector quaraFiles_; + int count_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBESUSPEVENTQUARAFILESRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeSuspEventsRequest.h b/sas/include/alibabacloud/sas/model/DescribeSuspEventsRequest.h index 3c9ba3d8d..0b99fd034 100644 --- a/sas/include/alibabacloud/sas/model/DescribeSuspEventsRequest.h +++ b/sas/include/alibabacloud/sas/model/DescribeSuspEventsRequest.h @@ -35,10 +35,18 @@ namespace AlibabaCloud DescribeSuspEventsRequest(); ~DescribeSuspEventsRequest(); + std::string getTargetType()const; + void setTargetType(const std::string& targetType); std::string getRemark()const; void setRemark(const std::string& remark); + std::string getSource()const; + void setSource(const std::string& source); + std::string getContainerFieldName()const; + void setContainerFieldName(const std::string& containerFieldName); std::string getSourceIp()const; void setSourceIp(const std::string& sourceIp); + std::string getContainerFieldValue()const; + void setContainerFieldValue(const std::string& containerFieldValue); std::string getPageSize()const; void setPageSize(const std::string& pageSize); std::string getFrom()const; @@ -47,29 +55,51 @@ namespace AlibabaCloud void setLang(const std::string& lang); std::string getAlarmUniqueInfo()const; void setAlarmUniqueInfo(const std::string& alarmUniqueInfo); + std::string getUniqueInfo()const; + void setUniqueInfo(const std::string& uniqueInfo); + long getGroupId()const; + void setGroupId(long groupId); std::string getDealed()const; void setDealed(const std::string& dealed); std::string getCurrentPage()const; void setCurrentPage(const std::string& currentPage); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + std::vector getOperateErrorCodeList()const; + void setOperateErrorCodeList(const std::vector& operateErrorCodeList); std::string getName()const; void setName(const std::string& name); std::string getLevels()const; void setLevels(const std::string& levels); std::string getParentEventTypes()const; void setParentEventTypes(const std::string& parentEventTypes); + std::string getStatus()const; + void setStatus(const std::string& status); + std::string getUuids()const; + void setUuids(const std::string& uuids); private: + std::string targetType_; std::string remark_; + std::string source_; + std::string containerFieldName_; std::string sourceIp_; + std::string containerFieldValue_; std::string pageSize_; std::string from_; std::string lang_; std::string alarmUniqueInfo_; + std::string uniqueInfo_; + long groupId_; std::string dealed_; std::string currentPage_; + std::string clusterId_; + std::vector operateErrorCodeList_; std::string name_; std::string levels_; std::string parentEventTypes_; + std::string status_; + std::string uuids_; }; } diff --git a/sas/include/alibabacloud/sas/model/DescribeSuspEventsResult.h b/sas/include/alibabacloud/sas/model/DescribeSuspEventsResult.h index 26637c2b5..a56d2707f 100644 --- a/sas/include/alibabacloud/sas/model/DescribeSuspEventsResult.h +++ b/sas/include/alibabacloud/sas/model/DescribeSuspEventsResult.h @@ -34,24 +34,65 @@ namespace AlibabaCloud public: struct WarningSummary { - std::string uniqueInfo; + struct QuaraFile + { + std::string type; + std::string value; + std::string infoType; + std::string valueDisplay; + std::string nameDisplay; + std::string name; + }; + struct EventNote + { + long noteId; + std::string noteTime; + std::string note; + }; bool advanced; + std::string k8sNodeId; + bool containHwMode; + std::string k8sNodeName; + std::string operateErrorCode; std::string alarmEventName; + std::string securityEventIds; int eventStatus; - std::string saleVersion; std::string intranetIp; + bool hasTraceInfo; std::string eventSubType; + std::string k8sClusterId; std::string name; + std::string appName; + std::string k8sNamespace; + long lastTimeStamp; + std::string desc; + std::string internetIp; + std::string containerId; + std::string alarmEventType; + std::string alarmEventNameDisplay; + std::string uniqueInfo; + bool canCancelFault; + std::string alarmEventTypeDisplay; + std::string instanceId; + std::string stages; + std::string markMisRules; + std::vector eventNotes; + std::string saleVersion; + std::string k8sPodName; + std::string containerImageId; std::string dataSource; std::string occurrenceTime; std::string instanceName; - std::string desc; + long operateTime; std::string operateMsg; bool canBeDealOnLine; + std::vector details; std::string uuid; - std::string internetIp; - std::string alarmEventType; + std::string k8sClusterName; + std::string containerImageName; std::string alarmUniqueInfo; + bool autoBreaking; + long occurrenceTimeStamp; std::string level; long id; std::string lastTime; diff --git a/sas/include/alibabacloud/sas/model/DescribeUserBackupMachinesRequest.h b/sas/include/alibabacloud/sas/model/DescribeUserBackupMachinesRequest.h new file mode 100644 index 000000000..bbec3fdb2 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeUserBackupMachinesRequest.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_SAS_MODEL_DESCRIBEUSERBACKUPMACHINESREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEUSERBACKUPMACHINESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeUserBackupMachinesRequest : public RpcServiceRequest + { + + public: + DescribeUserBackupMachinesRequest(); + ~DescribeUserBackupMachinesRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getPageSize()const; + void setPageSize(int pageSize); + + private: + long resourceOwnerId_; + int currentPage_; + std::string sourceIp_; + int pageSize_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEUSERBACKUPMACHINESREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeUserBackupMachinesResult.h b/sas/include/alibabacloud/sas/model/DescribeUserBackupMachinesResult.h new file mode 100644 index 000000000..0c3071450 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeUserBackupMachinesResult.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_SAS_MODEL_DESCRIBEUSERBACKUPMACHINESRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEUSERBACKUPMACHINESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeUserBackupMachinesResult : public ServiceResult + { + public: + struct SimpleBackupMachine + { + std::string uuid; + std::string policyName; + long id; + }; + + + DescribeUserBackupMachinesResult(); + explicit DescribeUserBackupMachinesResult(const std::string &payload); + ~DescribeUserBackupMachinesResult(); + std::vector getMachines()const; + + protected: + void parse(const std::string &payload); + private: + std::vector machines_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEUSERBACKUPMACHINESRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeUuidsByVulNamesRequest.h b/sas/include/alibabacloud/sas/model/DescribeUuidsByVulNamesRequest.h new file mode 100644 index 000000000..b17a470d3 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeUuidsByVulNamesRequest.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_SAS_MODEL_DESCRIBEUUIDSBYVULNAMESREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEUUIDSBYVULNAMESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeUuidsByVulNamesRequest : public RpcServiceRequest + { + + public: + DescribeUuidsByVulNamesRequest(); + ~DescribeUuidsByVulNamesRequest(); + + std::string getStatusList()const; + void setStatusList(const std::string& statusList); + std::string getTargetType()const; + void setTargetType(const std::string& targetType); + std::string getRemark()const; + void setRemark(const std::string& remark); + std::string getType()const; + void setType(const std::string& type); + std::string getVpcInstanceIds()const; + void setVpcInstanceIds(const std::string& vpcInstanceIds); + std::vector getVulNames()const; + void setVulNames(const std::vector& vulNames); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getTag()const; + void setTag(const std::string& tag); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getLevel()const; + void setLevel(const std::string& level); + long getGroupId()const; + void setGroupId(long groupId); + std::string getDealed()const; + void setDealed(const std::string& dealed); + std::string getFieldValue()const; + void setFieldValue(const std::string& fieldValue); + std::string getFieldName()const; + void setFieldName(const std::string& fieldName); + std::string getSearchTags()const; + void setSearchTags(const std::string& searchTags); + std::string getNecessity()const; + void setNecessity(const std::string& necessity); + + private: + std::string statusList_; + std::string targetType_; + std::string remark_; + std::string type_; + std::string vpcInstanceIds_; + std::vector vulNames_; + std::string sourceIp_; + std::string tag_; + std::string lang_; + std::string level_; + long groupId_; + std::string dealed_; + std::string fieldValue_; + std::string fieldName_; + std::string searchTags_; + std::string necessity_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEUUIDSBYVULNAMESREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeUuidsByVulNamesResult.h b/sas/include/alibabacloud/sas/model/DescribeUuidsByVulNamesResult.h new file mode 100644 index 000000000..f8c4c5a72 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeUuidsByVulNamesResult.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_SAS_MODEL_DESCRIBEUUIDSBYVULNAMESRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEUUIDSBYVULNAMESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeUuidsByVulNamesResult : public ServiceResult + { + public: + struct MachineInfoStatistic + { + std::string uuid; + std::string machineName; + std::string os; + std::string machineInstanceId; + std::string regionId; + std::string machineIp; + }; + + + DescribeUuidsByVulNamesResult(); + explicit DescribeUuidsByVulNamesResult(const std::string &payload); + ~DescribeUuidsByVulNamesResult(); + std::vector getMachineInfoStatistics()const; + + protected: + void parse(const std::string &payload); + private: + std::vector machineInfoStatistics_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEUUIDSBYVULNAMESRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeVersionConfigRequest.h b/sas/include/alibabacloud/sas/model/DescribeVersionConfigRequest.h new file mode 100644 index 000000000..f9e964e37 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeVersionConfigRequest.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_SAS_MODEL_DESCRIBEVERSIONCONFIGREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEVERSIONCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeVersionConfigRequest : public RpcServiceRequest + { + + public: + DescribeVersionConfigRequest(); + ~DescribeVersionConfigRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getResourceDirectoryAccountId()const; + void setResourceDirectoryAccountId(const std::string& resourceDirectoryAccountId); + + private: + std::string sourceIp_; + std::string resourceDirectoryAccountId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEVERSIONCONFIGREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeVersionConfigResult.h b/sas/include/alibabacloud/sas/model/DescribeVersionConfigResult.h new file mode 100644 index 000000000..136860cc4 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeVersionConfigResult.h @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_SAS_MODEL_DESCRIBEVERSIONCONFIGRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEVERSIONCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeVersionConfigResult : public ServiceResult + { + public: + + + DescribeVersionConfigResult(); + explicit DescribeVersionConfigResult(const std::string &payload); + ~DescribeVersionConfigResult(); + bool getIsPaidUser()const; + long getImageScanCapacity()const; + long getAppWhiteListAuthCount()const; + int getLogTime()const; + int getSasLog()const; + int getVersion()const; + int getAvdsFlag()const; + long getWebLockAuthCount()const; + long getSlsCapacity()const; + long getLastTrailEndTime()const; + int getUserDefinedAlarms()const; + int getWebLock()const; + bool getIsOverBalance()const; + int getVmCores()const; + long getHoneypotCapacity()const; + int getAssetLevel()const; + std::string getInstanceId()const; + long getCreateTime()const; + int getSasScreen()const; + bool getIsSasOpening()const; + int getLogCapacity()const; + int getFlag()const; + long getReleaseTime()const; + int getIsTrialVersion()const; + int getAppWhiteList()const; + + protected: + void parse(const std::string &payload); + private: + bool isPaidUser_; + long imageScanCapacity_; + long appWhiteListAuthCount_; + int logTime_; + int sasLog_; + int version_; + int avdsFlag_; + long webLockAuthCount_; + long slsCapacity_; + long lastTrailEndTime_; + int userDefinedAlarms_; + int webLock_; + bool isOverBalance_; + int vmCores_; + long honeypotCapacity_; + int assetLevel_; + std::string instanceId_; + long createTime_; + int sasScreen_; + bool isSasOpening_; + int logCapacity_; + int flag_; + long releaseTime_; + int isTrialVersion_; + int appWhiteList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEVERSIONCONFIGRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeVpcHoneyPotCriteriaRequest.h b/sas/include/alibabacloud/sas/model/DescribeVpcHoneyPotCriteriaRequest.h new file mode 100644 index 000000000..0c1115db5 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeVpcHoneyPotCriteriaRequest.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_SAS_MODEL_DESCRIBEVPCHONEYPOTCRITERIAREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEVPCHONEYPOTCRITERIAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeVpcHoneyPotCriteriaRequest : public RpcServiceRequest + { + + public: + DescribeVpcHoneyPotCriteriaRequest(); + ~DescribeVpcHoneyPotCriteriaRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEVPCHONEYPOTCRITERIAREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeVpcHoneyPotCriteriaResult.h b/sas/include/alibabacloud/sas/model/DescribeVpcHoneyPotCriteriaResult.h new file mode 100644 index 000000000..cc465ae47 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeVpcHoneyPotCriteriaResult.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_SAS_MODEL_DESCRIBEVPCHONEYPOTCRITERIARESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEVPCHONEYPOTCRITERIARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeVpcHoneyPotCriteriaResult : public ServiceResult + { + public: + struct Criteria + { + std::string type; + std::string values; + std::string name; + }; + + + DescribeVpcHoneyPotCriteriaResult(); + explicit DescribeVpcHoneyPotCriteriaResult(const std::string &payload); + ~DescribeVpcHoneyPotCriteriaResult(); + std::vector getCriteriaList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector criteriaList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEVPCHONEYPOTCRITERIARESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeVpcHoneyPotListRequest.h b/sas/include/alibabacloud/sas/model/DescribeVpcHoneyPotListRequest.h new file mode 100644 index 000000000..6e1eec0b5 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeVpcHoneyPotListRequest.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_SAS_MODEL_DESCRIBEVPCHONEYPOTLISTREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEVPCHONEYPOTLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeVpcHoneyPotListRequest : public RpcServiceRequest + { + + public: + DescribeVpcHoneyPotListRequest(); + ~DescribeVpcHoneyPotListRequest(); + + std::string getVpcName()const; + void setVpcName(const std::string& vpcName); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getPageSize()const; + void setPageSize(int pageSize); + bool getHoneyPotExistence()const; + void setHoneyPotExistence(bool honeyPotExistence); + std::string getVpcRegionId()const; + void setVpcRegionId(const std::string& vpcRegionId); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getVpcId()const; + void setVpcId(const std::string& vpcId); + + private: + std::string vpcName_; + std::string sourceIp_; + int pageSize_; + bool honeyPotExistence_; + std::string vpcRegionId_; + int currentPage_; + std::string vpcId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEVPCHONEYPOTLISTREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeVpcHoneyPotListResult.h b/sas/include/alibabacloud/sas/model/DescribeVpcHoneyPotListResult.h new file mode 100644 index 000000000..7f279675e --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeVpcHoneyPotListResult.h @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEVPCHONEYPOTLISTRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEVPCHONEYPOTLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeVpcHoneyPotListResult : public ServiceResult + { + public: + struct PageInfo + { + int totalCount; + int pageSize; + int currentPage; + int count; + }; + struct VpcHoneyPotDTO + { + struct VpcSwitchInfo + { + std::string vpcSwitchName; + std::string zoneId; + std::string vpcSwitchId; + }; + std::vector vpcSwitchIdList; + std::string honeyPotEcsInstanceStatus; + std::string vpcId; + bool honeyPotExistence; + std::string honeyPotVpcSwitchId; + std::string honeyPotInstanceStatus; + long createTime; + std::string vpcStatus; + std::string vpcRegionId; + std::string cidrBlock; + std::string honeyPotEniInstanceId; + std::string vpcName; + }; + + + DescribeVpcHoneyPotListResult(); + explicit DescribeVpcHoneyPotListResult(const std::string &payload); + ~DescribeVpcHoneyPotListResult(); + std::vector getVpcHoneyPotDTOList()const; + PageInfo getPageInfo()const; + + protected: + void parse(const std::string &payload); + private: + std::vector vpcHoneyPotDTOList_; + PageInfo pageInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEVPCHONEYPOTLISTRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeVulListRequest.h b/sas/include/alibabacloud/sas/model/DescribeVulListRequest.h index 3656ef680..43a004fa9 100644 --- a/sas/include/alibabacloud/sas/model/DescribeVulListRequest.h +++ b/sas/include/alibabacloud/sas/model/DescribeVulListRequest.h @@ -35,47 +35,92 @@ namespace AlibabaCloud DescribeVulListRequest(); ~DescribeVulListRequest(); - std::string getStatusList()const; - void setStatusList(const std::string& statusList); - std::string getRemark()const; - void setRemark(const std::string& remark); + int getMinScore()const; + void setMinScore(int minScore); + std::string getAttachTypes()const; + void setAttachTypes(const std::string& attachTypes); std::string getType()const; void setType(const std::string& type); + std::string getVpcInstanceIds()const; + void setVpcInstanceIds(const std::string& vpcInstanceIds); + long getCreateTsStart()const; + void setCreateTsStart(long createTsStart); + std::string getContainerFieldName()const; + void setContainerFieldName(const std::string& containerFieldName); std::string getSourceIp()const; void setSourceIp(const std::string& sourceIp); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getLang()const; - void setLang(const std::string& lang); - std::string getDealed()const; - void setDealed(const std::string& dealed); - int getCurrentPage()const; - void setCurrentPage(int currentPage); + long getModifyTsEnd()const; + void setModifyTsEnd(long modifyTsEnd); + std::string getLevel()const; + void setLevel(const std::string& level); + std::string getResource()const; + void setResource(const std::string& resource); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); std::string getAliasName()const; void setAliasName(const std::string& aliasName); std::string getName()const; void setName(const std::string& name); std::string getIds()const; void setIds(const std::string& ids); + long getCreateTsEnd()const; + void setCreateTsEnd(long createTsEnd); std::string getNecessity()const; void setNecessity(const std::string& necessity); std::string getUuids()const; void setUuids(const std::string& uuids); + std::string getStatusList()const; + void setStatusList(const std::string& statusList); + std::string getTargetType()const; + void setTargetType(const std::string& targetType); + std::string getRemark()const; + void setRemark(const std::string& remark); + std::string getContainerFieldValue()const; + void setContainerFieldValue(const std::string& containerFieldValue); + int getPageSize()const; + void setPageSize(int pageSize); + long getModifyTsStart()const; + void setModifyTsStart(long modifyTsStart); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getDealed()const; + void setDealed(const std::string& dealed); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + std::string getBatchName()const; + void setBatchName(const std::string& batchName); private: - std::string statusList_; - std::string remark_; + int minScore_; + std::string attachTypes_; std::string type_; + std::string vpcInstanceIds_; + long createTsStart_; + std::string containerFieldName_; std::string sourceIp_; - int pageSize_; - std::string lang_; - std::string dealed_; - int currentPage_; + long modifyTsEnd_; + std::string level_; + std::string resource_; + std::string groupId_; std::string aliasName_; std::string name_; std::string ids_; + long createTsEnd_; std::string necessity_; std::string uuids_; + std::string statusList_; + std::string targetType_; + std::string remark_; + std::string containerFieldValue_; + int pageSize_; + long modifyTsStart_; + std::string lang_; + std::string dealed_; + int currentPage_; + std::string clusterId_; + std::string batchName_; }; } diff --git a/sas/include/alibabacloud/sas/model/DescribeVulListResult.h b/sas/include/alibabacloud/sas/model/DescribeVulListResult.h index 636b950f9..6fcc73d03 100644 --- a/sas/include/alibabacloud/sas/model/DescribeVulListResult.h +++ b/sas/include/alibabacloud/sas/model/DescribeVulListResult.h @@ -67,7 +67,7 @@ namespace AlibabaCloud std::string osRelease; std::string solution; std::string vulType; - int status; + std::string status; std::vector cveList; std::string owasp; std::string reference; @@ -101,13 +101,20 @@ namespace AlibabaCloud std::vector processList; long gmtLastTs; }; + std::string k8sNodeId; + std::string k8sNodeName; std::string ip; std::string osVersion; + std::string containerInnerPath; std::string intranetIp; + std::string k8sClusterId; std::string name; long repairTs; + std::string k8sNamespace; long modifyTs; std::string internetIp; + std::string containerName; + std::string containerId; std::string aliasName; long recordId; std::string canFix; @@ -120,12 +127,15 @@ namespace AlibabaCloud ProcessInfo processInfo; std::string needReboot; std::string resultMessage; + std::string k8sPodName; + std::string containerImageId; int groupId; std::string instanceName; std::string type; long firstTs; std::string uuid; std::string related; + std::string containerImageName; std::string level; std::string tag; std::string regionId; diff --git a/sas/include/alibabacloud/sas/model/DescribeWarningMachinesResult.h b/sas/include/alibabacloud/sas/model/DescribeWarningMachinesResult.h index ac2d0dd7e..cfa3cdc04 100644 --- a/sas/include/alibabacloud/sas/model/DescribeWarningMachinesResult.h +++ b/sas/include/alibabacloud/sas/model/DescribeWarningMachinesResult.h @@ -34,12 +34,14 @@ namespace AlibabaCloud public: struct WarningMachine { + std::string instanceName; int status; int mediumWarningCount; std::string uuid; - std::string machineName; std::string internetIp; + std::string instanceId; int highWarningCount; + std::string regionId; int passCount; std::string intranetIp; int lowWarningCount; diff --git a/sas/include/alibabacloud/sas/model/DescribeWebLockBindListRequest.h b/sas/include/alibabacloud/sas/model/DescribeWebLockBindListRequest.h new file mode 100644 index 000000000..569c34ccf --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeWebLockBindListRequest.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_SAS_MODEL_DESCRIBEWEBLOCKBINDLISTREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEWEBLOCKBINDLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeWebLockBindListRequest : public RpcServiceRequest + { + + public: + DescribeWebLockBindListRequest(); + ~DescribeWebLockBindListRequest(); + + std::string getRemark()const; + void setRemark(const std::string& remark); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + std::string remark_; + int currentPage_; + std::string sourceIp_; + int pageSize_; + std::string lang_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEWEBLOCKBINDLISTREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeWebLockBindListResult.h b/sas/include/alibabacloud/sas/model/DescribeWebLockBindListResult.h new file mode 100644 index 000000000..7423d10f7 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeWebLockBindListResult.h @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_SAS_MODEL_DESCRIBEWEBLOCKBINDLISTRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEWEBLOCKBINDLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeWebLockBindListResult : public ServiceResult + { + public: + struct Bind + { + std::string status; + std::string os; + int percent; + std::string dirCount; + std::string serviceDetail; + std::string intranetIp; + std::string instanceName; + std::string auditCount; + std::string uuid; + std::string serviceCode; + std::string internetIp; + std::string serviceStatus; + std::string blockCount; + }; + + + DescribeWebLockBindListResult(); + explicit DescribeWebLockBindListResult(const std::string &payload); + ~DescribeWebLockBindListResult(); + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + std::vector getBindList()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int currentPage_; + std::vector bindList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEWEBLOCKBINDLISTRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeWebLockConfigListRequest.h b/sas/include/alibabacloud/sas/model/DescribeWebLockConfigListRequest.h new file mode 100644 index 000000000..b3f5e1561 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeWebLockConfigListRequest.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_SAS_MODEL_DESCRIBEWEBLOCKCONFIGLISTREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEWEBLOCKCONFIGLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeWebLockConfigListRequest : public RpcServiceRequest + { + + public: + DescribeWebLockConfigListRequest(); + ~DescribeWebLockConfigListRequest(); + + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string uuid_; + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEWEBLOCKCONFIGLISTREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeWebLockConfigListResult.h b/sas/include/alibabacloud/sas/model/DescribeWebLockConfigListResult.h new file mode 100644 index 000000000..3dbe4c9c9 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeWebLockConfigListResult.h @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEWEBLOCKCONFIGLISTRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEWEBLOCKCONFIGLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeWebLockConfigListResult : public ServiceResult + { + public: + struct ConfigInfo + { + std::string inclusiveFileType; + std::string exclusiveFile; + std::string uuid; + std::string exclusiveDir; + std::string defenceMode; + std::string mode; + std::string localBackupDir; + std::string exclusiveFileType; + std::string id; + std::string dir; + std::string inclusiveFile; + }; + + + DescribeWebLockConfigListResult(); + explicit DescribeWebLockConfigListResult(const std::string &payload); + ~DescribeWebLockConfigListResult(); + int getTotalCount()const; + std::vector getConfigList()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector configList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEWEBLOCKCONFIGLISTRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/GetBackupStorageCountRequest.h b/sas/include/alibabacloud/sas/model/GetBackupStorageCountRequest.h new file mode 100644 index 000000000..510a7916d --- /dev/null +++ b/sas/include/alibabacloud/sas/model/GetBackupStorageCountRequest.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_SAS_MODEL_GETBACKUPSTORAGECOUNTREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_GETBACKUPSTORAGECOUNTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT GetBackupStorageCountRequest : public RpcServiceRequest + { + + public: + GetBackupStorageCountRequest(); + ~GetBackupStorageCountRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + long resourceOwnerId_; + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_GETBACKUPSTORAGECOUNTREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/GetBackupStorageCountResult.h b/sas/include/alibabacloud/sas/model/GetBackupStorageCountResult.h new file mode 100644 index 000000000..0b72e9b48 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/GetBackupStorageCountResult.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_SAS_MODEL_GETBACKUPSTORAGECOUNTRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_GETBACKUPSTORAGECOUNTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT GetBackupStorageCountResult : public ServiceResult + { + public: + struct BackupStorageCount + { + long usageStorageByte; + long buyStorageByte; + int overflow; + }; + + + GetBackupStorageCountResult(); + explicit GetBackupStorageCountResult(const std::string &payload); + ~GetBackupStorageCountResult(); + BackupStorageCount getBackupStorageCount()const; + + protected: + void parse(const std::string &payload); + private: + BackupStorageCount backupStorageCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_GETBACKUPSTORAGECOUNTRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/GetSuspiciousStatisticsRequest.h b/sas/include/alibabacloud/sas/model/GetSuspiciousStatisticsRequest.h new file mode 100644 index 000000000..fccc3f465 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/GetSuspiciousStatisticsRequest.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_SAS_MODEL_GETSUSPICIOUSSTATISTICSREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_GETSUSPICIOUSSTATISTICSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT GetSuspiciousStatisticsRequest : public RpcServiceRequest + { + + public: + GetSuspiciousStatisticsRequest(); + ~GetSuspiciousStatisticsRequest(); + + std::string getGroupIdList()const; + void setGroupIdList(const std::string& groupIdList); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string groupIdList_; + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_GETSUSPICIOUSSTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/GetSuspiciousStatisticsResult.h b/sas/include/alibabacloud/sas/model/GetSuspiciousStatisticsResult.h new file mode 100644 index 000000000..e402a95ec --- /dev/null +++ b/sas/include/alibabacloud/sas/model/GetSuspiciousStatisticsResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_GETSUSPICIOUSSTATISTICSRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_GETSUSPICIOUSSTATISTICSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT GetSuspiciousStatisticsResult : public ServiceResult + { + public: + + + GetSuspiciousStatisticsResult(); + explicit GetSuspiciousStatisticsResult(const std::string &payload); + ~GetSuspiciousStatisticsResult(); + int getTotalCount()const; + int getTemindCount()const; + int getSuspiciousCount()const; + int getRemindCount()const; + int getSeriousCount()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int temindCount_; + int suspiciousCount_; + int remindCount_; + int seriousCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_GETSUSPICIOUSSTATISTICSRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/GetVulStatisticsRequest.h b/sas/include/alibabacloud/sas/model/GetVulStatisticsRequest.h new file mode 100644 index 000000000..114e67a0f --- /dev/null +++ b/sas/include/alibabacloud/sas/model/GetVulStatisticsRequest.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_SAS_MODEL_GETVULSTATISTICSREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_GETVULSTATISTICSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT GetVulStatisticsRequest : public RpcServiceRequest + { + + public: + GetVulStatisticsRequest(); + ~GetVulStatisticsRequest(); + + std::string getTypeList()const; + void setTypeList(const std::string& typeList); + std::string getGroupIdList()const; + void setGroupIdList(const std::string& groupIdList); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string typeList_; + std::string groupIdList_; + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_GETVULSTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/GetVulStatisticsResult.h b/sas/include/alibabacloud/sas/model/GetVulStatisticsResult.h new file mode 100644 index 000000000..d12e9093b --- /dev/null +++ b/sas/include/alibabacloud/sas/model/GetVulStatisticsResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_GETVULSTATISTICSRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_GETVULSTATISTICSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT GetVulStatisticsResult : public ServiceResult + { + public: + + + GetVulStatisticsResult(); + explicit GetVulStatisticsResult(const std::string &payload); + ~GetVulStatisticsResult(); + int getVulAsapSum()const; + int getVulLaterSum()const; + int getVulNntfSum()const; + + protected: + void parse(const std::string &payload); + private: + int vulAsapSum_; + int vulLaterSum_; + int vulNntfSum_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_GETVULSTATISTICSRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/HandleSecurityEventsRequest.h b/sas/include/alibabacloud/sas/model/HandleSecurityEventsRequest.h new file mode 100644 index 000000000..5360b08ae --- /dev/null +++ b/sas/include/alibabacloud/sas/model/HandleSecurityEventsRequest.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_SAS_MODEL_HANDLESECURITYEVENTSREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_HANDLESECURITYEVENTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT HandleSecurityEventsRequest : public RpcServiceRequest + { + + public: + HandleSecurityEventsRequest(); + ~HandleSecurityEventsRequest(); + + std::string getMarkMissParam()const; + void setMarkMissParam(const std::string& markMissParam); + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::vector getSecurityEventIds()const; + void setSecurityEventIds(const std::vector& securityEventIds); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getOperationCode()const; + void setOperationCode(const std::string& operationCode); + std::string getOperationParams()const; + void setOperationParams(const std::string& operationParams); + std::string getMarkBatch()const; + void setMarkBatch(const std::string& markBatch); + + private: + std::string markMissParam_; + long resourceOwnerId_; + std::vector securityEventIds_; + std::string sourceIp_; + std::string operationCode_; + std::string operationParams_; + std::string markBatch_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_HANDLESECURITYEVENTSREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/HandleSecurityEventsResult.h b/sas/include/alibabacloud/sas/model/HandleSecurityEventsResult.h new file mode 100644 index 000000000..68d1503db --- /dev/null +++ b/sas/include/alibabacloud/sas/model/HandleSecurityEventsResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_HANDLESECURITYEVENTSRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_HANDLESECURITYEVENTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT HandleSecurityEventsResult : public ServiceResult + { + public: + struct HandleSecurityEventsResponse1 + { + long taskId; + }; + + + HandleSecurityEventsResult(); + explicit HandleSecurityEventsResult(const std::string &payload); + ~HandleSecurityEventsResult(); + HandleSecurityEventsResponse1 getHandleSecurityEventsResponse1()const; + + protected: + void parse(const std::string &payload); + private: + HandleSecurityEventsResponse1 handleSecurityEventsResponse1_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_HANDLESECURITYEVENTSRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/HandleSimilarSecurityEventsRequest.h b/sas/include/alibabacloud/sas/model/HandleSimilarSecurityEventsRequest.h index d0a94b84b..3a0c8b273 100644 --- a/sas/include/alibabacloud/sas/model/HandleSimilarSecurityEventsRequest.h +++ b/sas/include/alibabacloud/sas/model/HandleSimilarSecurityEventsRequest.h @@ -35,6 +35,8 @@ namespace AlibabaCloud HandleSimilarSecurityEventsRequest(); ~HandleSimilarSecurityEventsRequest(); + std::string getMarkMissParam()const; + void setMarkMissParam(const std::string& markMissParam); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getSourceIp()const; @@ -47,6 +49,7 @@ namespace AlibabaCloud void setOperationParams(const std::string& operationParams); private: + std::string markMissParam_; long resourceOwnerId_; std::string sourceIp_; std::string operationCode_; diff --git a/sas/include/alibabacloud/sas/model/IgnoreHcCheckWarningsRequest.h b/sas/include/alibabacloud/sas/model/IgnoreHcCheckWarningsRequest.h new file mode 100644 index 000000000..64821b2f6 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/IgnoreHcCheckWarningsRequest.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_SAS_MODEL_IGNOREHCCHECKWARNINGSREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_IGNOREHCCHECKWARNINGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT IgnoreHcCheckWarningsRequest : public RpcServiceRequest + { + + public: + IgnoreHcCheckWarningsRequest(); + ~IgnoreHcCheckWarningsRequest(); + + std::string getReason()const; + void setReason(const std::string& reason); + std::string getCheckIds()const; + void setCheckIds(const std::string& checkIds); + std::string getRiskId()const; + void setRiskId(const std::string& riskId); + long getType()const; + void setType(long type); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getCheckWarningIds()const; + void setCheckWarningIds(const std::string& checkWarningIds); + + private: + std::string reason_; + std::string checkIds_; + std::string riskId_; + long type_; + std::string sourceIp_; + std::string checkWarningIds_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_IGNOREHCCHECKWARNINGSREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/IgnoreHcCheckWarningsResult.h b/sas/include/alibabacloud/sas/model/IgnoreHcCheckWarningsResult.h new file mode 100644 index 000000000..636b5d212 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/IgnoreHcCheckWarningsResult.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_SAS_MODEL_IGNOREHCCHECKWARNINGSRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_IGNOREHCCHECKWARNINGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT IgnoreHcCheckWarningsResult : public ServiceResult + { + public: + + + IgnoreHcCheckWarningsResult(); + explicit IgnoreHcCheckWarningsResult(const std::string &payload); + ~IgnoreHcCheckWarningsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_IGNOREHCCHECKWARNINGSRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/InstallBackupClientRequest.h b/sas/include/alibabacloud/sas/model/InstallBackupClientRequest.h new file mode 100644 index 000000000..b206b3d9a --- /dev/null +++ b/sas/include/alibabacloud/sas/model/InstallBackupClientRequest.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_SAS_MODEL_INSTALLBACKUPCLIENTREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_INSTALLBACKUPCLIENTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT InstallBackupClientRequest : public RpcServiceRequest + { + + public: + InstallBackupClientRequest(); + ~InstallBackupClientRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getPolicyVersion()const; + void setPolicyVersion(const std::string& policyVersion); + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::vector getUuidList()const; + void setUuidList(const std::vector& uuidList); + + private: + long resourceOwnerId_; + std::string policyVersion_; + std::string uuid_; + std::string sourceIp_; + std::vector uuidList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_INSTALLBACKUPCLIENTREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/InstallBackupClientResult.h b/sas/include/alibabacloud/sas/model/InstallBackupClientResult.h new file mode 100644 index 000000000..9b97203a8 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/InstallBackupClientResult.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_SAS_MODEL_INSTALLBACKUPCLIENTRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_INSTALLBACKUPCLIENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT InstallBackupClientResult : public ServiceResult + { + public: + + + InstallBackupClientResult(); + explicit InstallBackupClientResult(const std::string &payload); + ~InstallBackupClientResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_INSTALLBACKUPCLIENTRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/ModifyAssetGroupRequest.h b/sas/include/alibabacloud/sas/model/ModifyAssetGroupRequest.h new file mode 100644 index 000000000..3f2ba90a8 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/ModifyAssetGroupRequest.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_SAS_MODEL_MODIFYASSETGROUPREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_MODIFYASSETGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT ModifyAssetGroupRequest : public RpcServiceRequest + { + + public: + ModifyAssetGroupRequest(); + ~ModifyAssetGroupRequest(); + + long getGroupId()const; + void setGroupId(long groupId); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getUuids()const; + void setUuids(const std::string& uuids); + + private: + long groupId_; + std::string sourceIp_; + std::string uuids_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_MODIFYASSETGROUPREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/ModifyAssetGroupResult.h b/sas/include/alibabacloud/sas/model/ModifyAssetGroupResult.h new file mode 100644 index 000000000..ba70b7474 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/ModifyAssetGroupResult.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_SAS_MODEL_MODIFYASSETGROUPRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_MODIFYASSETGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT ModifyAssetGroupResult : public ServiceResult + { + public: + + + ModifyAssetGroupResult(); + explicit ModifyAssetGroupResult(const std::string &payload); + ~ModifyAssetGroupResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_MODIFYASSETGROUPRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/ModifyBackupPolicyRequest.h b/sas/include/alibabacloud/sas/model/ModifyBackupPolicyRequest.h new file mode 100644 index 000000000..736c650c8 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/ModifyBackupPolicyRequest.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_SAS_MODEL_MODIFYBACKUPPOLICYREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_MODIFYBACKUPPOLICYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT ModifyBackupPolicyRequest : public RpcServiceRequest + { + + public: + ModifyBackupPolicyRequest(); + ~ModifyBackupPolicyRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::vector getUuidList()const; + void setUuidList(const std::vector& uuidList); + long getId()const; + void setId(long id); + std::string getPolicy()const; + void setPolicy(const std::string& policy); + std::string getPolicyVersion()const; + void setPolicyVersion(const std::string& policyVersion); + std::string getName()const; + void setName(const std::string& name); + + private: + long resourceOwnerId_; + std::string sourceIp_; + std::vector uuidList_; + long id_; + std::string policy_; + std::string policyVersion_; + std::string name_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_MODIFYBACKUPPOLICYREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/ModifyBackupPolicyResult.h b/sas/include/alibabacloud/sas/model/ModifyBackupPolicyResult.h new file mode 100644 index 000000000..cd3aa91c2 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/ModifyBackupPolicyResult.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_SAS_MODEL_MODIFYBACKUPPOLICYRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_MODIFYBACKUPPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT ModifyBackupPolicyResult : public ServiceResult + { + public: + + + ModifyBackupPolicyResult(); + explicit ModifyBackupPolicyResult(const std::string &payload); + ~ModifyBackupPolicyResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_MODIFYBACKUPPOLICYRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/ModifyBackupPolicyStatusRequest.h b/sas/include/alibabacloud/sas/model/ModifyBackupPolicyStatusRequest.h new file mode 100644 index 000000000..8522b6cb4 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/ModifyBackupPolicyStatusRequest.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_SAS_MODEL_MODIFYBACKUPPOLICYSTATUSREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_MODIFYBACKUPPOLICYSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT ModifyBackupPolicyStatusRequest : public RpcServiceRequest + { + + public: + ModifyBackupPolicyStatusRequest(); + ~ModifyBackupPolicyStatusRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getPolicyVersion()const; + void setPolicyVersion(const std::string& policyVersion); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getId()const; + void setId(long id); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + long resourceOwnerId_; + std::string policyVersion_; + std::string sourceIp_; + long id_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_MODIFYBACKUPPOLICYSTATUSREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/ModifyBackupPolicyStatusResult.h b/sas/include/alibabacloud/sas/model/ModifyBackupPolicyStatusResult.h new file mode 100644 index 000000000..85f974bb4 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/ModifyBackupPolicyStatusResult.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_SAS_MODEL_MODIFYBACKUPPOLICYSTATUSRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_MODIFYBACKUPPOLICYSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT ModifyBackupPolicyStatusResult : public ServiceResult + { + public: + + + ModifyBackupPolicyStatusResult(); + explicit ModifyBackupPolicyStatusResult(const std::string &payload); + ~ModifyBackupPolicyStatusResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_MODIFYBACKUPPOLICYSTATUSRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/ModifyInstanceAntiBruteForceRuleRequest.h b/sas/include/alibabacloud/sas/model/ModifyInstanceAntiBruteForceRuleRequest.h new file mode 100644 index 000000000..1a20a511a --- /dev/null +++ b/sas/include/alibabacloud/sas/model/ModifyInstanceAntiBruteForceRuleRequest.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_SAS_MODEL_MODIFYINSTANCEANTIBRUTEFORCERULEREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_MODIFYINSTANCEANTIBRUTEFORCERULEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT ModifyInstanceAntiBruteForceRuleRequest : public RpcServiceRequest + { + + public: + ModifyInstanceAntiBruteForceRuleRequest(); + ~ModifyInstanceAntiBruteForceRuleRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getNewRuleId()const; + void setNewRuleId(long newRuleId); + + private: + long resourceOwnerId_; + std::string uuid_; + std::string sourceIp_; + long newRuleId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_MODIFYINSTANCEANTIBRUTEFORCERULEREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/ModifyInstanceAntiBruteForceRuleResult.h b/sas/include/alibabacloud/sas/model/ModifyInstanceAntiBruteForceRuleResult.h new file mode 100644 index 000000000..d38b04ce2 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/ModifyInstanceAntiBruteForceRuleResult.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_SAS_MODEL_MODIFYINSTANCEANTIBRUTEFORCERULERESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_MODIFYINSTANCEANTIBRUTEFORCERULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT ModifyInstanceAntiBruteForceRuleResult : public ServiceResult + { + public: + + + ModifyInstanceAntiBruteForceRuleResult(); + explicit ModifyInstanceAntiBruteForceRuleResult(const std::string &payload); + ~ModifyInstanceAntiBruteForceRuleResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_MODIFYINSTANCEANTIBRUTEFORCERULERESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/ModifyOpenLogShipperRequest.h b/sas/include/alibabacloud/sas/model/ModifyOpenLogShipperRequest.h new file mode 100644 index 000000000..d238f6947 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/ModifyOpenLogShipperRequest.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_SAS_MODEL_MODIFYOPENLOGSHIPPERREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_MODIFYOPENLOGSHIPPERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT ModifyOpenLogShipperRequest : public RpcServiceRequest + { + + public: + ModifyOpenLogShipperRequest(); + ~ModifyOpenLogShipperRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getFrom()const; + void setFrom(const std::string& from); + + private: + std::string sourceIp_; + std::string from_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_MODIFYOPENLOGSHIPPERREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/ModifyOpenLogShipperResult.h b/sas/include/alibabacloud/sas/model/ModifyOpenLogShipperResult.h new file mode 100644 index 000000000..1fc24c835 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/ModifyOpenLogShipperResult.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_SAS_MODEL_MODIFYOPENLOGSHIPPERRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_MODIFYOPENLOGSHIPPERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT ModifyOpenLogShipperResult : public ServiceResult + { + public: + + + ModifyOpenLogShipperResult(); + explicit ModifyOpenLogShipperResult(const std::string &payload); + ~ModifyOpenLogShipperResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_MODIFYOPENLOGSHIPPERRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/ModifyOperateVulRequest.h b/sas/include/alibabacloud/sas/model/ModifyOperateVulRequest.h index a326b7093..60d89fd34 100644 --- a/sas/include/alibabacloud/sas/model/ModifyOperateVulRequest.h +++ b/sas/include/alibabacloud/sas/model/ModifyOperateVulRequest.h @@ -41,17 +41,17 @@ namespace AlibabaCloud void setType(const std::string& type); std::string getSourceIp()const; void setSourceIp(const std::string& sourceIp); - std::string getOperateType()const; - void setOperateType(const std::string& operateType); std::string getInfo()const; void setInfo(const std::string& info); + std::string getOperateType()const; + void setOperateType(const std::string& operateType); private: std::string reason_; std::string type_; std::string sourceIp_; - std::string operateType_; std::string info_; + std::string operateType_; }; } diff --git a/sas/include/alibabacloud/sas/model/ModifyVpcHoneyPotRequest.h b/sas/include/alibabacloud/sas/model/ModifyVpcHoneyPotRequest.h new file mode 100644 index 000000000..d055c6749 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/ModifyVpcHoneyPotRequest.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_SAS_MODEL_MODIFYVPCHONEYPOTREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_MODIFYVPCHONEYPOTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT ModifyVpcHoneyPotRequest : public RpcServiceRequest + { + + public: + ModifyVpcHoneyPotRequest(); + ~ModifyVpcHoneyPotRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getHoneyPotAction()const; + void setHoneyPotAction(const std::string& honeyPotAction); + std::string getVpcId()const; + void setVpcId(const std::string& vpcId); + + private: + std::string sourceIp_; + std::string honeyPotAction_; + std::string vpcId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_MODIFYVPCHONEYPOTREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/ModifyVpcHoneyPotResult.h b/sas/include/alibabacloud/sas/model/ModifyVpcHoneyPotResult.h new file mode 100644 index 000000000..6798df8c3 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/ModifyVpcHoneyPotResult.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_SAS_MODEL_MODIFYVPCHONEYPOTRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_MODIFYVPCHONEYPOTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT ModifyVpcHoneyPotResult : public ServiceResult + { + public: + + + ModifyVpcHoneyPotResult(); + explicit ModifyVpcHoneyPotResult(const std::string &payload); + ~ModifyVpcHoneyPotResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_MODIFYVPCHONEYPOTRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/ModifyWebLockCreateConfigRequest.h b/sas/include/alibabacloud/sas/model/ModifyWebLockCreateConfigRequest.h new file mode 100644 index 000000000..fb9b91a6d --- /dev/null +++ b/sas/include/alibabacloud/sas/model/ModifyWebLockCreateConfigRequest.h @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKCREATECONFIGREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKCREATECONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT ModifyWebLockCreateConfigRequest : public RpcServiceRequest + { + + public: + ModifyWebLockCreateConfigRequest(); + ~ModifyWebLockCreateConfigRequest(); + + std::string getLocalBackupDir()const; + void setLocalBackupDir(const std::string& localBackupDir); + std::string getExclusiveFile()const; + void setExclusiveFile(const std::string& exclusiveFile); + std::string getExclusiveFileType()const; + void setExclusiveFileType(const std::string& exclusiveFileType); + std::string getDir()const; + void setDir(const std::string& dir); + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getMode()const; + void setMode(const std::string& mode); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getInclusiveFile()const; + void setInclusiveFile(const std::string& inclusiveFile); + std::string getExclusiveDir()const; + void setExclusiveDir(const std::string& exclusiveDir); + std::string getInclusiveFileType()const; + void setInclusiveFileType(const std::string& inclusiveFileType); + std::string getDefenceMode()const; + void setDefenceMode(const std::string& defenceMode); + + private: + std::string localBackupDir_; + std::string exclusiveFile_; + std::string exclusiveFileType_; + std::string dir_; + std::string uuid_; + std::string mode_; + std::string sourceIp_; + std::string lang_; + std::string inclusiveFile_; + std::string exclusiveDir_; + std::string inclusiveFileType_; + std::string defenceMode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKCREATECONFIGREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/ModifyWebLockCreateConfigResult.h b/sas/include/alibabacloud/sas/model/ModifyWebLockCreateConfigResult.h new file mode 100644 index 000000000..8a9a6a7a3 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/ModifyWebLockCreateConfigResult.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_SAS_MODEL_MODIFYWEBLOCKCREATECONFIGRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKCREATECONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT ModifyWebLockCreateConfigResult : public ServiceResult + { + public: + + + ModifyWebLockCreateConfigResult(); + explicit ModifyWebLockCreateConfigResult(const std::string &payload); + ~ModifyWebLockCreateConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKCREATECONFIGRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/ModifyWebLockDeleteConfigRequest.h b/sas/include/alibabacloud/sas/model/ModifyWebLockDeleteConfigRequest.h new file mode 100644 index 000000000..a6b2ee199 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/ModifyWebLockDeleteConfigRequest.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_SAS_MODEL_MODIFYWEBLOCKDELETECONFIGREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKDELETECONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT ModifyWebLockDeleteConfigRequest : public RpcServiceRequest + { + + public: + ModifyWebLockDeleteConfigRequest(); + ~ModifyWebLockDeleteConfigRequest(); + + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getId()const; + void setId(int id); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string uuid_; + std::string sourceIp_; + int id_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKDELETECONFIGREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/ModifyWebLockDeleteConfigResult.h b/sas/include/alibabacloud/sas/model/ModifyWebLockDeleteConfigResult.h new file mode 100644 index 000000000..e6664f806 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/ModifyWebLockDeleteConfigResult.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_SAS_MODEL_MODIFYWEBLOCKDELETECONFIGRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKDELETECONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT ModifyWebLockDeleteConfigResult : public ServiceResult + { + public: + + + ModifyWebLockDeleteConfigResult(); + explicit ModifyWebLockDeleteConfigResult(const std::string &payload); + ~ModifyWebLockDeleteConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKDELETECONFIGRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/ModifyWebLockStartRequest.h b/sas/include/alibabacloud/sas/model/ModifyWebLockStartRequest.h new file mode 100644 index 000000000..5ec242d76 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/ModifyWebLockStartRequest.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_SAS_MODEL_MODIFYWEBLOCKSTARTREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKSTARTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT ModifyWebLockStartRequest : public RpcServiceRequest + { + + public: + ModifyWebLockStartRequest(); + ~ModifyWebLockStartRequest(); + + std::string getLocalBackupDir()const; + void setLocalBackupDir(const std::string& localBackupDir); + std::string getExclusiveFile()const; + void setExclusiveFile(const std::string& exclusiveFile); + std::string getExclusiveFileType()const; + void setExclusiveFileType(const std::string& exclusiveFileType); + std::string getDir()const; + void setDir(const std::string& dir); + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getMode()const; + void setMode(const std::string& mode); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getExclusiveDir()const; + void setExclusiveDir(const std::string& exclusiveDir); + std::string getInclusiveFileType()const; + void setInclusiveFileType(const std::string& inclusiveFileType); + std::string getDefenceMode()const; + void setDefenceMode(const std::string& defenceMode); + + private: + std::string localBackupDir_; + std::string exclusiveFile_; + std::string exclusiveFileType_; + std::string dir_; + std::string uuid_; + std::string mode_; + std::string sourceIp_; + std::string exclusiveDir_; + std::string inclusiveFileType_; + std::string defenceMode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKSTARTREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/ModifyWebLockStartResult.h b/sas/include/alibabacloud/sas/model/ModifyWebLockStartResult.h new file mode 100644 index 000000000..d9b3f707a --- /dev/null +++ b/sas/include/alibabacloud/sas/model/ModifyWebLockStartResult.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_SAS_MODEL_MODIFYWEBLOCKSTARTRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKSTARTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT ModifyWebLockStartResult : public ServiceResult + { + public: + + + ModifyWebLockStartResult(); + explicit ModifyWebLockStartResult(const std::string &payload); + ~ModifyWebLockStartResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKSTARTRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/ModifyWebLockStatusRequest.h b/sas/include/alibabacloud/sas/model/ModifyWebLockStatusRequest.h new file mode 100644 index 000000000..9964531e5 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/ModifyWebLockStatusRequest.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_SAS_MODEL_MODIFYWEBLOCKSTATUSREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT ModifyWebLockStatusRequest : public RpcServiceRequest + { + + public: + ModifyWebLockStatusRequest(); + ~ModifyWebLockStatusRequest(); + + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + std::string uuid_; + std::string sourceIp_; + std::string lang_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKSTATUSREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/ModifyWebLockStatusResult.h b/sas/include/alibabacloud/sas/model/ModifyWebLockStatusResult.h new file mode 100644 index 000000000..cfe1ae1b3 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/ModifyWebLockStatusResult.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_SAS_MODEL_MODIFYWEBLOCKSTATUSRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT ModifyWebLockStatusResult : public ServiceResult + { + public: + + + ModifyWebLockStatusResult(); + explicit ModifyWebLockStatusResult(const std::string &payload); + ~ModifyWebLockStatusResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKSTATUSRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeEmgVulGroupRequest.h b/sas/include/alibabacloud/sas/model/ModifyWebLockUnbindRequest.h similarity index 70% rename from sas/include/alibabacloud/sas/model/DescribeEmgVulGroupRequest.h rename to sas/include/alibabacloud/sas/model/ModifyWebLockUnbindRequest.h index 565146317..23fb62425 100644 --- a/sas/include/alibabacloud/sas/model/DescribeEmgVulGroupRequest.h +++ b/sas/include/alibabacloud/sas/model/ModifyWebLockUnbindRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEEMGVULGROUPREQUEST_H_ -#define ALIBABACLOUD_SAS_MODEL_DESCRIBEEMGVULGROUPREQUEST_H_ +#ifndef ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKUNBINDREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKUNBINDREQUEST_H_ #include #include @@ -28,24 +28,24 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_SAS_EXPORT DescribeEmgVulGroupRequest : public RpcServiceRequest + class ALIBABACLOUD_SAS_EXPORT ModifyWebLockUnbindRequest : public RpcServiceRequest { public: - DescribeEmgVulGroupRequest(); - ~DescribeEmgVulGroupRequest(); + ModifyWebLockUnbindRequest(); + ~ModifyWebLockUnbindRequest(); + std::string getUuid()const; + void setUuid(const std::string& uuid); std::string getSourceIp()const; void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); private: + std::string uuid_; std::string sourceIp_; - std::string lang_; }; } } } -#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEEMGVULGROUPREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKUNBINDREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/ModifyWebLockUnbindResult.h b/sas/include/alibabacloud/sas/model/ModifyWebLockUnbindResult.h new file mode 100644 index 000000000..9fcf4ba5f --- /dev/null +++ b/sas/include/alibabacloud/sas/model/ModifyWebLockUnbindResult.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_SAS_MODEL_MODIFYWEBLOCKUNBINDRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKUNBINDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT ModifyWebLockUnbindResult : public ServiceResult + { + public: + + + ModifyWebLockUnbindResult(); + explicit ModifyWebLockUnbindResult(const std::string &payload); + ~ModifyWebLockUnbindResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKUNBINDRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/ModifyWebLockUpdateConfigRequest.h b/sas/include/alibabacloud/sas/model/ModifyWebLockUpdateConfigRequest.h new file mode 100644 index 000000000..16c642e98 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/ModifyWebLockUpdateConfigRequest.h @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKUPDATECONFIGREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKUPDATECONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT ModifyWebLockUpdateConfigRequest : public RpcServiceRequest + { + + public: + ModifyWebLockUpdateConfigRequest(); + ~ModifyWebLockUpdateConfigRequest(); + + std::string getLocalBackupDir()const; + void setLocalBackupDir(const std::string& localBackupDir); + std::string getExclusiveFile()const; + void setExclusiveFile(const std::string& exclusiveFile); + std::string getExclusiveFileType()const; + void setExclusiveFileType(const std::string& exclusiveFileType); + std::string getDir()const; + void setDir(const std::string& dir); + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getMode()const; + void setMode(const std::string& mode); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getId()const; + void setId(int id); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getInclusiveFile()const; + void setInclusiveFile(const std::string& inclusiveFile); + std::string getExclusiveDir()const; + void setExclusiveDir(const std::string& exclusiveDir); + std::string getInclusiveFileType()const; + void setInclusiveFileType(const std::string& inclusiveFileType); + std::string getDefenceMode()const; + void setDefenceMode(const std::string& defenceMode); + + private: + std::string localBackupDir_; + std::string exclusiveFile_; + std::string exclusiveFileType_; + std::string dir_; + std::string uuid_; + std::string mode_; + std::string sourceIp_; + int id_; + std::string lang_; + std::string inclusiveFile_; + std::string exclusiveDir_; + std::string inclusiveFileType_; + std::string defenceMode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKUPDATECONFIGREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/ModifyWebLockUpdateConfigResult.h b/sas/include/alibabacloud/sas/model/ModifyWebLockUpdateConfigResult.h new file mode 100644 index 000000000..3e0a44dbc --- /dev/null +++ b/sas/include/alibabacloud/sas/model/ModifyWebLockUpdateConfigResult.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_SAS_MODEL_MODIFYWEBLOCKUPDATECONFIGRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKUPDATECONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT ModifyWebLockUpdateConfigResult : public ServiceResult + { + public: + + + ModifyWebLockUpdateConfigResult(); + explicit ModifyWebLockUpdateConfigResult(const std::string &payload); + ~ModifyWebLockUpdateConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_MODIFYWEBLOCKUPDATECONFIGRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/OperateVulsRequest.h b/sas/include/alibabacloud/sas/model/OperateVulsRequest.h new file mode 100644 index 000000000..23bdab3af --- /dev/null +++ b/sas/include/alibabacloud/sas/model/OperateVulsRequest.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_SAS_MODEL_OPERATEVULSREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_OPERATEVULSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT OperateVulsRequest : public RpcServiceRequest + { + + public: + OperateVulsRequest(); + ~OperateVulsRequest(); + + std::string getReason()const; + void setReason(const std::string& reason); + std::string getType()const; + void setType(const std::string& type); + std::vector getVulNames()const; + void setVulNames(const std::vector& vulNames); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getPrecondition()const; + void setPrecondition(int precondition); + std::string getOperateType()const; + void setOperateType(const std::string& operateType); + std::vector getUuids()const; + void setUuids(const std::vector& uuids); + + private: + std::string reason_; + std::string type_; + std::vector vulNames_; + std::string sourceIp_; + int precondition_; + std::string operateType_; + std::vector uuids_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_OPERATEVULSREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/OperateVulsResult.h b/sas/include/alibabacloud/sas/model/OperateVulsResult.h new file mode 100644 index 000000000..56f5e5700 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/OperateVulsResult.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_SAS_MODEL_OPERATEVULSRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_OPERATEVULSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT OperateVulsResult : public ServiceResult + { + public: + + + OperateVulsResult(); + explicit OperateVulsResult(const std::string &payload); + ~OperateVulsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_OPERATEVULSRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/RefreshContainerAssetsRequest.h b/sas/include/alibabacloud/sas/model/RefreshContainerAssetsRequest.h new file mode 100644 index 000000000..ab60e51e0 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/RefreshContainerAssetsRequest.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_SAS_MODEL_REFRESHCONTAINERASSETSREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_REFRESHCONTAINERASSETSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT RefreshContainerAssetsRequest : public RpcServiceRequest + { + + public: + RefreshContainerAssetsRequest(); + ~RefreshContainerAssetsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getAssetType()const; + void setAssetType(const std::string& assetType); + + private: + std::string sourceIp_; + std::string assetType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_REFRESHCONTAINERASSETSREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/RefreshContainerAssetsResult.h b/sas/include/alibabacloud/sas/model/RefreshContainerAssetsResult.h new file mode 100644 index 000000000..b0e751acb --- /dev/null +++ b/sas/include/alibabacloud/sas/model/RefreshContainerAssetsResult.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_SAS_MODEL_REFRESHCONTAINERASSETSRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_REFRESHCONTAINERASSETSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT RefreshContainerAssetsResult : public ServiceResult + { + public: + + + RefreshContainerAssetsResult(); + explicit RefreshContainerAssetsResult(const std::string &payload); + ~RefreshContainerAssetsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_REFRESHCONTAINERASSETSRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/RollbackSuspEventQuaraFileRequest.h b/sas/include/alibabacloud/sas/model/RollbackSuspEventQuaraFileRequest.h new file mode 100644 index 000000000..72140ce08 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/RollbackSuspEventQuaraFileRequest.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_SAS_MODEL_ROLLBACKSUSPEVENTQUARAFILEREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_ROLLBACKSUSPEVENTQUARAFILEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT RollbackSuspEventQuaraFileRequest : public RpcServiceRequest + { + + public: + RollbackSuspEventQuaraFileRequest(); + ~RollbackSuspEventQuaraFileRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getFrom()const; + void setFrom(const std::string& from); + int getQuaraFileId()const; + void setQuaraFileId(int quaraFileId); + + private: + std::string sourceIp_; + std::string from_; + int quaraFileId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_ROLLBACKSUSPEVENTQUARAFILEREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/RollbackSuspEventQuaraFileResult.h b/sas/include/alibabacloud/sas/model/RollbackSuspEventQuaraFileResult.h new file mode 100644 index 000000000..7b7525f08 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/RollbackSuspEventQuaraFileResult.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_SAS_MODEL_ROLLBACKSUSPEVENTQUARAFILERESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_ROLLBACKSUSPEVENTQUARAFILERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT RollbackSuspEventQuaraFileResult : public ServiceResult + { + public: + + + RollbackSuspEventQuaraFileResult(); + explicit RollbackSuspEventQuaraFileResult(const std::string &payload); + ~RollbackSuspEventQuaraFileResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_ROLLBACKSUSPEVENTQUARAFILERESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/StartImageVulScanRequest.h b/sas/include/alibabacloud/sas/model/StartImageVulScanRequest.h new file mode 100644 index 000000000..e0f8c360a --- /dev/null +++ b/sas/include/alibabacloud/sas/model/StartImageVulScanRequest.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_SAS_MODEL_STARTIMAGEVULSCANREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_STARTIMAGEVULSCANREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT StartImageVulScanRequest : public RpcServiceRequest + { + + public: + StartImageVulScanRequest(); + ~StartImageVulScanRequest(); + + std::string getRepoId()const; + void setRepoId(const std::string& repoId); + std::string getRepoNamespace()const; + void setRepoNamespace(const std::string& repoNamespace); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getImageDigest()const; + void setImageDigest(const std::string& imageDigest); + std::string getRepName()const; + void setRepName(const std::string& repName); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getImageTag()const; + void setImageTag(const std::string& imageTag); + std::vector getRegistryTypes()const; + void setRegistryTypes(const std::vector& registryTypes); + std::string getRepoInstanceId()const; + void setRepoInstanceId(const std::string& repoInstanceId); + std::string getImageLayer()const; + void setImageLayer(const std::string& imageLayer); + std::string getRepoRegionId()const; + void setRepoRegionId(const std::string& repoRegionId); + + private: + std::string repoId_; + std::string repoNamespace_; + std::string sourceIp_; + std::string imageDigest_; + std::string repName_; + std::string lang_; + std::string imageTag_; + std::vector registryTypes_; + std::string repoInstanceId_; + std::string imageLayer_; + std::string repoRegionId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_STARTIMAGEVULSCANREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/StartImageVulScanResult.h b/sas/include/alibabacloud/sas/model/StartImageVulScanResult.h new file mode 100644 index 000000000..76f94b43a --- /dev/null +++ b/sas/include/alibabacloud/sas/model/StartImageVulScanResult.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_SAS_MODEL_STARTIMAGEVULSCANRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_STARTIMAGEVULSCANRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT StartImageVulScanResult : public ServiceResult + { + public: + + + StartImageVulScanResult(); + explicit StartImageVulScanResult(const std::string &payload); + ~StartImageVulScanResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_STARTIMAGEVULSCANRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/StartVirusScanTaskRequest.h b/sas/include/alibabacloud/sas/model/StartVirusScanTaskRequest.h new file mode 100644 index 000000000..7ff3b6bab --- /dev/null +++ b/sas/include/alibabacloud/sas/model/StartVirusScanTaskRequest.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_SAS_MODEL_STARTVIRUSSCANTASKREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_STARTVIRUSSCANTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT StartVirusScanTaskRequest : public RpcServiceRequest + { + + public: + StartVirusScanTaskRequest(); + ~StartVirusScanTaskRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getTargetInfo()const; + void setTargetInfo(const std::string& targetInfo); + + private: + std::string sourceIp_; + std::string targetInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_STARTVIRUSSCANTASKREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/StartVirusScanTaskResult.h b/sas/include/alibabacloud/sas/model/StartVirusScanTaskResult.h new file mode 100644 index 000000000..af43bffb6 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/StartVirusScanTaskResult.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_SAS_MODEL_STARTVIRUSSCANTASKRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_STARTVIRUSSCANTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT StartVirusScanTaskResult : public ServiceResult + { + public: + + + StartVirusScanTaskResult(); + explicit StartVirusScanTaskResult(const std::string &payload); + ~StartVirusScanTaskResult(); + long getScanTaskId()const; + + protected: + void parse(const std::string &payload); + private: + long scanTaskId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_STARTVIRUSSCANTASKRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/UnbindAegisRequest.h b/sas/include/alibabacloud/sas/model/UnbindAegisRequest.h new file mode 100644 index 000000000..cccc34b2e --- /dev/null +++ b/sas/include/alibabacloud/sas/model/UnbindAegisRequest.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_SAS_MODEL_UNBINDAEGISREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_UNBINDAEGISREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT UnbindAegisRequest : public RpcServiceRequest + { + + public: + UnbindAegisRequest(); + ~UnbindAegisRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getUuids()const; + void setUuids(const std::string& uuids); + + private: + std::string sourceIp_; + std::string uuids_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_UNBINDAEGISREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/UnbindAegisResult.h b/sas/include/alibabacloud/sas/model/UnbindAegisResult.h new file mode 100644 index 000000000..1ca30c9eb --- /dev/null +++ b/sas/include/alibabacloud/sas/model/UnbindAegisResult.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_SAS_MODEL_UNBINDAEGISRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_UNBINDAEGISRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT UnbindAegisResult : public ServiceResult + { + public: + + + UnbindAegisResult(); + explicit UnbindAegisResult(const std::string &payload); + ~UnbindAegisResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_UNBINDAEGISRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/UninstallBackupClientRequest.h b/sas/include/alibabacloud/sas/model/UninstallBackupClientRequest.h new file mode 100644 index 000000000..b508682e8 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/UninstallBackupClientRequest.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_SAS_MODEL_UNINSTALLBACKUPCLIENTREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_UNINSTALLBACKUPCLIENTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT UninstallBackupClientRequest : public RpcServiceRequest + { + + public: + UninstallBackupClientRequest(); + ~UninstallBackupClientRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getPolicyVersion()const; + void setPolicyVersion(const std::string& policyVersion); + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::vector getUuidList()const; + void setUuidList(const std::vector& uuidList); + + private: + long resourceOwnerId_; + std::string policyVersion_; + std::string uuid_; + std::string sourceIp_; + std::vector uuidList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_UNINSTALLBACKUPCLIENTREQUEST_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/UninstallBackupClientResult.h b/sas/include/alibabacloud/sas/model/UninstallBackupClientResult.h new file mode 100644 index 000000000..ec010a5d8 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/UninstallBackupClientResult.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_SAS_MODEL_UNINSTALLBACKUPCLIENTRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_UNINSTALLBACKUPCLIENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT UninstallBackupClientResult : public ServiceResult + { + public: + + + UninstallBackupClientResult(); + explicit UninstallBackupClientResult(const std::string &payload); + ~UninstallBackupClientResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_UNINSTALLBACKUPCLIENTRESULT_H_ \ No newline at end of file diff --git a/sas/src/SasClient.cc b/sas/src/SasClient.cc index 17c5bd518..1dff75095 100644 --- a/sas/src/SasClient.cc +++ b/sas/src/SasClient.cc @@ -51,6 +51,114 @@ SasClient::SasClient(const std::string & accessKeyId, const std::string & access SasClient::~SasClient() {} +SasClient::AddVpcHoneyPotOutcome SasClient::addVpcHoneyPot(const AddVpcHoneyPotRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddVpcHoneyPotOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddVpcHoneyPotOutcome(AddVpcHoneyPotResult(outcome.result())); + else + return AddVpcHoneyPotOutcome(outcome.error()); +} + +void SasClient::addVpcHoneyPotAsync(const AddVpcHoneyPotRequest& request, const AddVpcHoneyPotAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addVpcHoneyPot(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::AddVpcHoneyPotOutcomeCallable SasClient::addVpcHoneyPotCallable(const AddVpcHoneyPotRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addVpcHoneyPot(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::CheckQuaraFileIdOutcome SasClient::checkQuaraFileId(const CheckQuaraFileIdRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CheckQuaraFileIdOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CheckQuaraFileIdOutcome(CheckQuaraFileIdResult(outcome.result())); + else + return CheckQuaraFileIdOutcome(outcome.error()); +} + +void SasClient::checkQuaraFileIdAsync(const CheckQuaraFileIdRequest& request, const CheckQuaraFileIdAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, checkQuaraFileId(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::CheckQuaraFileIdOutcomeCallable SasClient::checkQuaraFileIdCallable(const CheckQuaraFileIdRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->checkQuaraFileId(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::CheckSecurityEventIdOutcome SasClient::checkSecurityEventId(const CheckSecurityEventIdRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CheckSecurityEventIdOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CheckSecurityEventIdOutcome(CheckSecurityEventIdResult(outcome.result())); + else + return CheckSecurityEventIdOutcome(outcome.error()); +} + +void SasClient::checkSecurityEventIdAsync(const CheckSecurityEventIdRequest& request, const CheckSecurityEventIdAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, checkSecurityEventId(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::CheckSecurityEventIdOutcomeCallable SasClient::checkSecurityEventIdCallable(const CheckSecurityEventIdRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->checkSecurityEventId(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::CreateAntiBruteForceRuleOutcome SasClient::createAntiBruteForceRule(const CreateAntiBruteForceRuleRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -87,6 +195,42 @@ SasClient::CreateAntiBruteForceRuleOutcomeCallable SasClient::createAntiBruteFor return task->get_future(); } +SasClient::CreateBackupPolicyOutcome SasClient::createBackupPolicy(const CreateBackupPolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateBackupPolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateBackupPolicyOutcome(CreateBackupPolicyResult(outcome.result())); + else + return CreateBackupPolicyOutcome(outcome.error()); +} + +void SasClient::createBackupPolicyAsync(const CreateBackupPolicyRequest& request, const CreateBackupPolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createBackupPolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::CreateBackupPolicyOutcomeCallable SasClient::createBackupPolicyCallable(const CreateBackupPolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createBackupPolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::CreateOrUpdateAssetGroupOutcome SasClient::createOrUpdateAssetGroup(const CreateOrUpdateAssetGroupRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -123,6 +267,114 @@ SasClient::CreateOrUpdateAssetGroupOutcomeCallable SasClient::createOrUpdateAsse return task->get_future(); } +SasClient::CreateRestoreJobOutcome SasClient::createRestoreJob(const CreateRestoreJobRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateRestoreJobOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateRestoreJobOutcome(CreateRestoreJobResult(outcome.result())); + else + return CreateRestoreJobOutcome(outcome.error()); +} + +void SasClient::createRestoreJobAsync(const CreateRestoreJobRequest& request, const CreateRestoreJobAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createRestoreJob(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::CreateRestoreJobOutcomeCallable SasClient::createRestoreJobCallable(const CreateRestoreJobRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createRestoreJob(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::CreateSasOrderOutcome SasClient::createSasOrder(const CreateSasOrderRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateSasOrderOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateSasOrderOutcome(CreateSasOrderResult(outcome.result())); + else + return CreateSasOrderOutcome(outcome.error()); +} + +void SasClient::createSasOrderAsync(const CreateSasOrderRequest& request, const CreateSasOrderAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createSasOrder(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::CreateSasOrderOutcomeCallable SasClient::createSasOrderCallable(const CreateSasOrderRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createSasOrder(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::CreateServiceLinkedRoleOutcome SasClient::createServiceLinkedRole(const CreateServiceLinkedRoleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateServiceLinkedRoleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateServiceLinkedRoleOutcome(CreateServiceLinkedRoleResult(outcome.result())); + else + return CreateServiceLinkedRoleOutcome(outcome.error()); +} + +void SasClient::createServiceLinkedRoleAsync(const CreateServiceLinkedRoleRequest& request, const CreateServiceLinkedRoleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createServiceLinkedRole(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::CreateServiceLinkedRoleOutcomeCallable SasClient::createServiceLinkedRoleCallable(const CreateServiceLinkedRoleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createServiceLinkedRole(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::CreateSimilarSecurityEventsQueryTaskOutcome SasClient::createSimilarSecurityEventsQueryTask(const CreateSimilarSecurityEventsQueryTaskRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -159,6 +411,78 @@ SasClient::CreateSimilarSecurityEventsQueryTaskOutcomeCallable SasClient::create return task->get_future(); } +SasClient::DeleteBackupPolicyOutcome SasClient::deleteBackupPolicy(const DeleteBackupPolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteBackupPolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteBackupPolicyOutcome(DeleteBackupPolicyResult(outcome.result())); + else + return DeleteBackupPolicyOutcome(outcome.error()); +} + +void SasClient::deleteBackupPolicyAsync(const DeleteBackupPolicyRequest& request, const DeleteBackupPolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteBackupPolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DeleteBackupPolicyOutcomeCallable SasClient::deleteBackupPolicyCallable(const DeleteBackupPolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteBackupPolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DeleteBackupPolicyMachineOutcome SasClient::deleteBackupPolicyMachine(const DeleteBackupPolicyMachineRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteBackupPolicyMachineOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteBackupPolicyMachineOutcome(DeleteBackupPolicyMachineResult(outcome.result())); + else + return DeleteBackupPolicyMachineOutcome(outcome.error()); +} + +void SasClient::deleteBackupPolicyMachineAsync(const DeleteBackupPolicyMachineRequest& request, const DeleteBackupPolicyMachineAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteBackupPolicyMachine(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DeleteBackupPolicyMachineOutcomeCallable SasClient::deleteBackupPolicyMachineCallable(const DeleteBackupPolicyMachineRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteBackupPolicyMachine(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DeleteGroupOutcome SasClient::deleteGroup(const DeleteGroupRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -267,6 +591,114 @@ SasClient::DeleteTagWithUuidOutcomeCallable SasClient::deleteTagWithUuidCallable return task->get_future(); } +SasClient::DeleteVpcHoneyPotOutcome SasClient::deleteVpcHoneyPot(const DeleteVpcHoneyPotRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteVpcHoneyPotOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteVpcHoneyPotOutcome(DeleteVpcHoneyPotResult(outcome.result())); + else + return DeleteVpcHoneyPotOutcome(outcome.error()); +} + +void SasClient::deleteVpcHoneyPotAsync(const DeleteVpcHoneyPotRequest& request, const DeleteVpcHoneyPotAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteVpcHoneyPot(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DeleteVpcHoneyPotOutcomeCallable SasClient::deleteVpcHoneyPotCallable(const DeleteVpcHoneyPotRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteVpcHoneyPot(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeAccesskeyLeakListOutcome SasClient::describeAccesskeyLeakList(const DescribeAccesskeyLeakListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAccesskeyLeakListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAccesskeyLeakListOutcome(DescribeAccesskeyLeakListResult(outcome.result())); + else + return DescribeAccesskeyLeakListOutcome(outcome.error()); +} + +void SasClient::describeAccesskeyLeakListAsync(const DescribeAccesskeyLeakListRequest& request, const DescribeAccesskeyLeakListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAccesskeyLeakList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeAccesskeyLeakListOutcomeCallable SasClient::describeAccesskeyLeakListCallable(const DescribeAccesskeyLeakListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAccesskeyLeakList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeAffectedMaliciousFileImagesOutcome SasClient::describeAffectedMaliciousFileImages(const DescribeAffectedMaliciousFileImagesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAffectedMaliciousFileImagesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAffectedMaliciousFileImagesOutcome(DescribeAffectedMaliciousFileImagesResult(outcome.result())); + else + return DescribeAffectedMaliciousFileImagesOutcome(outcome.error()); +} + +void SasClient::describeAffectedMaliciousFileImagesAsync(const DescribeAffectedMaliciousFileImagesRequest& request, const DescribeAffectedMaliciousFileImagesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAffectedMaliciousFileImages(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeAffectedMaliciousFileImagesOutcomeCallable SasClient::describeAffectedMaliciousFileImagesCallable(const DescribeAffectedMaliciousFileImagesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAffectedMaliciousFileImages(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DescribeAlarmEventDetailOutcome SasClient::describeAlarmEventDetail(const DescribeAlarmEventDetailRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -339,6 +771,42 @@ SasClient::DescribeAlarmEventListOutcomeCallable SasClient::describeAlarmEventLi return task->get_future(); } +SasClient::DescribeAlarmEventStackInfoOutcome SasClient::describeAlarmEventStackInfo(const DescribeAlarmEventStackInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAlarmEventStackInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAlarmEventStackInfoOutcome(DescribeAlarmEventStackInfoResult(outcome.result())); + else + return DescribeAlarmEventStackInfoOutcome(outcome.error()); +} + +void SasClient::describeAlarmEventStackInfoAsync(const DescribeAlarmEventStackInfoRequest& request, const DescribeAlarmEventStackInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAlarmEventStackInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeAlarmEventStackInfoOutcomeCallable SasClient::describeAlarmEventStackInfoCallable(const DescribeAlarmEventStackInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAlarmEventStackInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DescribeAllEntityOutcome SasClient::describeAllEntity(const DescribeAllEntityRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -447,6 +915,42 @@ SasClient::DescribeAllRegionsStatisticsOutcomeCallable SasClient::describeAllReg return task->get_future(); } +SasClient::DescribeAntiBruteForceRulesOutcome SasClient::describeAntiBruteForceRules(const DescribeAntiBruteForceRulesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAntiBruteForceRulesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAntiBruteForceRulesOutcome(DescribeAntiBruteForceRulesResult(outcome.result())); + else + return DescribeAntiBruteForceRulesOutcome(outcome.error()); +} + +void SasClient::describeAntiBruteForceRulesAsync(const DescribeAntiBruteForceRulesRequest& request, const DescribeAntiBruteForceRulesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAntiBruteForceRules(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeAntiBruteForceRulesOutcomeCallable SasClient::describeAntiBruteForceRulesCallable(const DescribeAntiBruteForceRulesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAntiBruteForceRules(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DescribeAssetDetailByUuidOutcome SasClient::describeAssetDetailByUuid(const DescribeAssetDetailByUuidRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -555,6 +1059,294 @@ SasClient::DescribeAutoDelConfigOutcomeCallable SasClient::describeAutoDelConfig return task->get_future(); } +SasClient::DescribeBackupDirsOutcome SasClient::describeBackupDirs(const DescribeBackupDirsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBackupDirsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBackupDirsOutcome(DescribeBackupDirsResult(outcome.result())); + else + return DescribeBackupDirsOutcome(outcome.error()); +} + +void SasClient::describeBackupDirsAsync(const DescribeBackupDirsRequest& request, const DescribeBackupDirsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBackupDirs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeBackupDirsOutcomeCallable SasClient::describeBackupDirsCallable(const DescribeBackupDirsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBackupDirs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeBackupFilesOutcome SasClient::describeBackupFiles(const DescribeBackupFilesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBackupFilesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBackupFilesOutcome(DescribeBackupFilesResult(outcome.result())); + else + return DescribeBackupFilesOutcome(outcome.error()); +} + +void SasClient::describeBackupFilesAsync(const DescribeBackupFilesRequest& request, const DescribeBackupFilesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBackupFiles(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeBackupFilesOutcomeCallable SasClient::describeBackupFilesCallable(const DescribeBackupFilesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBackupFiles(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeBackupMachineStatusOutcome SasClient::describeBackupMachineStatus(const DescribeBackupMachineStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBackupMachineStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBackupMachineStatusOutcome(DescribeBackupMachineStatusResult(outcome.result())); + else + return DescribeBackupMachineStatusOutcome(outcome.error()); +} + +void SasClient::describeBackupMachineStatusAsync(const DescribeBackupMachineStatusRequest& request, const DescribeBackupMachineStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBackupMachineStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeBackupMachineStatusOutcomeCallable SasClient::describeBackupMachineStatusCallable(const DescribeBackupMachineStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBackupMachineStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeBackupPoliciesOutcome SasClient::describeBackupPolicies(const DescribeBackupPoliciesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBackupPoliciesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBackupPoliciesOutcome(DescribeBackupPoliciesResult(outcome.result())); + else + return DescribeBackupPoliciesOutcome(outcome.error()); +} + +void SasClient::describeBackupPoliciesAsync(const DescribeBackupPoliciesRequest& request, const DescribeBackupPoliciesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBackupPolicies(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeBackupPoliciesOutcomeCallable SasClient::describeBackupPoliciesCallable(const DescribeBackupPoliciesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBackupPolicies(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeBackupPolicyOutcome SasClient::describeBackupPolicy(const DescribeBackupPolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBackupPolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBackupPolicyOutcome(DescribeBackupPolicyResult(outcome.result())); + else + return DescribeBackupPolicyOutcome(outcome.error()); +} + +void SasClient::describeBackupPolicyAsync(const DescribeBackupPolicyRequest& request, const DescribeBackupPolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBackupPolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeBackupPolicyOutcomeCallable SasClient::describeBackupPolicyCallable(const DescribeBackupPolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBackupPolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeBackupRestoreCountOutcome SasClient::describeBackupRestoreCount(const DescribeBackupRestoreCountRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBackupRestoreCountOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBackupRestoreCountOutcome(DescribeBackupRestoreCountResult(outcome.result())); + else + return DescribeBackupRestoreCountOutcome(outcome.error()); +} + +void SasClient::describeBackupRestoreCountAsync(const DescribeBackupRestoreCountRequest& request, const DescribeBackupRestoreCountAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBackupRestoreCount(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeBackupRestoreCountOutcomeCallable SasClient::describeBackupRestoreCountCallable(const DescribeBackupRestoreCountRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBackupRestoreCount(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeBruteForceSummaryOutcome SasClient::describeBruteForceSummary(const DescribeBruteForceSummaryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBruteForceSummaryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBruteForceSummaryOutcome(DescribeBruteForceSummaryResult(outcome.result())); + else + return DescribeBruteForceSummaryOutcome(outcome.error()); +} + +void SasClient::describeBruteForceSummaryAsync(const DescribeBruteForceSummaryRequest& request, const DescribeBruteForceSummaryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBruteForceSummary(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeBruteForceSummaryOutcomeCallable SasClient::describeBruteForceSummaryCallable(const DescribeBruteForceSummaryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBruteForceSummary(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeCheckEcsWarningsOutcome SasClient::describeCheckEcsWarnings(const DescribeCheckEcsWarningsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCheckEcsWarningsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCheckEcsWarningsOutcome(DescribeCheckEcsWarningsResult(outcome.result())); + else + return DescribeCheckEcsWarningsOutcome(outcome.error()); +} + +void SasClient::describeCheckEcsWarningsAsync(const DescribeCheckEcsWarningsRequest& request, const DescribeCheckEcsWarningsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCheckEcsWarnings(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeCheckEcsWarningsOutcomeCallable SasClient::describeCheckEcsWarningsCallable(const DescribeCheckEcsWarningsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCheckEcsWarnings(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DescribeCheckWarningDetailOutcome SasClient::describeCheckWarningDetail(const DescribeCheckWarningDetailRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -771,6 +1563,42 @@ SasClient::DescribeConcernNecessityOutcomeCallable SasClient::describeConcernNec return task->get_future(); } +SasClient::DescribeContainerStatisticsOutcome SasClient::describeContainerStatistics(const DescribeContainerStatisticsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeContainerStatisticsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeContainerStatisticsOutcome(DescribeContainerStatisticsResult(outcome.result())); + else + return DescribeContainerStatisticsOutcome(outcome.error()); +} + +void SasClient::describeContainerStatisticsAsync(const DescribeContainerStatisticsRequest& request, const DescribeContainerStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeContainerStatistics(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeContainerStatisticsOutcomeCallable SasClient::describeContainerStatisticsCallable(const DescribeContainerStatisticsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeContainerStatistics(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DescribeCriteriaOutcome SasClient::describeCriteria(const DescribeCriteriaRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -987,36 +1815,72 @@ SasClient::DescribeDomainListOutcomeCallable SasClient::describeDomainListCallab return task->get_future(); } -SasClient::DescribeEmgVulGroupOutcome SasClient::describeEmgVulGroup(const DescribeEmgVulGroupRequest &request) const +SasClient::DescribeEmgVulItemOutcome SasClient::describeEmgVulItem(const DescribeEmgVulItemRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DescribeEmgVulGroupOutcome(endpointOutcome.error()); + return DescribeEmgVulItemOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DescribeEmgVulGroupOutcome(DescribeEmgVulGroupResult(outcome.result())); + return DescribeEmgVulItemOutcome(DescribeEmgVulItemResult(outcome.result())); else - return DescribeEmgVulGroupOutcome(outcome.error()); + return DescribeEmgVulItemOutcome(outcome.error()); } -void SasClient::describeEmgVulGroupAsync(const DescribeEmgVulGroupRequest& request, const DescribeEmgVulGroupAsyncHandler& handler, const std::shared_ptr& context) const +void SasClient::describeEmgVulItemAsync(const DescribeEmgVulItemRequest& request, const DescribeEmgVulItemAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, describeEmgVulGroup(request), context); + handler(this, request, describeEmgVulItem(request), context); }; asyncExecute(new Runnable(fn)); } -SasClient::DescribeEmgVulGroupOutcomeCallable SasClient::describeEmgVulGroupCallable(const DescribeEmgVulGroupRequest &request) const +SasClient::DescribeEmgVulItemOutcomeCallable SasClient::describeEmgVulItemCallable(const DescribeEmgVulItemRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->describeEmgVulGroup(request); + return this->describeEmgVulItem(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeExcludeSystemPathOutcome SasClient::describeExcludeSystemPath(const DescribeExcludeSystemPathRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeExcludeSystemPathOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeExcludeSystemPathOutcome(DescribeExcludeSystemPathResult(outcome.result())); + else + return DescribeExcludeSystemPathOutcome(outcome.error()); +} + +void SasClient::describeExcludeSystemPathAsync(const DescribeExcludeSystemPathRequest& request, const DescribeExcludeSystemPathAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeExcludeSystemPath(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeExcludeSystemPathOutcomeCallable SasClient::describeExcludeSystemPathCallable(const DescribeExcludeSystemPathRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeExcludeSystemPath(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -1059,6 +1923,186 @@ SasClient::DescribeExportInfoOutcomeCallable SasClient::describeExportInfoCallab return task->get_future(); } +SasClient::DescribeExposedInstanceCriteriaOutcome SasClient::describeExposedInstanceCriteria(const DescribeExposedInstanceCriteriaRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeExposedInstanceCriteriaOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeExposedInstanceCriteriaOutcome(DescribeExposedInstanceCriteriaResult(outcome.result())); + else + return DescribeExposedInstanceCriteriaOutcome(outcome.error()); +} + +void SasClient::describeExposedInstanceCriteriaAsync(const DescribeExposedInstanceCriteriaRequest& request, const DescribeExposedInstanceCriteriaAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeExposedInstanceCriteria(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeExposedInstanceCriteriaOutcomeCallable SasClient::describeExposedInstanceCriteriaCallable(const DescribeExposedInstanceCriteriaRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeExposedInstanceCriteria(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeExposedInstanceDetailOutcome SasClient::describeExposedInstanceDetail(const DescribeExposedInstanceDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeExposedInstanceDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeExposedInstanceDetailOutcome(DescribeExposedInstanceDetailResult(outcome.result())); + else + return DescribeExposedInstanceDetailOutcome(outcome.error()); +} + +void SasClient::describeExposedInstanceDetailAsync(const DescribeExposedInstanceDetailRequest& request, const DescribeExposedInstanceDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeExposedInstanceDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeExposedInstanceDetailOutcomeCallable SasClient::describeExposedInstanceDetailCallable(const DescribeExposedInstanceDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeExposedInstanceDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeExposedInstanceListOutcome SasClient::describeExposedInstanceList(const DescribeExposedInstanceListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeExposedInstanceListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeExposedInstanceListOutcome(DescribeExposedInstanceListResult(outcome.result())); + else + return DescribeExposedInstanceListOutcome(outcome.error()); +} + +void SasClient::describeExposedInstanceListAsync(const DescribeExposedInstanceListRequest& request, const DescribeExposedInstanceListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeExposedInstanceList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeExposedInstanceListOutcomeCallable SasClient::describeExposedInstanceListCallable(const DescribeExposedInstanceListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeExposedInstanceList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeExposedStatisticsOutcome SasClient::describeExposedStatistics(const DescribeExposedStatisticsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeExposedStatisticsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeExposedStatisticsOutcome(DescribeExposedStatisticsResult(outcome.result())); + else + return DescribeExposedStatisticsOutcome(outcome.error()); +} + +void SasClient::describeExposedStatisticsAsync(const DescribeExposedStatisticsRequest& request, const DescribeExposedStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeExposedStatistics(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeExposedStatisticsOutcomeCallable SasClient::describeExposedStatisticsCallable(const DescribeExposedStatisticsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeExposedStatistics(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeExposedStatisticsDetailOutcome SasClient::describeExposedStatisticsDetail(const DescribeExposedStatisticsDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeExposedStatisticsDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeExposedStatisticsDetailOutcome(DescribeExposedStatisticsDetailResult(outcome.result())); + else + return DescribeExposedStatisticsDetailOutcome(outcome.error()); +} + +void SasClient::describeExposedStatisticsDetailAsync(const DescribeExposedStatisticsDetailRequest& request, const DescribeExposedStatisticsDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeExposedStatisticsDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeExposedStatisticsDetailOutcomeCallable SasClient::describeExposedStatisticsDetailCallable(const DescribeExposedStatisticsDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeExposedStatisticsDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DescribeFieldStatisticsOutcome SasClient::describeFieldStatistics(const DescribeFieldStatisticsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1095,6 +2139,42 @@ SasClient::DescribeFieldStatisticsOutcomeCallable SasClient::describeFieldStatis return task->get_future(); } +SasClient::DescribeFrontVulPatchListOutcome SasClient::describeFrontVulPatchList(const DescribeFrontVulPatchListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeFrontVulPatchListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeFrontVulPatchListOutcome(DescribeFrontVulPatchListResult(outcome.result())); + else + return DescribeFrontVulPatchListOutcome(outcome.error()); +} + +void SasClient::describeFrontVulPatchListAsync(const DescribeFrontVulPatchListRequest& request, const DescribeFrontVulPatchListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeFrontVulPatchList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeFrontVulPatchListOutcomeCallable SasClient::describeFrontVulPatchListCallable(const DescribeFrontVulPatchListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeFrontVulPatchList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DescribeGraph4InvestigationOnlineOutcome SasClient::describeGraph4InvestigationOnline(const DescribeGraph4InvestigationOnlineRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1131,6 +2211,114 @@ SasClient::DescribeGraph4InvestigationOnlineOutcomeCallable SasClient::describeG return task->get_future(); } +SasClient::DescribeGroupedContainerInstancesOutcome SasClient::describeGroupedContainerInstances(const DescribeGroupedContainerInstancesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeGroupedContainerInstancesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeGroupedContainerInstancesOutcome(DescribeGroupedContainerInstancesResult(outcome.result())); + else + return DescribeGroupedContainerInstancesOutcome(outcome.error()); +} + +void SasClient::describeGroupedContainerInstancesAsync(const DescribeGroupedContainerInstancesRequest& request, const DescribeGroupedContainerInstancesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeGroupedContainerInstances(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeGroupedContainerInstancesOutcomeCallable SasClient::describeGroupedContainerInstancesCallable(const DescribeGroupedContainerInstancesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeGroupedContainerInstances(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeGroupedInstancesOutcome SasClient::describeGroupedInstances(const DescribeGroupedInstancesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeGroupedInstancesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeGroupedInstancesOutcome(DescribeGroupedInstancesResult(outcome.result())); + else + return DescribeGroupedInstancesOutcome(outcome.error()); +} + +void SasClient::describeGroupedInstancesAsync(const DescribeGroupedInstancesRequest& request, const DescribeGroupedInstancesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeGroupedInstances(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeGroupedInstancesOutcomeCallable SasClient::describeGroupedInstancesCallable(const DescribeGroupedInstancesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeGroupedInstances(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeGroupedMaliciousFilesOutcome SasClient::describeGroupedMaliciousFiles(const DescribeGroupedMaliciousFilesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeGroupedMaliciousFilesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeGroupedMaliciousFilesOutcome(DescribeGroupedMaliciousFilesResult(outcome.result())); + else + return DescribeGroupedMaliciousFilesOutcome(outcome.error()); +} + +void SasClient::describeGroupedMaliciousFilesAsync(const DescribeGroupedMaliciousFilesRequest& request, const DescribeGroupedMaliciousFilesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeGroupedMaliciousFiles(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeGroupedMaliciousFilesOutcomeCallable SasClient::describeGroupedMaliciousFilesCallable(const DescribeGroupedMaliciousFilesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeGroupedMaliciousFiles(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DescribeGroupedTagsOutcome SasClient::describeGroupedTags(const DescribeGroupedTagsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1203,6 +2391,258 @@ SasClient::DescribeGroupedVulOutcomeCallable SasClient::describeGroupedVulCallab return task->get_future(); } +SasClient::DescribeHoneyPotAuthOutcome SasClient::describeHoneyPotAuth(const DescribeHoneyPotAuthRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeHoneyPotAuthOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeHoneyPotAuthOutcome(DescribeHoneyPotAuthResult(outcome.result())); + else + return DescribeHoneyPotAuthOutcome(outcome.error()); +} + +void SasClient::describeHoneyPotAuthAsync(const DescribeHoneyPotAuthRequest& request, const DescribeHoneyPotAuthAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeHoneyPotAuth(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeHoneyPotAuthOutcomeCallable SasClient::describeHoneyPotAuthCallable(const DescribeHoneyPotAuthRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeHoneyPotAuth(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeHoneyPotSuspStatisticsOutcome SasClient::describeHoneyPotSuspStatistics(const DescribeHoneyPotSuspStatisticsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeHoneyPotSuspStatisticsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeHoneyPotSuspStatisticsOutcome(DescribeHoneyPotSuspStatisticsResult(outcome.result())); + else + return DescribeHoneyPotSuspStatisticsOutcome(outcome.error()); +} + +void SasClient::describeHoneyPotSuspStatisticsAsync(const DescribeHoneyPotSuspStatisticsRequest& request, const DescribeHoneyPotSuspStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeHoneyPotSuspStatistics(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeHoneyPotSuspStatisticsOutcomeCallable SasClient::describeHoneyPotSuspStatisticsCallable(const DescribeHoneyPotSuspStatisticsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeHoneyPotSuspStatistics(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeImageGroupedVulListOutcome SasClient::describeImageGroupedVulList(const DescribeImageGroupedVulListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeImageGroupedVulListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeImageGroupedVulListOutcome(DescribeImageGroupedVulListResult(outcome.result())); + else + return DescribeImageGroupedVulListOutcome(outcome.error()); +} + +void SasClient::describeImageGroupedVulListAsync(const DescribeImageGroupedVulListRequest& request, const DescribeImageGroupedVulListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeImageGroupedVulList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeImageGroupedVulListOutcomeCallable SasClient::describeImageGroupedVulListCallable(const DescribeImageGroupedVulListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeImageGroupedVulList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeImageStatisticsOutcome SasClient::describeImageStatistics(const DescribeImageStatisticsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeImageStatisticsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeImageStatisticsOutcome(DescribeImageStatisticsResult(outcome.result())); + else + return DescribeImageStatisticsOutcome(outcome.error()); +} + +void SasClient::describeImageStatisticsAsync(const DescribeImageStatisticsRequest& request, const DescribeImageStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeImageStatistics(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeImageStatisticsOutcomeCallable SasClient::describeImageStatisticsCallable(const DescribeImageStatisticsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeImageStatistics(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeImageVulListOutcome SasClient::describeImageVulList(const DescribeImageVulListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeImageVulListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeImageVulListOutcome(DescribeImageVulListResult(outcome.result())); + else + return DescribeImageVulListOutcome(outcome.error()); +} + +void SasClient::describeImageVulListAsync(const DescribeImageVulListRequest& request, const DescribeImageVulListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeImageVulList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeImageVulListOutcomeCallable SasClient::describeImageVulListCallable(const DescribeImageVulListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeImageVulList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeInstallCaptchaOutcome SasClient::describeInstallCaptcha(const DescribeInstallCaptchaRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeInstallCaptchaOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeInstallCaptchaOutcome(DescribeInstallCaptchaResult(outcome.result())); + else + return DescribeInstallCaptchaOutcome(outcome.error()); +} + +void SasClient::describeInstallCaptchaAsync(const DescribeInstallCaptchaRequest& request, const DescribeInstallCaptchaAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeInstallCaptcha(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeInstallCaptchaOutcomeCallable SasClient::describeInstallCaptchaCallable(const DescribeInstallCaptchaRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeInstallCaptcha(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeInstanceAntiBruteForceRulesOutcome SasClient::describeInstanceAntiBruteForceRules(const DescribeInstanceAntiBruteForceRulesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeInstanceAntiBruteForceRulesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeInstanceAntiBruteForceRulesOutcome(DescribeInstanceAntiBruteForceRulesResult(outcome.result())); + else + return DescribeInstanceAntiBruteForceRulesOutcome(outcome.error()); +} + +void SasClient::describeInstanceAntiBruteForceRulesAsync(const DescribeInstanceAntiBruteForceRulesRequest& request, const DescribeInstanceAntiBruteForceRulesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeInstanceAntiBruteForceRules(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeInstanceAntiBruteForceRulesOutcomeCallable SasClient::describeInstanceAntiBruteForceRulesCallable(const DescribeInstanceAntiBruteForceRulesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeInstanceAntiBruteForceRules(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DescribeInstanceStatisticsOutcome SasClient::describeInstanceStatistics(const DescribeInstanceStatisticsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1275,6 +2715,42 @@ SasClient::DescribeIpInfoOutcomeCallable SasClient::describeIpInfoCallable(const return task->get_future(); } +SasClient::DescribeLogstoreStorageOutcome SasClient::describeLogstoreStorage(const DescribeLogstoreStorageRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLogstoreStorageOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLogstoreStorageOutcome(DescribeLogstoreStorageResult(outcome.result())); + else + return DescribeLogstoreStorageOutcome(outcome.error()); +} + +void SasClient::describeLogstoreStorageAsync(const DescribeLogstoreStorageRequest& request, const DescribeLogstoreStorageAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLogstoreStorage(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeLogstoreStorageOutcomeCallable SasClient::describeLogstoreStorageCallable(const DescribeLogstoreStorageRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLogstoreStorage(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DescribeModuleConfigOutcome SasClient::describeModuleConfig(const DescribeModuleConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1383,6 +2859,42 @@ SasClient::DescribePropertyCountOutcomeCallable SasClient::describePropertyCount return task->get_future(); } +SasClient::DescribePropertyCronDetailOutcome SasClient::describePropertyCronDetail(const DescribePropertyCronDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribePropertyCronDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribePropertyCronDetailOutcome(DescribePropertyCronDetailResult(outcome.result())); + else + return DescribePropertyCronDetailOutcome(outcome.error()); +} + +void SasClient::describePropertyCronDetailAsync(const DescribePropertyCronDetailRequest& request, const DescribePropertyCronDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describePropertyCronDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribePropertyCronDetailOutcomeCallable SasClient::describePropertyCronDetailCallable(const DescribePropertyCronDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describePropertyCronDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DescribePropertyPortDetailOutcome SasClient::describePropertyPortDetail(const DescribePropertyPortDetailRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1527,6 +3039,42 @@ SasClient::DescribePropertyProcItemOutcomeCallable SasClient::describePropertyPr return task->get_future(); } +SasClient::DescribePropertyScaDetailOutcome SasClient::describePropertyScaDetail(const DescribePropertyScaDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribePropertyScaDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribePropertyScaDetailOutcome(DescribePropertyScaDetailResult(outcome.result())); + else + return DescribePropertyScaDetailOutcome(outcome.error()); +} + +void SasClient::describePropertyScaDetailAsync(const DescribePropertyScaDetailRequest& request, const DescribePropertyScaDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describePropertyScaDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribePropertyScaDetailOutcomeCallable SasClient::describePropertyScaDetailCallable(const DescribePropertyScaDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describePropertyScaDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DescribePropertySoftwareDetailOutcome SasClient::describePropertySoftwareDetail(const DescribePropertySoftwareDetailRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1707,6 +3255,78 @@ SasClient::DescribePropertyUserItemOutcomeCallable SasClient::describePropertyUs return task->get_future(); } +SasClient::DescribeQuaraFileDownloadInfoOutcome SasClient::describeQuaraFileDownloadInfo(const DescribeQuaraFileDownloadInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeQuaraFileDownloadInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeQuaraFileDownloadInfoOutcome(DescribeQuaraFileDownloadInfoResult(outcome.result())); + else + return DescribeQuaraFileDownloadInfoOutcome(outcome.error()); +} + +void SasClient::describeQuaraFileDownloadInfoAsync(const DescribeQuaraFileDownloadInfoRequest& request, const DescribeQuaraFileDownloadInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeQuaraFileDownloadInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeQuaraFileDownloadInfoOutcomeCallable SasClient::describeQuaraFileDownloadInfoCallable(const DescribeQuaraFileDownloadInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeQuaraFileDownloadInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeRestoreJobsOutcome SasClient::describeRestoreJobs(const DescribeRestoreJobsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRestoreJobsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRestoreJobsOutcome(DescribeRestoreJobsResult(outcome.result())); + else + return DescribeRestoreJobsOutcome(outcome.error()); +} + +void SasClient::describeRestoreJobsAsync(const DescribeRestoreJobsRequest& request, const DescribeRestoreJobsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRestoreJobs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeRestoreJobsOutcomeCallable SasClient::describeRestoreJobsCallable(const DescribeRestoreJobsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRestoreJobs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DescribeRiskCheckItemResultOutcome SasClient::describeRiskCheckItemResult(const DescribeRiskCheckItemResultRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1851,6 +3471,42 @@ SasClient::DescribeRiskItemTypeOutcomeCallable SasClient::describeRiskItemTypeCa return task->get_future(); } +SasClient::DescribeRiskListCheckResultOutcome SasClient::describeRiskListCheckResult(const DescribeRiskListCheckResultRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRiskListCheckResultOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRiskListCheckResultOutcome(DescribeRiskListCheckResultResult(outcome.result())); + else + return DescribeRiskListCheckResultOutcome(outcome.error()); +} + +void SasClient::describeRiskListCheckResultAsync(const DescribeRiskListCheckResultRequest& request, const DescribeRiskListCheckResultAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRiskListCheckResult(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeRiskListCheckResultOutcomeCallable SasClient::describeRiskListCheckResultCallable(const DescribeRiskListCheckResultRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRiskListCheckResult(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DescribeSasAssetStatisticsColumnOutcome SasClient::describeSasAssetStatisticsColumn(const DescribeSasAssetStatisticsColumnRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1887,6 +3543,42 @@ SasClient::DescribeSasAssetStatisticsColumnOutcomeCallable SasClient::describeSa return task->get_future(); } +SasClient::DescribeScanTaskProgressOutcome SasClient::describeScanTaskProgress(const DescribeScanTaskProgressRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeScanTaskProgressOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeScanTaskProgressOutcome(DescribeScanTaskProgressResult(outcome.result())); + else + return DescribeScanTaskProgressOutcome(outcome.error()); +} + +void SasClient::describeScanTaskProgressAsync(const DescribeScanTaskProgressRequest& request, const DescribeScanTaskProgressAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeScanTaskProgress(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeScanTaskProgressOutcomeCallable SasClient::describeScanTaskProgressCallable(const DescribeScanTaskProgressRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeScanTaskProgress(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DescribeSearchConditionOutcome SasClient::describeSearchCondition(const DescribeSearchConditionRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1995,6 +3687,42 @@ SasClient::DescribeSecurityCheckScheduleConfigOutcomeCallable SasClient::describ return task->get_future(); } +SasClient::DescribeSecurityEventOperationStatusOutcome SasClient::describeSecurityEventOperationStatus(const DescribeSecurityEventOperationStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSecurityEventOperationStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSecurityEventOperationStatusOutcome(DescribeSecurityEventOperationStatusResult(outcome.result())); + else + return DescribeSecurityEventOperationStatusOutcome(outcome.error()); +} + +void SasClient::describeSecurityEventOperationStatusAsync(const DescribeSecurityEventOperationStatusRequest& request, const DescribeSecurityEventOperationStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSecurityEventOperationStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeSecurityEventOperationStatusOutcomeCallable SasClient::describeSecurityEventOperationStatusCallable(const DescribeSecurityEventOperationStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSecurityEventOperationStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DescribeSecurityEventOperationsOutcome SasClient::describeSecurityEventOperations(const DescribeSecurityEventOperationsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2067,6 +3795,78 @@ SasClient::DescribeSecurityStatInfoOutcomeCallable SasClient::describeSecuritySt return task->get_future(); } +SasClient::DescribeServiceLinkedRoleStatusOutcome SasClient::describeServiceLinkedRoleStatus(const DescribeServiceLinkedRoleStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeServiceLinkedRoleStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeServiceLinkedRoleStatusOutcome(DescribeServiceLinkedRoleStatusResult(outcome.result())); + else + return DescribeServiceLinkedRoleStatusOutcome(outcome.error()); +} + +void SasClient::describeServiceLinkedRoleStatusAsync(const DescribeServiceLinkedRoleStatusRequest& request, const DescribeServiceLinkedRoleStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeServiceLinkedRoleStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeServiceLinkedRoleStatusOutcomeCallable SasClient::describeServiceLinkedRoleStatusCallable(const DescribeServiceLinkedRoleStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeServiceLinkedRoleStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeSimilarEventScenariosOutcome SasClient::describeSimilarEventScenarios(const DescribeSimilarEventScenariosRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSimilarEventScenariosOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSimilarEventScenariosOutcome(DescribeSimilarEventScenariosResult(outcome.result())); + else + return DescribeSimilarEventScenariosOutcome(outcome.error()); +} + +void SasClient::describeSimilarEventScenariosAsync(const DescribeSimilarEventScenariosRequest& request, const DescribeSimilarEventScenariosAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSimilarEventScenarios(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeSimilarEventScenariosOutcomeCallable SasClient::describeSimilarEventScenariosCallable(const DescribeSimilarEventScenariosRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSimilarEventScenarios(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DescribeSimilarSecurityEventsOutcome SasClient::describeSimilarSecurityEvents(const DescribeSimilarSecurityEventsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2103,6 +3903,42 @@ SasClient::DescribeSimilarSecurityEventsOutcomeCallable SasClient::describeSimil return task->get_future(); } +SasClient::DescribeSnapshotsOutcome SasClient::describeSnapshots(const DescribeSnapshotsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSnapshotsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSnapshotsOutcome(DescribeSnapshotsResult(outcome.result())); + else + return DescribeSnapshotsOutcome(outcome.error()); +} + +void SasClient::describeSnapshotsAsync(const DescribeSnapshotsRequest& request, const DescribeSnapshotsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSnapshots(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeSnapshotsOutcomeCallable SasClient::describeSnapshotsCallable(const DescribeSnapshotsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSnapshots(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DescribeStrategyExecDetailOutcome SasClient::describeStrategyExecDetail(const DescribeStrategyExecDetailRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2139,42 +3975,6 @@ SasClient::DescribeStrategyExecDetailOutcomeCallable SasClient::describeStrategy return task->get_future(); } -SasClient::DescribeStratetyOutcome SasClient::describeStratety(const DescribeStratetyRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeStratetyOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeStratetyOutcome(DescribeStratetyResult(outcome.result())); - else - return DescribeStratetyOutcome(outcome.error()); -} - -void SasClient::describeStratetyAsync(const DescribeStratetyRequest& request, const DescribeStratetyAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeStratety(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -SasClient::DescribeStratetyOutcomeCallable SasClient::describeStratetyCallable(const DescribeStratetyRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeStratety(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - SasClient::DescribeSummaryInfoOutcome SasClient::describeSummaryInfo(const DescribeSummaryInfoRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2211,6 +4011,42 @@ SasClient::DescribeSummaryInfoOutcomeCallable SasClient::describeSummaryInfoCall return task->get_future(); } +SasClient::DescribeSupportRegionOutcome SasClient::describeSupportRegion(const DescribeSupportRegionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSupportRegionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSupportRegionOutcome(DescribeSupportRegionResult(outcome.result())); + else + return DescribeSupportRegionOutcome(outcome.error()); +} + +void SasClient::describeSupportRegionAsync(const DescribeSupportRegionRequest& request, const DescribeSupportRegionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSupportRegion(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeSupportRegionOutcomeCallable SasClient::describeSupportRegionCallable(const DescribeSupportRegionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSupportRegion(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DescribeSuspEventDetailOutcome SasClient::describeSuspEventDetail(const DescribeSuspEventDetailRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2247,6 +4083,42 @@ SasClient::DescribeSuspEventDetailOutcomeCallable SasClient::describeSuspEventDe return task->get_future(); } +SasClient::DescribeSuspEventQuaraFilesOutcome SasClient::describeSuspEventQuaraFiles(const DescribeSuspEventQuaraFilesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSuspEventQuaraFilesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSuspEventQuaraFilesOutcome(DescribeSuspEventQuaraFilesResult(outcome.result())); + else + return DescribeSuspEventQuaraFilesOutcome(outcome.error()); +} + +void SasClient::describeSuspEventQuaraFilesAsync(const DescribeSuspEventQuaraFilesRequest& request, const DescribeSuspEventQuaraFilesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSuspEventQuaraFiles(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeSuspEventQuaraFilesOutcomeCallable SasClient::describeSuspEventQuaraFilesCallable(const DescribeSuspEventQuaraFilesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSuspEventQuaraFiles(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DescribeSuspEventsOutcome SasClient::describeSuspEvents(const DescribeSuspEventsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2283,6 +4155,42 @@ SasClient::DescribeSuspEventsOutcomeCallable SasClient::describeSuspEventsCallab return task->get_future(); } +SasClient::DescribeUserBackupMachinesOutcome SasClient::describeUserBackupMachines(const DescribeUserBackupMachinesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeUserBackupMachinesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeUserBackupMachinesOutcome(DescribeUserBackupMachinesResult(outcome.result())); + else + return DescribeUserBackupMachinesOutcome(outcome.error()); +} + +void SasClient::describeUserBackupMachinesAsync(const DescribeUserBackupMachinesRequest& request, const DescribeUserBackupMachinesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeUserBackupMachines(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeUserBackupMachinesOutcomeCallable SasClient::describeUserBackupMachinesCallable(const DescribeUserBackupMachinesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeUserBackupMachines(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DescribeUserBaselineAuthorizationOutcome SasClient::describeUserBaselineAuthorization(const DescribeUserBaselineAuthorizationRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2355,6 +4263,78 @@ SasClient::DescribeUserLayoutAuthorizationOutcomeCallable SasClient::describeUse return task->get_future(); } +SasClient::DescribeUuidsByVulNamesOutcome SasClient::describeUuidsByVulNames(const DescribeUuidsByVulNamesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeUuidsByVulNamesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeUuidsByVulNamesOutcome(DescribeUuidsByVulNamesResult(outcome.result())); + else + return DescribeUuidsByVulNamesOutcome(outcome.error()); +} + +void SasClient::describeUuidsByVulNamesAsync(const DescribeUuidsByVulNamesRequest& request, const DescribeUuidsByVulNamesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeUuidsByVulNames(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeUuidsByVulNamesOutcomeCallable SasClient::describeUuidsByVulNamesCallable(const DescribeUuidsByVulNamesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeUuidsByVulNames(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeVersionConfigOutcome SasClient::describeVersionConfig(const DescribeVersionConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVersionConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVersionConfigOutcome(DescribeVersionConfigResult(outcome.result())); + else + return DescribeVersionConfigOutcome(outcome.error()); +} + +void SasClient::describeVersionConfigAsync(const DescribeVersionConfigRequest& request, const DescribeVersionConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVersionConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeVersionConfigOutcomeCallable SasClient::describeVersionConfigCallable(const DescribeVersionConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVersionConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DescribeVolDingdingMessageOutcome SasClient::describeVolDingdingMessage(const DescribeVolDingdingMessageRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2391,6 +4371,78 @@ SasClient::DescribeVolDingdingMessageOutcomeCallable SasClient::describeVolDingd return task->get_future(); } +SasClient::DescribeVpcHoneyPotCriteriaOutcome SasClient::describeVpcHoneyPotCriteria(const DescribeVpcHoneyPotCriteriaRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVpcHoneyPotCriteriaOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVpcHoneyPotCriteriaOutcome(DescribeVpcHoneyPotCriteriaResult(outcome.result())); + else + return DescribeVpcHoneyPotCriteriaOutcome(outcome.error()); +} + +void SasClient::describeVpcHoneyPotCriteriaAsync(const DescribeVpcHoneyPotCriteriaRequest& request, const DescribeVpcHoneyPotCriteriaAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVpcHoneyPotCriteria(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeVpcHoneyPotCriteriaOutcomeCallable SasClient::describeVpcHoneyPotCriteriaCallable(const DescribeVpcHoneyPotCriteriaRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVpcHoneyPotCriteria(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeVpcHoneyPotListOutcome SasClient::describeVpcHoneyPotList(const DescribeVpcHoneyPotListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVpcHoneyPotListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVpcHoneyPotListOutcome(DescribeVpcHoneyPotListResult(outcome.result())); + else + return DescribeVpcHoneyPotListOutcome(outcome.error()); +} + +void SasClient::describeVpcHoneyPotListAsync(const DescribeVpcHoneyPotListRequest& request, const DescribeVpcHoneyPotListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVpcHoneyPotList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeVpcHoneyPotListOutcomeCallable SasClient::describeVpcHoneyPotListCallable(const DescribeVpcHoneyPotListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVpcHoneyPotList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DescribeVpcListOutcome SasClient::describeVpcList(const DescribeVpcListRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2571,6 +4623,78 @@ SasClient::DescribeWarningMachinesOutcomeCallable SasClient::describeWarningMach return task->get_future(); } +SasClient::DescribeWebLockBindListOutcome SasClient::describeWebLockBindList(const DescribeWebLockBindListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeWebLockBindListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeWebLockBindListOutcome(DescribeWebLockBindListResult(outcome.result())); + else + return DescribeWebLockBindListOutcome(outcome.error()); +} + +void SasClient::describeWebLockBindListAsync(const DescribeWebLockBindListRequest& request, const DescribeWebLockBindListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeWebLockBindList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeWebLockBindListOutcomeCallable SasClient::describeWebLockBindListCallable(const DescribeWebLockBindListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeWebLockBindList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::DescribeWebLockConfigListOutcome SasClient::describeWebLockConfigList(const DescribeWebLockConfigListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeWebLockConfigListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeWebLockConfigListOutcome(DescribeWebLockConfigListResult(outcome.result())); + else + return DescribeWebLockConfigListOutcome(outcome.error()); +} + +void SasClient::describeWebLockConfigListAsync(const DescribeWebLockConfigListRequest& request, const DescribeWebLockConfigListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeWebLockConfigList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeWebLockConfigListOutcomeCallable SasClient::describeWebLockConfigListCallable(const DescribeWebLockConfigListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeWebLockConfigList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::ExportRecordOutcome SasClient::exportRecord(const ExportRecordRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2643,6 +4767,42 @@ SasClient::FixCheckWarningsOutcomeCallable SasClient::fixCheckWarningsCallable(c return task->get_future(); } +SasClient::GetBackupStorageCountOutcome SasClient::getBackupStorageCount(const GetBackupStorageCountRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetBackupStorageCountOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetBackupStorageCountOutcome(GetBackupStorageCountResult(outcome.result())); + else + return GetBackupStorageCountOutcome(outcome.error()); +} + +void SasClient::getBackupStorageCountAsync(const GetBackupStorageCountRequest& request, const GetBackupStorageCountAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getBackupStorageCount(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::GetBackupStorageCountOutcomeCallable SasClient::getBackupStorageCountCallable(const GetBackupStorageCountRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getBackupStorageCount(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::GetIOCsOutcome SasClient::getIOCs(const GetIOCsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2715,6 +4875,114 @@ SasClient::GetIncIOCsOutcomeCallable SasClient::getIncIOCsCallable(const GetIncI return task->get_future(); } +SasClient::GetSuspiciousStatisticsOutcome SasClient::getSuspiciousStatistics(const GetSuspiciousStatisticsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetSuspiciousStatisticsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetSuspiciousStatisticsOutcome(GetSuspiciousStatisticsResult(outcome.result())); + else + return GetSuspiciousStatisticsOutcome(outcome.error()); +} + +void SasClient::getSuspiciousStatisticsAsync(const GetSuspiciousStatisticsRequest& request, const GetSuspiciousStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getSuspiciousStatistics(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::GetSuspiciousStatisticsOutcomeCallable SasClient::getSuspiciousStatisticsCallable(const GetSuspiciousStatisticsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getSuspiciousStatistics(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::GetVulStatisticsOutcome SasClient::getVulStatistics(const GetVulStatisticsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetVulStatisticsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetVulStatisticsOutcome(GetVulStatisticsResult(outcome.result())); + else + return GetVulStatisticsOutcome(outcome.error()); +} + +void SasClient::getVulStatisticsAsync(const GetVulStatisticsRequest& request, const GetVulStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getVulStatistics(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::GetVulStatisticsOutcomeCallable SasClient::getVulStatisticsCallable(const GetVulStatisticsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getVulStatistics(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::HandleSecurityEventsOutcome SasClient::handleSecurityEvents(const HandleSecurityEventsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return HandleSecurityEventsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return HandleSecurityEventsOutcome(HandleSecurityEventsResult(outcome.result())); + else + return HandleSecurityEventsOutcome(outcome.error()); +} + +void SasClient::handleSecurityEventsAsync(const HandleSecurityEventsRequest& request, const HandleSecurityEventsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, handleSecurityEvents(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::HandleSecurityEventsOutcomeCallable SasClient::handleSecurityEventsCallable(const HandleSecurityEventsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->handleSecurityEvents(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::HandleSimilarSecurityEventsOutcome SasClient::handleSimilarSecurityEvents(const HandleSimilarSecurityEventsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2751,6 +5019,78 @@ SasClient::HandleSimilarSecurityEventsOutcomeCallable SasClient::handleSimilarSe return task->get_future(); } +SasClient::IgnoreHcCheckWarningsOutcome SasClient::ignoreHcCheckWarnings(const IgnoreHcCheckWarningsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return IgnoreHcCheckWarningsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return IgnoreHcCheckWarningsOutcome(IgnoreHcCheckWarningsResult(outcome.result())); + else + return IgnoreHcCheckWarningsOutcome(outcome.error()); +} + +void SasClient::ignoreHcCheckWarningsAsync(const IgnoreHcCheckWarningsRequest& request, const IgnoreHcCheckWarningsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, ignoreHcCheckWarnings(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::IgnoreHcCheckWarningsOutcomeCallable SasClient::ignoreHcCheckWarningsCallable(const IgnoreHcCheckWarningsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->ignoreHcCheckWarnings(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::InstallBackupClientOutcome SasClient::installBackupClient(const InstallBackupClientRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return InstallBackupClientOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return InstallBackupClientOutcome(InstallBackupClientResult(outcome.result())); + else + return InstallBackupClientOutcome(outcome.error()); +} + +void SasClient::installBackupClientAsync(const InstallBackupClientRequest& request, const InstallBackupClientAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, installBackupClient(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::InstallBackupClientOutcomeCallable SasClient::installBackupClientCallable(const InstallBackupClientRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->installBackupClient(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::ModifyAntiBruteForceRuleOutcome SasClient::modifyAntiBruteForceRule(const ModifyAntiBruteForceRuleRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2787,6 +5127,114 @@ SasClient::ModifyAntiBruteForceRuleOutcomeCallable SasClient::modifyAntiBruteFor return task->get_future(); } +SasClient::ModifyAssetGroupOutcome SasClient::modifyAssetGroup(const ModifyAssetGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyAssetGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyAssetGroupOutcome(ModifyAssetGroupResult(outcome.result())); + else + return ModifyAssetGroupOutcome(outcome.error()); +} + +void SasClient::modifyAssetGroupAsync(const ModifyAssetGroupRequest& request, const ModifyAssetGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyAssetGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::ModifyAssetGroupOutcomeCallable SasClient::modifyAssetGroupCallable(const ModifyAssetGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyAssetGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::ModifyBackupPolicyOutcome SasClient::modifyBackupPolicy(const ModifyBackupPolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyBackupPolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyBackupPolicyOutcome(ModifyBackupPolicyResult(outcome.result())); + else + return ModifyBackupPolicyOutcome(outcome.error()); +} + +void SasClient::modifyBackupPolicyAsync(const ModifyBackupPolicyRequest& request, const ModifyBackupPolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyBackupPolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::ModifyBackupPolicyOutcomeCallable SasClient::modifyBackupPolicyCallable(const ModifyBackupPolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyBackupPolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::ModifyBackupPolicyStatusOutcome SasClient::modifyBackupPolicyStatus(const ModifyBackupPolicyStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyBackupPolicyStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyBackupPolicyStatusOutcome(ModifyBackupPolicyStatusResult(outcome.result())); + else + return ModifyBackupPolicyStatusOutcome(outcome.error()); +} + +void SasClient::modifyBackupPolicyStatusAsync(const ModifyBackupPolicyStatusRequest& request, const ModifyBackupPolicyStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyBackupPolicyStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::ModifyBackupPolicyStatusOutcomeCallable SasClient::modifyBackupPolicyStatusCallable(const ModifyBackupPolicyStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyBackupPolicyStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::ModifyCreateVulWhitelistOutcome SasClient::modifyCreateVulWhitelist(const ModifyCreateVulWhitelistRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2895,6 +5343,42 @@ SasClient::ModifyGroupPropertyOutcomeCallable SasClient::modifyGroupPropertyCall return task->get_future(); } +SasClient::ModifyInstanceAntiBruteForceRuleOutcome SasClient::modifyInstanceAntiBruteForceRule(const ModifyInstanceAntiBruteForceRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyInstanceAntiBruteForceRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyInstanceAntiBruteForceRuleOutcome(ModifyInstanceAntiBruteForceRuleResult(outcome.result())); + else + return ModifyInstanceAntiBruteForceRuleOutcome(outcome.error()); +} + +void SasClient::modifyInstanceAntiBruteForceRuleAsync(const ModifyInstanceAntiBruteForceRuleRequest& request, const ModifyInstanceAntiBruteForceRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyInstanceAntiBruteForceRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::ModifyInstanceAntiBruteForceRuleOutcomeCallable SasClient::modifyInstanceAntiBruteForceRuleCallable(const ModifyInstanceAntiBruteForceRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyInstanceAntiBruteForceRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::ModifyLoginBaseConfigOutcome SasClient::modifyLoginBaseConfig(const ModifyLoginBaseConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3003,6 +5487,42 @@ SasClient::ModifyNoticeConfigOutcomeCallable SasClient::modifyNoticeConfigCallab return task->get_future(); } +SasClient::ModifyOpenLogShipperOutcome SasClient::modifyOpenLogShipper(const ModifyOpenLogShipperRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyOpenLogShipperOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyOpenLogShipperOutcome(ModifyOpenLogShipperResult(outcome.result())); + else + return ModifyOpenLogShipperOutcome(outcome.error()); +} + +void SasClient::modifyOpenLogShipperAsync(const ModifyOpenLogShipperRequest& request, const ModifyOpenLogShipperAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyOpenLogShipper(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::ModifyOpenLogShipperOutcomeCallable SasClient::modifyOpenLogShipperCallable(const ModifyOpenLogShipperRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyOpenLogShipper(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::ModifyOperateVulOutcome SasClient::modifyOperateVul(const ModifyOperateVulRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3255,6 +5775,42 @@ SasClient::ModifyTagWithUuidOutcomeCallable SasClient::modifyTagWithUuidCallable return task->get_future(); } +SasClient::ModifyVpcHoneyPotOutcome SasClient::modifyVpcHoneyPot(const ModifyVpcHoneyPotRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyVpcHoneyPotOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyVpcHoneyPotOutcome(ModifyVpcHoneyPotResult(outcome.result())); + else + return ModifyVpcHoneyPotOutcome(outcome.error()); +} + +void SasClient::modifyVpcHoneyPotAsync(const ModifyVpcHoneyPotRequest& request, const ModifyVpcHoneyPotAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyVpcHoneyPot(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::ModifyVpcHoneyPotOutcomeCallable SasClient::modifyVpcHoneyPotCallable(const ModifyVpcHoneyPotRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyVpcHoneyPot(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::ModifyVulTargetConfigOutcome SasClient::modifyVulTargetConfig(const ModifyVulTargetConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3291,6 +5847,222 @@ SasClient::ModifyVulTargetConfigOutcomeCallable SasClient::modifyVulTargetConfig return task->get_future(); } +SasClient::ModifyWebLockCreateConfigOutcome SasClient::modifyWebLockCreateConfig(const ModifyWebLockCreateConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyWebLockCreateConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyWebLockCreateConfigOutcome(ModifyWebLockCreateConfigResult(outcome.result())); + else + return ModifyWebLockCreateConfigOutcome(outcome.error()); +} + +void SasClient::modifyWebLockCreateConfigAsync(const ModifyWebLockCreateConfigRequest& request, const ModifyWebLockCreateConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyWebLockCreateConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::ModifyWebLockCreateConfigOutcomeCallable SasClient::modifyWebLockCreateConfigCallable(const ModifyWebLockCreateConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyWebLockCreateConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::ModifyWebLockDeleteConfigOutcome SasClient::modifyWebLockDeleteConfig(const ModifyWebLockDeleteConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyWebLockDeleteConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyWebLockDeleteConfigOutcome(ModifyWebLockDeleteConfigResult(outcome.result())); + else + return ModifyWebLockDeleteConfigOutcome(outcome.error()); +} + +void SasClient::modifyWebLockDeleteConfigAsync(const ModifyWebLockDeleteConfigRequest& request, const ModifyWebLockDeleteConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyWebLockDeleteConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::ModifyWebLockDeleteConfigOutcomeCallable SasClient::modifyWebLockDeleteConfigCallable(const ModifyWebLockDeleteConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyWebLockDeleteConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::ModifyWebLockStartOutcome SasClient::modifyWebLockStart(const ModifyWebLockStartRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyWebLockStartOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyWebLockStartOutcome(ModifyWebLockStartResult(outcome.result())); + else + return ModifyWebLockStartOutcome(outcome.error()); +} + +void SasClient::modifyWebLockStartAsync(const ModifyWebLockStartRequest& request, const ModifyWebLockStartAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyWebLockStart(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::ModifyWebLockStartOutcomeCallable SasClient::modifyWebLockStartCallable(const ModifyWebLockStartRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyWebLockStart(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::ModifyWebLockStatusOutcome SasClient::modifyWebLockStatus(const ModifyWebLockStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyWebLockStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyWebLockStatusOutcome(ModifyWebLockStatusResult(outcome.result())); + else + return ModifyWebLockStatusOutcome(outcome.error()); +} + +void SasClient::modifyWebLockStatusAsync(const ModifyWebLockStatusRequest& request, const ModifyWebLockStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyWebLockStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::ModifyWebLockStatusOutcomeCallable SasClient::modifyWebLockStatusCallable(const ModifyWebLockStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyWebLockStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::ModifyWebLockUnbindOutcome SasClient::modifyWebLockUnbind(const ModifyWebLockUnbindRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyWebLockUnbindOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyWebLockUnbindOutcome(ModifyWebLockUnbindResult(outcome.result())); + else + return ModifyWebLockUnbindOutcome(outcome.error()); +} + +void SasClient::modifyWebLockUnbindAsync(const ModifyWebLockUnbindRequest& request, const ModifyWebLockUnbindAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyWebLockUnbind(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::ModifyWebLockUnbindOutcomeCallable SasClient::modifyWebLockUnbindCallable(const ModifyWebLockUnbindRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyWebLockUnbind(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::ModifyWebLockUpdateConfigOutcome SasClient::modifyWebLockUpdateConfig(const ModifyWebLockUpdateConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyWebLockUpdateConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyWebLockUpdateConfigOutcome(ModifyWebLockUpdateConfigResult(outcome.result())); + else + return ModifyWebLockUpdateConfigOutcome(outcome.error()); +} + +void SasClient::modifyWebLockUpdateConfigAsync(const ModifyWebLockUpdateConfigRequest& request, const ModifyWebLockUpdateConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyWebLockUpdateConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::ModifyWebLockUpdateConfigOutcomeCallable SasClient::modifyWebLockUpdateConfigCallable(const ModifyWebLockUpdateConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyWebLockUpdateConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::OperateSuspiciousTargetConfigOutcome SasClient::operateSuspiciousTargetConfig(const OperateSuspiciousTargetConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3327,6 +6099,42 @@ SasClient::OperateSuspiciousTargetConfigOutcomeCallable SasClient::operateSuspic return task->get_future(); } +SasClient::OperateVulsOutcome SasClient::operateVuls(const OperateVulsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return OperateVulsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return OperateVulsOutcome(OperateVulsResult(outcome.result())); + else + return OperateVulsOutcome(outcome.error()); +} + +void SasClient::operateVulsAsync(const OperateVulsRequest& request, const OperateVulsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, operateVuls(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::OperateVulsOutcomeCallable SasClient::operateVulsCallable(const OperateVulsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->operateVuls(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::OperationSuspEventsOutcome SasClient::operationSuspEvents(const OperationSuspEventsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3399,6 +6207,78 @@ SasClient::PauseClientOutcomeCallable SasClient::pauseClientCallable(const Pause return task->get_future(); } +SasClient::RefreshContainerAssetsOutcome SasClient::refreshContainerAssets(const RefreshContainerAssetsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RefreshContainerAssetsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RefreshContainerAssetsOutcome(RefreshContainerAssetsResult(outcome.result())); + else + return RefreshContainerAssetsOutcome(outcome.error()); +} + +void SasClient::refreshContainerAssetsAsync(const RefreshContainerAssetsRequest& request, const RefreshContainerAssetsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, refreshContainerAssets(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::RefreshContainerAssetsOutcomeCallable SasClient::refreshContainerAssetsCallable(const RefreshContainerAssetsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->refreshContainerAssets(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::RollbackSuspEventQuaraFileOutcome SasClient::rollbackSuspEventQuaraFile(const RollbackSuspEventQuaraFileRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RollbackSuspEventQuaraFileOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RollbackSuspEventQuaraFileOutcome(RollbackSuspEventQuaraFileResult(outcome.result())); + else + return RollbackSuspEventQuaraFileOutcome(outcome.error()); +} + +void SasClient::rollbackSuspEventQuaraFileAsync(const RollbackSuspEventQuaraFileRequest& request, const RollbackSuspEventQuaraFileAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, rollbackSuspEventQuaraFile(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::RollbackSuspEventQuaraFileOutcomeCallable SasClient::rollbackSuspEventQuaraFileCallable(const RollbackSuspEventQuaraFileRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->rollbackSuspEventQuaraFile(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::SasInstallCodeOutcome SasClient::sasInstallCode(const SasInstallCodeRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3471,6 +6351,150 @@ SasClient::StartBaselineSecurityCheckOutcomeCallable SasClient::startBaselineSec return task->get_future(); } +SasClient::StartImageVulScanOutcome SasClient::startImageVulScan(const StartImageVulScanRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StartImageVulScanOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StartImageVulScanOutcome(StartImageVulScanResult(outcome.result())); + else + return StartImageVulScanOutcome(outcome.error()); +} + +void SasClient::startImageVulScanAsync(const StartImageVulScanRequest& request, const StartImageVulScanAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, startImageVulScan(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::StartImageVulScanOutcomeCallable SasClient::startImageVulScanCallable(const StartImageVulScanRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->startImageVulScan(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::StartVirusScanTaskOutcome SasClient::startVirusScanTask(const StartVirusScanTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StartVirusScanTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StartVirusScanTaskOutcome(StartVirusScanTaskResult(outcome.result())); + else + return StartVirusScanTaskOutcome(outcome.error()); +} + +void SasClient::startVirusScanTaskAsync(const StartVirusScanTaskRequest& request, const StartVirusScanTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, startVirusScanTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::StartVirusScanTaskOutcomeCallable SasClient::startVirusScanTaskCallable(const StartVirusScanTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->startVirusScanTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::UnbindAegisOutcome SasClient::unbindAegis(const UnbindAegisRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UnbindAegisOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UnbindAegisOutcome(UnbindAegisResult(outcome.result())); + else + return UnbindAegisOutcome(outcome.error()); +} + +void SasClient::unbindAegisAsync(const UnbindAegisRequest& request, const UnbindAegisAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, unbindAegis(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::UnbindAegisOutcomeCallable SasClient::unbindAegisCallable(const UnbindAegisRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->unbindAegis(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::UninstallBackupClientOutcome SasClient::uninstallBackupClient(const UninstallBackupClientRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UninstallBackupClientOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UninstallBackupClientOutcome(UninstallBackupClientResult(outcome.result())); + else + return UninstallBackupClientOutcome(outcome.error()); +} + +void SasClient::uninstallBackupClientAsync(const UninstallBackupClientRequest& request, const UninstallBackupClientAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, uninstallBackupClient(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::UninstallBackupClientOutcomeCallable SasClient::uninstallBackupClientCallable(const UninstallBackupClientRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->uninstallBackupClient(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::ValidateHcWarningsOutcome SasClient::validateHcWarnings(const ValidateHcWarningsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/sas/src/model/AddVpcHoneyPotRequest.cc b/sas/src/model/AddVpcHoneyPotRequest.cc new file mode 100644 index 000000000..060dc0379 --- /dev/null +++ b/sas/src/model/AddVpcHoneyPotRequest.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::Sas::Model::AddVpcHoneyPotRequest; + +AddVpcHoneyPotRequest::AddVpcHoneyPotRequest() : + RpcServiceRequest("sas", "2018-12-03", "AddVpcHoneyPot") +{ + setMethod(HttpRequest::Method::Post); +} + +AddVpcHoneyPotRequest::~AddVpcHoneyPotRequest() +{} + +std::string AddVpcHoneyPotRequest::getSourceIp()const +{ + return sourceIp_; +} + +void AddVpcHoneyPotRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string AddVpcHoneyPotRequest::getVpcSwitchId()const +{ + return vpcSwitchId_; +} + +void AddVpcHoneyPotRequest::setVpcSwitchId(const std::string& vpcSwitchId) +{ + vpcSwitchId_ = vpcSwitchId; + setParameter("VpcSwitchId", vpcSwitchId); +} + +std::string AddVpcHoneyPotRequest::getVpcId()const +{ + return vpcId_; +} + +void AddVpcHoneyPotRequest::setVpcId(const std::string& vpcId) +{ + vpcId_ = vpcId; + setParameter("VpcId", vpcId); +} + diff --git a/sas/src/model/AddVpcHoneyPotResult.cc b/sas/src/model/AddVpcHoneyPotResult.cc new file mode 100644 index 000000000..1f3db65f5 --- /dev/null +++ b/sas/src/model/AddVpcHoneyPotResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +AddVpcHoneyPotResult::AddVpcHoneyPotResult() : + ServiceResult() +{} + +AddVpcHoneyPotResult::AddVpcHoneyPotResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddVpcHoneyPotResult::~AddVpcHoneyPotResult() +{} + +void AddVpcHoneyPotResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/CheckQuaraFileIdRequest.cc b/sas/src/model/CheckQuaraFileIdRequest.cc new file mode 100644 index 000000000..4645dbc3e --- /dev/null +++ b/sas/src/model/CheckQuaraFileIdRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Sas::Model::CheckQuaraFileIdRequest; + +CheckQuaraFileIdRequest::CheckQuaraFileIdRequest() : + RpcServiceRequest("sas", "2018-12-03", "CheckQuaraFileId") +{ + setMethod(HttpRequest::Method::Post); +} + +CheckQuaraFileIdRequest::~CheckQuaraFileIdRequest() +{} + +std::vector CheckQuaraFileIdRequest::getQuaraFileIds()const +{ + return quaraFileIds_; +} + +void CheckQuaraFileIdRequest::setQuaraFileIds(const std::vector& quaraFileIds) +{ + quaraFileIds_ = quaraFileIds; + for(int dep1 = 0; dep1!= quaraFileIds.size(); dep1++) { + setParameter("QuaraFileIds."+ std::to_string(dep1), quaraFileIds.at(dep1)); + } +} + +std::string CheckQuaraFileIdRequest::getUuid()const +{ + return uuid_; +} + +void CheckQuaraFileIdRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setParameter("Uuid", uuid); +} + +std::string CheckQuaraFileIdRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CheckQuaraFileIdRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + diff --git a/sas/src/model/CheckQuaraFileIdResult.cc b/sas/src/model/CheckQuaraFileIdResult.cc new file mode 100644 index 000000000..7a2b800a4 --- /dev/null +++ b/sas/src/model/CheckQuaraFileIdResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +CheckQuaraFileIdResult::CheckQuaraFileIdResult() : + ServiceResult() +{} + +CheckQuaraFileIdResult::CheckQuaraFileIdResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CheckQuaraFileIdResult::~CheckQuaraFileIdResult() +{} + +void CheckQuaraFileIdResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Data"].isNull()) + data_ = value["Data"].asString() == "true"; + +} + +bool CheckQuaraFileIdResult::getData()const +{ + return data_; +} + diff --git a/sas/src/model/CheckSecurityEventIdRequest.cc b/sas/src/model/CheckSecurityEventIdRequest.cc new file mode 100644 index 000000000..3d543e495 --- /dev/null +++ b/sas/src/model/CheckSecurityEventIdRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Sas::Model::CheckSecurityEventIdRequest; + +CheckSecurityEventIdRequest::CheckSecurityEventIdRequest() : + RpcServiceRequest("sas", "2018-12-03", "CheckSecurityEventId") +{ + setMethod(HttpRequest::Method::Post); +} + +CheckSecurityEventIdRequest::~CheckSecurityEventIdRequest() +{} + +std::vector CheckSecurityEventIdRequest::getSecurityEventIds()const +{ + return securityEventIds_; +} + +void CheckSecurityEventIdRequest::setSecurityEventIds(const std::vector& securityEventIds) +{ + securityEventIds_ = securityEventIds; + for(int dep1 = 0; dep1!= securityEventIds.size(); dep1++) { + setParameter("SecurityEventIds."+ std::to_string(dep1), securityEventIds.at(dep1)); + } +} + +std::string CheckSecurityEventIdRequest::getUuid()const +{ + return uuid_; +} + +void CheckSecurityEventIdRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setParameter("Uuid", uuid); +} + +std::string CheckSecurityEventIdRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CheckSecurityEventIdRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + diff --git a/sas/src/model/CheckSecurityEventIdResult.cc b/sas/src/model/CheckSecurityEventIdResult.cc new file mode 100644 index 000000000..9481b389b --- /dev/null +++ b/sas/src/model/CheckSecurityEventIdResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +CheckSecurityEventIdResult::CheckSecurityEventIdResult() : + ServiceResult() +{} + +CheckSecurityEventIdResult::CheckSecurityEventIdResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CheckSecurityEventIdResult::~CheckSecurityEventIdResult() +{} + +void CheckSecurityEventIdResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Data"].isNull()) + data_ = value["Data"].asString() == "true"; + +} + +bool CheckSecurityEventIdResult::getData()const +{ + return data_; +} + diff --git a/sas/src/model/CreateBackupPolicyRequest.cc b/sas/src/model/CreateBackupPolicyRequest.cc new file mode 100644 index 000000000..87e93fb65 --- /dev/null +++ b/sas/src/model/CreateBackupPolicyRequest.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::Sas::Model::CreateBackupPolicyRequest; + +CreateBackupPolicyRequest::CreateBackupPolicyRequest() : + RpcServiceRequest("sas", "2018-12-03", "CreateBackupPolicy") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateBackupPolicyRequest::~CreateBackupPolicyRequest() +{} + +long CreateBackupPolicyRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void CreateBackupPolicyRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string CreateBackupPolicyRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateBackupPolicyRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::vector CreateBackupPolicyRequest::getUuidList()const +{ + return uuidList_; +} + +void CreateBackupPolicyRequest::setUuidList(const std::vector& uuidList) +{ + uuidList_ = uuidList; + for(int dep1 = 0; dep1!= uuidList.size(); dep1++) { + setParameter("UuidList."+ std::to_string(dep1), uuidList.at(dep1)); + } +} + +std::string CreateBackupPolicyRequest::getPolicy()const +{ + return policy_; +} + +void CreateBackupPolicyRequest::setPolicy(const std::string& policy) +{ + policy_ = policy; + setParameter("Policy", policy); +} + +std::string CreateBackupPolicyRequest::getPolicyVersion()const +{ + return policyVersion_; +} + +void CreateBackupPolicyRequest::setPolicyVersion(const std::string& policyVersion) +{ + policyVersion_ = policyVersion; + setParameter("PolicyVersion", policyVersion); +} + +std::string CreateBackupPolicyRequest::getName()const +{ + return name_; +} + +void CreateBackupPolicyRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +std::string CreateBackupPolicyRequest::getStatus()const +{ + return status_; +} + +void CreateBackupPolicyRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/sas/src/model/CreateBackupPolicyResult.cc b/sas/src/model/CreateBackupPolicyResult.cc new file mode 100644 index 000000000..6df35c625 --- /dev/null +++ b/sas/src/model/CreateBackupPolicyResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +CreateBackupPolicyResult::CreateBackupPolicyResult() : + ServiceResult() +{} + +CreateBackupPolicyResult::CreateBackupPolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateBackupPolicyResult::~CreateBackupPolicyResult() +{} + +void CreateBackupPolicyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/CreateOrUpdateAssetGroupResult.cc b/sas/src/model/CreateOrUpdateAssetGroupResult.cc index 213239d3a..a29a29606 100644 --- a/sas/src/model/CreateOrUpdateAssetGroupResult.cc +++ b/sas/src/model/CreateOrUpdateAssetGroupResult.cc @@ -39,6 +39,13 @@ void CreateOrUpdateAssetGroupResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); + if(!value["GroupId"].isNull()) + groupId_ = std::stol(value["GroupId"].asString()); } +long CreateOrUpdateAssetGroupResult::getGroupId()const +{ + return groupId_; +} + diff --git a/sas/src/model/CreateRestoreJobRequest.cc b/sas/src/model/CreateRestoreJobRequest.cc new file mode 100644 index 000000000..2c8f2389c --- /dev/null +++ b/sas/src/model/CreateRestoreJobRequest.cc @@ -0,0 +1,139 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Sas::Model::CreateRestoreJobRequest; + +CreateRestoreJobRequest::CreateRestoreJobRequest() : + RpcServiceRequest("sas", "2018-12-03", "CreateRestoreJob") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateRestoreJobRequest::~CreateRestoreJobRequest() +{} + +long CreateRestoreJobRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void CreateRestoreJobRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string CreateRestoreJobRequest::getSnapshotId()const +{ + return snapshotId_; +} + +void CreateRestoreJobRequest::setSnapshotId(const std::string& snapshotId) +{ + snapshotId_ = snapshotId; + setParameter("SnapshotId", snapshotId); +} + +std::string CreateRestoreJobRequest::getUuid()const +{ + return uuid_; +} + +void CreateRestoreJobRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setParameter("Uuid", uuid); +} + +std::string CreateRestoreJobRequest::getSnapshotHash()const +{ + return snapshotHash_; +} + +void CreateRestoreJobRequest::setSnapshotHash(const std::string& snapshotHash) +{ + snapshotHash_ = snapshotHash; + setParameter("SnapshotHash", snapshotHash); +} + +std::string CreateRestoreJobRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateRestoreJobRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string CreateRestoreJobRequest::getSnapshotVersion()const +{ + return snapshotVersion_; +} + +void CreateRestoreJobRequest::setSnapshotVersion(const std::string& snapshotVersion) +{ + snapshotVersion_ = snapshotVersion; + setParameter("SnapshotVersion", snapshotVersion); +} + +std::string CreateRestoreJobRequest::getPolicyVersion()const +{ + return policyVersion_; +} + +void CreateRestoreJobRequest::setPolicyVersion(const std::string& policyVersion) +{ + policyVersion_ = policyVersion; + setParameter("PolicyVersion", policyVersion); +} + +std::string CreateRestoreJobRequest::getIncludes()const +{ + return includes_; +} + +void CreateRestoreJobRequest::setIncludes(const std::string& includes) +{ + includes_ = includes; + setParameter("Includes", includes); +} + +std::string CreateRestoreJobRequest::getTarget()const +{ + return target_; +} + +void CreateRestoreJobRequest::setTarget(const std::string& target) +{ + target_ = target; + setParameter("Target", target); +} + +std::string CreateRestoreJobRequest::getInstanceId()const +{ + return instanceId_; +} + +void CreateRestoreJobRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setParameter("InstanceId", instanceId); +} + diff --git a/sas/src/model/CreateRestoreJobResult.cc b/sas/src/model/CreateRestoreJobResult.cc new file mode 100644 index 000000000..abefada8e --- /dev/null +++ b/sas/src/model/CreateRestoreJobResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +CreateRestoreJobResult::CreateRestoreJobResult() : + ServiceResult() +{} + +CreateRestoreJobResult::CreateRestoreJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateRestoreJobResult::~CreateRestoreJobResult() +{} + +void CreateRestoreJobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/CreateSasOrderRequest.cc b/sas/src/model/CreateSasOrderRequest.cc new file mode 100644 index 000000000..991d55f47 --- /dev/null +++ b/sas/src/model/CreateSasOrderRequest.cc @@ -0,0 +1,194 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::CreateSasOrderRequest; + +CreateSasOrderRequest::CreateSasOrderRequest() : + RpcServiceRequest("sas", "2018-12-03", "CreateSasOrder") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateSasOrderRequest::~CreateSasOrderRequest() +{} + +std::string CreateSasOrderRequest::getSasWebguardBoolean()const +{ + return sasWebguardBoolean_; +} + +void CreateSasOrderRequest::setSasWebguardBoolean(const std::string& sasWebguardBoolean) +{ + sasWebguardBoolean_ = sasWebguardBoolean; + setParameter("SasWebguardBoolean", sasWebguardBoolean); +} + +bool CreateSasOrderRequest::getAutoUseCoupon()const +{ + return autoUseCoupon_; +} + +void CreateSasOrderRequest::setAutoUseCoupon(bool autoUseCoupon) +{ + autoUseCoupon_ = autoUseCoupon; + setParameter("AutoUseCoupon", autoUseCoupon ? "true" : "false"); +} + +std::string CreateSasOrderRequest::getSpec()const +{ + return spec_; +} + +void CreateSasOrderRequest::setSpec(const std::string& spec) +{ + spec_ = spec; + setParameter("Spec", spec); +} + +std::string CreateSasOrderRequest::getInstanceCount()const +{ + return instanceCount_; +} + +void CreateSasOrderRequest::setInstanceCount(const std::string& instanceCount) +{ + instanceCount_ = instanceCount; + setParameter("InstanceCount", instanceCount); +} + +std::string CreateSasOrderRequest::getSasWebguardOrderNum()const +{ + return sasWebguardOrderNum_; +} + +void CreateSasOrderRequest::setSasWebguardOrderNum(const std::string& sasWebguardOrderNum) +{ + sasWebguardOrderNum_ = sasWebguardOrderNum; + setParameter("SasWebguardOrderNum", sasWebguardOrderNum); +} + +std::string CreateSasOrderRequest::getContainerImageScan()const +{ + return containerImageScan_; +} + +void CreateSasOrderRequest::setContainerImageScan(const std::string& containerImageScan) +{ + containerImageScan_ = containerImageScan; + setParameter("ContainerImageScan", containerImageScan); +} + +int CreateSasOrderRequest::getAutoRenewPeriod()const +{ + return autoRenewPeriod_; +} + +void CreateSasOrderRequest::setAutoRenewPeriod(int autoRenewPeriod) +{ + autoRenewPeriod_ = autoRenewPeriod; + setParameter("AutoRenewPeriod", std::to_string(autoRenewPeriod)); +} + +int CreateSasOrderRequest::getPeriod()const +{ + return period_; +} + +void CreateSasOrderRequest::setPeriod(int period) +{ + period_ = period; + setParameter("Period", std::to_string(period)); +} + +bool CreateSasOrderRequest::getAutoPay()const +{ + return autoPay_; +} + +void CreateSasOrderRequest::setAutoPay(bool autoPay) +{ + autoPay_ = autoPay; + setParameter("AutoPay", autoPay ? "true" : "false"); +} + +std::string CreateSasOrderRequest::getSasAntiRansomware()const +{ + return sasAntiRansomware_; +} + +void CreateSasOrderRequest::setSasAntiRansomware(const std::string& sasAntiRansomware) +{ + sasAntiRansomware_ = sasAntiRansomware; + setParameter("SasAntiRansomware", sasAntiRansomware); +} + +std::string CreateSasOrderRequest::getPeriodUnit()const +{ + return periodUnit_; +} + +void CreateSasOrderRequest::setPeriodUnit(const std::string& periodUnit) +{ + periodUnit_ = periodUnit; + setParameter("PeriodUnit", periodUnit); +} + +std::string CreateSasOrderRequest::getSasSc()const +{ + return sasSc_; +} + +void CreateSasOrderRequest::setSasSc(const std::string& sasSc) +{ + sasSc_ = sasSc; + setParameter("SasSc", sasSc); +} + +std::string CreateSasOrderRequest::getVcore()const +{ + return vcore_; +} + +void CreateSasOrderRequest::setVcore(const std::string& vcore) +{ + vcore_ = vcore; + setParameter("Vcore", vcore); +} + +std::string CreateSasOrderRequest::getSasSlsStorage()const +{ + return sasSlsStorage_; +} + +void CreateSasOrderRequest::setSasSlsStorage(const std::string& sasSlsStorage) +{ + sasSlsStorage_ = sasSlsStorage; + setParameter("SasSlsStorage", sasSlsStorage); +} + +std::string CreateSasOrderRequest::getSasProductService()const +{ + return sasProductService_; +} + +void CreateSasOrderRequest::setSasProductService(const std::string& sasProductService) +{ + sasProductService_ = sasProductService; + setParameter("SasProductService", sasProductService); +} + diff --git a/sas/src/model/CreateSasOrderResult.cc b/sas/src/model/CreateSasOrderResult.cc new file mode 100644 index 000000000..5d8d2a044 --- /dev/null +++ b/sas/src/model/CreateSasOrderResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +CreateSasOrderResult::CreateSasOrderResult() : + ServiceResult() +{} + +CreateSasOrderResult::CreateSasOrderResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateSasOrderResult::~CreateSasOrderResult() +{} + +void CreateSasOrderResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["OrderId"].isNull()) + orderId_ = value["OrderId"].asString(); + +} + +std::string CreateSasOrderResult::getOrderId()const +{ + return orderId_; +} + diff --git a/sas/src/model/CreateServiceLinkedRoleRequest.cc b/sas/src/model/CreateServiceLinkedRoleRequest.cc new file mode 100644 index 000000000..7e457028c --- /dev/null +++ b/sas/src/model/CreateServiceLinkedRoleRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::CreateServiceLinkedRoleRequest; + +CreateServiceLinkedRoleRequest::CreateServiceLinkedRoleRequest() : + RpcServiceRequest("sas", "2018-12-03", "CreateServiceLinkedRole") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateServiceLinkedRoleRequest::~CreateServiceLinkedRoleRequest() +{} + +std::string CreateServiceLinkedRoleRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateServiceLinkedRoleRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + diff --git a/sas/src/model/CreateServiceLinkedRoleResult.cc b/sas/src/model/CreateServiceLinkedRoleResult.cc new file mode 100644 index 000000000..6d438d2a0 --- /dev/null +++ b/sas/src/model/CreateServiceLinkedRoleResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +CreateServiceLinkedRoleResult::CreateServiceLinkedRoleResult() : + ServiceResult() +{} + +CreateServiceLinkedRoleResult::CreateServiceLinkedRoleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateServiceLinkedRoleResult::~CreateServiceLinkedRoleResult() +{} + +void CreateServiceLinkedRoleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/DeleteBackupPolicyMachineRequest.cc b/sas/src/model/DeleteBackupPolicyMachineRequest.cc new file mode 100644 index 000000000..51048fd7f --- /dev/null +++ b/sas/src/model/DeleteBackupPolicyMachineRequest.cc @@ -0,0 +1,97 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::DeleteBackupPolicyMachineRequest; + +DeleteBackupPolicyMachineRequest::DeleteBackupPolicyMachineRequest() : + RpcServiceRequest("sas", "2018-12-03", "DeleteBackupPolicyMachine") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteBackupPolicyMachineRequest::~DeleteBackupPolicyMachineRequest() +{} + +long DeleteBackupPolicyMachineRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DeleteBackupPolicyMachineRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DeleteBackupPolicyMachineRequest::getPolicyVersion()const +{ + return policyVersion_; +} + +void DeleteBackupPolicyMachineRequest::setPolicyVersion(const std::string& policyVersion) +{ + policyVersion_ = policyVersion; + setParameter("PolicyVersion", policyVersion); +} + +std::string DeleteBackupPolicyMachineRequest::getUuid()const +{ + return uuid_; +} + +void DeleteBackupPolicyMachineRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setParameter("Uuid", uuid); +} + +std::string DeleteBackupPolicyMachineRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DeleteBackupPolicyMachineRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long DeleteBackupPolicyMachineRequest::getPolicyId()const +{ + return policyId_; +} + +void DeleteBackupPolicyMachineRequest::setPolicyId(long policyId) +{ + policyId_ = policyId; + setParameter("PolicyId", std::to_string(policyId)); +} + +std::vector DeleteBackupPolicyMachineRequest::getUuidList()const +{ + return uuidList_; +} + +void DeleteBackupPolicyMachineRequest::setUuidList(const std::vector& uuidList) +{ + uuidList_ = uuidList; + for(int dep1 = 0; dep1!= uuidList.size(); dep1++) { + setParameter("UuidList."+ std::to_string(dep1), uuidList.at(dep1)); + } +} + diff --git a/sas/src/model/DeleteBackupPolicyMachineResult.cc b/sas/src/model/DeleteBackupPolicyMachineResult.cc new file mode 100644 index 000000000..fdb82be8a --- /dev/null +++ b/sas/src/model/DeleteBackupPolicyMachineResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +DeleteBackupPolicyMachineResult::DeleteBackupPolicyMachineResult() : + ServiceResult() +{} + +DeleteBackupPolicyMachineResult::DeleteBackupPolicyMachineResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteBackupPolicyMachineResult::~DeleteBackupPolicyMachineResult() +{} + +void DeleteBackupPolicyMachineResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/DeleteBackupPolicyRequest.cc b/sas/src/model/DeleteBackupPolicyRequest.cc new file mode 100644 index 000000000..9f5b6b7e3 --- /dev/null +++ b/sas/src/model/DeleteBackupPolicyRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::DeleteBackupPolicyRequest; + +DeleteBackupPolicyRequest::DeleteBackupPolicyRequest() : + RpcServiceRequest("sas", "2018-12-03", "DeleteBackupPolicy") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteBackupPolicyRequest::~DeleteBackupPolicyRequest() +{} + +long DeleteBackupPolicyRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DeleteBackupPolicyRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DeleteBackupPolicyRequest::getPolicyVersion()const +{ + return policyVersion_; +} + +void DeleteBackupPolicyRequest::setPolicyVersion(const std::string& policyVersion) +{ + policyVersion_ = policyVersion; + setParameter("PolicyVersion", policyVersion); +} + +std::string DeleteBackupPolicyRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DeleteBackupPolicyRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long DeleteBackupPolicyRequest::getId()const +{ + return id_; +} + +void DeleteBackupPolicyRequest::setId(long id) +{ + id_ = id; + setParameter("Id", std::to_string(id)); +} + diff --git a/sas/src/model/DeleteBackupPolicyResult.cc b/sas/src/model/DeleteBackupPolicyResult.cc new file mode 100644 index 000000000..18001a8b0 --- /dev/null +++ b/sas/src/model/DeleteBackupPolicyResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +DeleteBackupPolicyResult::DeleteBackupPolicyResult() : + ServiceResult() +{} + +DeleteBackupPolicyResult::DeleteBackupPolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteBackupPolicyResult::~DeleteBackupPolicyResult() +{} + +void DeleteBackupPolicyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/DeleteVpcHoneyPotRequest.cc b/sas/src/model/DeleteVpcHoneyPotRequest.cc new file mode 100644 index 000000000..2af2459b7 --- /dev/null +++ b/sas/src/model/DeleteVpcHoneyPotRequest.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 + +using AlibabaCloud::Sas::Model::DeleteVpcHoneyPotRequest; + +DeleteVpcHoneyPotRequest::DeleteVpcHoneyPotRequest() : + RpcServiceRequest("sas", "2018-12-03", "DeleteVpcHoneyPot") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteVpcHoneyPotRequest::~DeleteVpcHoneyPotRequest() +{} + +std::string DeleteVpcHoneyPotRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DeleteVpcHoneyPotRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DeleteVpcHoneyPotRequest::getVpcId()const +{ + return vpcId_; +} + +void DeleteVpcHoneyPotRequest::setVpcId(const std::string& vpcId) +{ + vpcId_ = vpcId; + setParameter("VpcId", vpcId); +} + diff --git a/sas/src/model/DeleteVpcHoneyPotResult.cc b/sas/src/model/DeleteVpcHoneyPotResult.cc new file mode 100644 index 000000000..4bdd4e2b4 --- /dev/null +++ b/sas/src/model/DeleteVpcHoneyPotResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +DeleteVpcHoneyPotResult::DeleteVpcHoneyPotResult() : + ServiceResult() +{} + +DeleteVpcHoneyPotResult::DeleteVpcHoneyPotResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteVpcHoneyPotResult::~DeleteVpcHoneyPotResult() +{} + +void DeleteVpcHoneyPotResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/DescribeAccesskeyLeakListRequest.cc b/sas/src/model/DescribeAccesskeyLeakListRequest.cc new file mode 100644 index 000000000..8148f0e80 --- /dev/null +++ b/sas/src/model/DescribeAccesskeyLeakListRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Sas::Model::DescribeAccesskeyLeakListRequest; + +DescribeAccesskeyLeakListRequest::DescribeAccesskeyLeakListRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeAccesskeyLeakList") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeAccesskeyLeakListRequest::~DescribeAccesskeyLeakListRequest() +{} + +std::string DescribeAccesskeyLeakListRequest::getQuery()const +{ + return query_; +} + +void DescribeAccesskeyLeakListRequest::setQuery(const std::string& query) +{ + query_ = query; + setParameter("Query", query); +} + +long DescribeAccesskeyLeakListRequest::getStartTs()const +{ + return startTs_; +} + +void DescribeAccesskeyLeakListRequest::setStartTs(long startTs) +{ + startTs_ = startTs; + setParameter("StartTs", std::to_string(startTs)); +} + +int DescribeAccesskeyLeakListRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeAccesskeyLeakListRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeAccesskeyLeakListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeAccesskeyLeakListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +int DescribeAccesskeyLeakListRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeAccesskeyLeakListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeAccesskeyLeakListRequest::getStatus()const +{ + return status_; +} + +void DescribeAccesskeyLeakListRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/sas/src/model/DescribeAccesskeyLeakListResult.cc b/sas/src/model/DescribeAccesskeyLeakListResult.cc new file mode 100644 index 000000000..7e6d67c24 --- /dev/null +++ b/sas/src/model/DescribeAccesskeyLeakListResult.cc @@ -0,0 +1,112 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeAccesskeyLeakListResult::DescribeAccesskeyLeakListResult() : + ServiceResult() +{} + +DescribeAccesskeyLeakListResult::DescribeAccesskeyLeakListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAccesskeyLeakListResult::~DescribeAccesskeyLeakListResult() +{} + +void DescribeAccesskeyLeakListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allAccessKeyLeakListNode = value["AccessKeyLeakList"]["AccessKeyLeak"]; + for (auto valueAccessKeyLeakListAccessKeyLeak : allAccessKeyLeakListNode) + { + AccessKeyLeak accessKeyLeakListObject; + if(!valueAccessKeyLeakListAccessKeyLeak["Id"].isNull()) + accessKeyLeakListObject.id = std::stol(valueAccessKeyLeakListAccessKeyLeak["Id"].asString()); + if(!valueAccessKeyLeakListAccessKeyLeak["GmtModified"].isNull()) + accessKeyLeakListObject.gmtModified = std::stol(valueAccessKeyLeakListAccessKeyLeak["GmtModified"].asString()); + if(!valueAccessKeyLeakListAccessKeyLeak["Asset"].isNull()) + accessKeyLeakListObject.asset = valueAccessKeyLeakListAccessKeyLeak["Asset"].asString(); + if(!valueAccessKeyLeakListAccessKeyLeak["Type"].isNull()) + accessKeyLeakListObject.type = valueAccessKeyLeakListAccessKeyLeak["Type"].asString(); + if(!valueAccessKeyLeakListAccessKeyLeak["AccesskeyId"].isNull()) + accessKeyLeakListObject.accesskeyId = valueAccessKeyLeakListAccessKeyLeak["AccesskeyId"].asString(); + if(!valueAccessKeyLeakListAccessKeyLeak["Status"].isNull()) + accessKeyLeakListObject.status = valueAccessKeyLeakListAccessKeyLeak["Status"].asString(); + if(!valueAccessKeyLeakListAccessKeyLeak["AliUserName"].isNull()) + accessKeyLeakListObject.aliUserName = valueAccessKeyLeakListAccessKeyLeak["AliUserName"].asString(); + if(!valueAccessKeyLeakListAccessKeyLeak["DealType"].isNull()) + accessKeyLeakListObject.dealType = valueAccessKeyLeakListAccessKeyLeak["DealType"].asString(); + if(!valueAccessKeyLeakListAccessKeyLeak["DealTime"].isNull()) + accessKeyLeakListObject.dealTime = valueAccessKeyLeakListAccessKeyLeak["DealTime"].asString(); + if(!valueAccessKeyLeakListAccessKeyLeak["UserType"].isNull()) + accessKeyLeakListObject.userType = valueAccessKeyLeakListAccessKeyLeak["UserType"].asString(); + if(!valueAccessKeyLeakListAccessKeyLeak["Url"].isNull()) + accessKeyLeakListObject.url = valueAccessKeyLeakListAccessKeyLeak["Url"].asString(); + accessKeyLeakList_.push_back(accessKeyLeakListObject); + } + if(!value["GmtLast"].isNull()) + gmtLast_ = std::stol(value["GmtLast"].asString()); + if(!value["AkLeakCount"].isNull()) + akLeakCount_ = std::stoi(value["AkLeakCount"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeAccesskeyLeakListResult::getAkLeakCount()const +{ + return akLeakCount_; +} + +std::vector DescribeAccesskeyLeakListResult::getAccessKeyLeakList()const +{ + return accessKeyLeakList_; +} + +int DescribeAccesskeyLeakListResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeAccesskeyLeakListResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeAccesskeyLeakListResult::getGmtLast()const +{ + return gmtLast_; +} + +int DescribeAccesskeyLeakListResult::getCurrentPage()const +{ + return currentPage_; +} + diff --git a/sas/src/model/DescribeAffectedMaliciousFileImagesRequest.cc b/sas/src/model/DescribeAffectedMaliciousFileImagesRequest.cc new file mode 100644 index 000000000..f9dec8f79 --- /dev/null +++ b/sas/src/model/DescribeAffectedMaliciousFileImagesRequest.cc @@ -0,0 +1,185 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::DescribeAffectedMaliciousFileImagesRequest; + +DescribeAffectedMaliciousFileImagesRequest::DescribeAffectedMaliciousFileImagesRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeAffectedMaliciousFileImages") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeAffectedMaliciousFileImagesRequest::~DescribeAffectedMaliciousFileImagesRequest() +{} + +std::string DescribeAffectedMaliciousFileImagesRequest::getRepoId()const +{ + return repoId_; +} + +void DescribeAffectedMaliciousFileImagesRequest::setRepoId(const std::string& repoId) +{ + repoId_ = repoId; + setParameter("RepoId", repoId); +} + +std::string DescribeAffectedMaliciousFileImagesRequest::getRepoNamespace()const +{ + return repoNamespace_; +} + +void DescribeAffectedMaliciousFileImagesRequest::setRepoNamespace(const std::string& repoNamespace) +{ + repoNamespace_ = repoNamespace; + setParameter("RepoNamespace", repoNamespace); +} + +std::string DescribeAffectedMaliciousFileImagesRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeAffectedMaliciousFileImagesRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeAffectedMaliciousFileImagesRequest::getImageDigest()const +{ + return imageDigest_; +} + +void DescribeAffectedMaliciousFileImagesRequest::setImageDigest(const std::string& imageDigest) +{ + imageDigest_ = imageDigest; + setParameter("ImageDigest", imageDigest); +} + +std::string DescribeAffectedMaliciousFileImagesRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeAffectedMaliciousFileImagesRequest::setPageSize(const std::string& pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", pageSize); +} + +std::string DescribeAffectedMaliciousFileImagesRequest::getLang()const +{ + return lang_; +} + +void DescribeAffectedMaliciousFileImagesRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribeAffectedMaliciousFileImagesRequest::getImageTag()const +{ + return imageTag_; +} + +void DescribeAffectedMaliciousFileImagesRequest::setImageTag(const std::string& imageTag) +{ + imageTag_ = imageTag; + setParameter("ImageTag", imageTag); +} + +std::string DescribeAffectedMaliciousFileImagesRequest::getMaliciousMd5()const +{ + return maliciousMd5_; +} + +void DescribeAffectedMaliciousFileImagesRequest::setMaliciousMd5(const std::string& maliciousMd5) +{ + maliciousMd5_ = maliciousMd5; + setParameter("MaliciousMd5", maliciousMd5); +} + +int DescribeAffectedMaliciousFileImagesRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeAffectedMaliciousFileImagesRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeAffectedMaliciousFileImagesRequest::getRepoName()const +{ + return repoName_; +} + +void DescribeAffectedMaliciousFileImagesRequest::setRepoName(const std::string& repoName) +{ + repoName_ = repoName; + setParameter("RepoName", repoName); +} + +std::string DescribeAffectedMaliciousFileImagesRequest::getRepoInstanceId()const +{ + return repoInstanceId_; +} + +void DescribeAffectedMaliciousFileImagesRequest::setRepoInstanceId(const std::string& repoInstanceId) +{ + repoInstanceId_ = repoInstanceId; + setParameter("RepoInstanceId", repoInstanceId); +} + +std::string DescribeAffectedMaliciousFileImagesRequest::getImageLayer()const +{ + return imageLayer_; +} + +void DescribeAffectedMaliciousFileImagesRequest::setImageLayer(const std::string& imageLayer) +{ + imageLayer_ = imageLayer; + setParameter("ImageLayer", imageLayer); +} + +std::vector DescribeAffectedMaliciousFileImagesRequest::getUuids()const +{ + return uuids_; +} + +void DescribeAffectedMaliciousFileImagesRequest::setUuids(const std::vector& uuids) +{ + uuids_ = uuids; + for(int dep1 = 0; dep1!= uuids.size(); dep1++) { + setParameter("Uuids."+ std::to_string(dep1), uuids.at(dep1)); + } +} + +std::string DescribeAffectedMaliciousFileImagesRequest::getRepoRegionId()const +{ + return repoRegionId_; +} + +void DescribeAffectedMaliciousFileImagesRequest::setRepoRegionId(const std::string& repoRegionId) +{ + repoRegionId_ = repoRegionId; + setParameter("RepoRegionId", repoRegionId); +} + diff --git a/sas/src/model/DescribeAffectedMaliciousFileImagesResult.cc b/sas/src/model/DescribeAffectedMaliciousFileImagesResult.cc new file mode 100644 index 000000000..660d5a854 --- /dev/null +++ b/sas/src/model/DescribeAffectedMaliciousFileImagesResult.cc @@ -0,0 +1,101 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeAffectedMaliciousFileImagesResult::DescribeAffectedMaliciousFileImagesResult() : + ServiceResult() +{} + +DescribeAffectedMaliciousFileImagesResult::DescribeAffectedMaliciousFileImagesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAffectedMaliciousFileImagesResult::~DescribeAffectedMaliciousFileImagesResult() +{} + +void DescribeAffectedMaliciousFileImagesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allAffectedMaliciousFileImagesResponseNode = value["AffectedMaliciousFileImagesResponse"]["AffectedMaliciousFileImage"]; + for (auto valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage : allAffectedMaliciousFileImagesResponseNode) + { + AffectedMaliciousFileImage affectedMaliciousFileImagesResponseObject; + if(!valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["Layer"].isNull()) + affectedMaliciousFileImagesResponseObject.layer = valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["Layer"].asString(); + if(!valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["FirstScanTimestamp"].isNull()) + affectedMaliciousFileImagesResponseObject.firstScanTimestamp = std::stol(valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["FirstScanTimestamp"].asString()); + if(!valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["LatestScanTimestamp"].isNull()) + affectedMaliciousFileImagesResponseObject.latestScanTimestamp = std::stol(valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["LatestScanTimestamp"].asString()); + if(!valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["LatestVerifyTimestamp"].isNull()) + affectedMaliciousFileImagesResponseObject.latestVerifyTimestamp = std::stol(valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["LatestVerifyTimestamp"].asString()); + if(!valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["MaliciousMd5"].isNull()) + affectedMaliciousFileImagesResponseObject.maliciousMd5 = valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["MaliciousMd5"].asString(); + if(!valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["Status"].isNull()) + affectedMaliciousFileImagesResponseObject.status = std::stoi(valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["Status"].asString()); + if(!valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["Level"].isNull()) + affectedMaliciousFileImagesResponseObject.level = valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["Level"].asString(); + if(!valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["ImageUuid"].isNull()) + affectedMaliciousFileImagesResponseObject.imageUuid = valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["ImageUuid"].asString(); + if(!valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["FilePath"].isNull()) + affectedMaliciousFileImagesResponseObject.filePath = valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["FilePath"].asString(); + if(!valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["Digest"].isNull()) + affectedMaliciousFileImagesResponseObject.digest = valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["Digest"].asString(); + if(!valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["RepoRegionId"].isNull()) + affectedMaliciousFileImagesResponseObject.repoRegionId = valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["RepoRegionId"].asString(); + if(!valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["RepoInstanceId"].isNull()) + affectedMaliciousFileImagesResponseObject.repoInstanceId = valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["RepoInstanceId"].asString(); + if(!valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["RepoId"].isNull()) + affectedMaliciousFileImagesResponseObject.repoId = valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["RepoId"].asString(); + if(!valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["RepoName"].isNull()) + affectedMaliciousFileImagesResponseObject.repoName = valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["RepoName"].asString(); + if(!valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["Namespace"].isNull()) + affectedMaliciousFileImagesResponseObject._namespace = valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["Namespace"].asString(); + if(!valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["Tag"].isNull()) + affectedMaliciousFileImagesResponseObject.tag = valueAffectedMaliciousFileImagesResponseAffectedMaliciousFileImage["Tag"].asString(); + affectedMaliciousFileImagesResponse_.push_back(affectedMaliciousFileImagesResponseObject); + } + auto pageInfoNode = value["PageInfo"]; + if(!pageInfoNode["Count"].isNull()) + pageInfo_.count = std::stoi(pageInfoNode["Count"].asString()); + if(!pageInfoNode["PageSize"].isNull()) + pageInfo_.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + pageInfo_.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + if(!pageInfoNode["CurrentPage"].isNull()) + pageInfo_.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + +} + +std::vector DescribeAffectedMaliciousFileImagesResult::getAffectedMaliciousFileImagesResponse()const +{ + return affectedMaliciousFileImagesResponse_; +} + +DescribeAffectedMaliciousFileImagesResult::PageInfo DescribeAffectedMaliciousFileImagesResult::getPageInfo()const +{ + return pageInfo_; +} + diff --git a/sas/src/model/DescribeAlarmEventDetailResult.cc b/sas/src/model/DescribeAlarmEventDetailResult.cc index 7e0f9d523..9d2ef228d 100644 --- a/sas/src/model/DescribeAlarmEventDetailResult.cc +++ b/sas/src/model/DescribeAlarmEventDetailResult.cc @@ -70,22 +70,44 @@ void DescribeAlarmEventDetailResult::parse(const std::string &payload) data_.dataSource = dataNode["DataSource"].asString(); if(!dataNode["CanCancelFault"].isNull()) data_.canCancelFault = dataNode["CanCancelFault"].asString() == "true"; + if(!dataNode["ContainHwMode"].isNull()) + data_.containHwMode = dataNode["ContainHwMode"].asString() == "true"; + if(!dataNode["ContainerImageId"].isNull()) + data_.containerImageId = dataNode["ContainerImageId"].asString(); + if(!dataNode["ContainerImageName"].isNull()) + data_.containerImageName = dataNode["ContainerImageName"].asString(); + if(!dataNode["ContainerId"].isNull()) + data_.containerId = dataNode["ContainerId"].asString(); + if(!dataNode["K8sNamespace"].isNull()) + data_.k8sNamespace = dataNode["K8sNamespace"].asString(); + if(!dataNode["K8sClusterId"].isNull()) + data_.k8sClusterId = dataNode["K8sClusterId"].asString(); + if(!dataNode["K8sClusterName"].isNull()) + data_.k8sClusterName = dataNode["K8sClusterName"].asString(); + if(!dataNode["K8sNodeId"].isNull()) + data_.k8sNodeId = dataNode["K8sNodeId"].asString(); + if(!dataNode["K8sPodName"].isNull()) + data_.k8sPodName = dataNode["K8sPodName"].asString(); + if(!dataNode["K8sNodeName"].isNull()) + data_.k8sNodeName = dataNode["K8sNodeName"].asString(); + if(!dataNode["AppName"].isNull()) + data_.appName = dataNode["AppName"].asString(); auto allCauseDetailsNode = dataNode["CauseDetails"]["CauseDetail"]; for (auto dataNodeCauseDetailsCauseDetail : allCauseDetailsNode) { Data::CauseDetail causeDetailObject; if(!dataNodeCauseDetailsCauseDetail["Key"].isNull()) causeDetailObject.key = dataNodeCauseDetailsCauseDetail["Key"].asString(); - auto allValueNode = allCauseDetailsNode["Value"]["ValueItem"]; - for (auto allCauseDetailsNodeValueValueItem : allValueNode) + auto allValueNode = dataNodeCauseDetailsCauseDetail["Value"]["ValueItem"]; + for (auto dataNodeCauseDetailsCauseDetailValueValueItem : allValueNode) { Data::CauseDetail::ValueItem valueObject; - if(!allCauseDetailsNodeValueValueItem["Name"].isNull()) - valueObject.name = allCauseDetailsNodeValueValueItem["Name"].asString(); - if(!allCauseDetailsNodeValueValueItem["Type"].isNull()) - valueObject.type = allCauseDetailsNodeValueValueItem["Type"].asString(); - if(!allCauseDetailsNodeValueValueItem["Value"].isNull()) - valueObject.value = allCauseDetailsNodeValueValueItem["Value"].asString(); + if(!dataNodeCauseDetailsCauseDetailValueValueItem["Name"].isNull()) + valueObject.name = dataNodeCauseDetailsCauseDetailValueValueItem["Name"].asString(); + if(!dataNodeCauseDetailsCauseDetailValueValueItem["Type"].isNull()) + valueObject.type = dataNodeCauseDetailsCauseDetailValueValueItem["Type"].asString(); + if(!dataNodeCauseDetailsCauseDetailValueValueItem["Value"].isNull()) + valueObject.value = dataNodeCauseDetailsCauseDetailValueValueItem["Value"].asString(); causeDetailObject.value.push_back(valueObject); } data_.causeDetails.push_back(causeDetailObject); diff --git a/sas/src/model/DescribeAlarmEventListRequest.cc b/sas/src/model/DescribeAlarmEventListRequest.cc index 110332ce7..fc0fb750f 100644 --- a/sas/src/model/DescribeAlarmEventListRequest.cc +++ b/sas/src/model/DescribeAlarmEventListRequest.cc @@ -27,6 +27,17 @@ DescribeAlarmEventListRequest::DescribeAlarmEventListRequest() : DescribeAlarmEventListRequest::~DescribeAlarmEventListRequest() {} +std::string DescribeAlarmEventListRequest::getTargetType()const +{ + return targetType_; +} + +void DescribeAlarmEventListRequest::setTargetType(const std::string& targetType) +{ + targetType_ = targetType; + setParameter("TargetType", targetType); +} + std::string DescribeAlarmEventListRequest::getAlarmEventType()const { return alarmEventType_; @@ -49,6 +60,17 @@ void DescribeAlarmEventListRequest::setRemark(const std::string& remark) setParameter("Remark", remark); } +std::string DescribeAlarmEventListRequest::getContainerFieldName()const +{ + return containerFieldName_; +} + +void DescribeAlarmEventListRequest::setContainerFieldName(const std::string& containerFieldName) +{ + containerFieldName_ = containerFieldName; + setParameter("ContainerFieldName", containerFieldName); +} + std::string DescribeAlarmEventListRequest::getAlarmEventName()const { return alarmEventName_; @@ -71,6 +93,17 @@ void DescribeAlarmEventListRequest::setSourceIp(const std::string& sourceIp) setParameter("SourceIp", sourceIp); } +std::string DescribeAlarmEventListRequest::getContainerFieldValue()const +{ + return containerFieldValue_; +} + +void DescribeAlarmEventListRequest::setContainerFieldValue(const std::string& containerFieldValue) +{ + containerFieldValue_ = containerFieldValue; + setParameter("ContainerFieldValue", containerFieldValue); +} + std::string DescribeAlarmEventListRequest::getPageSize()const { return pageSize_; @@ -137,6 +170,17 @@ void DescribeAlarmEventListRequest::setCurrentPage(int currentPage) setParameter("CurrentPage", std::to_string(currentPage)); } +std::string DescribeAlarmEventListRequest::getClusterId()const +{ + return clusterId_; +} + +void DescribeAlarmEventListRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + std::vector DescribeAlarmEventListRequest::getOperateErrorCodeList()const { return operateErrorCodeList_; diff --git a/sas/src/model/DescribeAlarmEventListResult.cc b/sas/src/model/DescribeAlarmEventListResult.cc index c98ca0745..bafaccf60 100644 --- a/sas/src/model/DescribeAlarmEventListResult.cc +++ b/sas/src/model/DescribeAlarmEventListResult.cc @@ -57,6 +57,8 @@ void DescribeAlarmEventListResult::parse(const std::string &payload) suspEventsObject.startTime = std::stol(valueSuspEventsSuspEventsItem["StartTime"].asString()); if(!valueSuspEventsSuspEventsItem["EndTime"].isNull()) suspEventsObject.endTime = std::stol(valueSuspEventsSuspEventsItem["EndTime"].asString()); + if(!valueSuspEventsSuspEventsItem["OperateTime"].isNull()) + suspEventsObject.operateTime = std::stol(valueSuspEventsSuspEventsItem["OperateTime"].asString()); if(!valueSuspEventsSuspEventsItem["AlarmEventType"].isNull()) suspEventsObject.alarmEventType = valueSuspEventsSuspEventsItem["AlarmEventType"].asString(); if(!valueSuspEventsSuspEventsItem["SuspiciousEventCount"].isNull()) @@ -91,6 +93,30 @@ void DescribeAlarmEventListResult::parse(const std::string &payload) suspEventsObject.alarmEventNameOriginal = valueSuspEventsSuspEventsItem["AlarmEventNameOriginal"].asString(); if(!valueSuspEventsSuspEventsItem["InstanceId"].isNull()) suspEventsObject.instanceId = valueSuspEventsSuspEventsItem["InstanceId"].asString(); + if(!valueSuspEventsSuspEventsItem["ContainHwMode"].isNull()) + suspEventsObject.containHwMode = valueSuspEventsSuspEventsItem["ContainHwMode"].asString() == "true"; + if(!valueSuspEventsSuspEventsItem["Stages"].isNull()) + suspEventsObject.stages = valueSuspEventsSuspEventsItem["Stages"].asString(); + if(!valueSuspEventsSuspEventsItem["ContainerImageId"].isNull()) + suspEventsObject.containerImageId = valueSuspEventsSuspEventsItem["ContainerImageId"].asString(); + if(!valueSuspEventsSuspEventsItem["ContainerImageName"].isNull()) + suspEventsObject.containerImageName = valueSuspEventsSuspEventsItem["ContainerImageName"].asString(); + if(!valueSuspEventsSuspEventsItem["ContainerId"].isNull()) + suspEventsObject.containerId = valueSuspEventsSuspEventsItem["ContainerId"].asString(); + if(!valueSuspEventsSuspEventsItem["K8sNamespace"].isNull()) + suspEventsObject.k8sNamespace = valueSuspEventsSuspEventsItem["K8sNamespace"].asString(); + if(!valueSuspEventsSuspEventsItem["K8sClusterId"].isNull()) + suspEventsObject.k8sClusterId = valueSuspEventsSuspEventsItem["K8sClusterId"].asString(); + if(!valueSuspEventsSuspEventsItem["K8sClusterName"].isNull()) + suspEventsObject.k8sClusterName = valueSuspEventsSuspEventsItem["K8sClusterName"].asString(); + if(!valueSuspEventsSuspEventsItem["K8sNodeId"].isNull()) + suspEventsObject.k8sNodeId = valueSuspEventsSuspEventsItem["K8sNodeId"].asString(); + if(!valueSuspEventsSuspEventsItem["K8sPodName"].isNull()) + suspEventsObject.k8sPodName = valueSuspEventsSuspEventsItem["K8sPodName"].asString(); + if(!valueSuspEventsSuspEventsItem["K8sNodeName"].isNull()) + suspEventsObject.k8sNodeName = valueSuspEventsSuspEventsItem["K8sNodeName"].asString(); + if(!valueSuspEventsSuspEventsItem["AppName"].isNull()) + suspEventsObject.appName = valueSuspEventsSuspEventsItem["AppName"].asString(); suspEvents_.push_back(suspEventsObject); } auto pageInfoNode = value["PageInfo"]; diff --git a/sas/src/model/DescribeAlarmEventStackInfoRequest.cc b/sas/src/model/DescribeAlarmEventStackInfoRequest.cc new file mode 100644 index 000000000..65fd2e61f --- /dev/null +++ b/sas/src/model/DescribeAlarmEventStackInfoRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Sas::Model::DescribeAlarmEventStackInfoRequest; + +DescribeAlarmEventStackInfoRequest::DescribeAlarmEventStackInfoRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeAlarmEventStackInfo") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeAlarmEventStackInfoRequest::~DescribeAlarmEventStackInfoRequest() +{} + +std::string DescribeAlarmEventStackInfoRequest::getUniqueInfo()const +{ + return uniqueInfo_; +} + +void DescribeAlarmEventStackInfoRequest::setUniqueInfo(const std::string& uniqueInfo) +{ + uniqueInfo_ = uniqueInfo; + setParameter("UniqueInfo", uniqueInfo); +} + +std::string DescribeAlarmEventStackInfoRequest::getUuid()const +{ + return uuid_; +} + +void DescribeAlarmEventStackInfoRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setParameter("Uuid", uuid); +} + +std::string DescribeAlarmEventStackInfoRequest::getEventName()const +{ + return eventName_; +} + +void DescribeAlarmEventStackInfoRequest::setEventName(const std::string& eventName) +{ + eventName_ = eventName; + setParameter("EventName", eventName); +} + +std::string DescribeAlarmEventStackInfoRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeAlarmEventStackInfoRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeAlarmEventStackInfoRequest::getLang()const +{ + return lang_; +} + +void DescribeAlarmEventStackInfoRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/sas/src/model/DescribeAlarmEventStackInfoResult.cc b/sas/src/model/DescribeAlarmEventStackInfoResult.cc new file mode 100644 index 000000000..d052bad81 --- /dev/null +++ b/sas/src/model/DescribeAlarmEventStackInfoResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeAlarmEventStackInfoResult::DescribeAlarmEventStackInfoResult() : + ServiceResult() +{} + +DescribeAlarmEventStackInfoResult::DescribeAlarmEventStackInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAlarmEventStackInfoResult::~DescribeAlarmEventStackInfoResult() +{} + +void DescribeAlarmEventStackInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["StackInfo"].isNull()) + stackInfo_ = value["StackInfo"].asString(); + +} + +std::string DescribeAlarmEventStackInfoResult::getStackInfo()const +{ + return stackInfo_; +} + diff --git a/sas/src/model/DescribeAllEntityResult.cc b/sas/src/model/DescribeAllEntityResult.cc index 3a6687f2f..34a378378 100644 --- a/sas/src/model/DescribeAllEntityResult.cc +++ b/sas/src/model/DescribeAllEntityResult.cc @@ -51,6 +51,8 @@ void DescribeAllEntityResult::parse(const std::string &payload) entityListObject.ip = valueEntityListEntity["Ip"].asString(); if(!valueEntityListEntity["Uuid"].isNull()) entityListObject.uuid = valueEntityListEntity["Uuid"].asString(); + if(!valueEntityListEntity["Os"].isNull()) + entityListObject.os = valueEntityListEntity["Os"].asString(); if(!valueEntityListEntity["InternetIp"].isNull()) entityListObject.internetIp = valueEntityListEntity["InternetIp"].asString(); if(!valueEntityListEntity["IntranetIp"].isNull()) diff --git a/sas/src/model/DescribeAntiBruteForceRulesRequest.cc b/sas/src/model/DescribeAntiBruteForceRulesRequest.cc new file mode 100644 index 000000000..d959107f1 --- /dev/null +++ b/sas/src/model/DescribeAntiBruteForceRulesRequest.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 + +using AlibabaCloud::Sas::Model::DescribeAntiBruteForceRulesRequest; + +DescribeAntiBruteForceRulesRequest::DescribeAntiBruteForceRulesRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeAntiBruteForceRules") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeAntiBruteForceRulesRequest::~DescribeAntiBruteForceRulesRequest() +{} + +long DescribeAntiBruteForceRulesRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeAntiBruteForceRulesRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeAntiBruteForceRulesRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeAntiBruteForceRulesRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + diff --git a/sas/src/model/DescribeAntiBruteForceRulesResult.cc b/sas/src/model/DescribeAntiBruteForceRulesResult.cc new file mode 100644 index 000000000..2dfd4f6c2 --- /dev/null +++ b/sas/src/model/DescribeAntiBruteForceRulesResult.cc @@ -0,0 +1,88 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeAntiBruteForceRulesResult::DescribeAntiBruteForceRulesResult() : + ServiceResult() +{} + +DescribeAntiBruteForceRulesResult::DescribeAntiBruteForceRulesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAntiBruteForceRulesResult::~DescribeAntiBruteForceRulesResult() +{} + +void DescribeAntiBruteForceRulesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allRulesNode = value["Rules"]["AntiBruteForceRule"]; + for (auto valueRulesAntiBruteForceRule : allRulesNode) + { + AntiBruteForceRule rulesObject; + if(!valueRulesAntiBruteForceRule["Id"].isNull()) + rulesObject.id = std::stol(valueRulesAntiBruteForceRule["Id"].asString()); + if(!valueRulesAntiBruteForceRule["DefaultRule"].isNull()) + rulesObject.defaultRule = valueRulesAntiBruteForceRule["DefaultRule"].asString() == "true"; + if(!valueRulesAntiBruteForceRule["Name"].isNull()) + rulesObject.name = valueRulesAntiBruteForceRule["Name"].asString(); + if(!valueRulesAntiBruteForceRule["Span"].isNull()) + rulesObject.span = std::stoi(valueRulesAntiBruteForceRule["Span"].asString()); + if(!valueRulesAntiBruteForceRule["FailCount"].isNull()) + rulesObject.failCount = std::stoi(valueRulesAntiBruteForceRule["FailCount"].asString()); + if(!valueRulesAntiBruteForceRule["ForbiddenTime"].isNull()) + rulesObject.forbiddenTime = std::stoi(valueRulesAntiBruteForceRule["ForbiddenTime"].asString()); + if(!valueRulesAntiBruteForceRule["EnableSmartRule"].isNull()) + rulesObject.enableSmartRule = valueRulesAntiBruteForceRule["EnableSmartRule"].asString() == "true"; + if(!valueRulesAntiBruteForceRule["MachineCount"].isNull()) + rulesObject.machineCount = std::stoi(valueRulesAntiBruteForceRule["MachineCount"].asString()); + auto allUuidList = value["UuidList"]["uuid"]; + for (auto value : allUuidList) + rulesObject.uuidList.push_back(value.asString()); + rules_.push_back(rulesObject); + } + auto pageInfoNode = value["PageInfo"]; + if(!pageInfoNode["Count"].isNull()) + pageInfo_.count = std::stoi(pageInfoNode["Count"].asString()); + if(!pageInfoNode["PageSize"].isNull()) + pageInfo_.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + pageInfo_.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + if(!pageInfoNode["CurrentPage"].isNull()) + pageInfo_.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + +} + +DescribeAntiBruteForceRulesResult::PageInfo DescribeAntiBruteForceRulesResult::getPageInfo()const +{ + return pageInfo_; +} + +std::vector DescribeAntiBruteForceRulesResult::getRules()const +{ + return rules_; +} + diff --git a/sas/src/model/DescribeAssetDetailByUuidResult.cc b/sas/src/model/DescribeAssetDetailByUuidResult.cc index f5c3c9cc3..70c12faaf 100644 --- a/sas/src/model/DescribeAssetDetailByUuidResult.cc +++ b/sas/src/model/DescribeAssetDetailByUuidResult.cc @@ -45,9 +45,9 @@ void DescribeAssetDetailByUuidResult::parse(const std::string &payload) if(!assetDetailNode["IntranetIp"].isNull()) assetDetail_.intranetIp = assetDetailNode["IntranetIp"].asString(); if(!assetDetailNode["InstanceName"].isNull()) - assetDetail_.instanceName = std::stoi(assetDetailNode["InstanceName"].asString()); + assetDetail_.instanceName = assetDetailNode["InstanceName"].asString(); if(!assetDetailNode["InstanceId"].isNull()) - assetDetail_.instanceId = std::stoi(assetDetailNode["InstanceId"].asString()); + assetDetail_.instanceId = assetDetailNode["InstanceId"].asString(); if(!assetDetailNode["Ip"].isNull()) assetDetail_.ip = assetDetailNode["Ip"].asString(); if(!assetDetailNode["Uuid"].isNull()) @@ -60,6 +60,8 @@ void DescribeAssetDetailByUuidResult::parse(const std::string &payload) assetDetail_.clientStatus = assetDetailNode["ClientStatus"].asString(); if(!assetDetailNode["Region"].isNull()) assetDetail_.region = assetDetailNode["Region"].asString(); + if(!assetDetailNode["RegionId"].isNull()) + assetDetail_.regionId = assetDetailNode["RegionId"].asString(); if(!assetDetailNode["RegionName"].isNull()) assetDetail_.regionName = assetDetailNode["RegionName"].asString(); if(!assetDetailNode["Tag"].isNull()) @@ -84,8 +86,10 @@ void DescribeAssetDetailByUuidResult::parse(const std::string &payload) assetDetail_.osName = assetDetailNode["OsName"].asString(); if(!assetDetailNode["VpcInstanceId"].isNull()) assetDetail_.vpcInstanceId = assetDetailNode["VpcInstanceId"].asString(); - if(!assetDetailNode["OsName"].isNull()) - assetDetail_.osName1 = assetDetailNode["OsName"].asString(); + if(!assetDetailNode["InstanceStatus"].isNull()) + assetDetail_.instanceStatus = assetDetailNode["InstanceStatus"].asString(); + if(!assetDetailNode["CreateTime"].isNull()) + assetDetail_.createTime = std::stol(assetDetailNode["CreateTime"].asString()); auto allIpList = assetDetailNode["IpList"]["Ip"]; for (auto value : allIpList) assetDetail_.ipList.push_back(value.asString()); diff --git a/sas/src/model/DescribeAssetDetailByUuidsResult.cc b/sas/src/model/DescribeAssetDetailByUuidsResult.cc index 15dcdb78d..b6f0e8961 100644 --- a/sas/src/model/DescribeAssetDetailByUuidsResult.cc +++ b/sas/src/model/DescribeAssetDetailByUuidsResult.cc @@ -48,9 +48,9 @@ void DescribeAssetDetailByUuidsResult::parse(const std::string &payload) if(!valueAssetListAsset["IntranetIp"].isNull()) assetListObject.intranetIp = valueAssetListAsset["IntranetIp"].asString(); if(!valueAssetListAsset["InstanceName"].isNull()) - assetListObject.instanceName = std::stoi(valueAssetListAsset["InstanceName"].asString()); + assetListObject.instanceName = valueAssetListAsset["InstanceName"].asString(); if(!valueAssetListAsset["InstanceId"].isNull()) - assetListObject.instanceId = std::stoi(valueAssetListAsset["InstanceId"].asString()); + assetListObject.instanceId = valueAssetListAsset["InstanceId"].asString(); if(!valueAssetListAsset["Ip"].isNull()) assetListObject.ip = valueAssetListAsset["Ip"].asString(); if(!valueAssetListAsset["Uuid"].isNull()) @@ -61,6 +61,8 @@ void DescribeAssetDetailByUuidsResult::parse(const std::string &payload) assetListObject.os = valueAssetListAsset["Os"].asString(); if(!valueAssetListAsset["ClientStatus"].isNull()) assetListObject.clientStatus = valueAssetListAsset["ClientStatus"].asString(); + if(!valueAssetListAsset["RegionId"].isNull()) + assetListObject.regionId = valueAssetListAsset["RegionId"].asString(); if(!valueAssetListAsset["Region"].isNull()) assetListObject.region = valueAssetListAsset["Region"].asString(); if(!valueAssetListAsset["RegionName"].isNull()) diff --git a/sas/src/model/DescribeBackupDirsRequest.cc b/sas/src/model/DescribeBackupDirsRequest.cc new file mode 100644 index 000000000..0f9c80785 --- /dev/null +++ b/sas/src/model/DescribeBackupDirsRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Sas::Model::DescribeBackupDirsRequest; + +DescribeBackupDirsRequest::DescribeBackupDirsRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeBackupDirs") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeBackupDirsRequest::~DescribeBackupDirsRequest() +{} + +long DescribeBackupDirsRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeBackupDirsRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +int DescribeBackupDirsRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeBackupDirsRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeBackupDirsRequest::getUuid()const +{ + return uuid_; +} + +void DescribeBackupDirsRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setParameter("Uuid", uuid); +} + +std::string DescribeBackupDirsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeBackupDirsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long DescribeBackupDirsRequest::getPolicyId()const +{ + return policyId_; +} + +void DescribeBackupDirsRequest::setPolicyId(long policyId) +{ + policyId_ = policyId; + setParameter("PolicyId", std::to_string(policyId)); +} + +int DescribeBackupDirsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeBackupDirsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + diff --git a/sas/src/model/DescribeBackupDirsResult.cc b/sas/src/model/DescribeBackupDirsResult.cc new file mode 100644 index 000000000..a81082de6 --- /dev/null +++ b/sas/src/model/DescribeBackupDirsResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeBackupDirsResult::DescribeBackupDirsResult() : + ServiceResult() +{} + +DescribeBackupDirsResult::DescribeBackupDirsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBackupDirsResult::~DescribeBackupDirsResult() +{} + +void DescribeBackupDirsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allBackupDirsNode = value["BackupDirs"]["SimpleBackupJob"]; + for (auto valueBackupDirsSimpleBackupJob : allBackupDirsNode) + { + SimpleBackupJob backupDirsObject; + if(!valueBackupDirsSimpleBackupJob["BackupJobId"].isNull()) + backupDirsObject.backupJobId = std::stol(valueBackupDirsSimpleBackupJob["BackupJobId"].asString()); + if(!valueBackupDirsSimpleBackupJob["Source"].isNull()) + backupDirsObject.source = valueBackupDirsSimpleBackupJob["Source"].asString(); + backupDirs_.push_back(backupDirsObject); + } + auto pageInfoNode = value["PageInfo"]; + if(!pageInfoNode["Count"].isNull()) + pageInfo_.count = std::stoi(pageInfoNode["Count"].asString()); + if(!pageInfoNode["PageSize"].isNull()) + pageInfo_.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + pageInfo_.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + if(!pageInfoNode["CurrentPage"].isNull()) + pageInfo_.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + +} + +DescribeBackupDirsResult::PageInfo DescribeBackupDirsResult::getPageInfo()const +{ + return pageInfo_; +} + +std::vector DescribeBackupDirsResult::getBackupDirs()const +{ + return backupDirs_; +} + diff --git a/sas/src/model/DescribeBackupFilesRequest.cc b/sas/src/model/DescribeBackupFilesRequest.cc new file mode 100644 index 000000000..3ae313ef6 --- /dev/null +++ b/sas/src/model/DescribeBackupFilesRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Sas::Model::DescribeBackupFilesRequest; + +DescribeBackupFilesRequest::DescribeBackupFilesRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeBackupFiles") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeBackupFilesRequest::~DescribeBackupFilesRequest() +{} + +long DescribeBackupFilesRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeBackupFilesRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeBackupFilesRequest::getUuid()const +{ + return uuid_; +} + +void DescribeBackupFilesRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setParameter("Uuid", uuid); +} + +std::string DescribeBackupFilesRequest::getPath()const +{ + return path_; +} + +void DescribeBackupFilesRequest::setPath(const std::string& path) +{ + path_ = path; + setParameter("Path", path); +} + +std::string DescribeBackupFilesRequest::getSnapshotHash()const +{ + return snapshotHash_; +} + +void DescribeBackupFilesRequest::setSnapshotHash(const std::string& snapshotHash) +{ + snapshotHash_ = snapshotHash; + setParameter("SnapshotHash", snapshotHash); +} + +std::string DescribeBackupFilesRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeBackupFilesRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeBackupFilesRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeBackupFilesRequest::setPageSize(const std::string& pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", pageSize); +} + +std::string DescribeBackupFilesRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeBackupFilesRequest::setCurrentPage(const std::string& currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", currentPage); +} + diff --git a/sas/src/model/DescribeBackupFilesResult.cc b/sas/src/model/DescribeBackupFilesResult.cc new file mode 100644 index 000000000..1be9318e6 --- /dev/null +++ b/sas/src/model/DescribeBackupFilesResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeBackupFilesResult::DescribeBackupFilesResult() : + ServiceResult() +{} + +DescribeBackupFilesResult::DescribeBackupFilesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBackupFilesResult::~DescribeBackupFilesResult() +{} + +void DescribeBackupFilesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allBackupFilesNode = value["BackupFiles"]["BrowseFile"]; + for (auto valueBackupFilesBrowseFile : allBackupFilesNode) + { + BrowseFile backupFilesObject; + if(!valueBackupFilesBrowseFile["Name"].isNull()) + backupFilesObject.name = valueBackupFilesBrowseFile["Name"].asString(); + if(!valueBackupFilesBrowseFile["Type"].isNull()) + backupFilesObject.type = valueBackupFilesBrowseFile["Type"].asString(); + if(!valueBackupFilesBrowseFile["Subtree"].isNull()) + backupFilesObject.subtree = valueBackupFilesBrowseFile["Subtree"].asString(); + if(!valueBackupFilesBrowseFile["Size"].isNull()) + backupFilesObject.size = std::stol(valueBackupFilesBrowseFile["Size"].asString()); + backupFiles_.push_back(backupFilesObject); + } + auto pageInfoNode = value["PageInfo"]; + if(!pageInfoNode["Count"].isNull()) + pageInfo_.count = std::stoi(pageInfoNode["Count"].asString()); + if(!pageInfoNode["PageSize"].isNull()) + pageInfo_.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + pageInfo_.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + if(!pageInfoNode["CurrentPage"].isNull()) + pageInfo_.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + +} + +DescribeBackupFilesResult::PageInfo DescribeBackupFilesResult::getPageInfo()const +{ + return pageInfo_; +} + +std::vector DescribeBackupFilesResult::getBackupFiles()const +{ + return backupFiles_; +} + diff --git a/sas/src/model/DescribeBackupMachineStatusRequest.cc b/sas/src/model/DescribeBackupMachineStatusRequest.cc new file mode 100644 index 000000000..a77a7386d --- /dev/null +++ b/sas/src/model/DescribeBackupMachineStatusRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Sas::Model::DescribeBackupMachineStatusRequest; + +DescribeBackupMachineStatusRequest::DescribeBackupMachineStatusRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeBackupMachineStatus") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeBackupMachineStatusRequest::~DescribeBackupMachineStatusRequest() +{} + +long DescribeBackupMachineStatusRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeBackupMachineStatusRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeBackupMachineStatusRequest::getPolicyVersion()const +{ + return policyVersion_; +} + +void DescribeBackupMachineStatusRequest::setPolicyVersion(const std::string& policyVersion) +{ + policyVersion_ = policyVersion; + setParameter("PolicyVersion", policyVersion); +} + +std::string DescribeBackupMachineStatusRequest::getUuid()const +{ + return uuid_; +} + +void DescribeBackupMachineStatusRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setParameter("Uuid", uuid); +} + +std::string DescribeBackupMachineStatusRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeBackupMachineStatusRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long DescribeBackupMachineStatusRequest::getPolicyId()const +{ + return policyId_; +} + +void DescribeBackupMachineStatusRequest::setPolicyId(long policyId) +{ + policyId_ = policyId; + setParameter("PolicyId", std::to_string(policyId)); +} + diff --git a/sas/src/model/DescribeBackupMachineStatusResult.cc b/sas/src/model/DescribeBackupMachineStatusResult.cc new file mode 100644 index 000000000..ed793940d --- /dev/null +++ b/sas/src/model/DescribeBackupMachineStatusResult.cc @@ -0,0 +1,100 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeBackupMachineStatusResult::DescribeBackupMachineStatusResult() : + ServiceResult() +{} + +DescribeBackupMachineStatusResult::DescribeBackupMachineStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBackupMachineStatusResult::~DescribeBackupMachineStatusResult() +{} + +void DescribeBackupMachineStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto backupMachineStatusNode = value["BackupMachineStatus"]; + if(!backupMachineStatusNode["Uuid"].isNull()) + backupMachineStatus_.uuid = backupMachineStatusNode["Uuid"].asString(); + if(!backupMachineStatusNode["ClientStatus"].isNull()) + backupMachineStatus_.clientStatus = backupMachineStatusNode["ClientStatus"].asString(); + if(!backupMachineStatusNode["SavedBackupCount"].isNull()) + backupMachineStatus_.savedBackupCount = std::stoi(backupMachineStatusNode["SavedBackupCount"].asString()); + if(!backupMachineStatusNode["ErrorCode"].isNull()) + backupMachineStatus_.errorCode = backupMachineStatusNode["ErrorCode"].asString(); + if(!backupMachineStatusNode["ClientId"].isNull()) + backupMachineStatus_.clientId = backupMachineStatusNode["ClientId"].asString(); + if(!backupMachineStatusNode["ClientVersion"].isNull()) + backupMachineStatus_.clientVersion = backupMachineStatusNode["ClientVersion"].asString(); + if(!backupMachineStatusNode["VaultId"].isNull()) + backupMachineStatus_.vaultId = backupMachineStatusNode["VaultId"].asString(); + if(!backupMachineStatusNode["Status"].isNull()) + backupMachineStatus_.status = backupMachineStatusNode["Status"].asString(); + if(!backupMachineStatusNode["RegionId"].isNull()) + backupMachineStatus_.regionId = backupMachineStatusNode["RegionId"].asString(); + if(!backupMachineStatusNode["InstanceId"].isNull()) + backupMachineStatus_.instanceId = backupMachineStatusNode["InstanceId"].asString(); + if(!backupMachineStatusNode["RequestId"].isNull()) + backupMachineStatus_.requestId = backupMachineStatusNode["RequestId"].asString(); + if(!backupMachineStatusNode["Jobs"].isNull()) + backupMachineStatus_.jobs = backupMachineStatusNode["Jobs"].asString(); + auto allErrorListNode = backupMachineStatusNode["ErrorList"]["BackupErrorMsg"]; + for (auto backupMachineStatusNodeErrorListBackupErrorMsg : allErrorListNode) + { + BackupMachineStatus::BackupErrorMsg backupErrorMsgObject; + if(!backupMachineStatusNodeErrorListBackupErrorMsg["Key"].isNull()) + backupErrorMsgObject.key = backupMachineStatusNodeErrorListBackupErrorMsg["Key"].asString(); + if(!backupMachineStatusNodeErrorListBackupErrorMsg["Path"].isNull()) + backupErrorMsgObject.path = backupMachineStatusNodeErrorListBackupErrorMsg["Path"].asString(); + if(!backupMachineStatusNodeErrorListBackupErrorMsg["ErrorStatus"].isNull()) + backupErrorMsgObject.errorStatus = backupMachineStatusNodeErrorListBackupErrorMsg["ErrorStatus"].asString(); + if(!backupMachineStatusNodeErrorListBackupErrorMsg["ErrorCode"].isNull()) + backupErrorMsgObject.errorCode = backupMachineStatusNodeErrorListBackupErrorMsg["ErrorCode"].asString(); + if(!backupMachineStatusNodeErrorListBackupErrorMsg["ErrorType"].isNull()) + backupErrorMsgObject.errorType = backupMachineStatusNodeErrorListBackupErrorMsg["ErrorType"].asString(); + if(!backupMachineStatusNodeErrorListBackupErrorMsg["ErrorMsg"].isNull()) + backupErrorMsgObject.errorMsg = backupMachineStatusNodeErrorListBackupErrorMsg["ErrorMsg"].asString(); + if(!backupMachineStatusNodeErrorListBackupErrorMsg["ErrorTime"].isNull()) + backupErrorMsgObject.errorTime = std::stol(backupMachineStatusNodeErrorListBackupErrorMsg["ErrorTime"].asString()); + if(!backupMachineStatusNodeErrorListBackupErrorMsg["ErrorFile"].isNull()) + backupErrorMsgObject.errorFile = backupMachineStatusNodeErrorListBackupErrorMsg["ErrorFile"].asString(); + if(!backupMachineStatusNodeErrorListBackupErrorMsg["ErrorFileUrl"].isNull()) + backupErrorMsgObject.errorFileUrl = backupMachineStatusNodeErrorListBackupErrorMsg["ErrorFileUrl"].asString(); + if(!backupMachineStatusNodeErrorListBackupErrorMsg["RequestId"].isNull()) + backupErrorMsgObject.requestId = backupMachineStatusNodeErrorListBackupErrorMsg["RequestId"].asString(); + backupMachineStatus_.errorList.push_back(backupErrorMsgObject); + } + +} + +DescribeBackupMachineStatusResult::BackupMachineStatus DescribeBackupMachineStatusResult::getBackupMachineStatus()const +{ + return backupMachineStatus_; +} + diff --git a/sas/src/model/DescribeBackupPoliciesRequest.cc b/sas/src/model/DescribeBackupPoliciesRequest.cc new file mode 100644 index 000000000..c5346bc77 --- /dev/null +++ b/sas/src/model/DescribeBackupPoliciesRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Sas::Model::DescribeBackupPoliciesRequest; + +DescribeBackupPoliciesRequest::DescribeBackupPoliciesRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeBackupPolicies") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeBackupPoliciesRequest::~DescribeBackupPoliciesRequest() +{} + +long DescribeBackupPoliciesRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeBackupPoliciesRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +int DescribeBackupPoliciesRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeBackupPoliciesRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeBackupPoliciesRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeBackupPoliciesRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeBackupPoliciesRequest::getName()const +{ + return name_; +} + +void DescribeBackupPoliciesRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +int DescribeBackupPoliciesRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeBackupPoliciesRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeBackupPoliciesRequest::getStatus()const +{ + return status_; +} + +void DescribeBackupPoliciesRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/sas/src/model/DescribeBackupPoliciesResult.cc b/sas/src/model/DescribeBackupPoliciesResult.cc new file mode 100644 index 000000000..521adead1 --- /dev/null +++ b/sas/src/model/DescribeBackupPoliciesResult.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeBackupPoliciesResult::DescribeBackupPoliciesResult() : + ServiceResult() +{} + +DescribeBackupPoliciesResult::DescribeBackupPoliciesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBackupPoliciesResult::~DescribeBackupPoliciesResult() +{} + +void DescribeBackupPoliciesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allPoliciesNode = value["Policies"]["BackupPolicy"]; + for (auto valuePoliciesBackupPolicy : allPoliciesNode) + { + BackupPolicy policiesObject; + if(!valuePoliciesBackupPolicy["Id"].isNull()) + policiesObject.id = std::stol(valuePoliciesBackupPolicy["Id"].asString()); + if(!valuePoliciesBackupPolicy["Name"].isNull()) + policiesObject.name = valuePoliciesBackupPolicy["Name"].asString(); + if(!valuePoliciesBackupPolicy["Status"].isNull()) + policiesObject.status = valuePoliciesBackupPolicy["Status"].asString(); + if(!valuePoliciesBackupPolicy["Policy"].isNull()) + policiesObject.policy = valuePoliciesBackupPolicy["Policy"].asString(); + if(!valuePoliciesBackupPolicy["PolicyVersion"].isNull()) + policiesObject.policyVersion = valuePoliciesBackupPolicy["PolicyVersion"].asString(); + if(!valuePoliciesBackupPolicy["ClientStatus"].isNull()) + policiesObject.clientStatus = valuePoliciesBackupPolicy["ClientStatus"].asString(); + if(!valuePoliciesBackupPolicy["ClientErrorCount"].isNull()) + policiesObject.clientErrorCount = std::stoi(valuePoliciesBackupPolicy["ClientErrorCount"].asString()); + if(!valuePoliciesBackupPolicy["ServiceErrorCount"].isNull()) + policiesObject.serviceErrorCount = std::stoi(valuePoliciesBackupPolicy["ServiceErrorCount"].asString()); + if(!valuePoliciesBackupPolicy["HealthClientCount"].isNull()) + policiesObject.healthClientCount = std::stoi(valuePoliciesBackupPolicy["HealthClientCount"].asString()); + auto allUuidList = value["UuidList"]["StringItem"]; + for (auto value : allUuidList) + policiesObject.uuidList.push_back(value.asString()); + auto allClientErrorUuidList = value["ClientErrorUuidList"]["StringItem"]; + for (auto value : allClientErrorUuidList) + policiesObject.clientErrorUuidList.push_back(value.asString()); + auto allServiceErrorUuidList = value["ServiceErrorUuidList"]["StringItem"]; + for (auto value : allServiceErrorUuidList) + policiesObject.serviceErrorUuidList.push_back(value.asString()); + auto allHealthClientUuidList = value["HealthClientUuidList"]["StringItem"]; + for (auto value : allHealthClientUuidList) + policiesObject.healthClientUuidList.push_back(value.asString()); + policies_.push_back(policiesObject); + } + auto pageInfoNode = value["PageInfo"]; + if(!pageInfoNode["Count"].isNull()) + pageInfo_.count = std::stoi(pageInfoNode["Count"].asString()); + if(!pageInfoNode["PageSize"].isNull()) + pageInfo_.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + pageInfo_.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + if(!pageInfoNode["CurrentPage"].isNull()) + pageInfo_.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + +} + +DescribeBackupPoliciesResult::PageInfo DescribeBackupPoliciesResult::getPageInfo()const +{ + return pageInfo_; +} + +std::vector DescribeBackupPoliciesResult::getPolicies()const +{ + return policies_; +} + diff --git a/sas/src/model/DescribeBackupPolicyRequest.cc b/sas/src/model/DescribeBackupPolicyRequest.cc new file mode 100644 index 000000000..df3aa07f4 --- /dev/null +++ b/sas/src/model/DescribeBackupPolicyRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::DescribeBackupPolicyRequest; + +DescribeBackupPolicyRequest::DescribeBackupPolicyRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeBackupPolicy") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeBackupPolicyRequest::~DescribeBackupPolicyRequest() +{} + +long DescribeBackupPolicyRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeBackupPolicyRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeBackupPolicyRequest::getPolicyVersion()const +{ + return policyVersion_; +} + +void DescribeBackupPolicyRequest::setPolicyVersion(const std::string& policyVersion) +{ + policyVersion_ = policyVersion; + setParameter("PolicyVersion", policyVersion); +} + +std::string DescribeBackupPolicyRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeBackupPolicyRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long DescribeBackupPolicyRequest::getId()const +{ + return id_; +} + +void DescribeBackupPolicyRequest::setId(long id) +{ + id_ = id; + setParameter("Id", std::to_string(id)); +} + diff --git a/sas/src/model/DescribeBackupPolicyResult.cc b/sas/src/model/DescribeBackupPolicyResult.cc new file mode 100644 index 000000000..ee3a7e380 --- /dev/null +++ b/sas/src/model/DescribeBackupPolicyResult.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 +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeBackupPolicyResult::DescribeBackupPolicyResult() : + ServiceResult() +{} + +DescribeBackupPolicyResult::DescribeBackupPolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBackupPolicyResult::~DescribeBackupPolicyResult() +{} + +void DescribeBackupPolicyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto backupPolicyDetailNode = value["BackupPolicyDetail"]; + if(!backupPolicyDetailNode["Id"].isNull()) + backupPolicyDetail_.id = std::stol(backupPolicyDetailNode["Id"].asString()); + if(!backupPolicyDetailNode["Name"].isNull()) + backupPolicyDetail_.name = backupPolicyDetailNode["Name"].asString(); + if(!backupPolicyDetailNode["Policy"].isNull()) + backupPolicyDetail_.policy = backupPolicyDetailNode["Policy"].asString(); + if(!backupPolicyDetailNode["Status"].isNull()) + backupPolicyDetail_.status = backupPolicyDetailNode["Status"].asString(); + if(!backupPolicyDetailNode["ClientStatus"].isNull()) + backupPolicyDetail_.clientStatus = backupPolicyDetailNode["ClientStatus"].asString(); + auto allUuidList = backupPolicyDetailNode["UuidList"]["StringItem"]; + for (auto value : allUuidList) + backupPolicyDetail_.uuidList.push_back(value.asString()); + +} + +DescribeBackupPolicyResult::BackupPolicyDetail DescribeBackupPolicyResult::getBackupPolicyDetail()const +{ + return backupPolicyDetail_; +} + diff --git a/sas/src/model/DescribeBackupRestoreCountRequest.cc b/sas/src/model/DescribeBackupRestoreCountRequest.cc new file mode 100644 index 000000000..625824a68 --- /dev/null +++ b/sas/src/model/DescribeBackupRestoreCountRequest.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 + +using AlibabaCloud::Sas::Model::DescribeBackupRestoreCountRequest; + +DescribeBackupRestoreCountRequest::DescribeBackupRestoreCountRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeBackupRestoreCount") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeBackupRestoreCountRequest::~DescribeBackupRestoreCountRequest() +{} + +long DescribeBackupRestoreCountRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeBackupRestoreCountRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeBackupRestoreCountRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeBackupRestoreCountRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + diff --git a/sas/src/model/DescribeBackupRestoreCountResult.cc b/sas/src/model/DescribeBackupRestoreCountResult.cc new file mode 100644 index 000000000..a50efc75b --- /dev/null +++ b/sas/src/model/DescribeBackupRestoreCountResult.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 +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeBackupRestoreCountResult::DescribeBackupRestoreCountResult() : + ServiceResult() +{} + +DescribeBackupRestoreCountResult::DescribeBackupRestoreCountResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBackupRestoreCountResult::~DescribeBackupRestoreCountResult() +{} + +void DescribeBackupRestoreCountResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto backupRestoreCountNode = value["BackupRestoreCount"]; + if(!backupRestoreCountNode["Total"].isNull()) + backupRestoreCount_.total = std::stoi(backupRestoreCountNode["Total"].asString()); + if(!backupRestoreCountNode["Recovering"].isNull()) + backupRestoreCount_.recovering = std::stoi(backupRestoreCountNode["Recovering"].asString()); + +} + +DescribeBackupRestoreCountResult::BackupRestoreCount DescribeBackupRestoreCountResult::getBackupRestoreCount()const +{ + return backupRestoreCount_; +} + diff --git a/sas/src/model/DescribeBruteForceSummaryRequest.cc b/sas/src/model/DescribeBruteForceSummaryRequest.cc new file mode 100644 index 000000000..addc9596b --- /dev/null +++ b/sas/src/model/DescribeBruteForceSummaryRequest.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 + +using AlibabaCloud::Sas::Model::DescribeBruteForceSummaryRequest; + +DescribeBruteForceSummaryRequest::DescribeBruteForceSummaryRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeBruteForceSummary") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeBruteForceSummaryRequest::~DescribeBruteForceSummaryRequest() +{} + +long DescribeBruteForceSummaryRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeBruteForceSummaryRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeBruteForceSummaryRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeBruteForceSummaryRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + diff --git a/sas/src/model/DescribeBruteForceSummaryResult.cc b/sas/src/model/DescribeBruteForceSummaryResult.cc new file mode 100644 index 000000000..1f8c4d2ff --- /dev/null +++ b/sas/src/model/DescribeBruteForceSummaryResult.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 +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeBruteForceSummaryResult::DescribeBruteForceSummaryResult() : + ServiceResult() +{} + +DescribeBruteForceSummaryResult::DescribeBruteForceSummaryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBruteForceSummaryResult::~DescribeBruteForceSummaryResult() +{} + +void DescribeBruteForceSummaryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto bruteForceSummaryNode = value["BruteForceSummary"]; + if(!bruteForceSummaryNode["AllStrategyCount"].isNull()) + bruteForceSummary_.allStrategyCount = std::stoi(bruteForceSummaryNode["AllStrategyCount"].asString()); + if(!bruteForceSummaryNode["EffectiveCount"].isNull()) + bruteForceSummary_.effectiveCount = std::stoi(bruteForceSummaryNode["EffectiveCount"].asString()); + +} + +DescribeBruteForceSummaryResult::BruteForceSummary DescribeBruteForceSummaryResult::getBruteForceSummary()const +{ + return bruteForceSummary_; +} + diff --git a/sas/src/model/DescribeCheckEcsWarningsRequest.cc b/sas/src/model/DescribeCheckEcsWarningsRequest.cc new file mode 100644 index 000000000..6fad875da --- /dev/null +++ b/sas/src/model/DescribeCheckEcsWarningsRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::DescribeCheckEcsWarningsRequest; + +DescribeCheckEcsWarningsRequest::DescribeCheckEcsWarningsRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeCheckEcsWarnings") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeCheckEcsWarningsRequest::~DescribeCheckEcsWarningsRequest() +{} + +std::string DescribeCheckEcsWarningsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeCheckEcsWarningsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + diff --git a/sas/src/model/DescribeCheckEcsWarningsResult.cc b/sas/src/model/DescribeCheckEcsWarningsResult.cc new file mode 100644 index 000000000..afc3aefa1 --- /dev/null +++ b/sas/src/model/DescribeCheckEcsWarningsResult.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 +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeCheckEcsWarningsResult::DescribeCheckEcsWarningsResult() : + ServiceResult() +{} + +DescribeCheckEcsWarningsResult::DescribeCheckEcsWarningsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCheckEcsWarningsResult::~DescribeCheckEcsWarningsResult() +{} + +void DescribeCheckEcsWarningsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["CanTry"].isNull()) + canTry_ = value["CanTry"].asString(); + if(!value["SasVersion"].isNull()) + sasVersion_ = value["SasVersion"].asString(); + if(!value["WeakPasswordCount"].isNull()) + weakPasswordCount_ = value["WeakPasswordCount"].asString(); + +} + +std::string DescribeCheckEcsWarningsResult::getSasVersion()const +{ + return sasVersion_; +} + +std::string DescribeCheckEcsWarningsResult::getCanTry()const +{ + return canTry_; +} + +std::string DescribeCheckEcsWarningsResult::getWeakPasswordCount()const +{ + return weakPasswordCount_; +} + diff --git a/sas/src/model/DescribeCloudCenterInstancesRequest.cc b/sas/src/model/DescribeCloudCenterInstancesRequest.cc index 770647ef8..58e3498dd 100644 --- a/sas/src/model/DescribeCloudCenterInstancesRequest.cc +++ b/sas/src/model/DescribeCloudCenterInstancesRequest.cc @@ -38,6 +38,17 @@ void DescribeCloudCenterInstancesRequest::setCriteria(const std::string& criteri setParameter("Criteria", criteria); } +int DescribeCloudCenterInstancesRequest::getImportance()const +{ + return importance_; +} + +void DescribeCloudCenterInstancesRequest::setImportance(int importance) +{ + importance_ = importance; + setParameter("Importance", std::to_string(importance)); +} + std::string DescribeCloudCenterInstancesRequest::getSourceIp()const { return sourceIp_; @@ -49,6 +60,17 @@ void DescribeCloudCenterInstancesRequest::setSourceIp(const std::string& sourceI setParameter("SourceIp", sourceIp); } +std::string DescribeCloudCenterInstancesRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeCloudCenterInstancesRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + bool DescribeCloudCenterInstancesRequest::getNoPage()const { return noPage_; diff --git a/sas/src/model/DescribeCloudCenterInstancesResult.cc b/sas/src/model/DescribeCloudCenterInstancesResult.cc index 13d97e6e4..ba028a49f 100644 --- a/sas/src/model/DescribeCloudCenterInstancesResult.cc +++ b/sas/src/model/DescribeCloudCenterInstancesResult.cc @@ -93,6 +93,24 @@ void DescribeCloudCenterInstancesResult::parse(const std::string &payload) instancesObject.regionId = valueInstancesInstance["RegionId"].asString(); if(!valueInstancesInstance["GroupId"].isNull()) instancesObject.groupId = valueInstancesInstance["GroupId"].asString(); + if(!valueInstancesInstance["Importance"].isNull()) + instancesObject.importance = std::stoi(valueInstancesInstance["Importance"].asString()); + if(!valueInstancesInstance["ClientVersion"].isNull()) + instancesObject.clientVersion = valueInstancesInstance["ClientVersion"].asString(); + if(!valueInstancesInstance["RiskCount"].isNull()) + instancesObject.riskCount = valueInstancesInstance["RiskCount"].asString(); + if(!valueInstancesInstance["ClusterId"].isNull()) + instancesObject.clusterId = valueInstancesInstance["ClusterId"].asString(); + if(!valueInstancesInstance["ClusterName"].isNull()) + instancesObject.clusterName = valueInstancesInstance["ClusterName"].asString(); + if(!valueInstancesInstance["CreatedTime"].isNull()) + instancesObject.createdTime = std::stol(valueInstancesInstance["CreatedTime"].asString()); + if(!valueInstancesInstance["PodCount"].isNull()) + instancesObject.podCount = std::stoi(valueInstancesInstance["PodCount"].asString()); + if(!valueInstancesInstance["ExposedStatus"].isNull()) + instancesObject.exposedStatus = std::stoi(valueInstancesInstance["ExposedStatus"].asString()); + if(!valueInstancesInstance["AutoSnapshotsLevel"].isNull()) + instancesObject.autoSnapshotsLevel = std::stoi(valueInstancesInstance["AutoSnapshotsLevel"].asString()); instances_.push_back(instancesObject); } auto pageInfoNode = value["PageInfo"]; diff --git a/sas/src/model/DescribeContainerStatisticsRequest.cc b/sas/src/model/DescribeContainerStatisticsRequest.cc new file mode 100644 index 000000000..986b1fb37 --- /dev/null +++ b/sas/src/model/DescribeContainerStatisticsRequest.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 + +using AlibabaCloud::Sas::Model::DescribeContainerStatisticsRequest; + +DescribeContainerStatisticsRequest::DescribeContainerStatisticsRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeContainerStatistics") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeContainerStatisticsRequest::~DescribeContainerStatisticsRequest() +{} + +std::string DescribeContainerStatisticsRequest::getClusterId()const +{ + return clusterId_; +} + +void DescribeContainerStatisticsRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string DescribeContainerStatisticsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeContainerStatisticsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + diff --git a/sas/src/model/DescribeContainerStatisticsResult.cc b/sas/src/model/DescribeContainerStatisticsResult.cc new file mode 100644 index 000000000..68c631cd5 --- /dev/null +++ b/sas/src/model/DescribeContainerStatisticsResult.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 +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeContainerStatisticsResult::DescribeContainerStatisticsResult() : + ServiceResult() +{} + +DescribeContainerStatisticsResult::DescribeContainerStatisticsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeContainerStatisticsResult::~DescribeContainerStatisticsResult() +{} + +void DescribeContainerStatisticsResult::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["TotalAlarmCount"].isNull()) + data_.totalAlarmCount = std::stoi(dataNode["TotalAlarmCount"].asString()); + if(!dataNode["RemindAlarmCount"].isNull()) + data_.remindAlarmCount = std::stoi(dataNode["RemindAlarmCount"].asString()); + if(!dataNode["SuspiciousAlarmCount"].isNull()) + data_.suspiciousAlarmCount = std::stoi(dataNode["SuspiciousAlarmCount"].asString()); + if(!dataNode["SeriousAlarmCount"].isNull()) + data_.seriousAlarmCount = std::stoi(dataNode["SeriousAlarmCount"].asString()); + if(!dataNode["TotalNode"].isNull()) + data_.totalNode = std::stoi(dataNode["TotalNode"].asString()); + if(!dataNode["hasRiskNode"].isNull()) + data_.hasRiskNode = std::stoi(dataNode["hasRiskNode"].asString()); + +} + +DescribeContainerStatisticsResult::Data DescribeContainerStatisticsResult::getData()const +{ + return data_; +} + diff --git a/sas/src/model/DescribeDomainCountResult.cc b/sas/src/model/DescribeDomainCountResult.cc index b980dba64..b0ed21116 100644 --- a/sas/src/model/DescribeDomainCountResult.cc +++ b/sas/src/model/DescribeDomainCountResult.cc @@ -43,9 +43,16 @@ void DescribeDomainCountResult::parse(const std::string &payload) totalDomainsCount_ = std::stoi(value["TotalDomainsCount"].asString()); if(!value["RootDomainsCount"].isNull()) rootDomainsCount_ = std::stoi(value["RootDomainsCount"].asString()); + if(!value["SubDomainsCount"].isNull()) + subDomainsCount_ = std::stoi(value["SubDomainsCount"].asString()); } +int DescribeDomainCountResult::getSubDomainsCount()const +{ + return subDomainsCount_; +} + int DescribeDomainCountResult::getTotalDomainsCount()const { return totalDomainsCount_; diff --git a/sas/src/model/DescribeDomainDetailResult.cc b/sas/src/model/DescribeDomainDetailResult.cc index fda0af040..219e6f885 100644 --- a/sas/src/model/DescribeDomainDetailResult.cc +++ b/sas/src/model/DescribeDomainDetailResult.cc @@ -63,6 +63,10 @@ void DescribeDomainDetailResult::parse(const std::string &payload) domain_ = value["Domain"].asString(); if(!value["RootDomain"].isNull()) rootDomain_ = value["RootDomain"].asString(); + if(!value["VulCount"].isNull()) + vulCount_ = std::stoi(value["VulCount"].asString()); + if(!value["AlarmCount"].isNull()) + alarmCount_ = std::stoi(value["AlarmCount"].asString()); } @@ -81,3 +85,13 @@ std::string DescribeDomainDetailResult::getDomain()const return domain_; } +int DescribeDomainDetailResult::getVulCount()const +{ + return vulCount_; +} + +int DescribeDomainDetailResult::getAlarmCount()const +{ + return alarmCount_; +} + diff --git a/sas/src/model/DescribeEmgVulGroupResult.cc b/sas/src/model/DescribeEmgVulGroupResult.cc deleted file mode 100644 index e0bb06903..000000000 --- a/sas/src/model/DescribeEmgVulGroupResult.cc +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Sas; -using namespace AlibabaCloud::Sas::Model; - -DescribeEmgVulGroupResult::DescribeEmgVulGroupResult() : - ServiceResult() -{} - -DescribeEmgVulGroupResult::DescribeEmgVulGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeEmgVulGroupResult::~DescribeEmgVulGroupResult() -{} - -void DescribeEmgVulGroupResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allEmgVulGroupListNode = value["EmgVulGroupList"]["EmgVulGroup"]; - for (auto valueEmgVulGroupListEmgVulGroup : allEmgVulGroupListNode) - { - EmgVulGroup emgVulGroupListObject; - if(!valueEmgVulGroupListEmgVulGroup["AliasName"].isNull()) - emgVulGroupListObject.aliasName = valueEmgVulGroupListEmgVulGroup["AliasName"].asString(); - if(!valueEmgVulGroupListEmgVulGroup["PendingCount"].isNull()) - emgVulGroupListObject.pendingCount = std::stoi(valueEmgVulGroupListEmgVulGroup["PendingCount"].asString()); - if(!valueEmgVulGroupListEmgVulGroup["Name"].isNull()) - emgVulGroupListObject.name = valueEmgVulGroupListEmgVulGroup["Name"].asString(); - if(!valueEmgVulGroupListEmgVulGroup["GmtPublish"].isNull()) - emgVulGroupListObject.gmtPublish = std::stol(valueEmgVulGroupListEmgVulGroup["GmtPublish"].asString()); - if(!valueEmgVulGroupListEmgVulGroup["Description"].isNull()) - emgVulGroupListObject.description = valueEmgVulGroupListEmgVulGroup["Description"].asString(); - if(!valueEmgVulGroupListEmgVulGroup["Type"].isNull()) - emgVulGroupListObject.type = valueEmgVulGroupListEmgVulGroup["Type"].asString(); - if(!valueEmgVulGroupListEmgVulGroup["Status"].isNull()) - emgVulGroupListObject.status = std::stoi(valueEmgVulGroupListEmgVulGroup["Status"].asString()); - if(!valueEmgVulGroupListEmgVulGroup["Progress"].isNull()) - emgVulGroupListObject.progress = std::stoi(valueEmgVulGroupListEmgVulGroup["Progress"].asString()); - if(!valueEmgVulGroupListEmgVulGroup["GmtLastCheck"].isNull()) - emgVulGroupListObject.gmtLastCheck = std::stol(valueEmgVulGroupListEmgVulGroup["GmtLastCheck"].asString()); - emgVulGroupList_.push_back(emgVulGroupListObject); - } - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - -} - -int DescribeEmgVulGroupResult::getTotalCount()const -{ - return totalCount_; -} - -std::vector DescribeEmgVulGroupResult::getEmgVulGroupList()const -{ - return emgVulGroupList_; -} - diff --git a/sas/src/model/DescribeEmgVulItemRequest.cc b/sas/src/model/DescribeEmgVulItemRequest.cc new file mode 100644 index 000000000..dec303ba5 --- /dev/null +++ b/sas/src/model/DescribeEmgVulItemRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Sas::Model::DescribeEmgVulItemRequest; + +DescribeEmgVulItemRequest::DescribeEmgVulItemRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeEmgVulItem") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeEmgVulItemRequest::~DescribeEmgVulItemRequest() +{} + +std::string DescribeEmgVulItemRequest::getScanType()const +{ + return scanType_; +} + +void DescribeEmgVulItemRequest::setScanType(const std::string& scanType) +{ + scanType_ = scanType; + setParameter("ScanType", scanType); +} + +std::string DescribeEmgVulItemRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeEmgVulItemRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +int DescribeEmgVulItemRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeEmgVulItemRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeEmgVulItemRequest::getLang()const +{ + return lang_; +} + +void DescribeEmgVulItemRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +int DescribeEmgVulItemRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeEmgVulItemRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeEmgVulItemRequest::getVulName()const +{ + return vulName_; +} + +void DescribeEmgVulItemRequest::setVulName(const std::string& vulName) +{ + vulName_ = vulName; + setParameter("VulName", vulName); +} + +std::string DescribeEmgVulItemRequest::getRiskStatus()const +{ + return riskStatus_; +} + +void DescribeEmgVulItemRequest::setRiskStatus(const std::string& riskStatus) +{ + riskStatus_ = riskStatus; + setParameter("RiskStatus", riskStatus); +} + diff --git a/sas/src/model/DescribeEmgVulItemResult.cc b/sas/src/model/DescribeEmgVulItemResult.cc new file mode 100644 index 000000000..33f87168f --- /dev/null +++ b/sas/src/model/DescribeEmgVulItemResult.cc @@ -0,0 +1,94 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeEmgVulItemResult::DescribeEmgVulItemResult() : + ServiceResult() +{} + +DescribeEmgVulItemResult::DescribeEmgVulItemResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeEmgVulItemResult::~DescribeEmgVulItemResult() +{} + +void DescribeEmgVulItemResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allGroupedVulItemsNode = value["GroupedVulItems"]["GroupedVulItem"]; + for (auto valueGroupedVulItemsGroupedVulItem : allGroupedVulItemsNode) + { + GroupedVulItem groupedVulItemsObject; + if(!valueGroupedVulItemsGroupedVulItem["AliasName"].isNull()) + groupedVulItemsObject.aliasName = valueGroupedVulItemsGroupedVulItem["AliasName"].asString(); + if(!valueGroupedVulItemsGroupedVulItem["PendingCount"].isNull()) + groupedVulItemsObject.pendingCount = std::stoi(valueGroupedVulItemsGroupedVulItem["PendingCount"].asString()); + if(!valueGroupedVulItemsGroupedVulItem["Name"].isNull()) + groupedVulItemsObject.name = valueGroupedVulItemsGroupedVulItem["Name"].asString(); + if(!valueGroupedVulItemsGroupedVulItem["GmtPublish"].isNull()) + groupedVulItemsObject.gmtPublish = std::stol(valueGroupedVulItemsGroupedVulItem["GmtPublish"].asString()); + if(!valueGroupedVulItemsGroupedVulItem["Description"].isNull()) + groupedVulItemsObject.description = valueGroupedVulItemsGroupedVulItem["Description"].asString(); + if(!valueGroupedVulItemsGroupedVulItem["Type"].isNull()) + groupedVulItemsObject.type = valueGroupedVulItemsGroupedVulItem["Type"].asString(); + if(!valueGroupedVulItemsGroupedVulItem["Status"].isNull()) + groupedVulItemsObject.status = std::stoi(valueGroupedVulItemsGroupedVulItem["Status"].asString()); + if(!valueGroupedVulItemsGroupedVulItem["Progress"].isNull()) + groupedVulItemsObject.progress = std::stoi(valueGroupedVulItemsGroupedVulItem["Progress"].asString()); + if(!valueGroupedVulItemsGroupedVulItem["GmtLastCheck"].isNull()) + groupedVulItemsObject.gmtLastCheck = std::stol(valueGroupedVulItemsGroupedVulItem["GmtLastCheck"].asString()); + groupedVulItems_.push_back(groupedVulItemsObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeEmgVulItemResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeEmgVulItemResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeEmgVulItemResult::getCurrentPage()const +{ + return currentPage_; +} + +std::vector DescribeEmgVulItemResult::getGroupedVulItems()const +{ + return groupedVulItems_; +} + diff --git a/sas/src/model/DescribeExcludeSystemPathRequest.cc b/sas/src/model/DescribeExcludeSystemPathRequest.cc new file mode 100644 index 000000000..094450bd9 --- /dev/null +++ b/sas/src/model/DescribeExcludeSystemPathRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::DescribeExcludeSystemPathRequest; + +DescribeExcludeSystemPathRequest::DescribeExcludeSystemPathRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeExcludeSystemPath") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeExcludeSystemPathRequest::~DescribeExcludeSystemPathRequest() +{} + +long DescribeExcludeSystemPathRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeExcludeSystemPathRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +int DescribeExcludeSystemPathRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeExcludeSystemPathRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeExcludeSystemPathRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeExcludeSystemPathRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +int DescribeExcludeSystemPathRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeExcludeSystemPathRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + diff --git a/sas/src/model/DescribeExcludeSystemPathResult.cc b/sas/src/model/DescribeExcludeSystemPathResult.cc new file mode 100644 index 000000000..3899226ae --- /dev/null +++ b/sas/src/model/DescribeExcludeSystemPathResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeExcludeSystemPathResult::DescribeExcludeSystemPathResult() : + ServiceResult() +{} + +DescribeExcludeSystemPathResult::DescribeExcludeSystemPathResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeExcludeSystemPathResult::~DescribeExcludeSystemPathResult() +{} + +void DescribeExcludeSystemPathResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allExcludePathsNode = value["ExcludePaths"]["BaseModelDTO"]; + for (auto valueExcludePathsBaseModelDTO : allExcludePathsNode) + { + BaseModelDTO excludePathsObject; + if(!valueExcludePathsBaseModelDTO["Id"].isNull()) + excludePathsObject.id = std::stol(valueExcludePathsBaseModelDTO["Id"].asString()); + if(!valueExcludePathsBaseModelDTO["Os"].isNull()) + excludePathsObject.os = valueExcludePathsBaseModelDTO["Os"].asString(); + if(!valueExcludePathsBaseModelDTO["Path"].isNull()) + excludePathsObject.path = valueExcludePathsBaseModelDTO["Path"].asString(); + excludePaths_.push_back(excludePathsObject); + } + auto pageInfoNode = value["PageInfo"]; + if(!pageInfoNode["Count"].isNull()) + pageInfo_.count = std::stoi(pageInfoNode["Count"].asString()); + if(!pageInfoNode["PageSize"].isNull()) + pageInfo_.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + pageInfo_.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + if(!pageInfoNode["CurrentPage"].isNull()) + pageInfo_.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + +} + +DescribeExcludeSystemPathResult::PageInfo DescribeExcludeSystemPathResult::getPageInfo()const +{ + return pageInfo_; +} + +std::vector DescribeExcludeSystemPathResult::getExcludePaths()const +{ + return excludePaths_; +} + diff --git a/sas/src/model/DescribeExposedInstanceCriteriaRequest.cc b/sas/src/model/DescribeExposedInstanceCriteriaRequest.cc new file mode 100644 index 000000000..d9e846e36 --- /dev/null +++ b/sas/src/model/DescribeExposedInstanceCriteriaRequest.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 + +using AlibabaCloud::Sas::Model::DescribeExposedInstanceCriteriaRequest; + +DescribeExposedInstanceCriteriaRequest::DescribeExposedInstanceCriteriaRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeExposedInstanceCriteria") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeExposedInstanceCriteriaRequest::~DescribeExposedInstanceCriteriaRequest() +{} + +std::string DescribeExposedInstanceCriteriaRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeExposedInstanceCriteriaRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeExposedInstanceCriteriaRequest::getValue()const +{ + return value_; +} + +void DescribeExposedInstanceCriteriaRequest::setValue(const std::string& value) +{ + value_ = value; + setParameter("Value", value); +} + diff --git a/sas/src/model/DescribeExposedInstanceCriteriaResult.cc b/sas/src/model/DescribeExposedInstanceCriteriaResult.cc new file mode 100644 index 000000000..a5b8889b3 --- /dev/null +++ b/sas/src/model/DescribeExposedInstanceCriteriaResult.cc @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeExposedInstanceCriteriaResult::DescribeExposedInstanceCriteriaResult() : + ServiceResult() +{} + +DescribeExposedInstanceCriteriaResult::DescribeExposedInstanceCriteriaResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeExposedInstanceCriteriaResult::~DescribeExposedInstanceCriteriaResult() +{} + +void DescribeExposedInstanceCriteriaResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allCriteriaListNode = value["CriteriaList"]["Criteria"]; + for (auto valueCriteriaListCriteria : allCriteriaListNode) + { + Criteria criteriaListObject; + if(!valueCriteriaListCriteria["Values"].isNull()) + criteriaListObject.values = valueCriteriaListCriteria["Values"].asString(); + if(!valueCriteriaListCriteria["Name"].isNull()) + criteriaListObject.name = valueCriteriaListCriteria["Name"].asString(); + if(!valueCriteriaListCriteria["Type"].isNull()) + criteriaListObject.type = valueCriteriaListCriteria["Type"].asString(); + criteriaList_.push_back(criteriaListObject); + } + +} + +std::vector DescribeExposedInstanceCriteriaResult::getCriteriaList()const +{ + return criteriaList_; +} + diff --git a/sas/src/model/DescribeExposedInstanceDetailRequest.cc b/sas/src/model/DescribeExposedInstanceDetailRequest.cc new file mode 100644 index 000000000..9f8ac5c34 --- /dev/null +++ b/sas/src/model/DescribeExposedInstanceDetailRequest.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 + +using AlibabaCloud::Sas::Model::DescribeExposedInstanceDetailRequest; + +DescribeExposedInstanceDetailRequest::DescribeExposedInstanceDetailRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeExposedInstanceDetail") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeExposedInstanceDetailRequest::~DescribeExposedInstanceDetailRequest() +{} + +std::string DescribeExposedInstanceDetailRequest::getUuid()const +{ + return uuid_; +} + +void DescribeExposedInstanceDetailRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setParameter("Uuid", uuid); +} + +std::string DescribeExposedInstanceDetailRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeExposedInstanceDetailRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + diff --git a/sas/src/model/DescribeExposedInstanceDetailResult.cc b/sas/src/model/DescribeExposedInstanceDetailResult.cc new file mode 100644 index 000000000..9986723c7 --- /dev/null +++ b/sas/src/model/DescribeExposedInstanceDetailResult.cc @@ -0,0 +1,111 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeExposedInstanceDetailResult::DescribeExposedInstanceDetailResult() : + ServiceResult() +{} + +DescribeExposedInstanceDetailResult::DescribeExposedInstanceDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeExposedInstanceDetailResult::~DescribeExposedInstanceDetailResult() +{} + +void DescribeExposedInstanceDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allExposedChainsNode = value["ExposedChains"]["ExposedChain"]; + for (auto valueExposedChainsExposedChain : allExposedChainsNode) + { + ExposedChain exposedChainsObject; + if(!valueExposedChainsExposedChain["Uuid"].isNull()) + exposedChainsObject.uuid = valueExposedChainsExposedChain["Uuid"].asString(); + if(!valueExposedChainsExposedChain["IntranetIp"].isNull()) + exposedChainsObject.intranetIp = valueExposedChainsExposedChain["IntranetIp"].asString(); + if(!valueExposedChainsExposedChain["InternetIp"].isNull()) + exposedChainsObject.internetIp = valueExposedChainsExposedChain["InternetIp"].asString(); + if(!valueExposedChainsExposedChain["ExposureComponent"].isNull()) + exposedChainsObject.exposureComponent = valueExposedChainsExposedChain["ExposureComponent"].asString(); + if(!valueExposedChainsExposedChain["ExposureType"].isNull()) + exposedChainsObject.exposureType = valueExposedChainsExposedChain["ExposureType"].asString(); + if(!valueExposedChainsExposedChain["ExposurePort"].isNull()) + exposedChainsObject.exposurePort = valueExposedChainsExposedChain["ExposurePort"].asString(); + if(!valueExposedChainsExposedChain["ExposureIp"].isNull()) + exposedChainsObject.exposureIp = valueExposedChainsExposedChain["ExposureIp"].asString(); + if(!valueExposedChainsExposedChain["ExposureTypeId"].isNull()) + exposedChainsObject.exposureTypeId = valueExposedChainsExposedChain["ExposureTypeId"].asString(); + if(!valueExposedChainsExposedChain["InstanceId"].isNull()) + exposedChainsObject.instanceId = valueExposedChainsExposedChain["InstanceId"].asString(); + if(!valueExposedChainsExposedChain["InstanceName"].isNull()) + exposedChainsObject.instanceName = valueExposedChainsExposedChain["InstanceName"].asString(); + if(!valueExposedChainsExposedChain["RegionId"].isNull()) + exposedChainsObject.regionId = valueExposedChainsExposedChain["RegionId"].asString(); + if(!valueExposedChainsExposedChain["GroupNo"].isNull()) + exposedChainsObject.groupNo = valueExposedChainsExposedChain["GroupNo"].asString(); + auto allRealVulListNode = valueExposedChainsExposedChain["RealVulList"]["ScaVulRecord"]; + for (auto valueExposedChainsExposedChainRealVulListScaVulRecord : allRealVulListNode) + { + ExposedChain::ScaVulRecord realVulListObject; + if(!valueExposedChainsExposedChainRealVulListScaVulRecord["AliasName"].isNull()) + realVulListObject.aliasName = valueExposedChainsExposedChainRealVulListScaVulRecord["AliasName"].asString(); + if(!valueExposedChainsExposedChainRealVulListScaVulRecord["Necessity"].isNull()) + realVulListObject.necessity = valueExposedChainsExposedChainRealVulListScaVulRecord["Necessity"].asString(); + if(!valueExposedChainsExposedChainRealVulListScaVulRecord["Name"].isNull()) + realVulListObject.name = valueExposedChainsExposedChainRealVulListScaVulRecord["Name"].asString(); + if(!valueExposedChainsExposedChainRealVulListScaVulRecord["Type"].isNull()) + realVulListObject.type = valueExposedChainsExposedChainRealVulListScaVulRecord["Type"].asString(); + if(!valueExposedChainsExposedChainRealVulListScaVulRecord["Uuid"].isNull()) + realVulListObject.uuid = valueExposedChainsExposedChainRealVulListScaVulRecord["Uuid"].asString(); + exposedChainsObject.realVulList.push_back(realVulListObject); + } + auto allAllVulListNode = valueExposedChainsExposedChain["AllVulList"]["ScaVulRecord"]; + for (auto valueExposedChainsExposedChainAllVulListScaVulRecord : allAllVulListNode) + { + ExposedChain::ScaVulRecord allVulListObject; + if(!valueExposedChainsExposedChainAllVulListScaVulRecord["AliasName"].isNull()) + allVulListObject.aliasName = valueExposedChainsExposedChainAllVulListScaVulRecord["AliasName"].asString(); + if(!valueExposedChainsExposedChainAllVulListScaVulRecord["Necessity"].isNull()) + allVulListObject.necessity = valueExposedChainsExposedChainAllVulListScaVulRecord["Necessity"].asString(); + if(!valueExposedChainsExposedChainAllVulListScaVulRecord["Name"].isNull()) + allVulListObject.name = valueExposedChainsExposedChainAllVulListScaVulRecord["Name"].asString(); + if(!valueExposedChainsExposedChainAllVulListScaVulRecord["Type"].isNull()) + allVulListObject.type = valueExposedChainsExposedChainAllVulListScaVulRecord["Type"].asString(); + if(!valueExposedChainsExposedChainAllVulListScaVulRecord["Uuid"].isNull()) + allVulListObject.uuid = valueExposedChainsExposedChainAllVulListScaVulRecord["Uuid"].asString(); + exposedChainsObject.allVulList.push_back(allVulListObject); + } + exposedChains_.push_back(exposedChainsObject); + } + +} + +std::vector DescribeExposedInstanceDetailResult::getExposedChains()const +{ + return exposedChains_; +} + diff --git a/sas/src/model/DescribeExposedInstanceListRequest.cc b/sas/src/model/DescribeExposedInstanceListRequest.cc new file mode 100644 index 000000000..85d8398cb --- /dev/null +++ b/sas/src/model/DescribeExposedInstanceListRequest.cc @@ -0,0 +1,150 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::DescribeExposedInstanceListRequest; + +DescribeExposedInstanceListRequest::DescribeExposedInstanceListRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeExposedInstanceList") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeExposedInstanceListRequest::~DescribeExposedInstanceListRequest() +{} + +std::string DescribeExposedInstanceListRequest::getExposurePort()const +{ + return exposurePort_; +} + +void DescribeExposedInstanceListRequest::setExposurePort(const std::string& exposurePort) +{ + exposurePort_ = exposurePort; + setParameter("ExposurePort", exposurePort); +} + +std::string DescribeExposedInstanceListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeExposedInstanceListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +int DescribeExposedInstanceListRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeExposedInstanceListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +bool DescribeExposedInstanceListRequest::getVulStatus()const +{ + return vulStatus_; +} + +void DescribeExposedInstanceListRequest::setVulStatus(bool vulStatus) +{ + vulStatus_ = vulStatus; + setParameter("VulStatus", vulStatus ? "true" : "false"); +} + +std::string DescribeExposedInstanceListRequest::getExposureIp()const +{ + return exposureIp_; +} + +void DescribeExposedInstanceListRequest::setExposureIp(const std::string& exposureIp) +{ + exposureIp_ = exposureIp; + setParameter("ExposureIp", exposureIp); +} + +long DescribeExposedInstanceListRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeExposedInstanceListRequest::setGroupId(long groupId) +{ + groupId_ = groupId; + setParameter("GroupId", std::to_string(groupId)); +} + +int DescribeExposedInstanceListRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeExposedInstanceListRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeExposedInstanceListRequest::getExposureComponent()const +{ + return exposureComponent_; +} + +void DescribeExposedInstanceListRequest::setExposureComponent(const std::string& exposureComponent) +{ + exposureComponent_ = exposureComponent; + setParameter("ExposureComponent", exposureComponent); +} + +std::string DescribeExposedInstanceListRequest::getInstanceId()const +{ + return instanceId_; +} + +void DescribeExposedInstanceListRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setParameter("InstanceId", instanceId); +} + +std::string DescribeExposedInstanceListRequest::getInstanceName()const +{ + return instanceName_; +} + +void DescribeExposedInstanceListRequest::setInstanceName(const std::string& instanceName) +{ + instanceName_ = instanceName; + setParameter("InstanceName", instanceName); +} + +bool DescribeExposedInstanceListRequest::getHealthStatus()const +{ + return healthStatus_; +} + +void DescribeExposedInstanceListRequest::setHealthStatus(bool healthStatus) +{ + healthStatus_ = healthStatus; + setParameter("HealthStatus", healthStatus ? "true" : "false"); +} + diff --git a/sas/src/model/DescribeExposedInstanceListResult.cc b/sas/src/model/DescribeExposedInstanceListResult.cc new file mode 100644 index 000000000..ea242acc3 --- /dev/null +++ b/sas/src/model/DescribeExposedInstanceListResult.cc @@ -0,0 +1,105 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeExposedInstanceListResult::DescribeExposedInstanceListResult() : + ServiceResult() +{} + +DescribeExposedInstanceListResult::DescribeExposedInstanceListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeExposedInstanceListResult::~DescribeExposedInstanceListResult() +{} + +void DescribeExposedInstanceListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allExposedInstancesNode = value["ExposedInstances"]["ExposedInstance"]; + for (auto valueExposedInstancesExposedInstance : allExposedInstancesNode) + { + ExposedInstance exposedInstancesObject; + if(!valueExposedInstancesExposedInstance["Uuid"].isNull()) + exposedInstancesObject.uuid = valueExposedInstancesExposedInstance["Uuid"].asString(); + if(!valueExposedInstancesExposedInstance["IntranetIp"].isNull()) + exposedInstancesObject.intranetIp = valueExposedInstancesExposedInstance["IntranetIp"].asString(); + if(!valueExposedInstancesExposedInstance["InternetIp"].isNull()) + exposedInstancesObject.internetIp = valueExposedInstancesExposedInstance["InternetIp"].asString(); + if(!valueExposedInstancesExposedInstance["AsapVulCount"].isNull()) + exposedInstancesObject.asapVulCount = std::stoi(valueExposedInstancesExposedInstance["AsapVulCount"].asString()); + if(!valueExposedInstancesExposedInstance["LaterVulCount"].isNull()) + exposedInstancesObject.laterVulCount = std::stoi(valueExposedInstancesExposedInstance["LaterVulCount"].asString()); + if(!valueExposedInstancesExposedInstance["NntfVulCount"].isNull()) + exposedInstancesObject.nntfVulCount = std::stoi(valueExposedInstancesExposedInstance["NntfVulCount"].asString()); + if(!valueExposedInstancesExposedInstance["TotalVulCount"].isNull()) + exposedInstancesObject.totalVulCount = std::stoi(valueExposedInstancesExposedInstance["TotalVulCount"].asString()); + if(!valueExposedInstancesExposedInstance["ExploitHealthCount"].isNull()) + exposedInstancesObject.exploitHealthCount = std::stoi(valueExposedInstancesExposedInstance["ExploitHealthCount"].asString()); + if(!valueExposedInstancesExposedInstance["ExposureComponent"].isNull()) + exposedInstancesObject.exposureComponent = valueExposedInstancesExposedInstance["ExposureComponent"].asString(); + if(!valueExposedInstancesExposedInstance["ExposureType"].isNull()) + exposedInstancesObject.exposureType = valueExposedInstancesExposedInstance["ExposureType"].asString(); + if(!valueExposedInstancesExposedInstance["ExposureTypeId"].isNull()) + exposedInstancesObject.exposureTypeId = valueExposedInstancesExposedInstance["ExposureTypeId"].asString(); + if(!valueExposedInstancesExposedInstance["ExposurePort"].isNull()) + exposedInstancesObject.exposurePort = valueExposedInstancesExposedInstance["ExposurePort"].asString(); + if(!valueExposedInstancesExposedInstance["ExposureIp"].isNull()) + exposedInstancesObject.exposureIp = valueExposedInstancesExposedInstance["ExposureIp"].asString(); + if(!valueExposedInstancesExposedInstance["InstanceId"].isNull()) + exposedInstancesObject.instanceId = valueExposedInstancesExposedInstance["InstanceId"].asString(); + if(!valueExposedInstancesExposedInstance["InstanceName"].isNull()) + exposedInstancesObject.instanceName = valueExposedInstancesExposedInstance["InstanceName"].asString(); + if(!valueExposedInstancesExposedInstance["RegionId"].isNull()) + exposedInstancesObject.regionId = valueExposedInstancesExposedInstance["RegionId"].asString(); + if(!valueExposedInstancesExposedInstance["GroupId"].isNull()) + exposedInstancesObject.groupId = std::stol(valueExposedInstancesExposedInstance["GroupId"].asString()); + if(!valueExposedInstancesExposedInstance["GroupName"].isNull()) + exposedInstancesObject.groupName = valueExposedInstancesExposedInstance["GroupName"].asString(); + exposedInstances_.push_back(exposedInstancesObject); + } + auto pageInfoNode = value["PageInfo"]; + if(!pageInfoNode["Count"].isNull()) + pageInfo_.count = std::stoi(pageInfoNode["Count"].asString()); + if(!pageInfoNode["PageSize"].isNull()) + pageInfo_.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + pageInfo_.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + if(!pageInfoNode["CurrentPage"].isNull()) + pageInfo_.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + +} + +DescribeExposedInstanceListResult::PageInfo DescribeExposedInstanceListResult::getPageInfo()const +{ + return pageInfo_; +} + +std::vector DescribeExposedInstanceListResult::getExposedInstances()const +{ + return exposedInstances_; +} + diff --git a/sas/src/model/DescribeExposedStatisticsDetailRequest.cc b/sas/src/model/DescribeExposedStatisticsDetailRequest.cc new file mode 100644 index 000000000..6b4ca7e1c --- /dev/null +++ b/sas/src/model/DescribeExposedStatisticsDetailRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Sas::Model::DescribeExposedStatisticsDetailRequest; + +DescribeExposedStatisticsDetailRequest::DescribeExposedStatisticsDetailRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeExposedStatisticsDetail") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeExposedStatisticsDetailRequest::~DescribeExposedStatisticsDetailRequest() +{} + +std::string DescribeExposedStatisticsDetailRequest::getStatisticsType()const +{ + return statisticsType_; +} + +void DescribeExposedStatisticsDetailRequest::setStatisticsType(const std::string& statisticsType) +{ + statisticsType_ = statisticsType; + setParameter("StatisticsType", statisticsType); +} + +std::string DescribeExposedStatisticsDetailRequest::getStatisticsTypeGatewayType()const +{ + return statisticsTypeGatewayType_; +} + +void DescribeExposedStatisticsDetailRequest::setStatisticsTypeGatewayType(const std::string& statisticsTypeGatewayType) +{ + statisticsTypeGatewayType_ = statisticsTypeGatewayType; + setParameter("StatisticsTypeGatewayType", statisticsTypeGatewayType); +} + +int DescribeExposedStatisticsDetailRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeExposedStatisticsDetailRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeExposedStatisticsDetailRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeExposedStatisticsDetailRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeExposedStatisticsDetailRequest::getStatisticsTypeInstanceValue()const +{ + return statisticsTypeInstanceValue_; +} + +void DescribeExposedStatisticsDetailRequest::setStatisticsTypeInstanceValue(const std::string& statisticsTypeInstanceValue) +{ + statisticsTypeInstanceValue_ = statisticsTypeInstanceValue; + setParameter("StatisticsTypeInstanceValue", statisticsTypeInstanceValue); +} + +int DescribeExposedStatisticsDetailRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeExposedStatisticsDetailRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + diff --git a/sas/src/model/DescribeExposedStatisticsDetailResult.cc b/sas/src/model/DescribeExposedStatisticsDetailResult.cc new file mode 100644 index 000000000..a86ab0408 --- /dev/null +++ b/sas/src/model/DescribeExposedStatisticsDetailResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeExposedStatisticsDetailResult::DescribeExposedStatisticsDetailResult() : + ServiceResult() +{} + +DescribeExposedStatisticsDetailResult::DescribeExposedStatisticsDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeExposedStatisticsDetailResult::~DescribeExposedStatisticsDetailResult() +{} + +void DescribeExposedStatisticsDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allStatisticsDetailsNode = value["StatisticsDetails"]["StatisticsDetail"]; + for (auto valueStatisticsDetailsStatisticsDetail : allStatisticsDetailsNode) + { + StatisticsDetail statisticsDetailsObject; + if(!valueStatisticsDetailsStatisticsDetail["ExposureComponent"].isNull()) + statisticsDetailsObject.exposureComponent = valueStatisticsDetailsStatisticsDetail["ExposureComponent"].asString(); + if(!valueStatisticsDetailsStatisticsDetail["ExposureType"].isNull()) + statisticsDetailsObject.exposureType = valueStatisticsDetailsStatisticsDetail["ExposureType"].asString(); + if(!valueStatisticsDetailsStatisticsDetail["ExposureTypeId"].isNull()) + statisticsDetailsObject.exposureTypeId = valueStatisticsDetailsStatisticsDetail["ExposureTypeId"].asString(); + if(!valueStatisticsDetailsStatisticsDetail["ExposurePort"].isNull()) + statisticsDetailsObject.exposurePort = valueStatisticsDetailsStatisticsDetail["ExposurePort"].asString(); + if(!valueStatisticsDetailsStatisticsDetail["ExposureIp"].isNull()) + statisticsDetailsObject.exposureIp = valueStatisticsDetailsStatisticsDetail["ExposureIp"].asString(); + if(!valueStatisticsDetailsStatisticsDetail["ExposureTypeInstanceName"].isNull()) + statisticsDetailsObject.exposureTypeInstanceName = valueStatisticsDetailsStatisticsDetail["ExposureTypeInstanceName"].asString(); + if(!valueStatisticsDetailsStatisticsDetail["ExposedCount"].isNull()) + statisticsDetailsObject.exposedCount = std::stoi(valueStatisticsDetailsStatisticsDetail["ExposedCount"].asString()); + if(!valueStatisticsDetailsStatisticsDetail["RegionId"].isNull()) + statisticsDetailsObject.regionId = valueStatisticsDetailsStatisticsDetail["RegionId"].asString(); + statisticsDetails_.push_back(statisticsDetailsObject); + } + auto pageInfoNode = value["PageInfo"]; + if(!pageInfoNode["Count"].isNull()) + pageInfo_.count = std::stoi(pageInfoNode["Count"].asString()); + if(!pageInfoNode["PageSize"].isNull()) + pageInfo_.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + pageInfo_.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + if(!pageInfoNode["CurrentPage"].isNull()) + pageInfo_.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + +} + +DescribeExposedStatisticsDetailResult::PageInfo DescribeExposedStatisticsDetailResult::getPageInfo()const +{ + return pageInfo_; +} + +std::vector DescribeExposedStatisticsDetailResult::getStatisticsDetails()const +{ + return statisticsDetails_; +} + diff --git a/sas/src/model/DescribeExposedStatisticsRequest.cc b/sas/src/model/DescribeExposedStatisticsRequest.cc new file mode 100644 index 000000000..4b6089605 --- /dev/null +++ b/sas/src/model/DescribeExposedStatisticsRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::DescribeExposedStatisticsRequest; + +DescribeExposedStatisticsRequest::DescribeExposedStatisticsRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeExposedStatistics") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeExposedStatisticsRequest::~DescribeExposedStatisticsRequest() +{} + +std::string DescribeExposedStatisticsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeExposedStatisticsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + diff --git a/sas/src/model/DescribeExposedStatisticsResult.cc b/sas/src/model/DescribeExposedStatisticsResult.cc new file mode 100644 index 000000000..a4f4d9129 --- /dev/null +++ b/sas/src/model/DescribeExposedStatisticsResult.cc @@ -0,0 +1,107 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeExposedStatisticsResult::DescribeExposedStatisticsResult() : + ServiceResult() +{} + +DescribeExposedStatisticsResult::DescribeExposedStatisticsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeExposedStatisticsResult::~DescribeExposedStatisticsResult() +{} + +void DescribeExposedStatisticsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ExposedInstanceCount"].isNull()) + exposedInstanceCount_ = std::stoi(value["ExposedInstanceCount"].asString()); + if(!value["GatewayAssetCount"].isNull()) + gatewayAssetCount_ = std::stoi(value["GatewayAssetCount"].asString()); + if(!value["ExposedIpCount"].isNull()) + exposedIpCount_ = std::stoi(value["ExposedIpCount"].asString()); + if(!value["ExposedPortCount"].isNull()) + exposedPortCount_ = std::stoi(value["ExposedPortCount"].asString()); + if(!value["ExposedComponentCount"].isNull()) + exposedComponentCount_ = std::stoi(value["ExposedComponentCount"].asString()); + if(!value["ExposedAsapVulCount"].isNull()) + exposedAsapVulCount_ = std::stoi(value["ExposedAsapVulCount"].asString()); + if(!value["ExposedLaterVulCount"].isNull()) + exposedLaterVulCount_ = std::stoi(value["ExposedLaterVulCount"].asString()); + if(!value["ExposedNntfVulCount"].isNull()) + exposedNntfVulCount_ = std::stoi(value["ExposedNntfVulCount"].asString()); + if(!value["ExposedWeekPasswordMachineCount"].isNull()) + exposedWeekPasswordMachineCount_ = std::stoi(value["ExposedWeekPasswordMachineCount"].asString()); + +} + +int DescribeExposedStatisticsResult::getExposedPortCount()const +{ + return exposedPortCount_; +} + +int DescribeExposedStatisticsResult::getExposedWeekPasswordMachineCount()const +{ + return exposedWeekPasswordMachineCount_; +} + +int DescribeExposedStatisticsResult::getExposedInstanceCount()const +{ + return exposedInstanceCount_; +} + +int DescribeExposedStatisticsResult::getGatewayAssetCount()const +{ + return gatewayAssetCount_; +} + +int DescribeExposedStatisticsResult::getExposedLaterVulCount()const +{ + return exposedLaterVulCount_; +} + +int DescribeExposedStatisticsResult::getExposedComponentCount()const +{ + return exposedComponentCount_; +} + +int DescribeExposedStatisticsResult::getExposedIpCount()const +{ + return exposedIpCount_; +} + +int DescribeExposedStatisticsResult::getExposedNntfVulCount()const +{ + return exposedNntfVulCount_; +} + +int DescribeExposedStatisticsResult::getExposedAsapVulCount()const +{ + return exposedAsapVulCount_; +} + diff --git a/sas/src/model/DescribeFieldStatisticsRequest.cc b/sas/src/model/DescribeFieldStatisticsRequest.cc index bcf916e89..32b26628c 100644 --- a/sas/src/model/DescribeFieldStatisticsRequest.cc +++ b/sas/src/model/DescribeFieldStatisticsRequest.cc @@ -49,3 +49,14 @@ void DescribeFieldStatisticsRequest::setSourceIp(const std::string& sourceIp) setParameter("SourceIp", sourceIp); } +std::string DescribeFieldStatisticsRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeFieldStatisticsRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + diff --git a/sas/src/model/DescribeFieldStatisticsResult.cc b/sas/src/model/DescribeFieldStatisticsResult.cc index 26cc180c3..232b0aea6 100644 --- a/sas/src/model/DescribeFieldStatisticsResult.cc +++ b/sas/src/model/DescribeFieldStatisticsResult.cc @@ -58,6 +58,14 @@ void DescribeFieldStatisticsResult::parse(const std::string &payload) groupedFields_.notRunningStatusCount = std::stoi(groupedFieldsNode["NotRunningStatusCount"].asString()); if(!groupedFieldsNode["OfflineInstanceCount"].isNull()) groupedFields_.offlineInstanceCount = std::stoi(groupedFieldsNode["OfflineInstanceCount"].asString()); + if(!groupedFieldsNode["ImportantAssetCount"].isNull()) + groupedFields_.importantAssetCount = std::stoi(groupedFieldsNode["ImportantAssetCount"].asString()); + if(!groupedFieldsNode["GeneralAssetCount"].isNull()) + groupedFields_.generalAssetCount = std::stoi(groupedFieldsNode["GeneralAssetCount"].asString()); + if(!groupedFieldsNode["TestAssetCount"].isNull()) + groupedFields_.testAssetCount = std::stoi(groupedFieldsNode["TestAssetCount"].asString()); + if(!groupedFieldsNode["ExposedInstanceCount"].isNull()) + groupedFields_.exposedInstanceCount = std::stoi(groupedFieldsNode["ExposedInstanceCount"].asString()); } diff --git a/sas/src/model/DescribeFrontVulPatchListRequest.cc b/sas/src/model/DescribeFrontVulPatchListRequest.cc new file mode 100644 index 000000000..cacc1844c --- /dev/null +++ b/sas/src/model/DescribeFrontVulPatchListRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::DescribeFrontVulPatchListRequest; + +DescribeFrontVulPatchListRequest::DescribeFrontVulPatchListRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeFrontVulPatchList") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeFrontVulPatchListRequest::~DescribeFrontVulPatchListRequest() +{} + +std::string DescribeFrontVulPatchListRequest::getType()const +{ + return type_; +} + +void DescribeFrontVulPatchListRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +std::string DescribeFrontVulPatchListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeFrontVulPatchListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeFrontVulPatchListRequest::getOperateType()const +{ + return operateType_; +} + +void DescribeFrontVulPatchListRequest::setOperateType(const std::string& operateType) +{ + operateType_ = operateType; + setParameter("OperateType", operateType); +} + +std::string DescribeFrontVulPatchListRequest::getInfo()const +{ + return info_; +} + +void DescribeFrontVulPatchListRequest::setInfo(const std::string& info) +{ + info_ = info; + setParameter("Info", info); +} + diff --git a/sas/src/model/DescribeFrontVulPatchListResult.cc b/sas/src/model/DescribeFrontVulPatchListResult.cc new file mode 100644 index 000000000..72c570f24 --- /dev/null +++ b/sas/src/model/DescribeFrontVulPatchListResult.cc @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeFrontVulPatchListResult::DescribeFrontVulPatchListResult() : + ServiceResult() +{} + +DescribeFrontVulPatchListResult::DescribeFrontVulPatchListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeFrontVulPatchListResult::~DescribeFrontVulPatchListResult() +{} + +void DescribeFrontVulPatchListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allFrontPatchListNode = value["FrontPatchList"]["FrontPatch"]; + for (auto valueFrontPatchListFrontPatch : allFrontPatchListNode) + { + FrontPatch frontPatchListObject; + if(!valueFrontPatchListFrontPatch["Uuid"].isNull()) + frontPatchListObject.uuid = valueFrontPatchListFrontPatch["Uuid"].asString(); + auto allPatchListNode = valueFrontPatchListFrontPatch["PatchList"]["Patch"]; + for (auto valueFrontPatchListFrontPatchPatchListPatch : allPatchListNode) + { + FrontPatch::Patch patchListObject; + if(!valueFrontPatchListFrontPatchPatchListPatch["Name"].isNull()) + patchListObject.name = valueFrontPatchListFrontPatchPatchListPatch["Name"].asString(); + if(!valueFrontPatchListFrontPatchPatchListPatch["AliasName"].isNull()) + patchListObject.aliasName = valueFrontPatchListFrontPatchPatchListPatch["AliasName"].asString(); + frontPatchListObject.patchList.push_back(patchListObject); + } + frontPatchList_.push_back(frontPatchListObject); + } + +} + +std::vector DescribeFrontVulPatchListResult::getFrontPatchList()const +{ + return frontPatchList_; +} + diff --git a/sas/src/model/DescribeGraph4InvestigationOnlineResult.cc b/sas/src/model/DescribeGraph4InvestigationOnlineResult.cc index 48af2ba23..0da4929d7 100644 --- a/sas/src/model/DescribeGraph4InvestigationOnlineResult.cc +++ b/sas/src/model/DescribeGraph4InvestigationOnlineResult.cc @@ -62,16 +62,16 @@ void DescribeGraph4InvestigationOnlineResult::parse(const std::string &payload) vertexObject.positionId = dataNodeVertexListVertex["PositionId"].asString(); if(!dataNodeVertexListVertex["Position"].isNull()) vertexObject.position = dataNodeVertexListVertex["Position"].asString(); - auto allNeighborListNode = allVertexListNode["NeighborList"]["Neighbor"]; - for (auto allVertexListNodeNeighborListNeighbor : allNeighborListNode) + auto allNeighborListNode = dataNodeVertexListVertex["NeighborList"]["Neighbor"]; + for (auto dataNodeVertexListVertexNeighborListNeighbor : allNeighborListNode) { Data::Vertex::Neighbor neighborListObject; - if(!allVertexListNodeNeighborListNeighbor["Type"].isNull()) - neighborListObject.type = allVertexListNodeNeighborListNeighbor["Type"].asString(); - if(!allVertexListNodeNeighborListNeighbor["Count"].isNull()) - neighborListObject.count = std::stoi(allVertexListNodeNeighborListNeighbor["Count"].asString()); - if(!allVertexListNodeNeighborListNeighbor["HasMore"].isNull()) - neighborListObject.hasMore = allVertexListNodeNeighborListNeighbor["HasMore"].asString() == "true"; + if(!dataNodeVertexListVertexNeighborListNeighbor["Type"].isNull()) + neighborListObject.type = dataNodeVertexListVertexNeighborListNeighbor["Type"].asString(); + if(!dataNodeVertexListVertexNeighborListNeighbor["Count"].isNull()) + neighborListObject.count = std::stoi(dataNodeVertexListVertexNeighborListNeighbor["Count"].asString()); + if(!dataNodeVertexListVertexNeighborListNeighbor["HasMore"].isNull()) + neighborListObject.hasMore = dataNodeVertexListVertexNeighborListNeighbor["HasMore"].asString() == "true"; vertexObject.neighborList.push_back(neighborListObject); } data_.vertexList.push_back(vertexObject); diff --git a/sas/src/model/DescribeGroupedContainerInstancesRequest.cc b/sas/src/model/DescribeGroupedContainerInstancesRequest.cc new file mode 100644 index 000000000..bea6bccd1 --- /dev/null +++ b/sas/src/model/DescribeGroupedContainerInstancesRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Sas::Model::DescribeGroupedContainerInstancesRequest; + +DescribeGroupedContainerInstancesRequest::DescribeGroupedContainerInstancesRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeGroupedContainerInstances") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeGroupedContainerInstancesRequest::~DescribeGroupedContainerInstancesRequest() +{} + +std::string DescribeGroupedContainerInstancesRequest::getCriteria()const +{ + return criteria_; +} + +void DescribeGroupedContainerInstancesRequest::setCriteria(const std::string& criteria) +{ + criteria_ = criteria; + setParameter("Criteria", criteria); +} + +std::string DescribeGroupedContainerInstancesRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeGroupedContainerInstancesRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeGroupedContainerInstancesRequest::getGroupField()const +{ + return groupField_; +} + +void DescribeGroupedContainerInstancesRequest::setGroupField(const std::string& groupField) +{ + groupField_ = groupField; + setParameter("GroupField", groupField); +} + +int DescribeGroupedContainerInstancesRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeGroupedContainerInstancesRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeGroupedContainerInstancesRequest::getLogicalExp()const +{ + return logicalExp_; +} + +void DescribeGroupedContainerInstancesRequest::setLogicalExp(const std::string& logicalExp) +{ + logicalExp_ = logicalExp; + setParameter("LogicalExp", logicalExp); +} + +std::string DescribeGroupedContainerInstancesRequest::getFieldValue()const +{ + return fieldValue_; +} + +void DescribeGroupedContainerInstancesRequest::setFieldValue(const std::string& fieldValue) +{ + fieldValue_ = fieldValue; + setParameter("FieldValue", fieldValue); +} + +int DescribeGroupedContainerInstancesRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeGroupedContainerInstancesRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + diff --git a/sas/src/model/DescribeGroupedContainerInstancesResult.cc b/sas/src/model/DescribeGroupedContainerInstancesResult.cc new file mode 100644 index 000000000..03bd8c43f --- /dev/null +++ b/sas/src/model/DescribeGroupedContainerInstancesResult.cc @@ -0,0 +1,105 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeGroupedContainerInstancesResult::DescribeGroupedContainerInstancesResult() : + ServiceResult() +{} + +DescribeGroupedContainerInstancesResult::DescribeGroupedContainerInstancesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeGroupedContainerInstancesResult::~DescribeGroupedContainerInstancesResult() +{} + +void DescribeGroupedContainerInstancesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allGroupedContainerInstanceListNode = value["GroupedContainerInstanceList"]["GroupedContainerInstance"]; + for (auto valueGroupedContainerInstanceListGroupedContainerInstance : allGroupedContainerInstanceListNode) + { + GroupedContainerInstance groupedContainerInstanceListObject; + if(!valueGroupedContainerInstanceListGroupedContainerInstance["InstanceCount"].isNull()) + groupedContainerInstanceListObject.instanceCount = std::stoi(valueGroupedContainerInstanceListGroupedContainerInstance["InstanceCount"].asString()); + if(!valueGroupedContainerInstanceListGroupedContainerInstance["RiskInstanceCount"].isNull()) + groupedContainerInstanceListObject.riskInstanceCount = std::stoi(valueGroupedContainerInstanceListGroupedContainerInstance["RiskInstanceCount"].asString()); + if(!valueGroupedContainerInstanceListGroupedContainerInstance["ClusterId"].isNull()) + groupedContainerInstanceListObject.clusterId = valueGroupedContainerInstanceListGroupedContainerInstance["ClusterId"].asString(); + if(!valueGroupedContainerInstanceListGroupedContainerInstance["RiskStatus"].isNull()) + groupedContainerInstanceListObject.riskStatus = valueGroupedContainerInstanceListGroupedContainerInstance["RiskStatus"].asString(); + if(!valueGroupedContainerInstanceListGroupedContainerInstance["VulCount"].isNull()) + groupedContainerInstanceListObject.vulCount = std::stoi(valueGroupedContainerInstanceListGroupedContainerInstance["VulCount"].asString()); + if(!valueGroupedContainerInstanceListGroupedContainerInstance["AlarmCount"].isNull()) + groupedContainerInstanceListObject.alarmCount = std::stoi(valueGroupedContainerInstanceListGroupedContainerInstance["AlarmCount"].asString()); + if(!valueGroupedContainerInstanceListGroupedContainerInstance["Pod"].isNull()) + groupedContainerInstanceListObject.pod = valueGroupedContainerInstanceListGroupedContainerInstance["Pod"].asString(); + if(!valueGroupedContainerInstanceListGroupedContainerInstance["PodIp"].isNull()) + groupedContainerInstanceListObject.podIp = valueGroupedContainerInstanceListGroupedContainerInstance["PodIp"].asString(); + if(!valueGroupedContainerInstanceListGroupedContainerInstance["InstanceId"].isNull()) + groupedContainerInstanceListObject.instanceId = valueGroupedContainerInstanceListGroupedContainerInstance["InstanceId"].asString(); + if(!valueGroupedContainerInstanceListGroupedContainerInstance["HostIp"].isNull()) + groupedContainerInstanceListObject.hostIp = valueGroupedContainerInstanceListGroupedContainerInstance["HostIp"].asString(); + if(!valueGroupedContainerInstanceListGroupedContainerInstance["ClusterName"].isNull()) + groupedContainerInstanceListObject.clusterName = valueGroupedContainerInstanceListGroupedContainerInstance["ClusterName"].asString(); + if(!valueGroupedContainerInstanceListGroupedContainerInstance["CreateTime"].isNull()) + groupedContainerInstanceListObject.createTime = std::stol(valueGroupedContainerInstanceListGroupedContainerInstance["CreateTime"].asString()); + if(!valueGroupedContainerInstanceListGroupedContainerInstance["AppName"].isNull()) + groupedContainerInstanceListObject.appName = valueGroupedContainerInstanceListGroupedContainerInstance["AppName"].asString(); + if(!valueGroupedContainerInstanceListGroupedContainerInstance["ClusterType"].isNull()) + groupedContainerInstanceListObject.clusterType = valueGroupedContainerInstanceListGroupedContainerInstance["ClusterType"].asString(); + if(!valueGroupedContainerInstanceListGroupedContainerInstance["CusterState"].isNull()) + groupedContainerInstanceListObject.custerState = valueGroupedContainerInstanceListGroupedContainerInstance["CusterState"].asString(); + if(!valueGroupedContainerInstanceListGroupedContainerInstance["RegionId"].isNull()) + groupedContainerInstanceListObject.regionId = valueGroupedContainerInstanceListGroupedContainerInstance["RegionId"].asString(); + if(!valueGroupedContainerInstanceListGroupedContainerInstance["Namespace"].isNull()) + groupedContainerInstanceListObject._namespace = valueGroupedContainerInstanceListGroupedContainerInstance["Namespace"].asString(); + if(!valueGroupedContainerInstanceListGroupedContainerInstance["RiskLevel"].isNull()) + groupedContainerInstanceListObject.riskLevel = valueGroupedContainerInstanceListGroupedContainerInstance["RiskLevel"].asString(); + groupedContainerInstanceList_.push_back(groupedContainerInstanceListObject); + } + auto pageInfoNode = value["PageInfo"]; + if(!pageInfoNode["Count"].isNull()) + pageInfo_.count = std::stoi(pageInfoNode["Count"].asString()); + if(!pageInfoNode["PageSize"].isNull()) + pageInfo_.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + pageInfo_.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + if(!pageInfoNode["CurrentPage"].isNull()) + pageInfo_.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + +} + +std::vector DescribeGroupedContainerInstancesResult::getGroupedContainerInstanceList()const +{ + return groupedContainerInstanceList_; +} + +DescribeGroupedContainerInstancesResult::PageInfo DescribeGroupedContainerInstancesResult::getPageInfo()const +{ + return pageInfo_; +} + diff --git a/sas/src/model/DescribeGroupedInstancesRequest.cc b/sas/src/model/DescribeGroupedInstancesRequest.cc new file mode 100644 index 000000000..6fcb69de6 --- /dev/null +++ b/sas/src/model/DescribeGroupedInstancesRequest.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Sas::Model::DescribeGroupedInstancesRequest; + +DescribeGroupedInstancesRequest::DescribeGroupedInstancesRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeGroupedInstances") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeGroupedInstancesRequest::~DescribeGroupedInstancesRequest() +{} + +std::string DescribeGroupedInstancesRequest::getCriteria()const +{ + return criteria_; +} + +void DescribeGroupedInstancesRequest::setCriteria(const std::string& criteria) +{ + criteria_ = criteria; + setParameter("Criteria", criteria); +} + +std::string DescribeGroupedInstancesRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeGroupedInstancesRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeGroupedInstancesRequest::getGroupField()const +{ + return groupField_; +} + +void DescribeGroupedInstancesRequest::setGroupField(const std::string& groupField) +{ + groupField_ = groupField; + setParameter("GroupField", groupField); +} + +bool DescribeGroupedInstancesRequest::getNoPage()const +{ + return noPage_; +} + +void DescribeGroupedInstancesRequest::setNoPage(bool noPage) +{ + noPage_ = noPage; + setParameter("NoPage", noPage ? "true" : "false"); +} + +int DescribeGroupedInstancesRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeGroupedInstancesRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeGroupedInstancesRequest::getLang()const +{ + return lang_; +} + +void DescribeGroupedInstancesRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribeGroupedInstancesRequest::getFieldValue()const +{ + return fieldValue_; +} + +void DescribeGroupedInstancesRequest::setFieldValue(const std::string& fieldValue) +{ + fieldValue_ = fieldValue; + setParameter("FieldValue", fieldValue); +} + +int DescribeGroupedInstancesRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeGroupedInstancesRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeGroupedInstancesRequest::getMachineTypes()const +{ + return machineTypes_; +} + +void DescribeGroupedInstancesRequest::setMachineTypes(const std::string& machineTypes) +{ + machineTypes_ = machineTypes; + setParameter("MachineTypes", machineTypes); +} + diff --git a/sas/src/model/DescribeGroupedInstancesResult.cc b/sas/src/model/DescribeGroupedInstancesResult.cc new file mode 100644 index 000000000..e5debef7f --- /dev/null +++ b/sas/src/model/DescribeGroupedInstancesResult.cc @@ -0,0 +1,86 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeGroupedInstancesResult::DescribeGroupedInstancesResult() : + ServiceResult() +{} + +DescribeGroupedInstancesResult::DescribeGroupedInstancesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeGroupedInstancesResult::~DescribeGroupedInstancesResult() +{} + +void DescribeGroupedInstancesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allInstancesNode = value["Instances"]["Instance"]; + for (auto valueInstancesInstance : allInstancesNode) + { + Instance instancesObject; + if(!valueInstancesInstance["UnProtectedInstanceCount"].isNull()) + instancesObject.unProtectedInstanceCount = valueInstancesInstance["UnProtectedInstanceCount"].asString(); + if(!valueInstancesInstance["FieldAliasName"].isNull()) + instancesObject.fieldAliasName = valueInstancesInstance["FieldAliasName"].asString(); + if(!valueInstancesInstance["GroupFlag"].isNull()) + instancesObject.groupFlag = std::stoi(valueInstancesInstance["GroupFlag"].asString()); + if(!valueInstancesInstance["FieldId"].isNull()) + instancesObject.fieldId = std::stol(valueInstancesInstance["FieldId"].asString()); + if(!valueInstancesInstance["RiskInstanceCount"].isNull()) + instancesObject.riskInstanceCount = valueInstancesInstance["RiskInstanceCount"].asString(); + if(!valueInstancesInstance["InstanceCount"].isNull()) + instancesObject.instanceCount = valueInstancesInstance["InstanceCount"].asString(); + if(!valueInstancesInstance["AsapVulInstanceCount"].isNull()) + instancesObject.asapVulInstanceCount = std::stol(valueInstancesInstance["AsapVulInstanceCount"].asString()); + auto allGroupPath = value["GroupPath"]["groupPath"]; + for (auto value : allGroupPath) + instancesObject.groupPath.push_back(value.asString()); + instances_.push_back(instancesObject); + } + auto pageInfoNode = value["PageInfo"]; + if(!pageInfoNode["Count"].isNull()) + pageInfo_.count = std::stoi(pageInfoNode["Count"].asString()); + if(!pageInfoNode["PageSize"].isNull()) + pageInfo_.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + pageInfo_.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + if(!pageInfoNode["CurrentPage"].isNull()) + pageInfo_.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + +} + +std::vector DescribeGroupedInstancesResult::getInstances()const +{ + return instances_; +} + +DescribeGroupedInstancesResult::PageInfo DescribeGroupedInstancesResult::getPageInfo()const +{ + return pageInfo_; +} + diff --git a/sas/src/model/DescribeGroupedMaliciousFilesRequest.cc b/sas/src/model/DescribeGroupedMaliciousFilesRequest.cc new file mode 100644 index 000000000..11a6cd5ad --- /dev/null +++ b/sas/src/model/DescribeGroupedMaliciousFilesRequest.cc @@ -0,0 +1,196 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::DescribeGroupedMaliciousFilesRequest; + +DescribeGroupedMaliciousFilesRequest::DescribeGroupedMaliciousFilesRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeGroupedMaliciousFiles") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeGroupedMaliciousFilesRequest::~DescribeGroupedMaliciousFilesRequest() +{} + +std::string DescribeGroupedMaliciousFilesRequest::getRepoId()const +{ + return repoId_; +} + +void DescribeGroupedMaliciousFilesRequest::setRepoId(const std::string& repoId) +{ + repoId_ = repoId; + setParameter("RepoId", repoId); +} + +std::string DescribeGroupedMaliciousFilesRequest::getFuzzyMaliciousName()const +{ + return fuzzyMaliciousName_; +} + +void DescribeGroupedMaliciousFilesRequest::setFuzzyMaliciousName(const std::string& fuzzyMaliciousName) +{ + fuzzyMaliciousName_ = fuzzyMaliciousName; + setParameter("FuzzyMaliciousName", fuzzyMaliciousName); +} + +std::string DescribeGroupedMaliciousFilesRequest::getRepoNamespace()const +{ + return repoNamespace_; +} + +void DescribeGroupedMaliciousFilesRequest::setRepoNamespace(const std::string& repoNamespace) +{ + repoNamespace_ = repoNamespace; + setParameter("RepoNamespace", repoNamespace); +} + +std::string DescribeGroupedMaliciousFilesRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeGroupedMaliciousFilesRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeGroupedMaliciousFilesRequest::getImageDigest()const +{ + return imageDigest_; +} + +void DescribeGroupedMaliciousFilesRequest::setImageDigest(const std::string& imageDigest) +{ + imageDigest_ = imageDigest; + setParameter("ImageDigest", imageDigest); +} + +std::string DescribeGroupedMaliciousFilesRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeGroupedMaliciousFilesRequest::setPageSize(const std::string& pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", pageSize); +} + +std::string DescribeGroupedMaliciousFilesRequest::getLang()const +{ + return lang_; +} + +void DescribeGroupedMaliciousFilesRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribeGroupedMaliciousFilesRequest::getImageTag()const +{ + return imageTag_; +} + +void DescribeGroupedMaliciousFilesRequest::setImageTag(const std::string& imageTag) +{ + imageTag_ = imageTag; + setParameter("ImageTag", imageTag); +} + +int DescribeGroupedMaliciousFilesRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeGroupedMaliciousFilesRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeGroupedMaliciousFilesRequest::getRepoName()const +{ + return repoName_; +} + +void DescribeGroupedMaliciousFilesRequest::setRepoName(const std::string& repoName) +{ + repoName_ = repoName; + setParameter("RepoName", repoName); +} + +std::string DescribeGroupedMaliciousFilesRequest::getRepoInstanceId()const +{ + return repoInstanceId_; +} + +void DescribeGroupedMaliciousFilesRequest::setRepoInstanceId(const std::string& repoInstanceId) +{ + repoInstanceId_ = repoInstanceId; + setParameter("RepoInstanceId", repoInstanceId); +} + +std::string DescribeGroupedMaliciousFilesRequest::getImageLayer()const +{ + return imageLayer_; +} + +void DescribeGroupedMaliciousFilesRequest::setImageLayer(const std::string& imageLayer) +{ + imageLayer_ = imageLayer; + setParameter("ImageLayer", imageLayer); +} + +std::string DescribeGroupedMaliciousFilesRequest::getLevels()const +{ + return levels_; +} + +void DescribeGroupedMaliciousFilesRequest::setLevels(const std::string& levels) +{ + levels_ = levels; + setParameter("Levels", levels); +} + +std::vector DescribeGroupedMaliciousFilesRequest::getUuids()const +{ + return uuids_; +} + +void DescribeGroupedMaliciousFilesRequest::setUuids(const std::vector& uuids) +{ + uuids_ = uuids; + for(int dep1 = 0; dep1!= uuids.size(); dep1++) { + setParameter("Uuids."+ std::to_string(dep1), uuids.at(dep1)); + } +} + +std::string DescribeGroupedMaliciousFilesRequest::getRepoRegionId()const +{ + return repoRegionId_; +} + +void DescribeGroupedMaliciousFilesRequest::setRepoRegionId(const std::string& repoRegionId) +{ + repoRegionId_ = repoRegionId; + setParameter("RepoRegionId", repoRegionId); +} + diff --git a/sas/src/model/DescribeGroupedMaliciousFilesResult.cc b/sas/src/model/DescribeGroupedMaliciousFilesResult.cc new file mode 100644 index 000000000..7054ae918 --- /dev/null +++ b/sas/src/model/DescribeGroupedMaliciousFilesResult.cc @@ -0,0 +1,83 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeGroupedMaliciousFilesResult::DescribeGroupedMaliciousFilesResult() : + ServiceResult() +{} + +DescribeGroupedMaliciousFilesResult::DescribeGroupedMaliciousFilesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeGroupedMaliciousFilesResult::~DescribeGroupedMaliciousFilesResult() +{} + +void DescribeGroupedMaliciousFilesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allGroupedMaliciousFileResponseNode = value["GroupedMaliciousFileResponse"]["GroupedMaliciousFile"]; + for (auto valueGroupedMaliciousFileResponseGroupedMaliciousFile : allGroupedMaliciousFileResponseNode) + { + GroupedMaliciousFile groupedMaliciousFileResponseObject; + if(!valueGroupedMaliciousFileResponseGroupedMaliciousFile["MaliciousName"].isNull()) + groupedMaliciousFileResponseObject.maliciousName = valueGroupedMaliciousFileResponseGroupedMaliciousFile["MaliciousName"].asString(); + if(!valueGroupedMaliciousFileResponseGroupedMaliciousFile["MaliciousMd5"].isNull()) + groupedMaliciousFileResponseObject.maliciousMd5 = valueGroupedMaliciousFileResponseGroupedMaliciousFile["MaliciousMd5"].asString(); + if(!valueGroupedMaliciousFileResponseGroupedMaliciousFile["FirstScanTimestamp"].isNull()) + groupedMaliciousFileResponseObject.firstScanTimestamp = std::stol(valueGroupedMaliciousFileResponseGroupedMaliciousFile["FirstScanTimestamp"].asString()); + if(!valueGroupedMaliciousFileResponseGroupedMaliciousFile["LatestScanTimestamp"].isNull()) + groupedMaliciousFileResponseObject.latestScanTimestamp = std::stol(valueGroupedMaliciousFileResponseGroupedMaliciousFile["LatestScanTimestamp"].asString()); + if(!valueGroupedMaliciousFileResponseGroupedMaliciousFile["Status"].isNull()) + groupedMaliciousFileResponseObject.status = std::stoi(valueGroupedMaliciousFileResponseGroupedMaliciousFile["Status"].asString()); + if(!valueGroupedMaliciousFileResponseGroupedMaliciousFile["Level"].isNull()) + groupedMaliciousFileResponseObject.level = valueGroupedMaliciousFileResponseGroupedMaliciousFile["Level"].asString(); + if(!valueGroupedMaliciousFileResponseGroupedMaliciousFile["ImageCount"].isNull()) + groupedMaliciousFileResponseObject.imageCount = std::stol(valueGroupedMaliciousFileResponseGroupedMaliciousFile["ImageCount"].asString()); + groupedMaliciousFileResponse_.push_back(groupedMaliciousFileResponseObject); + } + auto pageInfoNode = value["PageInfo"]; + if(!pageInfoNode["Count"].isNull()) + pageInfo_.count = std::stoi(pageInfoNode["Count"].asString()); + if(!pageInfoNode["PageSize"].isNull()) + pageInfo_.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + pageInfo_.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + if(!pageInfoNode["CurrentPage"].isNull()) + pageInfo_.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + +} + +std::vector DescribeGroupedMaliciousFilesResult::getGroupedMaliciousFileResponse()const +{ + return groupedMaliciousFileResponse_; +} + +DescribeGroupedMaliciousFilesResult::PageInfo DescribeGroupedMaliciousFilesResult::getPageInfo()const +{ + return pageInfo_; +} + diff --git a/sas/src/model/DescribeGroupedVulRequest.cc b/sas/src/model/DescribeGroupedVulRequest.cc index 27c3772c0..3bae040d5 100644 --- a/sas/src/model/DescribeGroupedVulRequest.cc +++ b/sas/src/model/DescribeGroupedVulRequest.cc @@ -38,6 +38,28 @@ void DescribeGroupedVulRequest::setStatusList(const std::string& statusList) setParameter("StatusList", statusList); } +std::string DescribeGroupedVulRequest::getTargetType()const +{ + return targetType_; +} + +void DescribeGroupedVulRequest::setTargetType(const std::string& targetType) +{ + targetType_ = targetType; + setParameter("TargetType", targetType); +} + +int DescribeGroupedVulRequest::getMinScore()const +{ + return minScore_; +} + +void DescribeGroupedVulRequest::setMinScore(int minScore) +{ + minScore_ = minScore; + setParameter("MinScore", std::to_string(minScore)); +} + std::string DescribeGroupedVulRequest::getType()const { return type_; @@ -49,6 +71,17 @@ void DescribeGroupedVulRequest::setType(const std::string& type) setParameter("Type", type); } +std::string DescribeGroupedVulRequest::getContainerFieldName()const +{ + return containerFieldName_; +} + +void DescribeGroupedVulRequest::setContainerFieldName(const std::string& containerFieldName) +{ + containerFieldName_ = containerFieldName; + setParameter("ContainerFieldName", containerFieldName); +} + std::string DescribeGroupedVulRequest::getSourceIp()const { return sourceIp_; @@ -60,6 +93,17 @@ void DescribeGroupedVulRequest::setSourceIp(const std::string& sourceIp) setParameter("SourceIp", sourceIp); } +std::string DescribeGroupedVulRequest::getContainerFieldValue()const +{ + return containerFieldValue_; +} + +void DescribeGroupedVulRequest::setContainerFieldValue(const std::string& containerFieldValue) +{ + containerFieldValue_ = containerFieldValue; + setParameter("ContainerFieldValue", containerFieldValue); +} + int DescribeGroupedVulRequest::getPageSize()const { return pageSize_; @@ -115,6 +159,17 @@ void DescribeGroupedVulRequest::setCurrentPage(int currentPage) setParameter("CurrentPage", std::to_string(currentPage)); } +std::string DescribeGroupedVulRequest::getClusterId()const +{ + return clusterId_; +} + +void DescribeGroupedVulRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + std::string DescribeGroupedVulRequest::getAliasName()const { return aliasName_; diff --git a/sas/src/model/DescribeGroupedVulResult.cc b/sas/src/model/DescribeGroupedVulResult.cc index 165abf58c..ff79d8027 100644 --- a/sas/src/model/DescribeGroupedVulResult.cc +++ b/sas/src/model/DescribeGroupedVulResult.cc @@ -61,6 +61,8 @@ void DescribeGroupedVulResult::parse(const std::string &payload) groupedVulItemsObject.handledCount = std::stoi(valueGroupedVulItemsGroupedVulItem["HandledCount"].asString()); if(!valueGroupedVulItemsGroupedVulItem["Tags"].isNull()) groupedVulItemsObject.tags = valueGroupedVulItemsGroupedVulItem["Tags"].asString(); + if(!valueGroupedVulItemsGroupedVulItem["TotalFixCount"].isNull()) + groupedVulItemsObject.totalFixCount = std::stol(valueGroupedVulItemsGroupedVulItem["TotalFixCount"].asString()); groupedVulItems_.push_back(groupedVulItemsObject); } if(!value["PageSize"].isNull()) diff --git a/sas/src/model/DescribeHoneyPotAuthRequest.cc b/sas/src/model/DescribeHoneyPotAuthRequest.cc new file mode 100644 index 000000000..f32837c36 --- /dev/null +++ b/sas/src/model/DescribeHoneyPotAuthRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::DescribeHoneyPotAuthRequest; + +DescribeHoneyPotAuthRequest::DescribeHoneyPotAuthRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeHoneyPotAuth") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeHoneyPotAuthRequest::~DescribeHoneyPotAuthRequest() +{} + +std::string DescribeHoneyPotAuthRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeHoneyPotAuthRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + diff --git a/sas/src/model/DescribeHoneyPotAuthResult.cc b/sas/src/model/DescribeHoneyPotAuthResult.cc new file mode 100644 index 000000000..0645c2baf --- /dev/null +++ b/sas/src/model/DescribeHoneyPotAuthResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeHoneyPotAuthResult::DescribeHoneyPotAuthResult() : + ServiceResult() +{} + +DescribeHoneyPotAuthResult::DescribeHoneyPotAuthResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeHoneyPotAuthResult::~DescribeHoneyPotAuthResult() +{} + +void DescribeHoneyPotAuthResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["HoneyPotCount"].isNull()) + honeyPotCount_ = std::stoi(value["HoneyPotCount"].asString()); + if(!value["HoneyPotAuthCount"].isNull()) + honeyPotAuthCount_ = std::stol(value["HoneyPotAuthCount"].asString()); + +} + +long DescribeHoneyPotAuthResult::getHoneyPotAuthCount()const +{ + return honeyPotAuthCount_; +} + +int DescribeHoneyPotAuthResult::getHoneyPotCount()const +{ + return honeyPotCount_; +} + diff --git a/sas/src/model/DescribeHoneyPotSuspStatisticsRequest.cc b/sas/src/model/DescribeHoneyPotSuspStatisticsRequest.cc new file mode 100644 index 000000000..84d94ada6 --- /dev/null +++ b/sas/src/model/DescribeHoneyPotSuspStatisticsRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::DescribeHoneyPotSuspStatisticsRequest; + +DescribeHoneyPotSuspStatisticsRequest::DescribeHoneyPotSuspStatisticsRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeHoneyPotSuspStatistics") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeHoneyPotSuspStatisticsRequest::~DescribeHoneyPotSuspStatisticsRequest() +{} + +int DescribeHoneyPotSuspStatisticsRequest::getStatisticsDays()const +{ + return statisticsDays_; +} + +void DescribeHoneyPotSuspStatisticsRequest::setStatisticsDays(int statisticsDays) +{ + statisticsDays_ = statisticsDays; + setParameter("StatisticsDays", std::to_string(statisticsDays)); +} + +std::string DescribeHoneyPotSuspStatisticsRequest::getStatisticsKeyType()const +{ + return statisticsKeyType_; +} + +void DescribeHoneyPotSuspStatisticsRequest::setStatisticsKeyType(const std::string& statisticsKeyType) +{ + statisticsKeyType_ = statisticsKeyType; + setParameter("StatisticsKeyType", statisticsKeyType); +} + +std::string DescribeHoneyPotSuspStatisticsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeHoneyPotSuspStatisticsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeHoneyPotSuspStatisticsRequest::getFrom()const +{ + return from_; +} + +void DescribeHoneyPotSuspStatisticsRequest::setFrom(const std::string& from) +{ + from_ = from; + setParameter("From", from); +} + diff --git a/sas/src/model/DescribeHoneyPotSuspStatisticsResult.cc b/sas/src/model/DescribeHoneyPotSuspStatisticsResult.cc new file mode 100644 index 000000000..a46daffd7 --- /dev/null +++ b/sas/src/model/DescribeHoneyPotSuspStatisticsResult.cc @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeHoneyPotSuspStatisticsResult::DescribeHoneyPotSuspStatisticsResult() : + ServiceResult() +{} + +DescribeHoneyPotSuspStatisticsResult::DescribeHoneyPotSuspStatisticsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeHoneyPotSuspStatisticsResult::~DescribeHoneyPotSuspStatisticsResult() +{} + +void DescribeHoneyPotSuspStatisticsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allSuspHoneyPotStatisticsResponseNode = value["SuspHoneyPotStatisticsResponse"]["SuspHoneyPotStatisticsResponseItem"]; + for (auto valueSuspHoneyPotStatisticsResponseSuspHoneyPotStatisticsResponseItem : allSuspHoneyPotStatisticsResponseNode) + { + SuspHoneyPotStatisticsResponseItem suspHoneyPotStatisticsResponseObject; + if(!valueSuspHoneyPotStatisticsResponseSuspHoneyPotStatisticsResponseItem["Count"].isNull()) + suspHoneyPotStatisticsResponseObject.count = std::stoi(valueSuspHoneyPotStatisticsResponseSuspHoneyPotStatisticsResponseItem["Count"].asString()); + if(!valueSuspHoneyPotStatisticsResponseSuspHoneyPotStatisticsResponseItem["Type"].isNull()) + suspHoneyPotStatisticsResponseObject.type = valueSuspHoneyPotStatisticsResponseSuspHoneyPotStatisticsResponseItem["Type"].asString(); + if(!valueSuspHoneyPotStatisticsResponseSuspHoneyPotStatisticsResponseItem["InstanceId"].isNull()) + suspHoneyPotStatisticsResponseObject.instanceId = valueSuspHoneyPotStatisticsResponseSuspHoneyPotStatisticsResponseItem["InstanceId"].asString(); + if(!valueSuspHoneyPotStatisticsResponseSuspHoneyPotStatisticsResponseItem["InstanceName"].isNull()) + suspHoneyPotStatisticsResponseObject.instanceName = valueSuspHoneyPotStatisticsResponseSuspHoneyPotStatisticsResponseItem["InstanceName"].asString(); + if(!valueSuspHoneyPotStatisticsResponseSuspHoneyPotStatisticsResponseItem["VpcId"].isNull()) + suspHoneyPotStatisticsResponseObject.vpcId = valueSuspHoneyPotStatisticsResponseSuspHoneyPotStatisticsResponseItem["VpcId"].asString(); + if(!valueSuspHoneyPotStatisticsResponseSuspHoneyPotStatisticsResponseItem["VpcName"].isNull()) + suspHoneyPotStatisticsResponseObject.vpcName = valueSuspHoneyPotStatisticsResponseSuspHoneyPotStatisticsResponseItem["VpcName"].asString(); + suspHoneyPotStatisticsResponse_.push_back(suspHoneyPotStatisticsResponseObject); + } + +} + +std::vector DescribeHoneyPotSuspStatisticsResult::getSuspHoneyPotStatisticsResponse()const +{ + return suspHoneyPotStatisticsResponse_; +} + diff --git a/sas/src/model/DescribeImageGroupedVulListRequest.cc b/sas/src/model/DescribeImageGroupedVulListRequest.cc new file mode 100644 index 000000000..52ff6bb03 --- /dev/null +++ b/sas/src/model/DescribeImageGroupedVulListRequest.cc @@ -0,0 +1,370 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::DescribeImageGroupedVulListRequest; + +DescribeImageGroupedVulListRequest::DescribeImageGroupedVulListRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeImageGroupedVulList") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeImageGroupedVulListRequest::~DescribeImageGroupedVulListRequest() +{} + +std::string DescribeImageGroupedVulListRequest::getType()const +{ + return type_; +} + +void DescribeImageGroupedVulListRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +long DescribeImageGroupedVulListRequest::getLastTsEnd()const +{ + return lastTsEnd_; +} + +void DescribeImageGroupedVulListRequest::setLastTsEnd(long lastTsEnd) +{ + lastTsEnd_ = lastTsEnd; + setParameter("LastTsEnd", std::to_string(lastTsEnd)); +} + +long DescribeImageGroupedVulListRequest::getCreateTsStart()const +{ + return createTsStart_; +} + +void DescribeImageGroupedVulListRequest::setCreateTsStart(long createTsStart) +{ + createTsStart_ = createTsStart; + setParameter("CreateTsStart", std::to_string(createTsStart)); +} + +std::string DescribeImageGroupedVulListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeImageGroupedVulListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeImageGroupedVulListRequest::getImageTag()const +{ + return imageTag_; +} + +void DescribeImageGroupedVulListRequest::setImageTag(const std::string& imageTag) +{ + imageTag_ = imageTag; + setParameter("ImageTag", imageTag); +} + +std::string DescribeImageGroupedVulListRequest::getLevel()const +{ + return level_; +} + +void DescribeImageGroupedVulListRequest::setLevel(const std::string& level) +{ + level_ = level; + setParameter("Level", level); +} + +std::string DescribeImageGroupedVulListRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeImageGroupedVulListRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setParameter("GroupId", groupId); +} + +std::string DescribeImageGroupedVulListRequest::getOrderBy()const +{ + return orderBy_; +} + +void DescribeImageGroupedVulListRequest::setOrderBy(const std::string& orderBy) +{ + orderBy_ = orderBy; + setParameter("OrderBy", orderBy); +} + +std::string DescribeImageGroupedVulListRequest::getAliasName()const +{ + return aliasName_; +} + +void DescribeImageGroupedVulListRequest::setAliasName(const std::string& aliasName) +{ + aliasName_ = aliasName; + setParameter("AliasName", aliasName); +} + +long DescribeImageGroupedVulListRequest::getPatchId()const +{ + return patchId_; +} + +void DescribeImageGroupedVulListRequest::setPatchId(long patchId) +{ + patchId_ = patchId; + setParameter("PatchId", std::to_string(patchId)); +} + +std::string DescribeImageGroupedVulListRequest::getName()const +{ + return name_; +} + +void DescribeImageGroupedVulListRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +long DescribeImageGroupedVulListRequest::getCreateTsEnd()const +{ + return createTsEnd_; +} + +void DescribeImageGroupedVulListRequest::setCreateTsEnd(long createTsEnd) +{ + createTsEnd_ = createTsEnd; + setParameter("CreateTsEnd", std::to_string(createTsEnd)); +} + +std::string DescribeImageGroupedVulListRequest::getNecessity()const +{ + return necessity_; +} + +void DescribeImageGroupedVulListRequest::setNecessity(const std::string& necessity) +{ + necessity_ = necessity; + setParameter("Necessity", necessity); +} + +std::string DescribeImageGroupedVulListRequest::getUuids()const +{ + return uuids_; +} + +void DescribeImageGroupedVulListRequest::setUuids(const std::string& uuids) +{ + uuids_ = uuids; + setParameter("Uuids", uuids); +} + +std::string DescribeImageGroupedVulListRequest::getRepoId()const +{ + return repoId_; +} + +void DescribeImageGroupedVulListRequest::setRepoId(const std::string& repoId) +{ + repoId_ = repoId; + setParameter("RepoId", repoId); +} + +std::string DescribeImageGroupedVulListRequest::getStatusList()const +{ + return statusList_; +} + +void DescribeImageGroupedVulListRequest::setStatusList(const std::string& statusList) +{ + statusList_ = statusList; + setParameter("StatusList", statusList); +} + +std::string DescribeImageGroupedVulListRequest::getCveId()const +{ + return cveId_; +} + +void DescribeImageGroupedVulListRequest::setCveId(const std::string& cveId) +{ + cveId_ = cveId; + setParameter("CveId", cveId); +} + +std::string DescribeImageGroupedVulListRequest::getRemark()const +{ + return remark_; +} + +void DescribeImageGroupedVulListRequest::setRemark(const std::string& remark) +{ + remark_ = remark; + setParameter("Remark", remark); +} + +std::string DescribeImageGroupedVulListRequest::getRepoNamespace()const +{ + return repoNamespace_; +} + +void DescribeImageGroupedVulListRequest::setRepoNamespace(const std::string& repoNamespace) +{ + repoNamespace_ = repoNamespace; + setParameter("RepoNamespace", repoNamespace); +} + +std::string DescribeImageGroupedVulListRequest::getImageDigest()const +{ + return imageDigest_; +} + +void DescribeImageGroupedVulListRequest::setImageDigest(const std::string& imageDigest) +{ + imageDigest_ = imageDigest; + setParameter("ImageDigest", imageDigest); +} + +int DescribeImageGroupedVulListRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeImageGroupedVulListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeImageGroupedVulListRequest::getLang()const +{ + return lang_; +} + +void DescribeImageGroupedVulListRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +long DescribeImageGroupedVulListRequest::getLastTsStart()const +{ + return lastTsStart_; +} + +void DescribeImageGroupedVulListRequest::setLastTsStart(long lastTsStart) +{ + lastTsStart_ = lastTsStart; + setParameter("LastTsStart", std::to_string(lastTsStart)); +} + +std::string DescribeImageGroupedVulListRequest::getDirection()const +{ + return direction_; +} + +void DescribeImageGroupedVulListRequest::setDirection(const std::string& direction) +{ + direction_ = direction; + setParameter("Direction", direction); +} + +std::string DescribeImageGroupedVulListRequest::getDealed()const +{ + return dealed_; +} + +void DescribeImageGroupedVulListRequest::setDealed(const std::string& dealed) +{ + dealed_ = dealed; + setParameter("Dealed", dealed); +} + +int DescribeImageGroupedVulListRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeImageGroupedVulListRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeImageGroupedVulListRequest::getSearchTags()const +{ + return searchTags_; +} + +void DescribeImageGroupedVulListRequest::setSearchTags(const std::string& searchTags) +{ + searchTags_ = searchTags; + setParameter("SearchTags", searchTags); +} + +std::string DescribeImageGroupedVulListRequest::getRepoName()const +{ + return repoName_; +} + +void DescribeImageGroupedVulListRequest::setRepoName(const std::string& repoName) +{ + repoName_ = repoName; + setParameter("RepoName", repoName); +} + +std::string DescribeImageGroupedVulListRequest::getRepoInstanceId()const +{ + return repoInstanceId_; +} + +void DescribeImageGroupedVulListRequest::setRepoInstanceId(const std::string& repoInstanceId) +{ + repoInstanceId_ = repoInstanceId; + setParameter("RepoInstanceId", repoInstanceId); +} + +std::string DescribeImageGroupedVulListRequest::getImageLayer()const +{ + return imageLayer_; +} + +void DescribeImageGroupedVulListRequest::setImageLayer(const std::string& imageLayer) +{ + imageLayer_ = imageLayer; + setParameter("ImageLayer", imageLayer); +} + +std::string DescribeImageGroupedVulListRequest::getRepoRegionId()const +{ + return repoRegionId_; +} + +void DescribeImageGroupedVulListRequest::setRepoRegionId(const std::string& repoRegionId) +{ + repoRegionId_ = repoRegionId; + setParameter("RepoRegionId", repoRegionId); +} + diff --git a/sas/src/model/DescribeImageGroupedVulListResult.cc b/sas/src/model/DescribeImageGroupedVulListResult.cc new file mode 100644 index 000000000..49a0836e3 --- /dev/null +++ b/sas/src/model/DescribeImageGroupedVulListResult.cc @@ -0,0 +1,96 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeImageGroupedVulListResult::DescribeImageGroupedVulListResult() : + ServiceResult() +{} + +DescribeImageGroupedVulListResult::DescribeImageGroupedVulListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeImageGroupedVulListResult::~DescribeImageGroupedVulListResult() +{} + +void DescribeImageGroupedVulListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allGroupedVulItemsNode = value["GroupedVulItems"]["GroupedVulItem"]; + for (auto valueGroupedVulItemsGroupedVulItem : allGroupedVulItemsNode) + { + GroupedVulItem groupedVulItemsObject; + if(!valueGroupedVulItemsGroupedVulItem["Name"].isNull()) + groupedVulItemsObject.name = valueGroupedVulItemsGroupedVulItem["Name"].asString(); + if(!valueGroupedVulItemsGroupedVulItem["AliasName"].isNull()) + groupedVulItemsObject.aliasName = valueGroupedVulItemsGroupedVulItem["AliasName"].asString(); + if(!valueGroupedVulItemsGroupedVulItem["Type"].isNull()) + groupedVulItemsObject.type = valueGroupedVulItemsGroupedVulItem["Type"].asString(); + if(!valueGroupedVulItemsGroupedVulItem["Status"].isNull()) + groupedVulItemsObject.status = std::stoi(valueGroupedVulItemsGroupedVulItem["Status"].asString()); + if(!valueGroupedVulItemsGroupedVulItem["LastScanTime"].isNull()) + groupedVulItemsObject.lastScanTime = std::stol(valueGroupedVulItemsGroupedVulItem["LastScanTime"].asString()); + if(!valueGroupedVulItemsGroupedVulItem["GmtLast"].isNull()) + groupedVulItemsObject.gmtLast = std::stol(valueGroupedVulItemsGroupedVulItem["GmtLast"].asString()); + if(!valueGroupedVulItemsGroupedVulItem["AsapCount"].isNull()) + groupedVulItemsObject.asapCount = std::stoi(valueGroupedVulItemsGroupedVulItem["AsapCount"].asString()); + if(!valueGroupedVulItemsGroupedVulItem["LaterCount"].isNull()) + groupedVulItemsObject.laterCount = std::stoi(valueGroupedVulItemsGroupedVulItem["LaterCount"].asString()); + if(!valueGroupedVulItemsGroupedVulItem["NntfCount"].isNull()) + groupedVulItemsObject.nntfCount = std::stoi(valueGroupedVulItemsGroupedVulItem["NntfCount"].asString()); + if(!valueGroupedVulItemsGroupedVulItem["Tags"].isNull()) + groupedVulItemsObject.tags = valueGroupedVulItemsGroupedVulItem["Tags"].asString(); + groupedVulItems_.push_back(groupedVulItemsObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeImageGroupedVulListResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeImageGroupedVulListResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeImageGroupedVulListResult::getCurrentPage()const +{ + return currentPage_; +} + +std::vector DescribeImageGroupedVulListResult::getGroupedVulItems()const +{ + return groupedVulItems_; +} + diff --git a/sas/src/model/DescribeImageStatisticsRequest.cc b/sas/src/model/DescribeImageStatisticsRequest.cc new file mode 100644 index 000000000..132cf13d1 --- /dev/null +++ b/sas/src/model/DescribeImageStatisticsRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::DescribeImageStatisticsRequest; + +DescribeImageStatisticsRequest::DescribeImageStatisticsRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeImageStatistics") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeImageStatisticsRequest::~DescribeImageStatisticsRequest() +{} + +std::string DescribeImageStatisticsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeImageStatisticsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + diff --git a/sas/src/model/DescribeImageStatisticsResult.cc b/sas/src/model/DescribeImageStatisticsResult.cc new file mode 100644 index 000000000..96b5e6fa7 --- /dev/null +++ b/sas/src/model/DescribeImageStatisticsResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeImageStatisticsResult::DescribeImageStatisticsResult() : + ServiceResult() +{} + +DescribeImageStatisticsResult::DescribeImageStatisticsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeImageStatisticsResult::~DescribeImageStatisticsResult() +{} + +void DescribeImageStatisticsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["InstanceCount"].isNull()) + instanceCount_ = std::stoi(value["InstanceCount"].asString()); + if(!value["RiskInstanceCount"].isNull()) + riskInstanceCount_ = std::stoi(value["RiskInstanceCount"].asString()); + +} + +int DescribeImageStatisticsResult::getInstanceCount()const +{ + return instanceCount_; +} + +int DescribeImageStatisticsResult::getRiskInstanceCount()const +{ + return riskInstanceCount_; +} + diff --git a/sas/src/model/DescribeImageVulListRequest.cc b/sas/src/model/DescribeImageVulListRequest.cc new file mode 100644 index 000000000..5ec3360d6 --- /dev/null +++ b/sas/src/model/DescribeImageVulListRequest.cc @@ -0,0 +1,403 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::DescribeImageVulListRequest; + +DescribeImageVulListRequest::DescribeImageVulListRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeImageVulList") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeImageVulListRequest::~DescribeImageVulListRequest() +{} + +std::string DescribeImageVulListRequest::getType()const +{ + return type_; +} + +void DescribeImageVulListRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +long DescribeImageVulListRequest::getCreateTsStart()const +{ + return createTsStart_; +} + +void DescribeImageVulListRequest::setCreateTsStart(long createTsStart) +{ + createTsStart_ = createTsStart; + setParameter("CreateTsStart", std::to_string(createTsStart)); +} + +std::string DescribeImageVulListRequest::getContainerFieldName()const +{ + return containerFieldName_; +} + +void DescribeImageVulListRequest::setContainerFieldName(const std::string& containerFieldName) +{ + containerFieldName_ = containerFieldName; + setParameter("ContainerFieldName", containerFieldName); +} + +std::string DescribeImageVulListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeImageVulListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeImageVulListRequest::getTag()const +{ + return tag_; +} + +void DescribeImageVulListRequest::setTag(const std::string& tag) +{ + tag_ = tag; + setParameter("Tag", tag); +} + +long DescribeImageVulListRequest::getModifyTsEnd()const +{ + return modifyTsEnd_; +} + +void DescribeImageVulListRequest::setModifyTsEnd(long modifyTsEnd) +{ + modifyTsEnd_ = modifyTsEnd; + setParameter("ModifyTsEnd", std::to_string(modifyTsEnd)); +} + +std::string DescribeImageVulListRequest::getLevel()const +{ + return level_; +} + +void DescribeImageVulListRequest::setLevel(const std::string& level) +{ + level_ = level; + setParameter("Level", level); +} + +std::string DescribeImageVulListRequest::getResource()const +{ + return resource_; +} + +void DescribeImageVulListRequest::setResource(const std::string& resource) +{ + resource_ = resource; + setParameter("Resource", resource); +} + +std::string DescribeImageVulListRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeImageVulListRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setParameter("GroupId", groupId); +} + +std::string DescribeImageVulListRequest::getAliasName()const +{ + return aliasName_; +} + +void DescribeImageVulListRequest::setAliasName(const std::string& aliasName) +{ + aliasName_ = aliasName; + setParameter("AliasName", aliasName); +} + +std::string DescribeImageVulListRequest::getInstanceId()const +{ + return instanceId_; +} + +void DescribeImageVulListRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setParameter("InstanceId", instanceId); +} + +std::string DescribeImageVulListRequest::getName()const +{ + return name_; +} + +void DescribeImageVulListRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +std::string DescribeImageVulListRequest::getIds()const +{ + return ids_; +} + +void DescribeImageVulListRequest::setIds(const std::string& ids) +{ + ids_ = ids; + setParameter("Ids", ids); +} + +long DescribeImageVulListRequest::getCreateTsEnd()const +{ + return createTsEnd_; +} + +void DescribeImageVulListRequest::setCreateTsEnd(long createTsEnd) +{ + createTsEnd_ = createTsEnd; + setParameter("CreateTsEnd", std::to_string(createTsEnd)); +} + +std::string DescribeImageVulListRequest::getNecessity()const +{ + return necessity_; +} + +void DescribeImageVulListRequest::setNecessity(const std::string& necessity) +{ + necessity_ = necessity; + setParameter("Necessity", necessity); +} + +std::string DescribeImageVulListRequest::getUuids()const +{ + return uuids_; +} + +void DescribeImageVulListRequest::setUuids(const std::string& uuids) +{ + uuids_ = uuids; + setParameter("Uuids", uuids); +} + +std::string DescribeImageVulListRequest::getRepoId()const +{ + return repoId_; +} + +void DescribeImageVulListRequest::setRepoId(const std::string& repoId) +{ + repoId_ = repoId; + setParameter("RepoId", repoId); +} + +std::string DescribeImageVulListRequest::getStatusList()const +{ + return statusList_; +} + +void DescribeImageVulListRequest::setStatusList(const std::string& statusList) +{ + statusList_ = statusList; + setParameter("StatusList", statusList); +} + +std::string DescribeImageVulListRequest::getTargetType()const +{ + return targetType_; +} + +void DescribeImageVulListRequest::setTargetType(const std::string& targetType) +{ + targetType_ = targetType; + setParameter("TargetType", targetType); +} + +std::string DescribeImageVulListRequest::getCveId()const +{ + return cveId_; +} + +void DescribeImageVulListRequest::setCveId(const std::string& cveId) +{ + cveId_ = cveId; + setParameter("CveId", cveId); +} + +std::string DescribeImageVulListRequest::getRemark()const +{ + return remark_; +} + +void DescribeImageVulListRequest::setRemark(const std::string& remark) +{ + remark_ = remark; + setParameter("Remark", remark); +} + +std::string DescribeImageVulListRequest::getRepoNamespace()const +{ + return repoNamespace_; +} + +void DescribeImageVulListRequest::setRepoNamespace(const std::string& repoNamespace) +{ + repoNamespace_ = repoNamespace; + setParameter("RepoNamespace", repoNamespace); +} + +std::string DescribeImageVulListRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeImageVulListRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string DescribeImageVulListRequest::getContainerFieldValue()const +{ + return containerFieldValue_; +} + +void DescribeImageVulListRequest::setContainerFieldValue(const std::string& containerFieldValue) +{ + containerFieldValue_ = containerFieldValue; + setParameter("ContainerFieldValue", containerFieldValue); +} + +int DescribeImageVulListRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeImageVulListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeImageVulListRequest::getDigest()const +{ + return digest_; +} + +void DescribeImageVulListRequest::setDigest(const std::string& digest) +{ + digest_ = digest; + setParameter("Digest", digest); +} + +long DescribeImageVulListRequest::getModifyTsStart()const +{ + return modifyTsStart_; +} + +void DescribeImageVulListRequest::setModifyTsStart(long modifyTsStart) +{ + modifyTsStart_ = modifyTsStart; + setParameter("ModifyTsStart", std::to_string(modifyTsStart)); +} + +std::string DescribeImageVulListRequest::getLang()const +{ + return lang_; +} + +void DescribeImageVulListRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribeImageVulListRequest::getDealed()const +{ + return dealed_; +} + +void DescribeImageVulListRequest::setDealed(const std::string& dealed) +{ + dealed_ = dealed; + setParameter("Dealed", dealed); +} + +int DescribeImageVulListRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeImageVulListRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeImageVulListRequest::getBatchName()const +{ + return batchName_; +} + +void DescribeImageVulListRequest::setBatchName(const std::string& batchName) +{ + batchName_ = batchName; + setParameter("BatchName", batchName); +} + +std::string DescribeImageVulListRequest::getRepoName()const +{ + return repoName_; +} + +void DescribeImageVulListRequest::setRepoName(const std::string& repoName) +{ + repoName_ = repoName; + setParameter("RepoName", repoName); +} + +std::string DescribeImageVulListRequest::getRepoInstanceId()const +{ + return repoInstanceId_; +} + +void DescribeImageVulListRequest::setRepoInstanceId(const std::string& repoInstanceId) +{ + repoInstanceId_ = repoInstanceId; + setParameter("RepoInstanceId", repoInstanceId); +} + +std::string DescribeImageVulListRequest::getRepoRegionId()const +{ + return repoRegionId_; +} + +void DescribeImageVulListRequest::setRepoRegionId(const std::string& repoRegionId) +{ + repoRegionId_ = repoRegionId; + setParameter("RepoRegionId", repoRegionId); +} + diff --git a/sas/src/model/DescribeImageVulListResult.cc b/sas/src/model/DescribeImageVulListResult.cc new file mode 100644 index 000000000..2edaa539e --- /dev/null +++ b/sas/src/model/DescribeImageVulListResult.cc @@ -0,0 +1,138 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeImageVulListResult::DescribeImageVulListResult() : + ServiceResult() +{} + +DescribeImageVulListResult::DescribeImageVulListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeImageVulListResult::~DescribeImageVulListResult() +{} + +void DescribeImageVulListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allVulRecordsNode = value["VulRecords"]["VulRecord"]; + for (auto valueVulRecordsVulRecord : allVulRecordsNode) + { + VulRecord vulRecordsObject; + if(!valueVulRecordsVulRecord["PrimaryId"].isNull()) + vulRecordsObject.primaryId = std::stol(valueVulRecordsVulRecord["PrimaryId"].asString()); + if(!valueVulRecordsVulRecord["Uuid"].isNull()) + vulRecordsObject.uuid = valueVulRecordsVulRecord["Uuid"].asString(); + if(!valueVulRecordsVulRecord["Name"].isNull()) + vulRecordsObject.name = valueVulRecordsVulRecord["Name"].asString(); + if(!valueVulRecordsVulRecord["Tag"].isNull()) + vulRecordsObject.tag = valueVulRecordsVulRecord["Tag"].asString(); + if(!valueVulRecordsVulRecord["AliasName"].isNull()) + vulRecordsObject.aliasName = valueVulRecordsVulRecord["AliasName"].asString(); + if(!valueVulRecordsVulRecord["Type"].isNull()) + vulRecordsObject.type = valueVulRecordsVulRecord["Type"].asString(); + if(!valueVulRecordsVulRecord["Level"].isNull()) + vulRecordsObject.level = valueVulRecordsVulRecord["Level"].asString(); + if(!valueVulRecordsVulRecord["FirstTs"].isNull()) + vulRecordsObject.firstTs = std::stol(valueVulRecordsVulRecord["FirstTs"].asString()); + if(!valueVulRecordsVulRecord["LastTs"].isNull()) + vulRecordsObject.lastTs = std::stol(valueVulRecordsVulRecord["LastTs"].asString()); + if(!valueVulRecordsVulRecord["Status"].isNull()) + vulRecordsObject.status = std::stoi(valueVulRecordsVulRecord["Status"].asString()); + if(!valueVulRecordsVulRecord["Progress"].isNull()) + vulRecordsObject.progress = std::stoi(valueVulRecordsVulRecord["Progress"].asString()); + if(!valueVulRecordsVulRecord["Necessity"].isNull()) + vulRecordsObject.necessity = valueVulRecordsVulRecord["Necessity"].asString(); + if(!valueVulRecordsVulRecord["Related"].isNull()) + vulRecordsObject.related = valueVulRecordsVulRecord["Related"].asString(); + if(!valueVulRecordsVulRecord["ModifyTs"].isNull()) + vulRecordsObject.modifyTs = std::stol(valueVulRecordsVulRecord["ModifyTs"].asString()); + if(!valueVulRecordsVulRecord["ImageDigest"].isNull()) + vulRecordsObject.imageDigest = valueVulRecordsVulRecord["ImageDigest"].asString(); + if(!valueVulRecordsVulRecord["CanUpdate"].isNull()) + vulRecordsObject.canUpdate = valueVulRecordsVulRecord["CanUpdate"].asString() == "true"; + auto extendContentJsonNode = value["ExtendContentJson"]; + if(!extendContentJsonNode["Os"].isNull()) + vulRecordsObject.extendContentJson.os = extendContentJsonNode["Os"].asString(); + if(!extendContentJsonNode["OsRelease"].isNull()) + vulRecordsObject.extendContentJson.osRelease = extendContentJsonNode["OsRelease"].asString(); + auto allRpmEntityListNode = extendContentJsonNode["RpmEntityList"]["RpmEntity"]; + for (auto extendContentJsonNodeRpmEntityListRpmEntity : allRpmEntityListNode) + { + VulRecord::ExtendContentJson::RpmEntity rpmEntityObject; + if(!extendContentJsonNodeRpmEntityListRpmEntity["FullVersion"].isNull()) + rpmEntityObject.fullVersion = extendContentJsonNodeRpmEntityListRpmEntity["FullVersion"].asString(); + if(!extendContentJsonNodeRpmEntityListRpmEntity["MatchDetail"].isNull()) + rpmEntityObject.matchDetail = extendContentJsonNodeRpmEntityListRpmEntity["MatchDetail"].asString(); + if(!extendContentJsonNodeRpmEntityListRpmEntity["Name"].isNull()) + rpmEntityObject.name = extendContentJsonNodeRpmEntityListRpmEntity["Name"].asString(); + if(!extendContentJsonNodeRpmEntityListRpmEntity["Path"].isNull()) + rpmEntityObject.path = extendContentJsonNodeRpmEntityListRpmEntity["Path"].asString(); + if(!extendContentJsonNodeRpmEntityListRpmEntity["UpdateCmd"].isNull()) + rpmEntityObject.updateCmd = extendContentJsonNodeRpmEntityListRpmEntity["UpdateCmd"].asString(); + if(!extendContentJsonNodeRpmEntityListRpmEntity["Version"].isNull()) + rpmEntityObject.version = extendContentJsonNodeRpmEntityListRpmEntity["Version"].asString(); + if(!extendContentJsonNodeRpmEntityListRpmEntity["Layer"].isNull()) + rpmEntityObject.layer = extendContentJsonNodeRpmEntityListRpmEntity["Layer"].asString(); + if(!extendContentJsonNodeRpmEntityListRpmEntity["MatchList"].isNull()) + rpmEntityObject.matchList = extendContentJsonNodeRpmEntityListRpmEntity["MatchList"].asString(); + vulRecordsObject.extendContentJson.rpmEntityList.push_back(rpmEntityObject); + } + auto allLayers = value["Layers"]["name"]; + for (auto value : allLayers) + vulRecordsObject.layers.push_back(value.asString()); + vulRecords_.push_back(vulRecordsObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeImageVulListResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeImageVulListResult::getVulRecords()const +{ + return vulRecords_; +} + +int DescribeImageVulListResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeImageVulListResult::getCurrentPage()const +{ + return currentPage_; +} + diff --git a/sas/src/model/DescribeInstallCaptchaRequest.cc b/sas/src/model/DescribeInstallCaptchaRequest.cc new file mode 100644 index 000000000..69ddd1ba9 --- /dev/null +++ b/sas/src/model/DescribeInstallCaptchaRequest.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::Sas::Model::DescribeInstallCaptchaRequest; + +DescribeInstallCaptchaRequest::DescribeInstallCaptchaRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeInstallCaptcha") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeInstallCaptchaRequest::~DescribeInstallCaptchaRequest() +{} + +std::string DescribeInstallCaptchaRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeInstallCaptchaRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeInstallCaptchaRequest::getLang()const +{ + return lang_; +} + +void DescribeInstallCaptchaRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribeInstallCaptchaRequest::getDeadline()const +{ + return deadline_; +} + +void DescribeInstallCaptchaRequest::setDeadline(const std::string& deadline) +{ + deadline_ = deadline; + setParameter("Deadline", deadline); +} + diff --git a/sas/src/model/DescribeInstallCaptchaResult.cc b/sas/src/model/DescribeInstallCaptchaResult.cc new file mode 100644 index 000000000..de4b082db --- /dev/null +++ b/sas/src/model/DescribeInstallCaptchaResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeInstallCaptchaResult::DescribeInstallCaptchaResult() : + ServiceResult() +{} + +DescribeInstallCaptchaResult::DescribeInstallCaptchaResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeInstallCaptchaResult::~DescribeInstallCaptchaResult() +{} + +void DescribeInstallCaptchaResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["CaptchaCode"].isNull()) + captchaCode_ = value["CaptchaCode"].asString(); + if(!value["Deadline"].isNull()) + deadline_ = value["Deadline"].asString(); + +} + +std::string DescribeInstallCaptchaResult::getDeadline()const +{ + return deadline_; +} + +std::string DescribeInstallCaptchaResult::getCaptchaCode()const +{ + return captchaCode_; +} + diff --git a/sas/src/model/DescribeInstanceAntiBruteForceRulesRequest.cc b/sas/src/model/DescribeInstanceAntiBruteForceRulesRequest.cc new file mode 100644 index 000000000..f5265cc4b --- /dev/null +++ b/sas/src/model/DescribeInstanceAntiBruteForceRulesRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Sas::Model::DescribeInstanceAntiBruteForceRulesRequest; + +DescribeInstanceAntiBruteForceRulesRequest::DescribeInstanceAntiBruteForceRulesRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeInstanceAntiBruteForceRules") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeInstanceAntiBruteForceRulesRequest::~DescribeInstanceAntiBruteForceRulesRequest() +{} + +long DescribeInstanceAntiBruteForceRulesRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeInstanceAntiBruteForceRulesRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeInstanceAntiBruteForceRulesRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeInstanceAntiBruteForceRulesRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::vector DescribeInstanceAntiBruteForceRulesRequest::getUuidList()const +{ + return uuidList_; +} + +void DescribeInstanceAntiBruteForceRulesRequest::setUuidList(const std::vector& uuidList) +{ + uuidList_ = uuidList; + for(int dep1 = 0; dep1!= uuidList.size(); dep1++) { + setParameter("UuidList."+ std::to_string(dep1), uuidList.at(dep1)); + } +} + diff --git a/sas/src/model/DescribeInstanceAntiBruteForceRulesResult.cc b/sas/src/model/DescribeInstanceAntiBruteForceRulesResult.cc new file mode 100644 index 000000000..c9d238729 --- /dev/null +++ b/sas/src/model/DescribeInstanceAntiBruteForceRulesResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeInstanceAntiBruteForceRulesResult::DescribeInstanceAntiBruteForceRulesResult() : + ServiceResult() +{} + +DescribeInstanceAntiBruteForceRulesResult::DescribeInstanceAntiBruteForceRulesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeInstanceAntiBruteForceRulesResult::~DescribeInstanceAntiBruteForceRulesResult() +{} + +void DescribeInstanceAntiBruteForceRulesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allRulesNode = value["Rules"]["InstanceAntiBruteForceRule"]; + for (auto valueRulesInstanceAntiBruteForceRule : allRulesNode) + { + InstanceAntiBruteForceRule rulesObject; + if(!valueRulesInstanceAntiBruteForceRule["Id"].isNull()) + rulesObject.id = std::stol(valueRulesInstanceAntiBruteForceRule["Id"].asString()); + if(!valueRulesInstanceAntiBruteForceRule["Name"].isNull()) + rulesObject.name = valueRulesInstanceAntiBruteForceRule["Name"].asString(); + if(!valueRulesInstanceAntiBruteForceRule["Uuid"].isNull()) + rulesObject.uuid = valueRulesInstanceAntiBruteForceRule["Uuid"].asString(); + rules_.push_back(rulesObject); + } + auto pageInfoNode = value["PageInfo"]; + if(!pageInfoNode["Count"].isNull()) + pageInfo_.count = std::stoi(pageInfoNode["Count"].asString()); + if(!pageInfoNode["PageSize"].isNull()) + pageInfo_.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + pageInfo_.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + if(!pageInfoNode["CurrentPage"].isNull()) + pageInfo_.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + +} + +DescribeInstanceAntiBruteForceRulesResult::PageInfo DescribeInstanceAntiBruteForceRulesResult::getPageInfo()const +{ + return pageInfo_; +} + +std::vector DescribeInstanceAntiBruteForceRulesResult::getRules()const +{ + return rules_; +} + diff --git a/sas/src/model/DescribeInstanceStatisticsResult.cc b/sas/src/model/DescribeInstanceStatisticsResult.cc index a53728149..c8f042708 100644 --- a/sas/src/model/DescribeInstanceStatisticsResult.cc +++ b/sas/src/model/DescribeInstanceStatisticsResult.cc @@ -65,6 +65,8 @@ void DescribeInstanceStatisticsResult::parse(const std::string &payload) dataObject.cmsNum = std::stoi(valueDataDataItem["CmsNum"].asString()); if(!valueDataDataItem["AppNum"].isNull()) dataObject.appNum = std::stoi(valueDataDataItem["AppNum"].asString()); + if(!valueDataDataItem["ScaNum"].isNull()) + dataObject.scaNum = std::stoi(valueDataDataItem["ScaNum"].asString()); data_.push_back(dataObject); } diff --git a/sas/src/model/DescribeStratetyRequest.cc b/sas/src/model/DescribeLogstoreStorageRequest.cc similarity index 50% rename from sas/src/model/DescribeStratetyRequest.cc rename to sas/src/model/DescribeLogstoreStorageRequest.cc index 389dc5cd0..c978a98bb 100644 --- a/sas/src/model/DescribeStratetyRequest.cc +++ b/sas/src/model/DescribeLogstoreStorageRequest.cc @@ -14,47 +14,47 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Sas::Model::DescribeStratetyRequest; +using AlibabaCloud::Sas::Model::DescribeLogstoreStorageRequest; -DescribeStratetyRequest::DescribeStratetyRequest() : - RpcServiceRequest("sas", "2018-12-03", "DescribeStratety") +DescribeLogstoreStorageRequest::DescribeLogstoreStorageRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeLogstoreStorage") { setMethod(HttpRequest::Method::Post); } -DescribeStratetyRequest::~DescribeStratetyRequest() +DescribeLogstoreStorageRequest::~DescribeLogstoreStorageRequest() {} -std::string DescribeStratetyRequest::getSourceIp()const +std::string DescribeLogstoreStorageRequest::getSourceIp()const { return sourceIp_; } -void DescribeStratetyRequest::setSourceIp(const std::string& sourceIp) +void DescribeLogstoreStorageRequest::setSourceIp(const std::string& sourceIp) { sourceIp_ = sourceIp; setParameter("SourceIp", sourceIp); } -std::string DescribeStratetyRequest::getStrategyIds()const +std::string DescribeLogstoreStorageRequest::getFrom()const { - return strategyIds_; + return from_; } -void DescribeStratetyRequest::setStrategyIds(const std::string& strategyIds) +void DescribeLogstoreStorageRequest::setFrom(const std::string& from) { - strategyIds_ = strategyIds; - setParameter("StrategyIds", strategyIds); + from_ = from; + setParameter("From", from); } -std::string DescribeStratetyRequest::getLang()const +std::string DescribeLogstoreStorageRequest::getLang()const { return lang_; } -void DescribeStratetyRequest::setLang(const std::string& lang) +void DescribeLogstoreStorageRequest::setLang(const std::string& lang) { lang_ = lang; setParameter("Lang", lang); diff --git a/sas/src/model/DescribeLogstoreStorageResult.cc b/sas/src/model/DescribeLogstoreStorageResult.cc new file mode 100644 index 000000000..b8da582a6 --- /dev/null +++ b/sas/src/model/DescribeLogstoreStorageResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeLogstoreStorageResult::DescribeLogstoreStorageResult() : + ServiceResult() +{} + +DescribeLogstoreStorageResult::DescribeLogstoreStorageResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLogstoreStorageResult::~DescribeLogstoreStorageResult() +{} + +void DescribeLogstoreStorageResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Logstore"].isNull()) + logstore_ = value["Logstore"].asString(); + if(!value["Ttl"].isNull()) + ttl_ = std::stoi(value["Ttl"].asString()); + if(!value["Preserve"].isNull()) + preserve_ = std::stol(value["Preserve"].asString()); + if(!value["Used"].isNull()) + used_ = std::stol(value["Used"].asString()); + +} + +long DescribeLogstoreStorageResult::getUsed()const +{ + return used_; +} + +std::string DescribeLogstoreStorageResult::getLogstore()const +{ + return logstore_; +} + +int DescribeLogstoreStorageResult::getTtl()const +{ + return ttl_; +} + +long DescribeLogstoreStorageResult::getPreserve()const +{ + return preserve_; +} + diff --git a/sas/src/model/DescribeModuleConfigResult.cc b/sas/src/model/DescribeModuleConfigResult.cc index c28e97f58..4c2c9a924 100644 --- a/sas/src/model/DescribeModuleConfigResult.cc +++ b/sas/src/model/DescribeModuleConfigResult.cc @@ -47,22 +47,22 @@ void DescribeModuleConfigResult::parse(const std::string &payload) moduleConfigListObject.configName = valueModuleConfigListModuleConfig["ConfigName"].asString(); if(!valueModuleConfigListModuleConfig["ModuleName"].isNull()) moduleConfigListObject.moduleName = valueModuleConfigListModuleConfig["ModuleName"].asString(); - auto allItemsNode = allModuleConfigListNode["Items"]["Item"]; - for (auto allModuleConfigListNodeItemsItem : allItemsNode) + auto allItemsNode = valueModuleConfigListModuleConfig["Items"]["Item"]; + for (auto valueModuleConfigListModuleConfigItemsItem : allItemsNode) { ModuleConfig::Item itemsObject; - if(!allModuleConfigListNodeItemsItem["InstanceId"].isNull()) - itemsObject.instanceId = allModuleConfigListNodeItemsItem["InstanceId"].asString(); - if(!allModuleConfigListNodeItemsItem["InstanceName"].isNull()) - itemsObject.instanceName = allModuleConfigListNodeItemsItem["InstanceName"].asString(); - if(!allModuleConfigListNodeItemsItem["GroupId"].isNull()) - itemsObject.groupId = std::stoi(allModuleConfigListNodeItemsItem["GroupId"].asString()); - if(!allModuleConfigListNodeItemsItem["Ip"].isNull()) - itemsObject.ip = allModuleConfigListNodeItemsItem["Ip"].asString(); - if(!allModuleConfigListNodeItemsItem["Region"].isNull()) - itemsObject.region = allModuleConfigListNodeItemsItem["Region"].asString(); - if(!allModuleConfigListNodeItemsItem["Uuid"].isNull()) - itemsObject.uuid = allModuleConfigListNodeItemsItem["Uuid"].asString(); + if(!valueModuleConfigListModuleConfigItemsItem["InstanceId"].isNull()) + itemsObject.instanceId = valueModuleConfigListModuleConfigItemsItem["InstanceId"].asString(); + if(!valueModuleConfigListModuleConfigItemsItem["InstanceName"].isNull()) + itemsObject.instanceName = valueModuleConfigListModuleConfigItemsItem["InstanceName"].asString(); + if(!valueModuleConfigListModuleConfigItemsItem["GroupId"].isNull()) + itemsObject.groupId = std::stoi(valueModuleConfigListModuleConfigItemsItem["GroupId"].asString()); + if(!valueModuleConfigListModuleConfigItemsItem["Ip"].isNull()) + itemsObject.ip = valueModuleConfigListModuleConfigItemsItem["Ip"].asString(); + if(!valueModuleConfigListModuleConfigItemsItem["Region"].isNull()) + itemsObject.region = valueModuleConfigListModuleConfigItemsItem["Region"].asString(); + if(!valueModuleConfigListModuleConfigItemsItem["Uuid"].isNull()) + itemsObject.uuid = valueModuleConfigListModuleConfigItemsItem["Uuid"].asString(); moduleConfigListObject.items.push_back(itemsObject); } moduleConfigList_.push_back(moduleConfigListObject); diff --git a/sas/src/model/DescribePropertyCountResult.cc b/sas/src/model/DescribePropertyCountResult.cc index f961fa314..662c0d22a 100644 --- a/sas/src/model/DescribePropertyCountResult.cc +++ b/sas/src/model/DescribePropertyCountResult.cc @@ -49,9 +49,18 @@ void DescribePropertyCountResult::parse(const std::string &payload) user_ = std::stoi(value["User"].asString()); if(!value["Cron"].isNull()) cron_ = std::stoi(value["Cron"].asString()); + if(!value["Sca"].isNull()) + sca_ = std::stoi(value["Sca"].asString()); + if(!value["AutoRun"].isNull()) + autoRun_ = std::stoi(value["AutoRun"].asString()); } +int DescribePropertyCountResult::getSca()const +{ + return sca_; +} + int DescribePropertyCountResult::getUser()const { return user_; @@ -77,3 +86,8 @@ int DescribePropertyCountResult::getCron()const return cron_; } +int DescribePropertyCountResult::getAutoRun()const +{ + return autoRun_; +} + diff --git a/sas/src/model/DescribePropertyCronDetailRequest.cc b/sas/src/model/DescribePropertyCronDetailRequest.cc new file mode 100644 index 000000000..1284873d1 --- /dev/null +++ b/sas/src/model/DescribePropertyCronDetailRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Sas::Model::DescribePropertyCronDetailRequest; + +DescribePropertyCronDetailRequest::DescribePropertyCronDetailRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribePropertyCronDetail") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribePropertyCronDetailRequest::~DescribePropertyCronDetailRequest() +{} + +std::string DescribePropertyCronDetailRequest::getRemark()const +{ + return remark_; +} + +void DescribePropertyCronDetailRequest::setRemark(const std::string& remark) +{ + remark_ = remark; + setParameter("Remark", remark); +} + +std::string DescribePropertyCronDetailRequest::getSource()const +{ + return source_; +} + +void DescribePropertyCronDetailRequest::setSource(const std::string& source) +{ + source_ = source; + setParameter("Source", source); +} + +std::string DescribePropertyCronDetailRequest::getUuid()const +{ + return uuid_; +} + +void DescribePropertyCronDetailRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setParameter("Uuid", uuid); +} + +std::string DescribePropertyCronDetailRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribePropertyCronDetailRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +int DescribePropertyCronDetailRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribePropertyCronDetailRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +int DescribePropertyCronDetailRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribePropertyCronDetailRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribePropertyCronDetailRequest::getUser()const +{ + return user_; +} + +void DescribePropertyCronDetailRequest::setUser(const std::string& user) +{ + user_ = user; + setParameter("User", user); +} + diff --git a/sas/src/model/DescribePropertyCronDetailResult.cc b/sas/src/model/DescribePropertyCronDetailResult.cc new file mode 100644 index 000000000..57d0f72fe --- /dev/null +++ b/sas/src/model/DescribePropertyCronDetailResult.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribePropertyCronDetailResult::DescribePropertyCronDetailResult() : + ServiceResult() +{} + +DescribePropertyCronDetailResult::DescribePropertyCronDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribePropertyCronDetailResult::~DescribePropertyCronDetailResult() +{} + +void DescribePropertyCronDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allPropertysNode = value["Propertys"]["PropertyCron"]; + for (auto valuePropertysPropertyCron : allPropertysNode) + { + PropertyCron propertysObject; + if(!valuePropertysPropertyCron["InstanceName"].isNull()) + propertysObject.instanceName = valuePropertysPropertyCron["InstanceName"].asString(); + if(!valuePropertysPropertyCron["Ip"].isNull()) + propertysObject.ip = valuePropertysPropertyCron["Ip"].asString(); + if(!valuePropertysPropertyCron["Create"].isNull()) + propertysObject.create = valuePropertysPropertyCron["Create"].asString(); + if(!valuePropertysPropertyCron["CreateTimestamp"].isNull()) + propertysObject.createTimestamp = std::stol(valuePropertysPropertyCron["CreateTimestamp"].asString()); + if(!valuePropertysPropertyCron["Uuid"].isNull()) + propertysObject.uuid = valuePropertysPropertyCron["Uuid"].asString(); + if(!valuePropertysPropertyCron["InstanceId"].isNull()) + propertysObject.instanceId = valuePropertysPropertyCron["InstanceId"].asString(); + if(!valuePropertysPropertyCron["IntranetIp"].isNull()) + propertysObject.intranetIp = valuePropertysPropertyCron["IntranetIp"].asString(); + if(!valuePropertysPropertyCron["InternetIp"].isNull()) + propertysObject.internetIp = valuePropertysPropertyCron["InternetIp"].asString(); + if(!valuePropertysPropertyCron["Period"].isNull()) + propertysObject.period = valuePropertysPropertyCron["Period"].asString(); + if(!valuePropertysPropertyCron["Source"].isNull()) + propertysObject.source = valuePropertysPropertyCron["Source"].asString(); + if(!valuePropertysPropertyCron["Cmd"].isNull()) + propertysObject.cmd = valuePropertysPropertyCron["Cmd"].asString(); + if(!valuePropertysPropertyCron["User"].isNull()) + propertysObject.user = valuePropertysPropertyCron["User"].asString(); + if(!valuePropertysPropertyCron["Md5"].isNull()) + propertysObject.md5 = valuePropertysPropertyCron["Md5"].asString(); + propertys_.push_back(propertysObject); + } + auto pageInfoNode = value["PageInfo"]; + if(!pageInfoNode["Count"].isNull()) + pageInfo_.count = std::stoi(pageInfoNode["Count"].asString()); + if(!pageInfoNode["PageSize"].isNull()) + pageInfo_.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + pageInfo_.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + if(!pageInfoNode["CurrentPage"].isNull()) + pageInfo_.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + +} + +std::vector DescribePropertyCronDetailResult::getPropertys()const +{ + return propertys_; +} + +DescribePropertyCronDetailResult::PageInfo DescribePropertyCronDetailResult::getPageInfo()const +{ + return pageInfo_; +} + diff --git a/sas/src/model/DescribePropertyScaDetailRequest.cc b/sas/src/model/DescribePropertyScaDetailRequest.cc new file mode 100644 index 000000000..8e10e968e --- /dev/null +++ b/sas/src/model/DescribePropertyScaDetailRequest.cc @@ -0,0 +1,172 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::DescribePropertyScaDetailRequest; + +DescribePropertyScaDetailRequest::DescribePropertyScaDetailRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribePropertyScaDetail") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribePropertyScaDetailRequest::~DescribePropertyScaDetailRequest() +{} + +std::string DescribePropertyScaDetailRequest::getSearchItemSub()const +{ + return searchItemSub_; +} + +void DescribePropertyScaDetailRequest::setSearchItemSub(const std::string& searchItemSub) +{ + searchItemSub_ = searchItemSub; + setParameter("SearchItemSub", searchItemSub); +} + +std::string DescribePropertyScaDetailRequest::getRemark()const +{ + return remark_; +} + +void DescribePropertyScaDetailRequest::setRemark(const std::string& remark) +{ + remark_ = remark; + setParameter("Remark", remark); +} + +std::string DescribePropertyScaDetailRequest::getSearchItem()const +{ + return searchItem_; +} + +void DescribePropertyScaDetailRequest::setSearchItem(const std::string& searchItem) +{ + searchItem_ = searchItem; + setParameter("SearchItem", searchItem); +} + +std::string DescribePropertyScaDetailRequest::getUuid()const +{ + return uuid_; +} + +void DescribePropertyScaDetailRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setParameter("Uuid", uuid); +} + +std::string DescribePropertyScaDetailRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribePropertyScaDetailRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +int DescribePropertyScaDetailRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribePropertyScaDetailRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribePropertyScaDetailRequest::getLang()const +{ + return lang_; +} + +void DescribePropertyScaDetailRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribePropertyScaDetailRequest::getSearchInfoSub()const +{ + return searchInfoSub_; +} + +void DescribePropertyScaDetailRequest::setSearchInfoSub(const std::string& searchInfoSub) +{ + searchInfoSub_ = searchInfoSub; + setParameter("SearchInfoSub", searchInfoSub); +} + +std::string DescribePropertyScaDetailRequest::getSearchInfo()const +{ + return searchInfo_; +} + +void DescribePropertyScaDetailRequest::setSearchInfo(const std::string& searchInfo) +{ + searchInfo_ = searchInfo; + setParameter("SearchInfo", searchInfo); +} + +int DescribePropertyScaDetailRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribePropertyScaDetailRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribePropertyScaDetailRequest::getBizType()const +{ + return bizType_; +} + +void DescribePropertyScaDetailRequest::setBizType(const std::string& bizType) +{ + bizType_ = bizType; + setParameter("BizType", bizType); +} + +long DescribePropertyScaDetailRequest::getName()const +{ + return name_; +} + +void DescribePropertyScaDetailRequest::setName(long name) +{ + name_ = name; + setParameter("Name", std::to_string(name)); +} + +std::string DescribePropertyScaDetailRequest::getScaName()const +{ + return scaName_; +} + +void DescribePropertyScaDetailRequest::setScaName(const std::string& scaName) +{ + scaName_ = scaName; + setParameter("ScaName", scaName); +} + diff --git a/sas/src/model/DescribePropertyScaDetailResult.cc b/sas/src/model/DescribePropertyScaDetailResult.cc new file mode 100644 index 000000000..1bc31db21 --- /dev/null +++ b/sas/src/model/DescribePropertyScaDetailResult.cc @@ -0,0 +1,125 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribePropertyScaDetailResult::DescribePropertyScaDetailResult() : + ServiceResult() +{} + +DescribePropertyScaDetailResult::DescribePropertyScaDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribePropertyScaDetailResult::~DescribePropertyScaDetailResult() +{} + +void DescribePropertyScaDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allPropertysNode = value["Propertys"]["PropertySca"]; + for (auto valuePropertysPropertySca : allPropertysNode) + { + PropertySca propertysObject; + if(!valuePropertysPropertySca["InstanceName"].isNull()) + propertysObject.instanceName = valuePropertysPropertySca["InstanceName"].asString(); + if(!valuePropertysPropertySca["Ip"].isNull()) + propertysObject.ip = valuePropertysPropertySca["Ip"].asString(); + if(!valuePropertysPropertySca["Create"].isNull()) + propertysObject.create = valuePropertysPropertySca["Create"].asString(); + if(!valuePropertysPropertySca["CreateTimestamp"].isNull()) + propertysObject.createTimestamp = std::stol(valuePropertysPropertySca["CreateTimestamp"].asString()); + if(!valuePropertysPropertySca["Uuid"].isNull()) + propertysObject.uuid = valuePropertysPropertySca["Uuid"].asString(); + if(!valuePropertysPropertySca["InstanceId"].isNull()) + propertysObject.instanceId = valuePropertysPropertySca["InstanceId"].asString(); + if(!valuePropertysPropertySca["IntranetIp"].isNull()) + propertysObject.intranetIp = valuePropertysPropertySca["IntranetIp"].asString(); + if(!valuePropertysPropertySca["InternetIp"].isNull()) + propertysObject.internetIp = valuePropertysPropertySca["InternetIp"].asString(); + if(!valuePropertysPropertySca["Name"].isNull()) + propertysObject.name = valuePropertysPropertySca["Name"].asString(); + if(!valuePropertysPropertySca["Type"].isNull()) + propertysObject.type = valuePropertysPropertySca["Type"].asString(); + if(!valuePropertysPropertySca["Version"].isNull()) + propertysObject.version = valuePropertysPropertySca["Version"].asString(); + if(!valuePropertysPropertySca["Pid"].isNull()) + propertysObject.pid = valuePropertysPropertySca["Pid"].asString(); + if(!valuePropertysPropertySca["BizType"].isNull()) + propertysObject.bizType = valuePropertysPropertySca["BizType"].asString(); + if(!valuePropertysPropertySca["BizTypeDispaly"].isNull()) + propertysObject.bizTypeDispaly = valuePropertysPropertySca["BizTypeDispaly"].asString(); + if(!valuePropertysPropertySca["Port"].isNull()) + propertysObject.port = valuePropertysPropertySca["Port"].asString(); + if(!valuePropertysPropertySca["ContainerName"].isNull()) + propertysObject.containerName = valuePropertysPropertySca["ContainerName"].asString(); + if(!valuePropertysPropertySca["Path"].isNull()) + propertysObject.path = valuePropertysPropertySca["Path"].asString(); + if(!valuePropertysPropertySca["Ppid"].isNull()) + propertysObject.ppid = valuePropertysPropertySca["Ppid"].asString(); + if(!valuePropertysPropertySca["ProcessUser"].isNull()) + propertysObject.processUser = valuePropertysPropertySca["ProcessUser"].asString(); + if(!valuePropertysPropertySca["ListenIp"].isNull()) + propertysObject.listenIp = valuePropertysPropertySca["ListenIp"].asString(); + if(!valuePropertysPropertySca["ListenStatus"].isNull()) + propertysObject.listenStatus = valuePropertysPropertySca["ListenStatus"].asString(); + if(!valuePropertysPropertySca["ListenProtocol"].isNull()) + propertysObject.listenProtocol = valuePropertysPropertySca["ListenProtocol"].asString(); + if(!valuePropertysPropertySca["ProcessStarted"].isNull()) + propertysObject.processStarted = std::stol(valuePropertysPropertySca["ProcessStarted"].asString()); + if(!valuePropertysPropertySca["Cmdline"].isNull()) + propertysObject.cmdline = valuePropertysPropertySca["Cmdline"].asString(); + if(!valuePropertysPropertySca["ConfigPath"].isNull()) + propertysObject.configPath = valuePropertysPropertySca["ConfigPath"].asString(); + if(!valuePropertysPropertySca["WebPath"].isNull()) + propertysObject.webPath = valuePropertysPropertySca["WebPath"].asString(); + if(!valuePropertysPropertySca["Proof"].isNull()) + propertysObject.proof = valuePropertysPropertySca["Proof"].asString(); + if(!valuePropertysPropertySca["ImageName"].isNull()) + propertysObject.imageName = valuePropertysPropertySca["ImageName"].asString(); + propertys_.push_back(propertysObject); + } + auto pageInfoNode = value["PageInfo"]; + if(!pageInfoNode["Count"].isNull()) + pageInfo_.count = std::stoi(pageInfoNode["Count"].asString()); + if(!pageInfoNode["PageSize"].isNull()) + pageInfo_.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + pageInfo_.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + if(!pageInfoNode["CurrentPage"].isNull()) + pageInfo_.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + +} + +std::vector DescribePropertyScaDetailResult::getPropertys()const +{ + return propertys_; +} + +DescribePropertyScaDetailResult::PageInfo DescribePropertyScaDetailResult::getPageInfo()const +{ + return pageInfo_; +} + diff --git a/sas/src/model/DescribePropertyUserDetailResult.cc b/sas/src/model/DescribePropertyUserDetailResult.cc index 32e7f8308..d531c8b65 100644 --- a/sas/src/model/DescribePropertyUserDetailResult.cc +++ b/sas/src/model/DescribePropertyUserDetailResult.cc @@ -45,6 +45,8 @@ void DescribePropertyUserDetailResult::parse(const std::string &payload) PropertyUser propertysObject; if(!valuePropertysPropertyUser["LastLoginTime"].isNull()) propertysObject.lastLoginTime = valuePropertysPropertyUser["LastLoginTime"].asString(); + if(!valuePropertysPropertyUser["LastLoginTimestamp"].isNull()) + propertysObject.lastLoginTimestamp = std::stol(valuePropertysPropertyUser["LastLoginTimestamp"].asString()); if(!valuePropertysPropertyUser["IsRoot"].isNull()) propertysObject.isRoot = valuePropertysPropertyUser["IsRoot"].asString(); if(!valuePropertysPropertyUser["InstanceName"].isNull()) diff --git a/sas/src/model/DescribeQuaraFileDownloadInfoRequest.cc b/sas/src/model/DescribeQuaraFileDownloadInfoRequest.cc new file mode 100644 index 000000000..8d97fc928 --- /dev/null +++ b/sas/src/model/DescribeQuaraFileDownloadInfoRequest.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::Sas::Model::DescribeQuaraFileDownloadInfoRequest; + +DescribeQuaraFileDownloadInfoRequest::DescribeQuaraFileDownloadInfoRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeQuaraFileDownloadInfo") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeQuaraFileDownloadInfoRequest::~DescribeQuaraFileDownloadInfoRequest() +{} + +std::string DescribeQuaraFileDownloadInfoRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeQuaraFileDownloadInfoRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeQuaraFileDownloadInfoRequest::getFrom()const +{ + return from_; +} + +void DescribeQuaraFileDownloadInfoRequest::setFrom(const std::string& from) +{ + from_ = from; + setParameter("From", from); +} + +int DescribeQuaraFileDownloadInfoRequest::getQuaraFileId()const +{ + return quaraFileId_; +} + +void DescribeQuaraFileDownloadInfoRequest::setQuaraFileId(int quaraFileId) +{ + quaraFileId_ = quaraFileId; + setParameter("QuaraFileId", std::to_string(quaraFileId)); +} + diff --git a/sas/src/model/DescribeQuaraFileDownloadInfoResult.cc b/sas/src/model/DescribeQuaraFileDownloadInfoResult.cc new file mode 100644 index 000000000..fd04a1928 --- /dev/null +++ b/sas/src/model/DescribeQuaraFileDownloadInfoResult.cc @@ -0,0 +1,86 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeQuaraFileDownloadInfoResult::DescribeQuaraFileDownloadInfoResult() : + ServiceResult() +{} + +DescribeQuaraFileDownloadInfoResult::DescribeQuaraFileDownloadInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeQuaraFileDownloadInfoResult::~DescribeQuaraFileDownloadInfoResult() +{} + +void DescribeQuaraFileDownloadInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["QuaraFileId"].isNull()) + quaraFileId_ = std::stoi(value["QuaraFileId"].asString()); + if(!value["Uuid"].isNull()) + uuid_ = value["Uuid"].asString(); + if(!value["Path"].isNull()) + path_ = value["Path"].asString(); + if(!value["Md5"].isNull()) + md5_ = value["Md5"].asString(); + if(!value["Tag"].isNull()) + tag_ = value["Tag"].asString(); + if(!value["DownloadUrl"].isNull()) + downloadUrl_ = value["DownloadUrl"].asString(); + +} + +std::string DescribeQuaraFileDownloadInfoResult::getPath()const +{ + return path_; +} + +std::string DescribeQuaraFileDownloadInfoResult::getUuid()const +{ + return uuid_; +} + +int DescribeQuaraFileDownloadInfoResult::getQuaraFileId()const +{ + return quaraFileId_; +} + +std::string DescribeQuaraFileDownloadInfoResult::getTag()const +{ + return tag_; +} + +std::string DescribeQuaraFileDownloadInfoResult::getMd5()const +{ + return md5_; +} + +std::string DescribeQuaraFileDownloadInfoResult::getDownloadUrl()const +{ + return downloadUrl_; +} + diff --git a/sas/src/model/DescribeRestoreJobsRequest.cc b/sas/src/model/DescribeRestoreJobsRequest.cc new file mode 100644 index 000000000..4aab7d353 --- /dev/null +++ b/sas/src/model/DescribeRestoreJobsRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Sas::Model::DescribeRestoreJobsRequest; + +DescribeRestoreJobsRequest::DescribeRestoreJobsRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeRestoreJobs") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeRestoreJobsRequest::~DescribeRestoreJobsRequest() +{} + +long DescribeRestoreJobsRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeRestoreJobsRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +int DescribeRestoreJobsRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeRestoreJobsRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeRestoreJobsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeRestoreJobsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeRestoreJobsRequest::getMachineRemark()const +{ + return machineRemark_; +} + +void DescribeRestoreJobsRequest::setMachineRemark(const std::string& machineRemark) +{ + machineRemark_ = machineRemark; + setParameter("MachineRemark", machineRemark); +} + +int DescribeRestoreJobsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeRestoreJobsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeRestoreJobsRequest::getStatus()const +{ + return status_; +} + +void DescribeRestoreJobsRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/sas/src/model/DescribeRestoreJobsResult.cc b/sas/src/model/DescribeRestoreJobsResult.cc new file mode 100644 index 000000000..81e06da38 --- /dev/null +++ b/sas/src/model/DescribeRestoreJobsResult.cc @@ -0,0 +1,155 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeRestoreJobsResult::DescribeRestoreJobsResult() : + ServiceResult() +{} + +DescribeRestoreJobsResult::DescribeRestoreJobsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRestoreJobsResult::~DescribeRestoreJobsResult() +{} + +void DescribeRestoreJobsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allRestoreJobsNode = value["RestoreJobs"]["RestoreJob"]; + for (auto valueRestoreJobsRestoreJob : allRestoreJobsNode) + { + RestoreJob restoreJobsObject; + if(!valueRestoreJobsRestoreJob["Id"].isNull()) + restoreJobsObject.id = std::stol(valueRestoreJobsRestoreJob["Id"].asString()); + if(!valueRestoreJobsRestoreJob["CreatedTime"].isNull()) + restoreJobsObject.createdTime = std::stol(valueRestoreJobsRestoreJob["CreatedTime"].asString()); + if(!valueRestoreJobsRestoreJob["UpdatedTime"].isNull()) + restoreJobsObject.updatedTime = std::stol(valueRestoreJobsRestoreJob["UpdatedTime"].asString()); + if(!valueRestoreJobsRestoreJob["Uuid"].isNull()) + restoreJobsObject.uuid = valueRestoreJobsRestoreJob["Uuid"].asString(); + if(!valueRestoreJobsRestoreJob["Message"].isNull()) + restoreJobsObject.message = valueRestoreJobsRestoreJob["Message"].asString(); + if(!valueRestoreJobsRestoreJob["RestoreId"].isNull()) + restoreJobsObject.restoreId = valueRestoreJobsRestoreJob["RestoreId"].asString(); + if(!valueRestoreJobsRestoreJob["ClientId"].isNull()) + restoreJobsObject.clientId = valueRestoreJobsRestoreJob["ClientId"].asString(); + if(!valueRestoreJobsRestoreJob["VaultId"].isNull()) + restoreJobsObject.vaultId = valueRestoreJobsRestoreJob["VaultId"].asString(); + if(!valueRestoreJobsRestoreJob["SnapshotId"].isNull()) + restoreJobsObject.snapshotId = valueRestoreJobsRestoreJob["SnapshotId"].asString(); + if(!valueRestoreJobsRestoreJob["SnapshotHash"].isNull()) + restoreJobsObject.snapshotHash = valueRestoreJobsRestoreJob["SnapshotHash"].asString(); + if(!valueRestoreJobsRestoreJob["Source"].isNull()) + restoreJobsObject.source = valueRestoreJobsRestoreJob["Source"].asString(); + if(!valueRestoreJobsRestoreJob["Target"].isNull()) + restoreJobsObject.target = valueRestoreJobsRestoreJob["Target"].asString(); + if(!valueRestoreJobsRestoreJob["Status"].isNull()) + restoreJobsObject.status = valueRestoreJobsRestoreJob["Status"].asString(); + if(!valueRestoreJobsRestoreJob["RestoreType"].isNull()) + restoreJobsObject.restoreType = valueRestoreJobsRestoreJob["RestoreType"].asString(); + if(!valueRestoreJobsRestoreJob["Speed"].isNull()) + restoreJobsObject.speed = std::stol(valueRestoreJobsRestoreJob["Speed"].asString()); + if(!valueRestoreJobsRestoreJob["CompleteTime"].isNull()) + restoreJobsObject.completeTime = std::stol(valueRestoreJobsRestoreJob["CompleteTime"].asString()); + if(!valueRestoreJobsRestoreJob["Eta"].isNull()) + restoreJobsObject.eta = std::stol(valueRestoreJobsRestoreJob["Eta"].asString()); + if(!valueRestoreJobsRestoreJob["ErrorCount"].isNull()) + restoreJobsObject.errorCount = std::stol(valueRestoreJobsRestoreJob["ErrorCount"].asString()); + if(!valueRestoreJobsRestoreJob["BytesDone"].isNull()) + restoreJobsObject.bytesDone = std::stol(valueRestoreJobsRestoreJob["BytesDone"].asString()); + if(!valueRestoreJobsRestoreJob["BytesTotal"].isNull()) + restoreJobsObject.bytesTotal = std::stol(valueRestoreJobsRestoreJob["BytesTotal"].asString()); + if(!valueRestoreJobsRestoreJob["ItemsDone"].isNull()) + restoreJobsObject.itemsDone = std::stol(valueRestoreJobsRestoreJob["ItemsDone"].asString()); + if(!valueRestoreJobsRestoreJob["ItemsTotal"].isNull()) + restoreJobsObject.itemsTotal = std::stol(valueRestoreJobsRestoreJob["ItemsTotal"].asString()); + if(!valueRestoreJobsRestoreJob["ActualBytes"].isNull()) + restoreJobsObject.actualBytes = std::stol(valueRestoreJobsRestoreJob["ActualBytes"].asString()); + if(!valueRestoreJobsRestoreJob["Percentage"].isNull()) + restoreJobsObject.percentage = std::stoi(valueRestoreJobsRestoreJob["Percentage"].asString()); + if(!valueRestoreJobsRestoreJob["ErrorType"].isNull()) + restoreJobsObject.errorType = valueRestoreJobsRestoreJob["ErrorType"].asString(); + if(!valueRestoreJobsRestoreJob["SourceClientId"].isNull()) + restoreJobsObject.sourceClientId = valueRestoreJobsRestoreJob["SourceClientId"].asString(); + if(!valueRestoreJobsRestoreJob["SnapshotVersion"].isNull()) + restoreJobsObject.snapshotVersion = valueRestoreJobsRestoreJob["SnapshotVersion"].asString(); + if(!valueRestoreJobsRestoreJob["InstanceName"].isNull()) + restoreJobsObject.instanceName = valueRestoreJobsRestoreJob["InstanceName"].asString(); + if(!valueRestoreJobsRestoreJob["InternetIp"].isNull()) + restoreJobsObject.internetIp = valueRestoreJobsRestoreJob["InternetIp"].asString(); + if(!valueRestoreJobsRestoreJob["IntranetIp"].isNull()) + restoreJobsObject.intranetIp = valueRestoreJobsRestoreJob["IntranetIp"].asString(); + if(!valueRestoreJobsRestoreJob["ErrorFile"].isNull()) + restoreJobsObject.errorFile = valueRestoreJobsRestoreJob["ErrorFile"].asString(); + if(!valueRestoreJobsRestoreJob["ErrorFileUrl"].isNull()) + restoreJobsObject.errorFileUrl = valueRestoreJobsRestoreJob["ErrorFileUrl"].asString(); + if(!valueRestoreJobsRestoreJob["RequestId"].isNull()) + restoreJobsObject.requestId = valueRestoreJobsRestoreJob["RequestId"].asString(); + if(!valueRestoreJobsRestoreJob["RestoreName"].isNull()) + restoreJobsObject.restoreName = valueRestoreJobsRestoreJob["RestoreName"].asString(); + if(!valueRestoreJobsRestoreJob["InstanceId"].isNull()) + restoreJobsObject.instanceId = valueRestoreJobsRestoreJob["InstanceId"].asString(); + if(!valueRestoreJobsRestoreJob["Extra"].isNull()) + restoreJobsObject.extra = valueRestoreJobsRestoreJob["Extra"].asString(); + if(!valueRestoreJobsRestoreJob["Duration"].isNull()) + restoreJobsObject.duration = std::stol(valueRestoreJobsRestoreJob["Duration"].asString()); + if(!valueRestoreJobsRestoreJob["ExitCode"].isNull()) + restoreJobsObject.exitCode = valueRestoreJobsRestoreJob["ExitCode"].asString(); + if(!valueRestoreJobsRestoreJob["ErrorFile"].isNull()) + restoreJobsObject.errorFile1 = valueRestoreJobsRestoreJob["ErrorFile"].asString(); + if(!valueRestoreJobsRestoreJob["GmtCreate"].isNull()) + restoreJobsObject.gmtCreate = valueRestoreJobsRestoreJob["GmtCreate"].asString(); + if(!valueRestoreJobsRestoreJob["GmtModified"].isNull()) + restoreJobsObject.gmtModified = std::stol(valueRestoreJobsRestoreJob["GmtModified"].asString()); + if(!valueRestoreJobsRestoreJob["Excludes"].isNull()) + restoreJobsObject.excludes = valueRestoreJobsRestoreJob["Excludes"].asString(); + if(!valueRestoreJobsRestoreJob["Includes"].isNull()) + restoreJobsObject.includes = valueRestoreJobsRestoreJob["Includes"].asString(); + restoreJobs_.push_back(restoreJobsObject); + } + auto pageInfoNode = value["PageInfo"]; + if(!pageInfoNode["Count"].isNull()) + pageInfo_.count = std::stoi(pageInfoNode["Count"].asString()); + if(!pageInfoNode["PageSize"].isNull()) + pageInfo_.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + pageInfo_.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + if(!pageInfoNode["CurrentPage"].isNull()) + pageInfo_.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + +} + +DescribeRestoreJobsResult::PageInfo DescribeRestoreJobsResult::getPageInfo()const +{ + return pageInfo_; +} + +std::vector DescribeRestoreJobsResult::getRestoreJobs()const +{ + return restoreJobs_; +} + diff --git a/sas/src/model/DescribeRiskCheckResultRequest.cc b/sas/src/model/DescribeRiskCheckResultRequest.cc index b1d5edf10..8c1d1bc61 100644 --- a/sas/src/model/DescribeRiskCheckResultRequest.cc +++ b/sas/src/model/DescribeRiskCheckResultRequest.cc @@ -82,6 +82,17 @@ void DescribeRiskCheckResultRequest::setAssetType(const std::string& assetType) setParameter("AssetType", assetType); } +std::string DescribeRiskCheckResultRequest::getQueryFlag()const +{ + return queryFlag_; +} + +void DescribeRiskCheckResultRequest::setQueryFlag(const std::string& queryFlag) +{ + queryFlag_ = queryFlag; + setParameter("QueryFlag", queryFlag); +} + long DescribeRiskCheckResultRequest::getGroupId()const { return groupId_; diff --git a/sas/src/model/DescribeRiskCheckResultResult.cc b/sas/src/model/DescribeRiskCheckResultResult.cc index 464c59e0f..f8595440f 100644 --- a/sas/src/model/DescribeRiskCheckResultResult.cc +++ b/sas/src/model/DescribeRiskCheckResultResult.cc @@ -69,14 +69,14 @@ void DescribeRiskCheckResultResult::parse(const std::string &payload) listObject.repairStatus = valueListRiskCheckResultForDisplay["RepairStatus"].asString(); if(!valueListRiskCheckResultForDisplay["RiskAssertType"].isNull()) listObject.riskAssertType = valueListRiskCheckResultForDisplay["RiskAssertType"].asString(); - auto allRiskItemResourcesNode = allListNode["RiskItemResources"]["RiskItemResource"]; - for (auto allListNodeRiskItemResourcesRiskItemResource : allRiskItemResourcesNode) + auto allRiskItemResourcesNode = valueListRiskCheckResultForDisplay["RiskItemResources"]["RiskItemResource"]; + for (auto valueListRiskCheckResultForDisplayRiskItemResourcesRiskItemResource : allRiskItemResourcesNode) { RiskCheckResultForDisplay::RiskItemResource riskItemResourcesObject; - if(!allListNodeRiskItemResourcesRiskItemResource["ResourceName"].isNull()) - riskItemResourcesObject.resourceName = allListNodeRiskItemResourcesRiskItemResource["ResourceName"].asString(); - if(!allListNodeRiskItemResourcesRiskItemResource["ContentResource"].isNull()) - riskItemResourcesObject.contentResource = allListNodeRiskItemResourcesRiskItemResource["ContentResource"].asString(); + if(!valueListRiskCheckResultForDisplayRiskItemResourcesRiskItemResource["ResourceName"].isNull()) + riskItemResourcesObject.resourceName = valueListRiskCheckResultForDisplayRiskItemResourcesRiskItemResource["ResourceName"].asString(); + if(!valueListRiskCheckResultForDisplayRiskItemResourcesRiskItemResource["ContentResource"].isNull()) + riskItemResourcesObject.contentResource = valueListRiskCheckResultForDisplayRiskItemResourcesRiskItemResource["ContentResource"].asString(); listObject.riskItemResources.push_back(riskItemResourcesObject); } list_.push_back(listObject); diff --git a/sas/src/model/DescribeRiskCheckSummaryResult.cc b/sas/src/model/DescribeRiskCheckSummaryResult.cc index c06197658..1e16eb202 100644 --- a/sas/src/model/DescribeRiskCheckSummaryResult.cc +++ b/sas/src/model/DescribeRiskCheckSummaryResult.cc @@ -80,14 +80,14 @@ void DescribeRiskCheckSummaryResult::parse(const std::string &payload) groupObject.remainingTime = std::stoi(riskCheckSummaryNodeGroupsgroup["RemainingTime"].asString()); if(!riskCheckSummaryNodeGroupsgroup["Sort"].isNull()) groupObject.sort = std::stoi(riskCheckSummaryNodeGroupsgroup["Sort"].asString()); - auto allCountByStatusNode = allGroupsNode["CountByStatus"]["statusCount"]; - for (auto allGroupsNodeCountByStatusstatusCount : allCountByStatusNode) + auto allCountByStatusNode = riskCheckSummaryNodeGroupsgroup["CountByStatus"]["statusCount"]; + for (auto riskCheckSummaryNodeGroupsgroupCountByStatusstatusCount : allCountByStatusNode) { RiskCheckSummary::Group::StatusCount countByStatusObject; - if(!allGroupsNodeCountByStatusstatusCount["Status"].isNull()) - countByStatusObject.status = allGroupsNodeCountByStatusstatusCount["Status"].asString(); - if(!allGroupsNodeCountByStatusstatusCount["Count"].isNull()) - countByStatusObject.count = std::stoi(allGroupsNodeCountByStatusstatusCount["Count"].asString()); + if(!riskCheckSummaryNodeGroupsgroupCountByStatusstatusCount["Status"].isNull()) + countByStatusObject.status = riskCheckSummaryNodeGroupsgroupCountByStatusstatusCount["Status"].asString(); + if(!riskCheckSummaryNodeGroupsgroupCountByStatusstatusCount["Count"].isNull()) + countByStatusObject.count = std::stoi(riskCheckSummaryNodeGroupsgroupCountByStatusstatusCount["Count"].asString()); groupObject.countByStatus.push_back(countByStatusObject); } riskCheckSummary_.groups.push_back(groupObject); diff --git a/sas/src/model/DescribeRiskListCheckResultRequest.cc b/sas/src/model/DescribeRiskListCheckResultRequest.cc new file mode 100644 index 000000000..24c886c65 --- /dev/null +++ b/sas/src/model/DescribeRiskListCheckResultRequest.cc @@ -0,0 +1,97 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::DescribeRiskListCheckResultRequest; + +DescribeRiskListCheckResultRequest::DescribeRiskListCheckResultRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeRiskListCheckResult") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeRiskListCheckResultRequest::~DescribeRiskListCheckResultRequest() +{} + +long DescribeRiskListCheckResultRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeRiskListCheckResultRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +int DescribeRiskListCheckResultRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeRiskListCheckResultRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeRiskListCheckResultRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeRiskListCheckResultRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::vector DescribeRiskListCheckResultRequest::getInstanceIds()const +{ + return instanceIds_; +} + +void DescribeRiskListCheckResultRequest::setInstanceIds(const std::vector& instanceIds) +{ + instanceIds_ = instanceIds; + for(int dep1 = 0; dep1!= instanceIds.size(); dep1++) { + setParameter("InstanceIds."+ std::to_string(dep1), instanceIds.at(dep1)); + } +} + +int DescribeRiskListCheckResultRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeRiskListCheckResultRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeRiskListCheckResultRequest::getLang()const +{ + return lang_; +} + +void DescribeRiskListCheckResultRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/sas/src/model/DescribeRiskListCheckResultResult.cc b/sas/src/model/DescribeRiskListCheckResultResult.cc new file mode 100644 index 000000000..43612fb6e --- /dev/null +++ b/sas/src/model/DescribeRiskListCheckResultResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeRiskListCheckResultResult::DescribeRiskListCheckResultResult() : + ServiceResult() +{} + +DescribeRiskListCheckResultResult::DescribeRiskListCheckResultResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRiskListCheckResultResult::~DescribeRiskListCheckResultResult() +{} + +void DescribeRiskListCheckResultResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allListNode = value["List"]["RiskCountDO"]; + for (auto valueListRiskCountDO : allListNode) + { + RiskCountDO listObject; + if(!valueListRiskCountDO["riskCount"].isNull()) + listObject.riskCount = std::stol(valueListRiskCountDO["riskCount"].asString()); + if(!valueListRiskCountDO["InstanceId"].isNull()) + listObject.instanceId = valueListRiskCountDO["InstanceId"].asString(); + list_.push_back(listObject); + } + +} + +std::vector DescribeRiskListCheckResultResult::getList()const +{ + return list_; +} + diff --git a/sas/src/model/DescribeScanTaskProgressRequest.cc b/sas/src/model/DescribeScanTaskProgressRequest.cc new file mode 100644 index 000000000..8399fa0d0 --- /dev/null +++ b/sas/src/model/DescribeScanTaskProgressRequest.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 + +using AlibabaCloud::Sas::Model::DescribeScanTaskProgressRequest; + +DescribeScanTaskProgressRequest::DescribeScanTaskProgressRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeScanTaskProgress") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeScanTaskProgressRequest::~DescribeScanTaskProgressRequest() +{} + +std::string DescribeScanTaskProgressRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeScanTaskProgressRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long DescribeScanTaskProgressRequest::getTaskId()const +{ + return taskId_; +} + +void DescribeScanTaskProgressRequest::setTaskId(long taskId) +{ + taskId_ = taskId; + setParameter("TaskId", std::to_string(taskId)); +} + diff --git a/sas/src/model/DescribeScanTaskProgressResult.cc b/sas/src/model/DescribeScanTaskProgressResult.cc new file mode 100644 index 000000000..1a123d324 --- /dev/null +++ b/sas/src/model/DescribeScanTaskProgressResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeScanTaskProgressResult::DescribeScanTaskProgressResult() : + ServiceResult() +{} + +DescribeScanTaskProgressResult::DescribeScanTaskProgressResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeScanTaskProgressResult::~DescribeScanTaskProgressResult() +{} + +void DescribeScanTaskProgressResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ScanTaskProgress"].isNull()) + scanTaskProgress_ = value["ScanTaskProgress"].asString(); + if(!value["TargetInfo"].isNull()) + targetInfo_ = value["TargetInfo"].asString(); + +} + +std::string DescribeScanTaskProgressResult::getTargetInfo()const +{ + return targetInfo_; +} + +std::string DescribeScanTaskProgressResult::getScanTaskProgress()const +{ + return scanTaskProgress_; +} + diff --git a/sas/src/model/DescribeSecureSuggestionResult.cc b/sas/src/model/DescribeSecureSuggestionResult.cc index d7de5ad48..61c3a49a7 100644 --- a/sas/src/model/DescribeSecureSuggestionResult.cc +++ b/sas/src/model/DescribeSecureSuggestionResult.cc @@ -47,16 +47,16 @@ void DescribeSecureSuggestionResult::parse(const std::string &payload) suggestionsObject.suggestType = valueSuggestionsSuggestion["SuggestType"].asString(); if(!valueSuggestionsSuggestion["Points"].isNull()) suggestionsObject.points = std::stoi(valueSuggestionsSuggestion["Points"].asString()); - auto allDetailNode = allSuggestionsNode["Detail"]["DetailItem"]; - for (auto allSuggestionsNodeDetailDetailItem : allDetailNode) + auto allDetailNode = valueSuggestionsSuggestion["Detail"]["DetailItem"]; + for (auto valueSuggestionsSuggestionDetailDetailItem : allDetailNode) { Suggestion::DetailItem detailObject; - if(!allSuggestionsNodeDetailDetailItem["Description"].isNull()) - detailObject.description = allSuggestionsNodeDetailDetailItem["Description"].asString(); - if(!allSuggestionsNodeDetailDetailItem["SubType"].isNull()) - detailObject.subType = allSuggestionsNodeDetailDetailItem["SubType"].asString(); - if(!allSuggestionsNodeDetailDetailItem["Title"].isNull()) - detailObject.title = allSuggestionsNodeDetailDetailItem["Title"].asString(); + if(!valueSuggestionsSuggestionDetailDetailItem["Description"].isNull()) + detailObject.description = valueSuggestionsSuggestionDetailDetailItem["Description"].asString(); + if(!valueSuggestionsSuggestionDetailDetailItem["SubType"].isNull()) + detailObject.subType = valueSuggestionsSuggestionDetailDetailItem["SubType"].asString(); + if(!valueSuggestionsSuggestionDetailDetailItem["Title"].isNull()) + detailObject.title = valueSuggestionsSuggestionDetailDetailItem["Title"].asString(); suggestionsObject.detail.push_back(detailObject); } suggestions_.push_back(suggestionsObject); diff --git a/sas/src/model/DescribeSecurityEventOperationStatusRequest.cc b/sas/src/model/DescribeSecurityEventOperationStatusRequest.cc new file mode 100644 index 000000000..d33de9025 --- /dev/null +++ b/sas/src/model/DescribeSecurityEventOperationStatusRequest.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 + +using AlibabaCloud::Sas::Model::DescribeSecurityEventOperationStatusRequest; + +DescribeSecurityEventOperationStatusRequest::DescribeSecurityEventOperationStatusRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeSecurityEventOperationStatus") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeSecurityEventOperationStatusRequest::~DescribeSecurityEventOperationStatusRequest() +{} + +long DescribeSecurityEventOperationStatusRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeSecurityEventOperationStatusRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::vector DescribeSecurityEventOperationStatusRequest::getSecurityEventIds()const +{ + return securityEventIds_; +} + +void DescribeSecurityEventOperationStatusRequest::setSecurityEventIds(const std::vector& securityEventIds) +{ + securityEventIds_ = securityEventIds; + for(int dep1 = 0; dep1!= securityEventIds.size(); dep1++) { + setParameter("SecurityEventIds."+ std::to_string(dep1), securityEventIds.at(dep1)); + } +} + +std::string DescribeSecurityEventOperationStatusRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSecurityEventOperationStatusRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long DescribeSecurityEventOperationStatusRequest::getTaskId()const +{ + return taskId_; +} + +void DescribeSecurityEventOperationStatusRequest::setTaskId(long taskId) +{ + taskId_ = taskId; + setParameter("TaskId", std::to_string(taskId)); +} + diff --git a/sas/src/model/DescribeSecurityEventOperationStatusResult.cc b/sas/src/model/DescribeSecurityEventOperationStatusResult.cc new file mode 100644 index 000000000..2f0c1f4d1 --- /dev/null +++ b/sas/src/model/DescribeSecurityEventOperationStatusResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeSecurityEventOperationStatusResult::DescribeSecurityEventOperationStatusResult() : + ServiceResult() +{} + +DescribeSecurityEventOperationStatusResult::DescribeSecurityEventOperationStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSecurityEventOperationStatusResult::~DescribeSecurityEventOperationStatusResult() +{} + +void DescribeSecurityEventOperationStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto securityEventOperationStatusResponseNode = value["SecurityEventOperationStatusResponse"]; + if(!securityEventOperationStatusResponseNode["TaskStatus"].isNull()) + securityEventOperationStatusResponse_.taskStatus = securityEventOperationStatusResponseNode["TaskStatus"].asString(); + auto allSecurityEventOperationStatusesNode = securityEventOperationStatusResponseNode["SecurityEventOperationStatuses"]["SecurityEventOperationStatus"]; + for (auto securityEventOperationStatusResponseNodeSecurityEventOperationStatusesSecurityEventOperationStatus : allSecurityEventOperationStatusesNode) + { + SecurityEventOperationStatusResponse::SecurityEventOperationStatus securityEventOperationStatusObject; + if(!securityEventOperationStatusResponseNodeSecurityEventOperationStatusesSecurityEventOperationStatus["SecurityEventId"].isNull()) + securityEventOperationStatusObject.securityEventId = securityEventOperationStatusResponseNodeSecurityEventOperationStatusesSecurityEventOperationStatus["SecurityEventId"].asString(); + if(!securityEventOperationStatusResponseNodeSecurityEventOperationStatusesSecurityEventOperationStatus["Status"].isNull()) + securityEventOperationStatusObject.status = securityEventOperationStatusResponseNodeSecurityEventOperationStatusesSecurityEventOperationStatus["Status"].asString(); + if(!securityEventOperationStatusResponseNodeSecurityEventOperationStatusesSecurityEventOperationStatus["ErrorCode"].isNull()) + securityEventOperationStatusObject.errorCode = securityEventOperationStatusResponseNodeSecurityEventOperationStatusesSecurityEventOperationStatus["ErrorCode"].asString(); + securityEventOperationStatusResponse_.securityEventOperationStatuses.push_back(securityEventOperationStatusObject); + } + +} + +DescribeSecurityEventOperationStatusResult::SecurityEventOperationStatusResponse DescribeSecurityEventOperationStatusResult::getSecurityEventOperationStatusResponse()const +{ + return securityEventOperationStatusResponse_; +} + diff --git a/sas/src/model/DescribeSecurityEventOperationsRequest.cc b/sas/src/model/DescribeSecurityEventOperationsRequest.cc index 8d61773db..086e93064 100644 --- a/sas/src/model/DescribeSecurityEventOperationsRequest.cc +++ b/sas/src/model/DescribeSecurityEventOperationsRequest.cc @@ -49,6 +49,17 @@ void DescribeSecurityEventOperationsRequest::setSourceIp(const std::string& sour setParameter("SourceIp", sourceIp); } +std::string DescribeSecurityEventOperationsRequest::getLang()const +{ + return lang_; +} + +void DescribeSecurityEventOperationsRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + long DescribeSecurityEventOperationsRequest::getSecurityEventId()const { return securityEventId_; diff --git a/sas/src/model/DescribeSecurityEventOperationsResult.cc b/sas/src/model/DescribeSecurityEventOperationsResult.cc index 60b70ada9..70584c02f 100644 --- a/sas/src/model/DescribeSecurityEventOperationsResult.cc +++ b/sas/src/model/DescribeSecurityEventOperationsResult.cc @@ -49,6 +49,38 @@ void DescribeSecurityEventOperationsResult::parse(const std::string &payload) securityEventOperationsResponseObject.operationParams = valueSecurityEventOperationsResponseSecurityEventOperation["OperationParams"].asString(); if(!valueSecurityEventOperationsResponseSecurityEventOperation["UserCanOperate"].isNull()) securityEventOperationsResponseObject.userCanOperate = valueSecurityEventOperationsResponseSecurityEventOperation["UserCanOperate"].asString() == "true"; + auto allMarkFieldNode = valueSecurityEventOperationsResponseSecurityEventOperation["MarkField"]["MarkFieldItem"]; + for (auto valueSecurityEventOperationsResponseSecurityEventOperationMarkFieldMarkFieldItem : allMarkFieldNode) + { + SecurityEventOperation::MarkFieldItem markFieldObject; + if(!valueSecurityEventOperationsResponseSecurityEventOperationMarkFieldMarkFieldItem["FiledName"].isNull()) + markFieldObject.filedName = valueSecurityEventOperationsResponseSecurityEventOperationMarkFieldMarkFieldItem["FiledName"].asString(); + if(!valueSecurityEventOperationsResponseSecurityEventOperationMarkFieldMarkFieldItem["FiledAliasName"].isNull()) + markFieldObject.filedAliasName = valueSecurityEventOperationsResponseSecurityEventOperationMarkFieldMarkFieldItem["FiledAliasName"].asString(); + if(!valueSecurityEventOperationsResponseSecurityEventOperationMarkFieldMarkFieldItem["MarkMisType"].isNull()) + markFieldObject.markMisType = valueSecurityEventOperationsResponseSecurityEventOperationMarkFieldMarkFieldItem["MarkMisType"].asString(); + if(!valueSecurityEventOperationsResponseSecurityEventOperationMarkFieldMarkFieldItem["MarkMisValue"].isNull()) + markFieldObject.markMisValue = valueSecurityEventOperationsResponseSecurityEventOperationMarkFieldMarkFieldItem["MarkMisValue"].asString(); + auto allSupportedMisType = value["SupportedMisType"]["StringItem"]; + for (auto value : allSupportedMisType) + markFieldObject.supportedMisType.push_back(value.asString()); + securityEventOperationsResponseObject.markField.push_back(markFieldObject); + } + auto allMarkFieldsSourceNode = valueSecurityEventOperationsResponseSecurityEventOperation["MarkFieldsSource"]["SecurityEventOperation"]; + for (auto valueSecurityEventOperationsResponseSecurityEventOperationMarkFieldsSourceSecurityEventOperation : allMarkFieldsSourceNode) + { + SecurityEventOperation::SecurityEventOperation1 markFieldsSourceObject; + if(!valueSecurityEventOperationsResponseSecurityEventOperationMarkFieldsSourceSecurityEventOperation["FiledName"].isNull()) + markFieldsSourceObject.filedName = valueSecurityEventOperationsResponseSecurityEventOperationMarkFieldsSourceSecurityEventOperation["FiledName"].asString(); + if(!valueSecurityEventOperationsResponseSecurityEventOperationMarkFieldsSourceSecurityEventOperation["FiledAliasName"].isNull()) + markFieldsSourceObject.filedAliasName = valueSecurityEventOperationsResponseSecurityEventOperationMarkFieldsSourceSecurityEventOperation["FiledAliasName"].asString(); + if(!valueSecurityEventOperationsResponseSecurityEventOperationMarkFieldsSourceSecurityEventOperation["MarkMisValue"].isNull()) + markFieldsSourceObject.markMisValue = valueSecurityEventOperationsResponseSecurityEventOperationMarkFieldsSourceSecurityEventOperation["MarkMisValue"].asString(); + auto allSupportedMisType2 = value["SupportedMisType"]["StringItem"]; + for (auto value : allSupportedMisType2) + markFieldsSourceObject.supportedMisType2.push_back(value.asString()); + securityEventOperationsResponseObject.markFieldsSource.push_back(markFieldsSourceObject); + } securityEventOperationsResponse_.push_back(securityEventOperationsResponseObject); } diff --git a/sas/src/model/DescribeSecurityStatInfoResult.cc b/sas/src/model/DescribeSecurityStatInfoResult.cc index a83a4552f..5427b2e5d 100644 --- a/sas/src/model/DescribeSecurityStatInfoResult.cc +++ b/sas/src/model/DescribeSecurityStatInfoResult.cc @@ -66,6 +66,9 @@ void DescribeSecurityStatInfoResult::parse(const std::string &payload) auto allRemindList = securityEventNode["RemindList"]["IntegerItem"]; for (auto value : allRemindList) securityEvent_.remindList.push_back(value.asString()); + auto allTimeArray = securityEventNode["TimeArray"]["LongItem"]; + for (auto value : allTimeArray) + securityEvent_.timeArray.push_back(value.asString()); auto attackEventNode = value["AttackEvent"]; if(!attackEventNode["TotalCount"].isNull()) attackEvent_.totalCount = std::stoi(attackEventNode["TotalCount"].asString()); @@ -102,6 +105,9 @@ void DescribeSecurityStatInfoResult::parse(const std::string &payload) auto allLowList = healthCheckNode["LowList"]["IntegerItem"]; for (auto value : allLowList) healthCheck_.lowList.push_back(value.asString()); + auto allTimeArray6 = healthCheckNode["TimeArray"]["LongItem"]; + for (auto value : allTimeArray6) + healthCheck_.timeArray6.push_back(value.asString()); auto vulnerabilityNode = value["Vulnerability"]; if(!vulnerabilityNode["NntfCount"].isNull()) vulnerability_.nntfCount = std::stoi(vulnerabilityNode["NntfCount"].asString()); @@ -111,15 +117,15 @@ void DescribeSecurityStatInfoResult::parse(const std::string &payload) vulnerability_.asapCount = std::stoi(vulnerabilityNode["AsapCount"].asString()); if(!vulnerabilityNode["TotalCount"].isNull()) vulnerability_.totalCount = std::stoi(vulnerabilityNode["TotalCount"].asString()); - auto allDateArray6 = vulnerabilityNode["DateArray"]["StringItem"]; - for (auto value : allDateArray6) - vulnerability_.dateArray6.push_back(value.asString()); - auto allValueArray7 = vulnerabilityNode["ValueArray"]["IntegerItem"]; - for (auto value : allValueArray7) - vulnerability_.valueArray7.push_back(value.asString()); - auto allLevelsOn8 = vulnerabilityNode["LevelsOn"]["StringItem"]; - for (auto value : allLevelsOn8) - vulnerability_.levelsOn8.push_back(value.asString()); + auto allDateArray7 = vulnerabilityNode["DateArray"]["StringItem"]; + for (auto value : allDateArray7) + vulnerability_.dateArray7.push_back(value.asString()); + auto allValueArray8 = vulnerabilityNode["ValueArray"]["IntegerItem"]; + for (auto value : allValueArray8) + vulnerability_.valueArray8.push_back(value.asString()); + auto allLevelsOn9 = vulnerabilityNode["LevelsOn"]["StringItem"]; + for (auto value : allLevelsOn9) + vulnerability_.levelsOn9.push_back(value.asString()); auto allNntfList = vulnerabilityNode["NntfList"]["IntegerItem"]; for (auto value : allNntfList) vulnerability_.nntfList.push_back(value.asString()); @@ -129,6 +135,9 @@ void DescribeSecurityStatInfoResult::parse(const std::string &payload) auto allLaterList = vulnerabilityNode["LaterList"]["IntegerItem"]; for (auto value : allLaterList) vulnerability_.laterList.push_back(value.asString()); + auto allTimeArray10 = vulnerabilityNode["TimeArray"]["LongItem"]; + for (auto value : allTimeArray10) + vulnerability_.timeArray10.push_back(value.asString()); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; diff --git a/sas/src/model/DescribeServiceLinkedRoleStatusRequest.cc b/sas/src/model/DescribeServiceLinkedRoleStatusRequest.cc new file mode 100644 index 000000000..e2ad1bfbd --- /dev/null +++ b/sas/src/model/DescribeServiceLinkedRoleStatusRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::DescribeServiceLinkedRoleStatusRequest; + +DescribeServiceLinkedRoleStatusRequest::DescribeServiceLinkedRoleStatusRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeServiceLinkedRoleStatus") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeServiceLinkedRoleStatusRequest::~DescribeServiceLinkedRoleStatusRequest() +{} + +std::string DescribeServiceLinkedRoleStatusRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeServiceLinkedRoleStatusRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + diff --git a/sas/src/model/DescribeServiceLinkedRoleStatusResult.cc b/sas/src/model/DescribeServiceLinkedRoleStatusResult.cc new file mode 100644 index 000000000..1776901d6 --- /dev/null +++ b/sas/src/model/DescribeServiceLinkedRoleStatusResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeServiceLinkedRoleStatusResult::DescribeServiceLinkedRoleStatusResult() : + ServiceResult() +{} + +DescribeServiceLinkedRoleStatusResult::DescribeServiceLinkedRoleStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeServiceLinkedRoleStatusResult::~DescribeServiceLinkedRoleStatusResult() +{} + +void DescribeServiceLinkedRoleStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto roleStatusNode = value["RoleStatus"]; + if(!roleStatusNode["Status"].isNull()) + roleStatus_.status = roleStatusNode["Status"].asString() == "true"; + +} + +DescribeServiceLinkedRoleStatusResult::RoleStatus DescribeServiceLinkedRoleStatusResult::getRoleStatus()const +{ + return roleStatus_; +} + diff --git a/sas/src/model/DescribeSimilarEventScenariosRequest.cc b/sas/src/model/DescribeSimilarEventScenariosRequest.cc new file mode 100644 index 000000000..57663cf5d --- /dev/null +++ b/sas/src/model/DescribeSimilarEventScenariosRequest.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::Sas::Model::DescribeSimilarEventScenariosRequest; + +DescribeSimilarEventScenariosRequest::DescribeSimilarEventScenariosRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeSimilarEventScenarios") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeSimilarEventScenariosRequest::~DescribeSimilarEventScenariosRequest() +{} + +long DescribeSimilarEventScenariosRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeSimilarEventScenariosRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeSimilarEventScenariosRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSimilarEventScenariosRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long DescribeSimilarEventScenariosRequest::getSecurityEventId()const +{ + return securityEventId_; +} + +void DescribeSimilarEventScenariosRequest::setSecurityEventId(long securityEventId) +{ + securityEventId_ = securityEventId; + setParameter("SecurityEventId", std::to_string(securityEventId)); +} + diff --git a/sas/src/model/DescribeSimilarEventScenariosResult.cc b/sas/src/model/DescribeSimilarEventScenariosResult.cc new file mode 100644 index 000000000..106a7d288 --- /dev/null +++ b/sas/src/model/DescribeSimilarEventScenariosResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeSimilarEventScenariosResult::DescribeSimilarEventScenariosResult() : + ServiceResult() +{} + +DescribeSimilarEventScenariosResult::DescribeSimilarEventScenariosResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSimilarEventScenariosResult::~DescribeSimilarEventScenariosResult() +{} + +void DescribeSimilarEventScenariosResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allScenariosNode = value["Scenarios"]["Scenario"]; + for (auto valueScenariosScenario : allScenariosNode) + { + Scenario scenariosObject; + if(!valueScenariosScenario["Code"].isNull()) + scenariosObject.code = valueScenariosScenario["Code"].asString(); + scenarios_.push_back(scenariosObject); + } + +} + +std::vector DescribeSimilarEventScenariosResult::getScenarios()const +{ + return scenarios_; +} + diff --git a/sas/src/model/DescribeSnapshotsRequest.cc b/sas/src/model/DescribeSnapshotsRequest.cc new file mode 100644 index 000000000..5a5b6482f --- /dev/null +++ b/sas/src/model/DescribeSnapshotsRequest.cc @@ -0,0 +1,139 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Sas::Model::DescribeSnapshotsRequest; + +DescribeSnapshotsRequest::DescribeSnapshotsRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeSnapshots") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeSnapshotsRequest::~DescribeSnapshotsRequest() +{} + +long DescribeSnapshotsRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeSnapshotsRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeSnapshotsRequest::getStatusList()const +{ + return statusList_; +} + +void DescribeSnapshotsRequest::setStatusList(const std::string& statusList) +{ + statusList_ = statusList; + setParameter("StatusList", statusList); +} + +std::string DescribeSnapshotsRequest::getUuid()const +{ + return uuid_; +} + +void DescribeSnapshotsRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setParameter("Uuid", uuid); +} + +std::string DescribeSnapshotsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSnapshotsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeSnapshotsRequest::getMachineRemark()const +{ + return machineRemark_; +} + +void DescribeSnapshotsRequest::setMachineRemark(const std::string& machineRemark) +{ + machineRemark_ = machineRemark; + setParameter("MachineRemark", machineRemark); +} + +std::string DescribeSnapshotsRequest::getNextToken()const +{ + return nextToken_; +} + +void DescribeSnapshotsRequest::setNextToken(const std::string& nextToken) +{ + nextToken_ = nextToken; + setParameter("NextToken", nextToken); +} + +int DescribeSnapshotsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeSnapshotsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeSnapshotsRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeSnapshotsRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeSnapshotsRequest::getApiVersion()const +{ + return apiVersion_; +} + +void DescribeSnapshotsRequest::setApiVersion(const std::string& apiVersion) +{ + apiVersion_ = apiVersion; + setParameter("ApiVersion", apiVersion); +} + +std::string DescribeSnapshotsRequest::getMachineRegion()const +{ + return machineRegion_; +} + +void DescribeSnapshotsRequest::setMachineRegion(const std::string& machineRegion) +{ + machineRegion_ = machineRegion; + setParameter("MachineRegion", machineRegion); +} + diff --git a/sas/src/model/DescribeSnapshotsResult.cc b/sas/src/model/DescribeSnapshotsResult.cc new file mode 100644 index 000000000..83a7bc63d --- /dev/null +++ b/sas/src/model/DescribeSnapshotsResult.cc @@ -0,0 +1,164 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeSnapshotsResult::DescribeSnapshotsResult() : + ServiceResult() +{} + +DescribeSnapshotsResult::DescribeSnapshotsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSnapshotsResult::~DescribeSnapshotsResult() +{} + +void DescribeSnapshotsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allSnapshotsNode = value["Snapshots"]["BackupSnapshots"]; + for (auto valueSnapshotsBackupSnapshots : allSnapshotsNode) + { + BackupSnapshots snapshotsObject; + if(!valueSnapshotsBackupSnapshots["SnapshotId"].isNull()) + snapshotsObject.snapshotId = valueSnapshotsBackupSnapshots["SnapshotId"].asString(); + if(!valueSnapshotsBackupSnapshots["ClientId"].isNull()) + snapshotsObject.clientId = valueSnapshotsBackupSnapshots["ClientId"].asString(); + if(!valueSnapshotsBackupSnapshots["VaultId"].isNull()) + snapshotsObject.vaultId = valueSnapshotsBackupSnapshots["VaultId"].asString(); + if(!valueSnapshotsBackupSnapshots["SnapshotHash"].isNull()) + snapshotsObject.snapshotHash = valueSnapshotsBackupSnapshots["SnapshotHash"].asString(); + if(!valueSnapshotsBackupSnapshots["Duration"].isNull()) + snapshotsObject.duration = std::stol(valueSnapshotsBackupSnapshots["Duration"].asString()); + if(!valueSnapshotsBackupSnapshots["CompleteTime"].isNull()) + snapshotsObject.completeTime = std::stol(valueSnapshotsBackupSnapshots["CompleteTime"].asString()); + if(!valueSnapshotsBackupSnapshots["Source"].isNull()) + snapshotsObject.source = valueSnapshotsBackupSnapshots["Source"].asString(); + if(!valueSnapshotsBackupSnapshots["ParentHash"].isNull()) + snapshotsObject.parentHash = valueSnapshotsBackupSnapshots["ParentHash"].asString(); + if(!valueSnapshotsBackupSnapshots["Status"].isNull()) + snapshotsObject.status = valueSnapshotsBackupSnapshots["Status"].asString(); + if(!valueSnapshotsBackupSnapshots["Size"].isNull()) + snapshotsObject.size = std::stol(valueSnapshotsBackupSnapshots["Size"].asString()); + if(!valueSnapshotsBackupSnapshots["ErrorCount"].isNull()) + snapshotsObject.errorCount = std::stol(valueSnapshotsBackupSnapshots["ErrorCount"].asString()); + if(!valueSnapshotsBackupSnapshots["Retention"].isNull()) + snapshotsObject.retention = std::stol(valueSnapshotsBackupSnapshots["Retention"].asString()); + if(!valueSnapshotsBackupSnapshots["SnapshotName"].isNull()) + snapshotsObject.snapshotName = valueSnapshotsBackupSnapshots["SnapshotName"].asString(); + if(!valueSnapshotsBackupSnapshots["BytesDone"].isNull()) + snapshotsObject.bytesDone = std::stol(valueSnapshotsBackupSnapshots["BytesDone"].asString()); + if(!valueSnapshotsBackupSnapshots["BytesTotal"].isNull()) + snapshotsObject.bytesTotal = std::stol(valueSnapshotsBackupSnapshots["BytesTotal"].asString()); + if(!valueSnapshotsBackupSnapshots["ItemsDone"].isNull()) + snapshotsObject.itemsDone = std::stol(valueSnapshotsBackupSnapshots["ItemsDone"].asString()); + if(!valueSnapshotsBackupSnapshots["ItemsTotal"].isNull()) + snapshotsObject.itemsTotal = std::stol(valueSnapshotsBackupSnapshots["ItemsTotal"].asString()); + if(!valueSnapshotsBackupSnapshots["ActualBytes"].isNull()) + snapshotsObject.actualBytes = std::stol(valueSnapshotsBackupSnapshots["ActualBytes"].asString()); + if(!valueSnapshotsBackupSnapshots["JobId"].isNull()) + snapshotsObject.jobId = valueSnapshotsBackupSnapshots["JobId"].asString(); + if(!valueSnapshotsBackupSnapshots["ExitCode"].isNull()) + snapshotsObject.exitCode = valueSnapshotsBackupSnapshots["ExitCode"].asString(); + if(!valueSnapshotsBackupSnapshots["CreatedTime"].isNull()) + snapshotsObject.createdTime = std::stol(valueSnapshotsBackupSnapshots["CreatedTime"].asString()); + if(!valueSnapshotsBackupSnapshots["UpdatedTime"].isNull()) + snapshotsObject.updatedTime = std::stol(valueSnapshotsBackupSnapshots["UpdatedTime"].asString()); + if(!valueSnapshotsBackupSnapshots["SourceType"].isNull()) + snapshotsObject.sourceType = valueSnapshotsBackupSnapshots["SourceType"].asString(); + if(!valueSnapshotsBackupSnapshots["SnapshotOption"].isNull()) + snapshotsObject.snapshotOption = valueSnapshotsBackupSnapshots["SnapshotOption"].asString(); + if(!valueSnapshotsBackupSnapshots["ContainerSnapshotId"].isNull()) + snapshotsObject.containerSnapshotId = valueSnapshotsBackupSnapshots["ContainerSnapshotId"].asString(); + if(!valueSnapshotsBackupSnapshots["PlanId"].isNull()) + snapshotsObject.planId = valueSnapshotsBackupSnapshots["PlanId"].asString(); + if(!valueSnapshotsBackupSnapshots["SnapshotType"].isNull()) + snapshotsObject.snapshotType = valueSnapshotsBackupSnapshots["SnapshotType"].asString(); + if(!valueSnapshotsBackupSnapshots["ServerId"].isNull()) + snapshotsObject.serverId = valueSnapshotsBackupSnapshots["ServerId"].asString(); + if(!valueSnapshotsBackupSnapshots["Extra"].isNull()) + snapshotsObject.extra = valueSnapshotsBackupSnapshots["Extra"].asString(); + if(!valueSnapshotsBackupSnapshots["ErrorMessage"].isNull()) + snapshotsObject.errorMessage = valueSnapshotsBackupSnapshots["ErrorMessage"].asString(); + if(!valueSnapshotsBackupSnapshots["ErrorFile"].isNull()) + snapshotsObject.errorFile = valueSnapshotsBackupSnapshots["ErrorFile"].asString(); + if(!valueSnapshotsBackupSnapshots["ErrorType"].isNull()) + snapshotsObject.errorType = valueSnapshotsBackupSnapshots["ErrorType"].asString(); + if(!valueSnapshotsBackupSnapshots["Uuid"].isNull()) + snapshotsObject.uuid = valueSnapshotsBackupSnapshots["Uuid"].asString(); + if(!valueSnapshotsBackupSnapshots["InstanceId"].isNull()) + snapshotsObject.instanceId = valueSnapshotsBackupSnapshots["InstanceId"].asString(); + if(!valueSnapshotsBackupSnapshots["MachineInfoJson"].isNull()) + snapshotsObject.machineInfoJson = valueSnapshotsBackupSnapshots["MachineInfoJson"].asString(); + if(!valueSnapshotsBackupSnapshots["RegionId"].isNull()) + snapshotsObject.regionId = valueSnapshotsBackupSnapshots["RegionId"].asString(); + if(!valueSnapshotsBackupSnapshots["BackupType"].isNull()) + snapshotsObject.backupType = valueSnapshotsBackupSnapshots["BackupType"].asString(); + if(!valueSnapshotsBackupSnapshots["ParentSnapshotHash"].isNull()) + snapshotsObject.parentSnapshotHash = valueSnapshotsBackupSnapshots["ParentSnapshotHash"].asString(); + if(!valueSnapshotsBackupSnapshots["Bucket"].isNull()) + snapshotsObject.bucket = valueSnapshotsBackupSnapshots["Bucket"].asString(); + if(!valueSnapshotsBackupSnapshots["Prefix"].isNull()) + snapshotsObject.prefix = valueSnapshotsBackupSnapshots["Prefix"].asString(); + if(!valueSnapshotsBackupSnapshots["FileSystemId"].isNull()) + snapshotsObject.fileSystemId = valueSnapshotsBackupSnapshots["FileSystemId"].asString(); + if(!valueSnapshotsBackupSnapshots["StartTime"].isNull()) + snapshotsObject.startTime = std::stol(valueSnapshotsBackupSnapshots["StartTime"].asString()); + if(!valueSnapshotsBackupSnapshots["CreateTime"].isNull()) + snapshotsObject.createTime = std::stol(valueSnapshotsBackupSnapshots["CreateTime"].asString()); + if(!valueSnapshotsBackupSnapshots["ActualItems"].isNull()) + snapshotsObject.actualItems = std::stol(valueSnapshotsBackupSnapshots["ActualItems"].asString()); + if(!valueSnapshotsBackupSnapshots["Path"].isNull()) + snapshotsObject.path = valueSnapshotsBackupSnapshots["Path"].asString(); + auto allPaths = value["Paths"]["StringItem"]; + for (auto value : allPaths) + snapshotsObject.paths.push_back(value.asString()); + snapshots_.push_back(snapshotsObject); + } + auto pageInfoNode = value["PageInfo"]; + if(!pageInfoNode["Count"].isNull()) + pageInfo_.count = std::stoi(pageInfoNode["Count"].asString()); + if(!pageInfoNode["NextToken"].isNull()) + pageInfo_.nextToken = pageInfoNode["NextToken"].asString(); + if(!pageInfoNode["PageSize"].isNull()) + pageInfo_.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + pageInfo_.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + if(!pageInfoNode["CurrentPage"].isNull()) + pageInfo_.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + +} + +DescribeSnapshotsResult::PageInfo DescribeSnapshotsResult::getPageInfo()const +{ + return pageInfo_; +} + +std::vector DescribeSnapshotsResult::getSnapshots()const +{ + return snapshots_; +} + diff --git a/sas/src/model/DescribeStratetyResult.cc b/sas/src/model/DescribeStratetyResult.cc deleted file mode 100644 index 852ec8970..000000000 --- a/sas/src/model/DescribeStratetyResult.cc +++ /dev/null @@ -1,87 +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::Sas; -using namespace AlibabaCloud::Sas::Model; - -DescribeStratetyResult::DescribeStratetyResult() : - ServiceResult() -{} - -DescribeStratetyResult::DescribeStratetyResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeStratetyResult::~DescribeStratetyResult() -{} - -void DescribeStratetyResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allStrategiesNode = value["Strategies"]["Strategy"]; - for (auto valueStrategiesStrategy : allStrategiesNode) - { - Strategy strategiesObject; - if(!valueStrategiesStrategy["CycleDays"].isNull()) - strategiesObject.cycleDays = std::stoi(valueStrategiesStrategy["CycleDays"].asString()); - if(!valueStrategiesStrategy["Id"].isNull()) - strategiesObject.id = std::stoi(valueStrategiesStrategy["Id"].asString()); - if(!valueStrategiesStrategy["CycleStartTime"].isNull()) - strategiesObject.cycleStartTime = std::stoi(valueStrategiesStrategy["CycleStartTime"].asString()); - if(!valueStrategiesStrategy["Type"].isNull()) - strategiesObject.type = std::stoi(valueStrategiesStrategy["Type"].asString()); - if(!valueStrategiesStrategy["Name"].isNull()) - strategiesObject.name = valueStrategiesStrategy["Name"].asString(); - if(!valueStrategiesStrategy["RiskCount"].isNull()) - strategiesObject.riskCount = std::stoi(valueStrategiesStrategy["RiskCount"].asString()); - if(!valueStrategiesStrategy["EcsCount"].isNull()) - strategiesObject.ecsCount = std::stoi(valueStrategiesStrategy["EcsCount"].asString()); - if(!valueStrategiesStrategy["ExecStatus"].isNull()) - strategiesObject.execStatus = std::stoi(valueStrategiesStrategy["ExecStatus"].asString()); - if(!valueStrategiesStrategy["ProcessRate"].isNull()) - strategiesObject.processRate = std::stoi(valueStrategiesStrategy["ProcessRate"].asString()); - if(!valueStrategiesStrategy["PassRate"].isNull()) - strategiesObject.passRate = std::stoi(valueStrategiesStrategy["PassRate"].asString()); - auto allConfigTargetsNode = allStrategiesNode["ConfigTargets"]["ConfigTarget"]; - for (auto allStrategiesNodeConfigTargetsConfigTarget : allConfigTargetsNode) - { - Strategy::ConfigTarget configTargetsObject; - if(!allStrategiesNodeConfigTargetsConfigTarget["Flag"].isNull()) - configTargetsObject.flag = allStrategiesNodeConfigTargetsConfigTarget["Flag"].asString(); - if(!allStrategiesNodeConfigTargetsConfigTarget["TargetType"].isNull()) - configTargetsObject.targetType = allStrategiesNodeConfigTargetsConfigTarget["TargetType"].asString(); - if(!allStrategiesNodeConfigTargetsConfigTarget["Target"].isNull()) - configTargetsObject.target = allStrategiesNodeConfigTargetsConfigTarget["Target"].asString(); - strategiesObject.configTargets.push_back(configTargetsObject); - } - strategies_.push_back(strategiesObject); - } - -} - -std::vector DescribeStratetyResult::getStrategies()const -{ - return strategies_; -} - diff --git a/sas/src/model/DescribeSupportRegionRequest.cc b/sas/src/model/DescribeSupportRegionRequest.cc new file mode 100644 index 000000000..2d90ffd02 --- /dev/null +++ b/sas/src/model/DescribeSupportRegionRequest.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 + +using AlibabaCloud::Sas::Model::DescribeSupportRegionRequest; + +DescribeSupportRegionRequest::DescribeSupportRegionRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeSupportRegion") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeSupportRegionRequest::~DescribeSupportRegionRequest() +{} + +long DescribeSupportRegionRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeSupportRegionRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeSupportRegionRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSupportRegionRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + diff --git a/sas/src/model/DescribeSupportRegionResult.cc b/sas/src/model/DescribeSupportRegionResult.cc new file mode 100644 index 000000000..85d89f33d --- /dev/null +++ b/sas/src/model/DescribeSupportRegionResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeSupportRegionResult::DescribeSupportRegionResult() : + ServiceResult() +{} + +DescribeSupportRegionResult::DescribeSupportRegionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSupportRegionResult::~DescribeSupportRegionResult() +{} + +void DescribeSupportRegionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allSupportRegion = value["SupportRegion"]["StringItem"]; + for (const auto &item : allSupportRegion) + supportRegion_.push_back(item.asString()); + +} + +std::vector DescribeSupportRegionResult::getSupportRegion()const +{ + return supportRegion_; +} + diff --git a/sas/src/model/DescribeSuspEventQuaraFilesRequest.cc b/sas/src/model/DescribeSuspEventQuaraFilesRequest.cc new file mode 100644 index 000000000..d329abdcf --- /dev/null +++ b/sas/src/model/DescribeSuspEventQuaraFilesRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Sas::Model::DescribeSuspEventQuaraFilesRequest; + +DescribeSuspEventQuaraFilesRequest::DescribeSuspEventQuaraFilesRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeSuspEventQuaraFiles") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeSuspEventQuaraFilesRequest::~DescribeSuspEventQuaraFilesRequest() +{} + +std::string DescribeSuspEventQuaraFilesRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSuspEventQuaraFilesRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeSuspEventQuaraFilesRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeSuspEventQuaraFilesRequest::setPageSize(const std::string& pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", pageSize); +} + +std::string DescribeSuspEventQuaraFilesRequest::getFrom()const +{ + return from_; +} + +void DescribeSuspEventQuaraFilesRequest::setFrom(const std::string& from) +{ + from_ = from; + setParameter("From", from); +} + +std::string DescribeSuspEventQuaraFilesRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeSuspEventQuaraFilesRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setParameter("GroupId", groupId); +} + +std::string DescribeSuspEventQuaraFilesRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeSuspEventQuaraFilesRequest::setCurrentPage(const std::string& currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", currentPage); +} + +std::string DescribeSuspEventQuaraFilesRequest::getQuaraTag()const +{ + return quaraTag_; +} + +void DescribeSuspEventQuaraFilesRequest::setQuaraTag(const std::string& quaraTag) +{ + quaraTag_ = quaraTag; + setParameter("QuaraTag", quaraTag); +} + +std::string DescribeSuspEventQuaraFilesRequest::getStatus()const +{ + return status_; +} + +void DescribeSuspEventQuaraFilesRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/sas/src/model/DescribeSuspEventQuaraFilesResult.cc b/sas/src/model/DescribeSuspEventQuaraFilesResult.cc new file mode 100644 index 000000000..1ed1e7ba4 --- /dev/null +++ b/sas/src/model/DescribeSuspEventQuaraFilesResult.cc @@ -0,0 +1,111 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeSuspEventQuaraFilesResult::DescribeSuspEventQuaraFilesResult() : + ServiceResult() +{} + +DescribeSuspEventQuaraFilesResult::DescribeSuspEventQuaraFilesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSuspEventQuaraFilesResult::~DescribeSuspEventQuaraFilesResult() +{} + +void DescribeSuspEventQuaraFilesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allQuaraFilesNode = value["QuaraFiles"]["QuaraFile"]; + for (auto valueQuaraFilesQuaraFile : allQuaraFilesNode) + { + QuaraFile quaraFilesObject; + if(!valueQuaraFilesQuaraFile["Path"].isNull()) + quaraFilesObject.path = valueQuaraFilesQuaraFile["Path"].asString(); + if(!valueQuaraFilesQuaraFile["EventName"].isNull()) + quaraFilesObject.eventName = valueQuaraFilesQuaraFile["EventName"].asString(); + if(!valueQuaraFilesQuaraFile["Id"].isNull()) + quaraFilesObject.id = std::stoi(valueQuaraFilesQuaraFile["Id"].asString()); + if(!valueQuaraFilesQuaraFile["EventType"].isNull()) + quaraFilesObject.eventType = valueQuaraFilesQuaraFile["EventType"].asString(); + if(!valueQuaraFilesQuaraFile["Tag"].isNull()) + quaraFilesObject.tag = valueQuaraFilesQuaraFile["Tag"].asString(); + if(!valueQuaraFilesQuaraFile["Uuid"].isNull()) + quaraFilesObject.uuid = valueQuaraFilesQuaraFile["Uuid"].asString(); + if(!valueQuaraFilesQuaraFile["InstanceId"].isNull()) + quaraFilesObject.instanceId = valueQuaraFilesQuaraFile["InstanceId"].asString(); + if(!valueQuaraFilesQuaraFile["InstanceName"].isNull()) + quaraFilesObject.instanceName = valueQuaraFilesQuaraFile["InstanceName"].asString(); + if(!valueQuaraFilesQuaraFile["InternetIp"].isNull()) + quaraFilesObject.internetIp = valueQuaraFilesQuaraFile["InternetIp"].asString(); + if(!valueQuaraFilesQuaraFile["Ip"].isNull()) + quaraFilesObject.ip = valueQuaraFilesQuaraFile["Ip"].asString(); + if(!valueQuaraFilesQuaraFile["Status"].isNull()) + quaraFilesObject.status = valueQuaraFilesQuaraFile["Status"].asString(); + if(!valueQuaraFilesQuaraFile["Md5"].isNull()) + quaraFilesObject.md5 = valueQuaraFilesQuaraFile["Md5"].asString(); + if(!valueQuaraFilesQuaraFile["ModifyTime"].isNull()) + quaraFilesObject.modifyTime = valueQuaraFilesQuaraFile["ModifyTime"].asString(); + if(!valueQuaraFilesQuaraFile["Link"].isNull()) + quaraFilesObject.link = valueQuaraFilesQuaraFile["Link"].asString(); + quaraFiles_.push_back(quaraFilesObject); + } + if(!value["Count"].isNull()) + count_ = std::stoi(value["Count"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + +} + +int DescribeSuspEventQuaraFilesResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeSuspEventQuaraFilesResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeSuspEventQuaraFilesResult::getCurrentPage()const +{ + return currentPage_; +} + +std::vector DescribeSuspEventQuaraFilesResult::getQuaraFiles()const +{ + return quaraFiles_; +} + +int DescribeSuspEventQuaraFilesResult::getCount()const +{ + return count_; +} + diff --git a/sas/src/model/DescribeSuspEventsRequest.cc b/sas/src/model/DescribeSuspEventsRequest.cc index bdc16fd2e..a4c54dcd4 100644 --- a/sas/src/model/DescribeSuspEventsRequest.cc +++ b/sas/src/model/DescribeSuspEventsRequest.cc @@ -27,6 +27,17 @@ DescribeSuspEventsRequest::DescribeSuspEventsRequest() : DescribeSuspEventsRequest::~DescribeSuspEventsRequest() {} +std::string DescribeSuspEventsRequest::getTargetType()const +{ + return targetType_; +} + +void DescribeSuspEventsRequest::setTargetType(const std::string& targetType) +{ + targetType_ = targetType; + setParameter("TargetType", targetType); +} + std::string DescribeSuspEventsRequest::getRemark()const { return remark_; @@ -38,6 +49,28 @@ void DescribeSuspEventsRequest::setRemark(const std::string& remark) setParameter("Remark", remark); } +std::string DescribeSuspEventsRequest::getSource()const +{ + return source_; +} + +void DescribeSuspEventsRequest::setSource(const std::string& source) +{ + source_ = source; + setParameter("Source", source); +} + +std::string DescribeSuspEventsRequest::getContainerFieldName()const +{ + return containerFieldName_; +} + +void DescribeSuspEventsRequest::setContainerFieldName(const std::string& containerFieldName) +{ + containerFieldName_ = containerFieldName; + setParameter("ContainerFieldName", containerFieldName); +} + std::string DescribeSuspEventsRequest::getSourceIp()const { return sourceIp_; @@ -49,6 +82,17 @@ void DescribeSuspEventsRequest::setSourceIp(const std::string& sourceIp) setParameter("SourceIp", sourceIp); } +std::string DescribeSuspEventsRequest::getContainerFieldValue()const +{ + return containerFieldValue_; +} + +void DescribeSuspEventsRequest::setContainerFieldValue(const std::string& containerFieldValue) +{ + containerFieldValue_ = containerFieldValue; + setParameter("ContainerFieldValue", containerFieldValue); +} + std::string DescribeSuspEventsRequest::getPageSize()const { return pageSize_; @@ -93,6 +137,28 @@ void DescribeSuspEventsRequest::setAlarmUniqueInfo(const std::string& alarmUniqu setParameter("AlarmUniqueInfo", alarmUniqueInfo); } +std::string DescribeSuspEventsRequest::getUniqueInfo()const +{ + return uniqueInfo_; +} + +void DescribeSuspEventsRequest::setUniqueInfo(const std::string& uniqueInfo) +{ + uniqueInfo_ = uniqueInfo; + setParameter("UniqueInfo", uniqueInfo); +} + +long DescribeSuspEventsRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeSuspEventsRequest::setGroupId(long groupId) +{ + groupId_ = groupId; + setParameter("GroupId", std::to_string(groupId)); +} + std::string DescribeSuspEventsRequest::getDealed()const { return dealed_; @@ -115,6 +181,30 @@ void DescribeSuspEventsRequest::setCurrentPage(const std::string& currentPage) setParameter("CurrentPage", currentPage); } +std::string DescribeSuspEventsRequest::getClusterId()const +{ + return clusterId_; +} + +void DescribeSuspEventsRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::vector DescribeSuspEventsRequest::getOperateErrorCodeList()const +{ + return operateErrorCodeList_; +} + +void DescribeSuspEventsRequest::setOperateErrorCodeList(const std::vector& operateErrorCodeList) +{ + operateErrorCodeList_ = operateErrorCodeList; + for(int dep1 = 0; dep1!= operateErrorCodeList.size(); dep1++) { + setParameter("OperateErrorCodeList."+ std::to_string(dep1), operateErrorCodeList.at(dep1)); + } +} + std::string DescribeSuspEventsRequest::getName()const { return name_; @@ -148,3 +238,25 @@ void DescribeSuspEventsRequest::setParentEventTypes(const std::string& parentEve setParameter("ParentEventTypes", parentEventTypes); } +std::string DescribeSuspEventsRequest::getStatus()const +{ + return status_; +} + +void DescribeSuspEventsRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + +std::string DescribeSuspEventsRequest::getUuids()const +{ + return uuids_; +} + +void DescribeSuspEventsRequest::setUuids(const std::string& uuids) +{ + uuids_ = uuids; + setParameter("Uuids", uuids); +} + diff --git a/sas/src/model/DescribeSuspEventsResult.cc b/sas/src/model/DescribeSuspEventsResult.cc index b59d4fea6..2d3c09445 100644 --- a/sas/src/model/DescribeSuspEventsResult.cc +++ b/sas/src/model/DescribeSuspEventsResult.cc @@ -45,14 +45,22 @@ void DescribeSuspEventsResult::parse(const std::string &payload) WarningSummary suspEventsObject; if(!valueSuspEventsWarningSummary["LastTime"].isNull()) suspEventsObject.lastTime = valueSuspEventsWarningSummary["LastTime"].asString(); + if(!valueSuspEventsWarningSummary["LastTimeStamp"].isNull()) + suspEventsObject.lastTimeStamp = std::stol(valueSuspEventsWarningSummary["LastTimeStamp"].asString()); if(!valueSuspEventsWarningSummary["OccurrenceTime"].isNull()) suspEventsObject.occurrenceTime = valueSuspEventsWarningSummary["OccurrenceTime"].asString(); + if(!valueSuspEventsWarningSummary["OccurrenceTimeStamp"].isNull()) + suspEventsObject.occurrenceTimeStamp = std::stol(valueSuspEventsWarningSummary["OccurrenceTimeStamp"].asString()); if(!valueSuspEventsWarningSummary["Id"].isNull()) suspEventsObject.id = std::stol(valueSuspEventsWarningSummary["Id"].asString()); + if(!valueSuspEventsWarningSummary["SecurityEventIds"].isNull()) + suspEventsObject.securityEventIds = valueSuspEventsWarningSummary["SecurityEventIds"].asString(); if(!valueSuspEventsWarningSummary["UniqueInfo"].isNull()) suspEventsObject.uniqueInfo = valueSuspEventsWarningSummary["UniqueInfo"].asString(); if(!valueSuspEventsWarningSummary["InstanceName"].isNull()) suspEventsObject.instanceName = valueSuspEventsWarningSummary["InstanceName"].asString(); + if(!valueSuspEventsWarningSummary["InstanceId"].isNull()) + suspEventsObject.instanceId = valueSuspEventsWarningSummary["InstanceId"].asString(); if(!valueSuspEventsWarningSummary["InternetIp"].isNull()) suspEventsObject.internetIp = valueSuspEventsWarningSummary["InternetIp"].asString(); if(!valueSuspEventsWarningSummary["IntranetIp"].isNull()) @@ -71,6 +79,10 @@ void DescribeSuspEventsResult::parse(const std::string &payload) suspEventsObject.desc = valueSuspEventsWarningSummary["Desc"].asString(); if(!valueSuspEventsWarningSummary["OperateMsg"].isNull()) suspEventsObject.operateMsg = valueSuspEventsWarningSummary["OperateMsg"].asString(); + if(!valueSuspEventsWarningSummary["OperateErrorCode"].isNull()) + suspEventsObject.operateErrorCode = valueSuspEventsWarningSummary["OperateErrorCode"].asString(); + if(!valueSuspEventsWarningSummary["OperateTime"].isNull()) + suspEventsObject.operateTime = std::stol(valueSuspEventsWarningSummary["OperateTime"].asString()); if(!valueSuspEventsWarningSummary["DataSource"].isNull()) suspEventsObject.dataSource = valueSuspEventsWarningSummary["DataSource"].asString(); if(!valueSuspEventsWarningSummary["CanBeDealOnLine"].isNull()) @@ -85,6 +97,72 @@ void DescribeSuspEventsResult::parse(const std::string &payload) suspEventsObject.alarmUniqueInfo = valueSuspEventsWarningSummary["AlarmUniqueInfo"].asString(); if(!valueSuspEventsWarningSummary["Advanced"].isNull()) suspEventsObject.advanced = valueSuspEventsWarningSummary["Advanced"].asString() == "true"; + if(!valueSuspEventsWarningSummary["MarkMisRules"].isNull()) + suspEventsObject.markMisRules = valueSuspEventsWarningSummary["MarkMisRules"].asString(); + if(!valueSuspEventsWarningSummary["Stages"].isNull()) + suspEventsObject.stages = valueSuspEventsWarningSummary["Stages"].asString(); + if(!valueSuspEventsWarningSummary["AlarmEventTypeDisplay"].isNull()) + suspEventsObject.alarmEventTypeDisplay = valueSuspEventsWarningSummary["AlarmEventTypeDisplay"].asString(); + if(!valueSuspEventsWarningSummary["AlarmEventNameDisplay"].isNull()) + suspEventsObject.alarmEventNameDisplay = valueSuspEventsWarningSummary["AlarmEventNameDisplay"].asString(); + if(!valueSuspEventsWarningSummary["CanCancelFault"].isNull()) + suspEventsObject.canCancelFault = valueSuspEventsWarningSummary["CanCancelFault"].asString() == "true"; + if(!valueSuspEventsWarningSummary["HasTraceInfo"].isNull()) + suspEventsObject.hasTraceInfo = valueSuspEventsWarningSummary["HasTraceInfo"].asString() == "true"; + if(!valueSuspEventsWarningSummary["AutoBreaking"].isNull()) + suspEventsObject.autoBreaking = valueSuspEventsWarningSummary["AutoBreaking"].asString() == "true"; + if(!valueSuspEventsWarningSummary["ContainHwMode"].isNull()) + suspEventsObject.containHwMode = valueSuspEventsWarningSummary["ContainHwMode"].asString() == "true"; + if(!valueSuspEventsWarningSummary["ContainerImageId"].isNull()) + suspEventsObject.containerImageId = valueSuspEventsWarningSummary["ContainerImageId"].asString(); + if(!valueSuspEventsWarningSummary["ContainerImageName"].isNull()) + suspEventsObject.containerImageName = valueSuspEventsWarningSummary["ContainerImageName"].asString(); + if(!valueSuspEventsWarningSummary["ContainerId"].isNull()) + suspEventsObject.containerId = valueSuspEventsWarningSummary["ContainerId"].asString(); + if(!valueSuspEventsWarningSummary["K8sNamespace"].isNull()) + suspEventsObject.k8sNamespace = valueSuspEventsWarningSummary["K8sNamespace"].asString(); + if(!valueSuspEventsWarningSummary["K8sClusterId"].isNull()) + suspEventsObject.k8sClusterId = valueSuspEventsWarningSummary["K8sClusterId"].asString(); + if(!valueSuspEventsWarningSummary["K8sClusterName"].isNull()) + suspEventsObject.k8sClusterName = valueSuspEventsWarningSummary["K8sClusterName"].asString(); + if(!valueSuspEventsWarningSummary["K8sNodeId"].isNull()) + suspEventsObject.k8sNodeId = valueSuspEventsWarningSummary["K8sNodeId"].asString(); + if(!valueSuspEventsWarningSummary["K8sPodName"].isNull()) + suspEventsObject.k8sPodName = valueSuspEventsWarningSummary["K8sPodName"].asString(); + if(!valueSuspEventsWarningSummary["K8sNodeName"].isNull()) + suspEventsObject.k8sNodeName = valueSuspEventsWarningSummary["K8sNodeName"].asString(); + if(!valueSuspEventsWarningSummary["AppName"].isNull()) + suspEventsObject.appName = valueSuspEventsWarningSummary["AppName"].asString(); + auto allDetailsNode = valueSuspEventsWarningSummary["Details"]["QuaraFile"]; + for (auto valueSuspEventsWarningSummaryDetailsQuaraFile : allDetailsNode) + { + WarningSummary::QuaraFile detailsObject; + if(!valueSuspEventsWarningSummaryDetailsQuaraFile["Name"].isNull()) + detailsObject.name = valueSuspEventsWarningSummaryDetailsQuaraFile["Name"].asString(); + if(!valueSuspEventsWarningSummaryDetailsQuaraFile["NameDisplay"].isNull()) + detailsObject.nameDisplay = valueSuspEventsWarningSummaryDetailsQuaraFile["NameDisplay"].asString(); + if(!valueSuspEventsWarningSummaryDetailsQuaraFile["Type"].isNull()) + detailsObject.type = valueSuspEventsWarningSummaryDetailsQuaraFile["Type"].asString(); + if(!valueSuspEventsWarningSummaryDetailsQuaraFile["InfoType"].isNull()) + detailsObject.infoType = valueSuspEventsWarningSummaryDetailsQuaraFile["InfoType"].asString(); + if(!valueSuspEventsWarningSummaryDetailsQuaraFile["Value"].isNull()) + detailsObject.value = valueSuspEventsWarningSummaryDetailsQuaraFile["Value"].asString(); + if(!valueSuspEventsWarningSummaryDetailsQuaraFile["ValueDisplay"].isNull()) + detailsObject.valueDisplay = valueSuspEventsWarningSummaryDetailsQuaraFile["ValueDisplay"].asString(); + suspEventsObject.details.push_back(detailsObject); + } + auto allEventNotesNode = valueSuspEventsWarningSummary["EventNotes"]["EventNote"]; + for (auto valueSuspEventsWarningSummaryEventNotesEventNote : allEventNotesNode) + { + WarningSummary::EventNote eventNotesObject; + if(!valueSuspEventsWarningSummaryEventNotesEventNote["NoteTime"].isNull()) + eventNotesObject.noteTime = valueSuspEventsWarningSummaryEventNotesEventNote["NoteTime"].asString(); + if(!valueSuspEventsWarningSummaryEventNotesEventNote["Note"].isNull()) + eventNotesObject.note = valueSuspEventsWarningSummaryEventNotesEventNote["Note"].asString(); + if(!valueSuspEventsWarningSummaryEventNotesEventNote["NoteId"].isNull()) + eventNotesObject.noteId = std::stol(valueSuspEventsWarningSummaryEventNotesEventNote["NoteId"].asString()); + suspEventsObject.eventNotes.push_back(eventNotesObject); + } suspEvents_.push_back(suspEventsObject); } if(!value["Count"].isNull()) diff --git a/sas/src/model/DescribeUserBackupMachinesRequest.cc b/sas/src/model/DescribeUserBackupMachinesRequest.cc new file mode 100644 index 000000000..e9062d19b --- /dev/null +++ b/sas/src/model/DescribeUserBackupMachinesRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::DescribeUserBackupMachinesRequest; + +DescribeUserBackupMachinesRequest::DescribeUserBackupMachinesRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeUserBackupMachines") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeUserBackupMachinesRequest::~DescribeUserBackupMachinesRequest() +{} + +long DescribeUserBackupMachinesRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeUserBackupMachinesRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +int DescribeUserBackupMachinesRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeUserBackupMachinesRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeUserBackupMachinesRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeUserBackupMachinesRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +int DescribeUserBackupMachinesRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeUserBackupMachinesRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + diff --git a/sas/src/model/DescribeUserBackupMachinesResult.cc b/sas/src/model/DescribeUserBackupMachinesResult.cc new file mode 100644 index 000000000..977cca42c --- /dev/null +++ b/sas/src/model/DescribeUserBackupMachinesResult.cc @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeUserBackupMachinesResult::DescribeUserBackupMachinesResult() : + ServiceResult() +{} + +DescribeUserBackupMachinesResult::DescribeUserBackupMachinesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeUserBackupMachinesResult::~DescribeUserBackupMachinesResult() +{} + +void DescribeUserBackupMachinesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allMachinesNode = value["Machines"]["SimpleBackupMachine"]; + for (auto valueMachinesSimpleBackupMachine : allMachinesNode) + { + SimpleBackupMachine machinesObject; + if(!valueMachinesSimpleBackupMachine["Id"].isNull()) + machinesObject.id = std::stol(valueMachinesSimpleBackupMachine["Id"].asString()); + if(!valueMachinesSimpleBackupMachine["Uuid"].isNull()) + machinesObject.uuid = valueMachinesSimpleBackupMachine["Uuid"].asString(); + if(!valueMachinesSimpleBackupMachine["PolicyName"].isNull()) + machinesObject.policyName = valueMachinesSimpleBackupMachine["PolicyName"].asString(); + machines_.push_back(machinesObject); + } + +} + +std::vector DescribeUserBackupMachinesResult::getMachines()const +{ + return machines_; +} + diff --git a/sas/src/model/DescribeUuidsByVulNamesRequest.cc b/sas/src/model/DescribeUuidsByVulNamesRequest.cc new file mode 100644 index 000000000..ca4b1e26a --- /dev/null +++ b/sas/src/model/DescribeUuidsByVulNamesRequest.cc @@ -0,0 +1,207 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::DescribeUuidsByVulNamesRequest; + +DescribeUuidsByVulNamesRequest::DescribeUuidsByVulNamesRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeUuidsByVulNames") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeUuidsByVulNamesRequest::~DescribeUuidsByVulNamesRequest() +{} + +std::string DescribeUuidsByVulNamesRequest::getStatusList()const +{ + return statusList_; +} + +void DescribeUuidsByVulNamesRequest::setStatusList(const std::string& statusList) +{ + statusList_ = statusList; + setParameter("StatusList", statusList); +} + +std::string DescribeUuidsByVulNamesRequest::getTargetType()const +{ + return targetType_; +} + +void DescribeUuidsByVulNamesRequest::setTargetType(const std::string& targetType) +{ + targetType_ = targetType; + setParameter("TargetType", targetType); +} + +std::string DescribeUuidsByVulNamesRequest::getRemark()const +{ + return remark_; +} + +void DescribeUuidsByVulNamesRequest::setRemark(const std::string& remark) +{ + remark_ = remark; + setParameter("Remark", remark); +} + +std::string DescribeUuidsByVulNamesRequest::getType()const +{ + return type_; +} + +void DescribeUuidsByVulNamesRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +std::string DescribeUuidsByVulNamesRequest::getVpcInstanceIds()const +{ + return vpcInstanceIds_; +} + +void DescribeUuidsByVulNamesRequest::setVpcInstanceIds(const std::string& vpcInstanceIds) +{ + vpcInstanceIds_ = vpcInstanceIds; + setParameter("VpcInstanceIds", vpcInstanceIds); +} + +std::vector DescribeUuidsByVulNamesRequest::getVulNames()const +{ + return vulNames_; +} + +void DescribeUuidsByVulNamesRequest::setVulNames(const std::vector& vulNames) +{ + vulNames_ = vulNames; + for(int dep1 = 0; dep1!= vulNames.size(); dep1++) { + setParameter("VulNames."+ std::to_string(dep1), vulNames.at(dep1)); + } +} + +std::string DescribeUuidsByVulNamesRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeUuidsByVulNamesRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeUuidsByVulNamesRequest::getTag()const +{ + return tag_; +} + +void DescribeUuidsByVulNamesRequest::setTag(const std::string& tag) +{ + tag_ = tag; + setParameter("Tag", tag); +} + +std::string DescribeUuidsByVulNamesRequest::getLang()const +{ + return lang_; +} + +void DescribeUuidsByVulNamesRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribeUuidsByVulNamesRequest::getLevel()const +{ + return level_; +} + +void DescribeUuidsByVulNamesRequest::setLevel(const std::string& level) +{ + level_ = level; + setParameter("Level", level); +} + +long DescribeUuidsByVulNamesRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeUuidsByVulNamesRequest::setGroupId(long groupId) +{ + groupId_ = groupId; + setParameter("GroupId", std::to_string(groupId)); +} + +std::string DescribeUuidsByVulNamesRequest::getDealed()const +{ + return dealed_; +} + +void DescribeUuidsByVulNamesRequest::setDealed(const std::string& dealed) +{ + dealed_ = dealed; + setParameter("Dealed", dealed); +} + +std::string DescribeUuidsByVulNamesRequest::getFieldValue()const +{ + return fieldValue_; +} + +void DescribeUuidsByVulNamesRequest::setFieldValue(const std::string& fieldValue) +{ + fieldValue_ = fieldValue; + setParameter("FieldValue", fieldValue); +} + +std::string DescribeUuidsByVulNamesRequest::getFieldName()const +{ + return fieldName_; +} + +void DescribeUuidsByVulNamesRequest::setFieldName(const std::string& fieldName) +{ + fieldName_ = fieldName; + setParameter("FieldName", fieldName); +} + +std::string DescribeUuidsByVulNamesRequest::getSearchTags()const +{ + return searchTags_; +} + +void DescribeUuidsByVulNamesRequest::setSearchTags(const std::string& searchTags) +{ + searchTags_ = searchTags; + setParameter("SearchTags", searchTags); +} + +std::string DescribeUuidsByVulNamesRequest::getNecessity()const +{ + return necessity_; +} + +void DescribeUuidsByVulNamesRequest::setNecessity(const std::string& necessity) +{ + necessity_ = necessity; + setParameter("Necessity", necessity); +} + diff --git a/sas/src/model/DescribeUuidsByVulNamesResult.cc b/sas/src/model/DescribeUuidsByVulNamesResult.cc new file mode 100644 index 000000000..55b299141 --- /dev/null +++ b/sas/src/model/DescribeUuidsByVulNamesResult.cc @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeUuidsByVulNamesResult::DescribeUuidsByVulNamesResult() : + ServiceResult() +{} + +DescribeUuidsByVulNamesResult::DescribeUuidsByVulNamesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeUuidsByVulNamesResult::~DescribeUuidsByVulNamesResult() +{} + +void DescribeUuidsByVulNamesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allMachineInfoStatisticsNode = value["MachineInfoStatistics"]["MachineInfoStatistic"]; + for (auto valueMachineInfoStatisticsMachineInfoStatistic : allMachineInfoStatisticsNode) + { + MachineInfoStatistic machineInfoStatisticsObject; + if(!valueMachineInfoStatisticsMachineInfoStatistic["MachineIp"].isNull()) + machineInfoStatisticsObject.machineIp = valueMachineInfoStatisticsMachineInfoStatistic["MachineIp"].asString(); + if(!valueMachineInfoStatisticsMachineInfoStatistic["MachineName"].isNull()) + machineInfoStatisticsObject.machineName = valueMachineInfoStatisticsMachineInfoStatistic["MachineName"].asString(); + if(!valueMachineInfoStatisticsMachineInfoStatistic["Os"].isNull()) + machineInfoStatisticsObject.os = valueMachineInfoStatisticsMachineInfoStatistic["Os"].asString(); + if(!valueMachineInfoStatisticsMachineInfoStatistic["MachineInstanceId"].isNull()) + machineInfoStatisticsObject.machineInstanceId = valueMachineInfoStatisticsMachineInfoStatistic["MachineInstanceId"].asString(); + if(!valueMachineInfoStatisticsMachineInfoStatistic["Uuid"].isNull()) + machineInfoStatisticsObject.uuid = valueMachineInfoStatisticsMachineInfoStatistic["Uuid"].asString(); + if(!valueMachineInfoStatisticsMachineInfoStatistic["RegionId"].isNull()) + machineInfoStatisticsObject.regionId = valueMachineInfoStatisticsMachineInfoStatistic["RegionId"].asString(); + machineInfoStatistics_.push_back(machineInfoStatisticsObject); + } + +} + +std::vector DescribeUuidsByVulNamesResult::getMachineInfoStatistics()const +{ + return machineInfoStatistics_; +} + diff --git a/sas/src/model/DescribeVersionConfigRequest.cc b/sas/src/model/DescribeVersionConfigRequest.cc new file mode 100644 index 000000000..0c8363353 --- /dev/null +++ b/sas/src/model/DescribeVersionConfigRequest.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 + +using AlibabaCloud::Sas::Model::DescribeVersionConfigRequest; + +DescribeVersionConfigRequest::DescribeVersionConfigRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeVersionConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeVersionConfigRequest::~DescribeVersionConfigRequest() +{} + +std::string DescribeVersionConfigRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeVersionConfigRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeVersionConfigRequest::getResourceDirectoryAccountId()const +{ + return resourceDirectoryAccountId_; +} + +void DescribeVersionConfigRequest::setResourceDirectoryAccountId(const std::string& resourceDirectoryAccountId) +{ + resourceDirectoryAccountId_ = resourceDirectoryAccountId; + setParameter("ResourceDirectoryAccountId", resourceDirectoryAccountId); +} + diff --git a/sas/src/model/DescribeVersionConfigResult.cc b/sas/src/model/DescribeVersionConfigResult.cc new file mode 100644 index 000000000..009cdfbd5 --- /dev/null +++ b/sas/src/model/DescribeVersionConfigResult.cc @@ -0,0 +1,219 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeVersionConfigResult::DescribeVersionConfigResult() : + ServiceResult() +{} + +DescribeVersionConfigResult::DescribeVersionConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVersionConfigResult::~DescribeVersionConfigResult() +{} + +void DescribeVersionConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["AssetLevel"].isNull()) + assetLevel_ = std::stoi(value["AssetLevel"].asString()); + if(!value["AvdsFlag"].isNull()) + avdsFlag_ = std::stoi(value["AvdsFlag"].asString()); + if(!value["CreateTime"].isNull()) + createTime_ = std::stol(value["CreateTime"].asString()); + if(!value["Flag"].isNull()) + flag_ = std::stoi(value["Flag"].asString()); + if(!value["InstanceId"].isNull()) + instanceId_ = value["InstanceId"].asString(); + if(!value["IsSasOpening"].isNull()) + isSasOpening_ = value["IsSasOpening"].asString() == "true"; + if(!value["IsTrialVersion"].isNull()) + isTrialVersion_ = std::stoi(value["IsTrialVersion"].asString()); + if(!value["LogCapacity"].isNull()) + logCapacity_ = std::stoi(value["LogCapacity"].asString()); + if(!value["LogTime"].isNull()) + logTime_ = std::stoi(value["LogTime"].asString()); + if(!value["ReleaseTime"].isNull()) + releaseTime_ = std::stol(value["ReleaseTime"].asString()); + if(!value["SasLog"].isNull()) + sasLog_ = std::stoi(value["SasLog"].asString()); + if(!value["SasScreen"].isNull()) + sasScreen_ = std::stoi(value["SasScreen"].asString()); + if(!value["Version"].isNull()) + version_ = std::stoi(value["Version"].asString()); + if(!value["UserDefinedAlarms"].isNull()) + userDefinedAlarms_ = std::stoi(value["UserDefinedAlarms"].asString()); + if(!value["WebLock"].isNull()) + webLock_ = std::stoi(value["WebLock"].asString()); + if(!value["WebLockAuthCount"].isNull()) + webLockAuthCount_ = std::stol(value["WebLockAuthCount"].asString()); + if(!value["AppWhiteListAuthCount"].isNull()) + appWhiteListAuthCount_ = std::stol(value["AppWhiteListAuthCount"].asString()); + if(!value["AppWhiteList"].isNull()) + appWhiteList_ = std::stoi(value["AppWhiteList"].asString()); + if(!value["SlsCapacity"].isNull()) + slsCapacity_ = std::stol(value["SlsCapacity"].asString()); + if(!value["IsOverBalance"].isNull()) + isOverBalance_ = value["IsOverBalance"].asString() == "true"; + if(!value["LastTrailEndTime"].isNull()) + lastTrailEndTime_ = std::stol(value["LastTrailEndTime"].asString()); + if(!value["HoneypotCapacity"].isNull()) + honeypotCapacity_ = std::stol(value["HoneypotCapacity"].asString()); + if(!value["ImageScanCapacity"].isNull()) + imageScanCapacity_ = std::stol(value["ImageScanCapacity"].asString()); + if(!value["VmCores"].isNull()) + vmCores_ = std::stoi(value["VmCores"].asString()); + if(!value["IsPaidUser"].isNull()) + isPaidUser_ = value["IsPaidUser"].asString() == "true"; + +} + +bool DescribeVersionConfigResult::getIsPaidUser()const +{ + return isPaidUser_; +} + +long DescribeVersionConfigResult::getImageScanCapacity()const +{ + return imageScanCapacity_; +} + +long DescribeVersionConfigResult::getAppWhiteListAuthCount()const +{ + return appWhiteListAuthCount_; +} + +int DescribeVersionConfigResult::getLogTime()const +{ + return logTime_; +} + +int DescribeVersionConfigResult::getSasLog()const +{ + return sasLog_; +} + +int DescribeVersionConfigResult::getVersion()const +{ + return version_; +} + +int DescribeVersionConfigResult::getAvdsFlag()const +{ + return avdsFlag_; +} + +long DescribeVersionConfigResult::getWebLockAuthCount()const +{ + return webLockAuthCount_; +} + +long DescribeVersionConfigResult::getSlsCapacity()const +{ + return slsCapacity_; +} + +long DescribeVersionConfigResult::getLastTrailEndTime()const +{ + return lastTrailEndTime_; +} + +int DescribeVersionConfigResult::getUserDefinedAlarms()const +{ + return userDefinedAlarms_; +} + +int DescribeVersionConfigResult::getWebLock()const +{ + return webLock_; +} + +bool DescribeVersionConfigResult::getIsOverBalance()const +{ + return isOverBalance_; +} + +int DescribeVersionConfigResult::getVmCores()const +{ + return vmCores_; +} + +long DescribeVersionConfigResult::getHoneypotCapacity()const +{ + return honeypotCapacity_; +} + +int DescribeVersionConfigResult::getAssetLevel()const +{ + return assetLevel_; +} + +std::string DescribeVersionConfigResult::getInstanceId()const +{ + return instanceId_; +} + +long DescribeVersionConfigResult::getCreateTime()const +{ + return createTime_; +} + +int DescribeVersionConfigResult::getSasScreen()const +{ + return sasScreen_; +} + +bool DescribeVersionConfigResult::getIsSasOpening()const +{ + return isSasOpening_; +} + +int DescribeVersionConfigResult::getLogCapacity()const +{ + return logCapacity_; +} + +int DescribeVersionConfigResult::getFlag()const +{ + return flag_; +} + +long DescribeVersionConfigResult::getReleaseTime()const +{ + return releaseTime_; +} + +int DescribeVersionConfigResult::getIsTrialVersion()const +{ + return isTrialVersion_; +} + +int DescribeVersionConfigResult::getAppWhiteList()const +{ + return appWhiteList_; +} + diff --git a/sas/src/model/DescribeVpcHoneyPotCriteriaRequest.cc b/sas/src/model/DescribeVpcHoneyPotCriteriaRequest.cc new file mode 100644 index 000000000..2b2bd8c79 --- /dev/null +++ b/sas/src/model/DescribeVpcHoneyPotCriteriaRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::DescribeVpcHoneyPotCriteriaRequest; + +DescribeVpcHoneyPotCriteriaRequest::DescribeVpcHoneyPotCriteriaRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeVpcHoneyPotCriteria") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeVpcHoneyPotCriteriaRequest::~DescribeVpcHoneyPotCriteriaRequest() +{} + +std::string DescribeVpcHoneyPotCriteriaRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeVpcHoneyPotCriteriaRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + diff --git a/sas/src/model/DescribeVpcHoneyPotCriteriaResult.cc b/sas/src/model/DescribeVpcHoneyPotCriteriaResult.cc new file mode 100644 index 000000000..ac654abd9 --- /dev/null +++ b/sas/src/model/DescribeVpcHoneyPotCriteriaResult.cc @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeVpcHoneyPotCriteriaResult::DescribeVpcHoneyPotCriteriaResult() : + ServiceResult() +{} + +DescribeVpcHoneyPotCriteriaResult::DescribeVpcHoneyPotCriteriaResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVpcHoneyPotCriteriaResult::~DescribeVpcHoneyPotCriteriaResult() +{} + +void DescribeVpcHoneyPotCriteriaResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allCriteriaListNode = value["CriteriaList"]["Criteria"]; + for (auto valueCriteriaListCriteria : allCriteriaListNode) + { + Criteria criteriaListObject; + if(!valueCriteriaListCriteria["Values"].isNull()) + criteriaListObject.values = valueCriteriaListCriteria["Values"].asString(); + if(!valueCriteriaListCriteria["Name"].isNull()) + criteriaListObject.name = valueCriteriaListCriteria["Name"].asString(); + if(!valueCriteriaListCriteria["Type"].isNull()) + criteriaListObject.type = valueCriteriaListCriteria["Type"].asString(); + criteriaList_.push_back(criteriaListObject); + } + +} + +std::vector DescribeVpcHoneyPotCriteriaResult::getCriteriaList()const +{ + return criteriaList_; +} + diff --git a/sas/src/model/DescribeVpcHoneyPotListRequest.cc b/sas/src/model/DescribeVpcHoneyPotListRequest.cc new file mode 100644 index 000000000..37253d6f4 --- /dev/null +++ b/sas/src/model/DescribeVpcHoneyPotListRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Sas::Model::DescribeVpcHoneyPotListRequest; + +DescribeVpcHoneyPotListRequest::DescribeVpcHoneyPotListRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeVpcHoneyPotList") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeVpcHoneyPotListRequest::~DescribeVpcHoneyPotListRequest() +{} + +std::string DescribeVpcHoneyPotListRequest::getVpcName()const +{ + return vpcName_; +} + +void DescribeVpcHoneyPotListRequest::setVpcName(const std::string& vpcName) +{ + vpcName_ = vpcName; + setParameter("VpcName", vpcName); +} + +std::string DescribeVpcHoneyPotListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeVpcHoneyPotListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +int DescribeVpcHoneyPotListRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeVpcHoneyPotListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +bool DescribeVpcHoneyPotListRequest::getHoneyPotExistence()const +{ + return honeyPotExistence_; +} + +void DescribeVpcHoneyPotListRequest::setHoneyPotExistence(bool honeyPotExistence) +{ + honeyPotExistence_ = honeyPotExistence; + setParameter("HoneyPotExistence", honeyPotExistence ? "true" : "false"); +} + +std::string DescribeVpcHoneyPotListRequest::getVpcRegionId()const +{ + return vpcRegionId_; +} + +void DescribeVpcHoneyPotListRequest::setVpcRegionId(const std::string& vpcRegionId) +{ + vpcRegionId_ = vpcRegionId; + setParameter("VpcRegionId", vpcRegionId); +} + +int DescribeVpcHoneyPotListRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeVpcHoneyPotListRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeVpcHoneyPotListRequest::getVpcId()const +{ + return vpcId_; +} + +void DescribeVpcHoneyPotListRequest::setVpcId(const std::string& vpcId) +{ + vpcId_ = vpcId; + setParameter("VpcId", vpcId); +} + diff --git a/sas/src/model/DescribeVpcHoneyPotListResult.cc b/sas/src/model/DescribeVpcHoneyPotListResult.cc new file mode 100644 index 000000000..faf4330e2 --- /dev/null +++ b/sas/src/model/DescribeVpcHoneyPotListResult.cc @@ -0,0 +1,103 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeVpcHoneyPotListResult::DescribeVpcHoneyPotListResult() : + ServiceResult() +{} + +DescribeVpcHoneyPotListResult::DescribeVpcHoneyPotListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVpcHoneyPotListResult::~DescribeVpcHoneyPotListResult() +{} + +void DescribeVpcHoneyPotListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allVpcHoneyPotDTOListNode = value["VpcHoneyPotDTOList"]["VpcHoneyPotDTO"]; + for (auto valueVpcHoneyPotDTOListVpcHoneyPotDTO : allVpcHoneyPotDTOListNode) + { + VpcHoneyPotDTO vpcHoneyPotDTOListObject; + if(!valueVpcHoneyPotDTOListVpcHoneyPotDTO["VpcId"].isNull()) + vpcHoneyPotDTOListObject.vpcId = valueVpcHoneyPotDTOListVpcHoneyPotDTO["VpcId"].asString(); + if(!valueVpcHoneyPotDTOListVpcHoneyPotDTO["VpcName"].isNull()) + vpcHoneyPotDTOListObject.vpcName = valueVpcHoneyPotDTOListVpcHoneyPotDTO["VpcName"].asString(); + if(!valueVpcHoneyPotDTOListVpcHoneyPotDTO["VpcRegionId"].isNull()) + vpcHoneyPotDTOListObject.vpcRegionId = valueVpcHoneyPotDTOListVpcHoneyPotDTO["VpcRegionId"].asString(); + if(!valueVpcHoneyPotDTOListVpcHoneyPotDTO["CreateTime"].isNull()) + vpcHoneyPotDTOListObject.createTime = std::stol(valueVpcHoneyPotDTOListVpcHoneyPotDTO["CreateTime"].asString()); + if(!valueVpcHoneyPotDTOListVpcHoneyPotDTO["VpcStatus"].isNull()) + vpcHoneyPotDTOListObject.vpcStatus = valueVpcHoneyPotDTOListVpcHoneyPotDTO["VpcStatus"].asString(); + if(!valueVpcHoneyPotDTOListVpcHoneyPotDTO["CidrBlock"].isNull()) + vpcHoneyPotDTOListObject.cidrBlock = valueVpcHoneyPotDTOListVpcHoneyPotDTO["CidrBlock"].asString(); + if(!valueVpcHoneyPotDTOListVpcHoneyPotDTO["HoneyPotExistence"].isNull()) + vpcHoneyPotDTOListObject.honeyPotExistence = valueVpcHoneyPotDTOListVpcHoneyPotDTO["HoneyPotExistence"].asString() == "true"; + if(!valueVpcHoneyPotDTOListVpcHoneyPotDTO["HoneyPotVpcSwitchId"].isNull()) + vpcHoneyPotDTOListObject.honeyPotVpcSwitchId = valueVpcHoneyPotDTOListVpcHoneyPotDTO["HoneyPotVpcSwitchId"].asString(); + if(!valueVpcHoneyPotDTOListVpcHoneyPotDTO["HoneyPotInstanceStatus"].isNull()) + vpcHoneyPotDTOListObject.honeyPotInstanceStatus = valueVpcHoneyPotDTOListVpcHoneyPotDTO["HoneyPotInstanceStatus"].asString(); + if(!valueVpcHoneyPotDTOListVpcHoneyPotDTO["HoneyPotEniInstanceId"].isNull()) + vpcHoneyPotDTOListObject.honeyPotEniInstanceId = valueVpcHoneyPotDTOListVpcHoneyPotDTO["HoneyPotEniInstanceId"].asString(); + if(!valueVpcHoneyPotDTOListVpcHoneyPotDTO["HoneyPotEcsInstanceStatus"].isNull()) + vpcHoneyPotDTOListObject.honeyPotEcsInstanceStatus = valueVpcHoneyPotDTOListVpcHoneyPotDTO["HoneyPotEcsInstanceStatus"].asString(); + auto allVpcSwitchIdListNode = valueVpcHoneyPotDTOListVpcHoneyPotDTO["VpcSwitchIdList"]["VpcSwitchInfo"]; + for (auto valueVpcHoneyPotDTOListVpcHoneyPotDTOVpcSwitchIdListVpcSwitchInfo : allVpcSwitchIdListNode) + { + VpcHoneyPotDTO::VpcSwitchInfo vpcSwitchIdListObject; + if(!valueVpcHoneyPotDTOListVpcHoneyPotDTOVpcSwitchIdListVpcSwitchInfo["VpcSwitchId"].isNull()) + vpcSwitchIdListObject.vpcSwitchId = valueVpcHoneyPotDTOListVpcHoneyPotDTOVpcSwitchIdListVpcSwitchInfo["VpcSwitchId"].asString(); + if(!valueVpcHoneyPotDTOListVpcHoneyPotDTOVpcSwitchIdListVpcSwitchInfo["VpcSwitchName"].isNull()) + vpcSwitchIdListObject.vpcSwitchName = valueVpcHoneyPotDTOListVpcHoneyPotDTOVpcSwitchIdListVpcSwitchInfo["VpcSwitchName"].asString(); + if(!valueVpcHoneyPotDTOListVpcHoneyPotDTOVpcSwitchIdListVpcSwitchInfo["ZoneId"].isNull()) + vpcSwitchIdListObject.zoneId = valueVpcHoneyPotDTOListVpcHoneyPotDTOVpcSwitchIdListVpcSwitchInfo["ZoneId"].asString(); + vpcHoneyPotDTOListObject.vpcSwitchIdList.push_back(vpcSwitchIdListObject); + } + vpcHoneyPotDTOList_.push_back(vpcHoneyPotDTOListObject); + } + auto pageInfoNode = value["PageInfo"]; + if(!pageInfoNode["Count"].isNull()) + pageInfo_.count = std::stoi(pageInfoNode["Count"].asString()); + if(!pageInfoNode["PageSize"].isNull()) + pageInfo_.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + pageInfo_.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + if(!pageInfoNode["CurrentPage"].isNull()) + pageInfo_.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + +} + +std::vector DescribeVpcHoneyPotListResult::getVpcHoneyPotDTOList()const +{ + return vpcHoneyPotDTOList_; +} + +DescribeVpcHoneyPotListResult::PageInfo DescribeVpcHoneyPotListResult::getPageInfo()const +{ + return pageInfo_; +} + diff --git a/sas/src/model/DescribeVulDetailsResult.cc b/sas/src/model/DescribeVulDetailsResult.cc index 9f6604650..ee79fb73e 100644 --- a/sas/src/model/DescribeVulDetailsResult.cc +++ b/sas/src/model/DescribeVulDetailsResult.cc @@ -79,16 +79,16 @@ void DescribeVulDetailsResult::parse(const std::string &payload) cvesObject.reference = valueCvesCve["Reference"].asString(); if(!valueCvesCve["Classify"].isNull()) cvesObject.classify = valueCvesCve["Classify"].asString(); - auto allClassifysNode = allCvesNode["Classifys"]["Classify"]; - for (auto allCvesNodeClassifysClassify : allClassifysNode) + auto allClassifysNode = valueCvesCve["Classifys"]["Classify"]; + for (auto valueCvesCveClassifysClassify : allClassifysNode) { Cve::Classify classifysObject; - if(!allCvesNodeClassifysClassify["Classify"].isNull()) - classifysObject.classify = allCvesNodeClassifysClassify["Classify"].asString(); - if(!allCvesNodeClassifysClassify["Description"].isNull()) - classifysObject.description = allCvesNodeClassifysClassify["Description"].asString(); - if(!allCvesNodeClassifysClassify["DemoVideoUrl"].isNull()) - classifysObject.demoVideoUrl = allCvesNodeClassifysClassify["DemoVideoUrl"].asString(); + if(!valueCvesCveClassifysClassify["Classify"].isNull()) + classifysObject.classify = valueCvesCveClassifysClassify["Classify"].asString(); + if(!valueCvesCveClassifysClassify["Description"].isNull()) + classifysObject.description = valueCvesCveClassifysClassify["Description"].asString(); + if(!valueCvesCveClassifysClassify["DemoVideoUrl"].isNull()) + classifysObject.demoVideoUrl = valueCvesCveClassifysClassify["DemoVideoUrl"].asString(); cvesObject.classifys.push_back(classifysObject); } cves_.push_back(cvesObject); diff --git a/sas/src/model/DescribeVulListRequest.cc b/sas/src/model/DescribeVulListRequest.cc index b64c70f7f..3bd0fc5ef 100644 --- a/sas/src/model/DescribeVulListRequest.cc +++ b/sas/src/model/DescribeVulListRequest.cc @@ -27,26 +27,26 @@ DescribeVulListRequest::DescribeVulListRequest() : DescribeVulListRequest::~DescribeVulListRequest() {} -std::string DescribeVulListRequest::getStatusList()const +int DescribeVulListRequest::getMinScore()const { - return statusList_; + return minScore_; } -void DescribeVulListRequest::setStatusList(const std::string& statusList) +void DescribeVulListRequest::setMinScore(int minScore) { - statusList_ = statusList; - setParameter("StatusList", statusList); + minScore_ = minScore; + setParameter("MinScore", std::to_string(minScore)); } -std::string DescribeVulListRequest::getRemark()const +std::string DescribeVulListRequest::getAttachTypes()const { - return remark_; + return attachTypes_; } -void DescribeVulListRequest::setRemark(const std::string& remark) +void DescribeVulListRequest::setAttachTypes(const std::string& attachTypes) { - remark_ = remark; - setParameter("Remark", remark); + attachTypes_ = attachTypes; + setParameter("AttachTypes", attachTypes); } std::string DescribeVulListRequest::getType()const @@ -60,6 +60,39 @@ void DescribeVulListRequest::setType(const std::string& type) setParameter("Type", type); } +std::string DescribeVulListRequest::getVpcInstanceIds()const +{ + return vpcInstanceIds_; +} + +void DescribeVulListRequest::setVpcInstanceIds(const std::string& vpcInstanceIds) +{ + vpcInstanceIds_ = vpcInstanceIds; + setParameter("VpcInstanceIds", vpcInstanceIds); +} + +long DescribeVulListRequest::getCreateTsStart()const +{ + return createTsStart_; +} + +void DescribeVulListRequest::setCreateTsStart(long createTsStart) +{ + createTsStart_ = createTsStart; + setParameter("CreateTsStart", std::to_string(createTsStart)); +} + +std::string DescribeVulListRequest::getContainerFieldName()const +{ + return containerFieldName_; +} + +void DescribeVulListRequest::setContainerFieldName(const std::string& containerFieldName) +{ + containerFieldName_ = containerFieldName; + setParameter("ContainerFieldName", containerFieldName); +} + std::string DescribeVulListRequest::getSourceIp()const { return sourceIp_; @@ -71,48 +104,48 @@ void DescribeVulListRequest::setSourceIp(const std::string& sourceIp) setParameter("SourceIp", sourceIp); } -int DescribeVulListRequest::getPageSize()const +long DescribeVulListRequest::getModifyTsEnd()const { - return pageSize_; + return modifyTsEnd_; } -void DescribeVulListRequest::setPageSize(int pageSize) +void DescribeVulListRequest::setModifyTsEnd(long modifyTsEnd) { - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); + modifyTsEnd_ = modifyTsEnd; + setParameter("ModifyTsEnd", std::to_string(modifyTsEnd)); } -std::string DescribeVulListRequest::getLang()const +std::string DescribeVulListRequest::getLevel()const { - return lang_; + return level_; } -void DescribeVulListRequest::setLang(const std::string& lang) +void DescribeVulListRequest::setLevel(const std::string& level) { - lang_ = lang; - setParameter("Lang", lang); + level_ = level; + setParameter("Level", level); } -std::string DescribeVulListRequest::getDealed()const +std::string DescribeVulListRequest::getResource()const { - return dealed_; + return resource_; } -void DescribeVulListRequest::setDealed(const std::string& dealed) +void DescribeVulListRequest::setResource(const std::string& resource) { - dealed_ = dealed; - setParameter("Dealed", dealed); + resource_ = resource; + setParameter("Resource", resource); } -int DescribeVulListRequest::getCurrentPage()const +std::string DescribeVulListRequest::getGroupId()const { - return currentPage_; + return groupId_; } -void DescribeVulListRequest::setCurrentPage(int currentPage) +void DescribeVulListRequest::setGroupId(const std::string& groupId) { - currentPage_ = currentPage; - setParameter("CurrentPage", std::to_string(currentPage)); + groupId_ = groupId; + setParameter("GroupId", groupId); } std::string DescribeVulListRequest::getAliasName()const @@ -148,6 +181,17 @@ void DescribeVulListRequest::setIds(const std::string& ids) setParameter("Ids", ids); } +long DescribeVulListRequest::getCreateTsEnd()const +{ + return createTsEnd_; +} + +void DescribeVulListRequest::setCreateTsEnd(long createTsEnd) +{ + createTsEnd_ = createTsEnd; + setParameter("CreateTsEnd", std::to_string(createTsEnd)); +} + std::string DescribeVulListRequest::getNecessity()const { return necessity_; @@ -170,3 +214,124 @@ void DescribeVulListRequest::setUuids(const std::string& uuids) setParameter("Uuids", uuids); } +std::string DescribeVulListRequest::getStatusList()const +{ + return statusList_; +} + +void DescribeVulListRequest::setStatusList(const std::string& statusList) +{ + statusList_ = statusList; + setParameter("StatusList", statusList); +} + +std::string DescribeVulListRequest::getTargetType()const +{ + return targetType_; +} + +void DescribeVulListRequest::setTargetType(const std::string& targetType) +{ + targetType_ = targetType; + setParameter("TargetType", targetType); +} + +std::string DescribeVulListRequest::getRemark()const +{ + return remark_; +} + +void DescribeVulListRequest::setRemark(const std::string& remark) +{ + remark_ = remark; + setParameter("Remark", remark); +} + +std::string DescribeVulListRequest::getContainerFieldValue()const +{ + return containerFieldValue_; +} + +void DescribeVulListRequest::setContainerFieldValue(const std::string& containerFieldValue) +{ + containerFieldValue_ = containerFieldValue; + setParameter("ContainerFieldValue", containerFieldValue); +} + +int DescribeVulListRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeVulListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +long DescribeVulListRequest::getModifyTsStart()const +{ + return modifyTsStart_; +} + +void DescribeVulListRequest::setModifyTsStart(long modifyTsStart) +{ + modifyTsStart_ = modifyTsStart; + setParameter("ModifyTsStart", std::to_string(modifyTsStart)); +} + +std::string DescribeVulListRequest::getLang()const +{ + return lang_; +} + +void DescribeVulListRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribeVulListRequest::getDealed()const +{ + return dealed_; +} + +void DescribeVulListRequest::setDealed(const std::string& dealed) +{ + dealed_ = dealed; + setParameter("Dealed", dealed); +} + +int DescribeVulListRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeVulListRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeVulListRequest::getClusterId()const +{ + return clusterId_; +} + +void DescribeVulListRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string DescribeVulListRequest::getBatchName()const +{ + return batchName_; +} + +void DescribeVulListRequest::setBatchName(const std::string& batchName) +{ + batchName_ = batchName; + setParameter("BatchName", batchName); +} + diff --git a/sas/src/model/DescribeVulListResult.cc b/sas/src/model/DescribeVulListResult.cc index f82d43492..dff40f8b4 100644 --- a/sas/src/model/DescribeVulListResult.cc +++ b/sas/src/model/DescribeVulListResult.cc @@ -101,13 +101,33 @@ void DescribeVulListResult::parse(const std::string &payload) vulRecordsObject.progress = std::stoi(valueVulRecordsVulRecord["Progress"].asString()); if(!valueVulRecordsVulRecord["CanFix"].isNull()) vulRecordsObject.canFix = valueVulRecordsVulRecord["CanFix"].asString(); + if(!valueVulRecordsVulRecord["ContainerImageId"].isNull()) + vulRecordsObject.containerImageId = valueVulRecordsVulRecord["ContainerImageId"].asString(); + if(!valueVulRecordsVulRecord["ContainerImageName"].isNull()) + vulRecordsObject.containerImageName = valueVulRecordsVulRecord["ContainerImageName"].asString(); + if(!valueVulRecordsVulRecord["ContainerName"].isNull()) + vulRecordsObject.containerName = valueVulRecordsVulRecord["ContainerName"].asString(); + if(!valueVulRecordsVulRecord["ContainerInnerPath"].isNull()) + vulRecordsObject.containerInnerPath = valueVulRecordsVulRecord["ContainerInnerPath"].asString(); + if(!valueVulRecordsVulRecord["ContainerId"].isNull()) + vulRecordsObject.containerId = valueVulRecordsVulRecord["ContainerId"].asString(); + if(!valueVulRecordsVulRecord["K8sNamespace"].isNull()) + vulRecordsObject.k8sNamespace = valueVulRecordsVulRecord["K8sNamespace"].asString(); + if(!valueVulRecordsVulRecord["K8sClusterId"].isNull()) + vulRecordsObject.k8sClusterId = valueVulRecordsVulRecord["K8sClusterId"].asString(); + if(!valueVulRecordsVulRecord["K8sNodeId"].isNull()) + vulRecordsObject.k8sNodeId = valueVulRecordsVulRecord["K8sNodeId"].asString(); + if(!valueVulRecordsVulRecord["K8sPodName"].isNull()) + vulRecordsObject.k8sPodName = valueVulRecordsVulRecord["K8sPodName"].asString(); + if(!valueVulRecordsVulRecord["K8sNodeName"].isNull()) + vulRecordsObject.k8sNodeName = valueVulRecordsVulRecord["K8sNodeName"].asString(); auto extendContentJsonNode = value["ExtendContentJson"]; if(!extendContentJsonNode["Os"].isNull()) vulRecordsObject.extendContentJson.os = extendContentJsonNode["Os"].asString(); if(!extendContentJsonNode["OsRelease"].isNull()) vulRecordsObject.extendContentJson.osRelease = extendContentJsonNode["OsRelease"].asString(); if(!extendContentJsonNode["Status"].isNull()) - vulRecordsObject.extendContentJson.status = std::stoi(extendContentJsonNode["Status"].asString()); + vulRecordsObject.extendContentJson.status = extendContentJsonNode["Status"].asString(); if(!extendContentJsonNode["LastTs"].isNull()) vulRecordsObject.extendContentJson.lastTs = std::stol(extendContentJsonNode["LastTs"].asString()); if(!extendContentJsonNode["AliasName"].isNull()) @@ -199,16 +219,16 @@ void DescribeVulListResult::parse(const std::string &payload) processObject.pname = processInfoNodeProcessListProcess["Pname"].asString(); if(!processInfoNodeProcessListProcess["Pid"].isNull()) processObject.pid = processInfoNodeProcessListProcess["Pid"].asString(); - auto allSubProcessListNode = allProcessListNode["SubProcessList"]["SubProcess"]; - for (auto allProcessListNodeSubProcessListSubProcess : allSubProcessListNode) + auto allSubProcessListNode = processInfoNodeProcessListProcess["SubProcessList"]["SubProcess"]; + for (auto processInfoNodeProcessListProcessSubProcessListSubProcess : allSubProcessListNode) { VulRecord::ProcessInfo::Process::SubProcess subProcessListObject; - if(!allProcessListNodeSubProcessListSubProcess["Rpm"].isNull()) - subProcessListObject.rpm = allProcessListNodeSubProcessListSubProcess["Rpm"].asString(); - if(!allProcessListNodeSubProcessListSubProcess["Pname"].isNull()) - subProcessListObject.pname = allProcessListNodeSubProcessListSubProcess["Pname"].asString(); - if(!allProcessListNodeSubProcessListSubProcess["Pid"].isNull()) - subProcessListObject.pid = allProcessListNodeSubProcessListSubProcess["Pid"].asString(); + if(!processInfoNodeProcessListProcessSubProcessListSubProcess["Rpm"].isNull()) + subProcessListObject.rpm = processInfoNodeProcessListProcessSubProcessListSubProcess["Rpm"].asString(); + if(!processInfoNodeProcessListProcessSubProcessListSubProcess["Pname"].isNull()) + subProcessListObject.pname = processInfoNodeProcessListProcessSubProcessListSubProcess["Pname"].asString(); + if(!processInfoNodeProcessListProcessSubProcessListSubProcess["Pid"].isNull()) + subProcessListObject.pid = processInfoNodeProcessListProcessSubProcessListSubProcess["Pid"].asString(); processObject.subProcessList.push_back(subProcessListObject); } vulRecordsObject.processInfo.processList.push_back(processObject); diff --git a/sas/src/model/DescribeWarningMachinesResult.cc b/sas/src/model/DescribeWarningMachinesResult.cc index bafeee498..dc280899f 100644 --- a/sas/src/model/DescribeWarningMachinesResult.cc +++ b/sas/src/model/DescribeWarningMachinesResult.cc @@ -45,8 +45,12 @@ void DescribeWarningMachinesResult::parse(const std::string &payload) WarningMachine warningMachinesObject; if(!valueWarningMachinesWarningMachine["Uuid"].isNull()) warningMachinesObject.uuid = valueWarningMachinesWarningMachine["Uuid"].asString(); - if(!valueWarningMachinesWarningMachine["MachineName"].isNull()) - warningMachinesObject.machineName = valueWarningMachinesWarningMachine["MachineName"].asString(); + if(!valueWarningMachinesWarningMachine["InstanceName"].isNull()) + warningMachinesObject.instanceName = valueWarningMachinesWarningMachine["InstanceName"].asString(); + if(!valueWarningMachinesWarningMachine["InstanceId"].isNull()) + warningMachinesObject.instanceId = valueWarningMachinesWarningMachine["InstanceId"].asString(); + if(!valueWarningMachinesWarningMachine["RegionId"].isNull()) + warningMachinesObject.regionId = valueWarningMachinesWarningMachine["RegionId"].asString(); if(!valueWarningMachinesWarningMachine["InternetIp"].isNull()) warningMachinesObject.internetIp = valueWarningMachinesWarningMachine["InternetIp"].asString(); if(!valueWarningMachinesWarningMachine["IntranetIp"].isNull()) diff --git a/sas/src/model/DescribeWebLockBindListRequest.cc b/sas/src/model/DescribeWebLockBindListRequest.cc new file mode 100644 index 000000000..6016266fe --- /dev/null +++ b/sas/src/model/DescribeWebLockBindListRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Sas::Model::DescribeWebLockBindListRequest; + +DescribeWebLockBindListRequest::DescribeWebLockBindListRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeWebLockBindList") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeWebLockBindListRequest::~DescribeWebLockBindListRequest() +{} + +std::string DescribeWebLockBindListRequest::getRemark()const +{ + return remark_; +} + +void DescribeWebLockBindListRequest::setRemark(const std::string& remark) +{ + remark_ = remark; + setParameter("Remark", remark); +} + +int DescribeWebLockBindListRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeWebLockBindListRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeWebLockBindListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeWebLockBindListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +int DescribeWebLockBindListRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeWebLockBindListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeWebLockBindListRequest::getLang()const +{ + return lang_; +} + +void DescribeWebLockBindListRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribeWebLockBindListRequest::getStatus()const +{ + return status_; +} + +void DescribeWebLockBindListRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/sas/src/model/DescribeWebLockBindListResult.cc b/sas/src/model/DescribeWebLockBindListResult.cc new file mode 100644 index 000000000..9e760f060 --- /dev/null +++ b/sas/src/model/DescribeWebLockBindListResult.cc @@ -0,0 +1,102 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeWebLockBindListResult::DescribeWebLockBindListResult() : + ServiceResult() +{} + +DescribeWebLockBindListResult::DescribeWebLockBindListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeWebLockBindListResult::~DescribeWebLockBindListResult() +{} + +void DescribeWebLockBindListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allBindListNode = value["BindList"]["Bind"]; + for (auto valueBindListBind : allBindListNode) + { + Bind bindListObject; + if(!valueBindListBind["Uuid"].isNull()) + bindListObject.uuid = valueBindListBind["Uuid"].asString(); + if(!valueBindListBind["InstanceName"].isNull()) + bindListObject.instanceName = valueBindListBind["InstanceName"].asString(); + if(!valueBindListBind["InternetIp"].isNull()) + bindListObject.internetIp = valueBindListBind["InternetIp"].asString(); + if(!valueBindListBind["IntranetIp"].isNull()) + bindListObject.intranetIp = valueBindListBind["IntranetIp"].asString(); + if(!valueBindListBind["Os"].isNull()) + bindListObject.os = valueBindListBind["Os"].asString(); + if(!valueBindListBind["DirCount"].isNull()) + bindListObject.dirCount = valueBindListBind["DirCount"].asString(); + if(!valueBindListBind["ServiceStatus"].isNull()) + bindListObject.serviceStatus = valueBindListBind["ServiceStatus"].asString(); + if(!valueBindListBind["ServiceCode"].isNull()) + bindListObject.serviceCode = valueBindListBind["ServiceCode"].asString(); + if(!valueBindListBind["ServiceDetail"].isNull()) + bindListObject.serviceDetail = valueBindListBind["ServiceDetail"].asString(); + if(!valueBindListBind["Status"].isNull()) + bindListObject.status = valueBindListBind["Status"].asString(); + if(!valueBindListBind["Percent"].isNull()) + bindListObject.percent = std::stoi(valueBindListBind["Percent"].asString()); + if(!valueBindListBind["AuditCount"].isNull()) + bindListObject.auditCount = valueBindListBind["AuditCount"].asString(); + if(!valueBindListBind["BlockCount"].isNull()) + bindListObject.blockCount = valueBindListBind["BlockCount"].asString(); + bindList_.push_back(bindListObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeWebLockBindListResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeWebLockBindListResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeWebLockBindListResult::getCurrentPage()const +{ + return currentPage_; +} + +std::vector DescribeWebLockBindListResult::getBindList()const +{ + return bindList_; +} + diff --git a/sas/src/model/DescribeWebLockConfigListRequest.cc b/sas/src/model/DescribeWebLockConfigListRequest.cc new file mode 100644 index 000000000..339955af4 --- /dev/null +++ b/sas/src/model/DescribeWebLockConfigListRequest.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::Sas::Model::DescribeWebLockConfigListRequest; + +DescribeWebLockConfigListRequest::DescribeWebLockConfigListRequest() : + RpcServiceRequest("sas", "2018-12-03", "DescribeWebLockConfigList") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeWebLockConfigListRequest::~DescribeWebLockConfigListRequest() +{} + +std::string DescribeWebLockConfigListRequest::getUuid()const +{ + return uuid_; +} + +void DescribeWebLockConfigListRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setParameter("Uuid", uuid); +} + +std::string DescribeWebLockConfigListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeWebLockConfigListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeWebLockConfigListRequest::getLang()const +{ + return lang_; +} + +void DescribeWebLockConfigListRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/sas/src/model/DescribeWebLockConfigListResult.cc b/sas/src/model/DescribeWebLockConfigListResult.cc new file mode 100644 index 000000000..6187abb37 --- /dev/null +++ b/sas/src/model/DescribeWebLockConfigListResult.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeWebLockConfigListResult::DescribeWebLockConfigListResult() : + ServiceResult() +{} + +DescribeWebLockConfigListResult::DescribeWebLockConfigListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeWebLockConfigListResult::~DescribeWebLockConfigListResult() +{} + +void DescribeWebLockConfigListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allConfigListNode = value["ConfigList"]["ConfigInfo"]; + for (auto valueConfigListConfigInfo : allConfigListNode) + { + ConfigInfo configListObject; + if(!valueConfigListConfigInfo["Id"].isNull()) + configListObject.id = valueConfigListConfigInfo["Id"].asString(); + if(!valueConfigListConfigInfo["Uuid"].isNull()) + configListObject.uuid = valueConfigListConfigInfo["Uuid"].asString(); + if(!valueConfigListConfigInfo["Dir"].isNull()) + configListObject.dir = valueConfigListConfigInfo["Dir"].asString(); + if(!valueConfigListConfigInfo["ExclusiveDir"].isNull()) + configListObject.exclusiveDir = valueConfigListConfigInfo["ExclusiveDir"].asString(); + if(!valueConfigListConfigInfo["ExclusiveFileType"].isNull()) + configListObject.exclusiveFileType = valueConfigListConfigInfo["ExclusiveFileType"].asString(); + if(!valueConfigListConfigInfo["LocalBackupDir"].isNull()) + configListObject.localBackupDir = valueConfigListConfigInfo["LocalBackupDir"].asString(); + if(!valueConfigListConfigInfo["Mode"].isNull()) + configListObject.mode = valueConfigListConfigInfo["Mode"].asString(); + if(!valueConfigListConfigInfo["InclusiveFileType"].isNull()) + configListObject.inclusiveFileType = valueConfigListConfigInfo["InclusiveFileType"].asString(); + if(!valueConfigListConfigInfo["ExclusiveFile"].isNull()) + configListObject.exclusiveFile = valueConfigListConfigInfo["ExclusiveFile"].asString(); + if(!valueConfigListConfigInfo["InclusiveFile"].isNull()) + configListObject.inclusiveFile = valueConfigListConfigInfo["InclusiveFile"].asString(); + if(!valueConfigListConfigInfo["DefenceMode"].isNull()) + configListObject.defenceMode = valueConfigListConfigInfo["DefenceMode"].asString(); + configList_.push_back(configListObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeWebLockConfigListResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeWebLockConfigListResult::getConfigList()const +{ + return configList_; +} + diff --git a/sas/src/model/GetBackupStorageCountRequest.cc b/sas/src/model/GetBackupStorageCountRequest.cc new file mode 100644 index 000000000..1bfbacfe5 --- /dev/null +++ b/sas/src/model/GetBackupStorageCountRequest.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 + +using AlibabaCloud::Sas::Model::GetBackupStorageCountRequest; + +GetBackupStorageCountRequest::GetBackupStorageCountRequest() : + RpcServiceRequest("sas", "2018-12-03", "GetBackupStorageCount") +{ + setMethod(HttpRequest::Method::Post); +} + +GetBackupStorageCountRequest::~GetBackupStorageCountRequest() +{} + +long GetBackupStorageCountRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void GetBackupStorageCountRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string GetBackupStorageCountRequest::getSourceIp()const +{ + return sourceIp_; +} + +void GetBackupStorageCountRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + diff --git a/sas/src/model/GetBackupStorageCountResult.cc b/sas/src/model/GetBackupStorageCountResult.cc new file mode 100644 index 000000000..4c09eeab9 --- /dev/null +++ b/sas/src/model/GetBackupStorageCountResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +GetBackupStorageCountResult::GetBackupStorageCountResult() : + ServiceResult() +{} + +GetBackupStorageCountResult::GetBackupStorageCountResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetBackupStorageCountResult::~GetBackupStorageCountResult() +{} + +void GetBackupStorageCountResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto backupStorageCountNode = value["BackupStorageCount"]; + if(!backupStorageCountNode["BuyStorageByte"].isNull()) + backupStorageCount_.buyStorageByte = std::stol(backupStorageCountNode["BuyStorageByte"].asString()); + if(!backupStorageCountNode["UsageStorageByte"].isNull()) + backupStorageCount_.usageStorageByte = std::stol(backupStorageCountNode["UsageStorageByte"].asString()); + if(!backupStorageCountNode["Overflow"].isNull()) + backupStorageCount_.overflow = std::stoi(backupStorageCountNode["Overflow"].asString()); + +} + +GetBackupStorageCountResult::BackupStorageCount GetBackupStorageCountResult::getBackupStorageCount()const +{ + return backupStorageCount_; +} + diff --git a/sas/src/model/GetSuspiciousStatisticsRequest.cc b/sas/src/model/GetSuspiciousStatisticsRequest.cc new file mode 100644 index 000000000..959e3de01 --- /dev/null +++ b/sas/src/model/GetSuspiciousStatisticsRequest.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 + +using AlibabaCloud::Sas::Model::GetSuspiciousStatisticsRequest; + +GetSuspiciousStatisticsRequest::GetSuspiciousStatisticsRequest() : + RpcServiceRequest("sas", "2018-12-03", "GetSuspiciousStatistics") +{ + setMethod(HttpRequest::Method::Post); +} + +GetSuspiciousStatisticsRequest::~GetSuspiciousStatisticsRequest() +{} + +std::string GetSuspiciousStatisticsRequest::getGroupIdList()const +{ + return groupIdList_; +} + +void GetSuspiciousStatisticsRequest::setGroupIdList(const std::string& groupIdList) +{ + groupIdList_ = groupIdList; + setParameter("GroupIdList", groupIdList); +} + +std::string GetSuspiciousStatisticsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void GetSuspiciousStatisticsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + diff --git a/sas/src/model/GetSuspiciousStatisticsResult.cc b/sas/src/model/GetSuspiciousStatisticsResult.cc new file mode 100644 index 000000000..8fac05bf8 --- /dev/null +++ b/sas/src/model/GetSuspiciousStatisticsResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +GetSuspiciousStatisticsResult::GetSuspiciousStatisticsResult() : + ServiceResult() +{} + +GetSuspiciousStatisticsResult::GetSuspiciousStatisticsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetSuspiciousStatisticsResult::~GetSuspiciousStatisticsResult() +{} + +void GetSuspiciousStatisticsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["TemindCount"].isNull()) + temindCount_ = std::stoi(value["TemindCount"].asString()); + if(!value["RemindCount"].isNull()) + remindCount_ = std::stoi(value["RemindCount"].asString()); + if(!value["SuspiciousCount"].isNull()) + suspiciousCount_ = std::stoi(value["SuspiciousCount"].asString()); + if(!value["SeriousCount"].isNull()) + seriousCount_ = std::stoi(value["SeriousCount"].asString()); + +} + +int GetSuspiciousStatisticsResult::getTotalCount()const +{ + return totalCount_; +} + +int GetSuspiciousStatisticsResult::getTemindCount()const +{ + return temindCount_; +} + +int GetSuspiciousStatisticsResult::getSuspiciousCount()const +{ + return suspiciousCount_; +} + +int GetSuspiciousStatisticsResult::getRemindCount()const +{ + return remindCount_; +} + +int GetSuspiciousStatisticsResult::getSeriousCount()const +{ + return seriousCount_; +} + diff --git a/sas/src/model/GetVulStatisticsRequest.cc b/sas/src/model/GetVulStatisticsRequest.cc new file mode 100644 index 000000000..57a043071 --- /dev/null +++ b/sas/src/model/GetVulStatisticsRequest.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::Sas::Model::GetVulStatisticsRequest; + +GetVulStatisticsRequest::GetVulStatisticsRequest() : + RpcServiceRequest("sas", "2018-12-03", "GetVulStatistics") +{ + setMethod(HttpRequest::Method::Post); +} + +GetVulStatisticsRequest::~GetVulStatisticsRequest() +{} + +std::string GetVulStatisticsRequest::getTypeList()const +{ + return typeList_; +} + +void GetVulStatisticsRequest::setTypeList(const std::string& typeList) +{ + typeList_ = typeList; + setParameter("TypeList", typeList); +} + +std::string GetVulStatisticsRequest::getGroupIdList()const +{ + return groupIdList_; +} + +void GetVulStatisticsRequest::setGroupIdList(const std::string& groupIdList) +{ + groupIdList_ = groupIdList; + setParameter("GroupIdList", groupIdList); +} + +std::string GetVulStatisticsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void GetVulStatisticsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + diff --git a/sas/src/model/GetVulStatisticsResult.cc b/sas/src/model/GetVulStatisticsResult.cc new file mode 100644 index 000000000..9462566b9 --- /dev/null +++ b/sas/src/model/GetVulStatisticsResult.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 +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +GetVulStatisticsResult::GetVulStatisticsResult() : + ServiceResult() +{} + +GetVulStatisticsResult::GetVulStatisticsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetVulStatisticsResult::~GetVulStatisticsResult() +{} + +void GetVulStatisticsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["VulAsapSum"].isNull()) + vulAsapSum_ = std::stoi(value["VulAsapSum"].asString()); + if(!value["VulLaterSum"].isNull()) + vulLaterSum_ = std::stoi(value["VulLaterSum"].asString()); + if(!value["VulNntfSum"].isNull()) + vulNntfSum_ = std::stoi(value["VulNntfSum"].asString()); + +} + +int GetVulStatisticsResult::getVulAsapSum()const +{ + return vulAsapSum_; +} + +int GetVulStatisticsResult::getVulLaterSum()const +{ + return vulLaterSum_; +} + +int GetVulStatisticsResult::getVulNntfSum()const +{ + return vulNntfSum_; +} + diff --git a/sas/src/model/HandleSecurityEventsRequest.cc b/sas/src/model/HandleSecurityEventsRequest.cc new file mode 100644 index 000000000..8ef695413 --- /dev/null +++ b/sas/src/model/HandleSecurityEventsRequest.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::Sas::Model::HandleSecurityEventsRequest; + +HandleSecurityEventsRequest::HandleSecurityEventsRequest() : + RpcServiceRequest("sas", "2018-12-03", "HandleSecurityEvents") +{ + setMethod(HttpRequest::Method::Post); +} + +HandleSecurityEventsRequest::~HandleSecurityEventsRequest() +{} + +std::string HandleSecurityEventsRequest::getMarkMissParam()const +{ + return markMissParam_; +} + +void HandleSecurityEventsRequest::setMarkMissParam(const std::string& markMissParam) +{ + markMissParam_ = markMissParam; + setParameter("MarkMissParam", markMissParam); +} + +long HandleSecurityEventsRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void HandleSecurityEventsRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::vector HandleSecurityEventsRequest::getSecurityEventIds()const +{ + return securityEventIds_; +} + +void HandleSecurityEventsRequest::setSecurityEventIds(const std::vector& securityEventIds) +{ + securityEventIds_ = securityEventIds; + for(int dep1 = 0; dep1!= securityEventIds.size(); dep1++) { + setParameter("SecurityEventIds."+ std::to_string(dep1), securityEventIds.at(dep1)); + } +} + +std::string HandleSecurityEventsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void HandleSecurityEventsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string HandleSecurityEventsRequest::getOperationCode()const +{ + return operationCode_; +} + +void HandleSecurityEventsRequest::setOperationCode(const std::string& operationCode) +{ + operationCode_ = operationCode; + setParameter("OperationCode", operationCode); +} + +std::string HandleSecurityEventsRequest::getOperationParams()const +{ + return operationParams_; +} + +void HandleSecurityEventsRequest::setOperationParams(const std::string& operationParams) +{ + operationParams_ = operationParams; + setParameter("OperationParams", operationParams); +} + +std::string HandleSecurityEventsRequest::getMarkBatch()const +{ + return markBatch_; +} + +void HandleSecurityEventsRequest::setMarkBatch(const std::string& markBatch) +{ + markBatch_ = markBatch; + setParameter("MarkBatch", markBatch); +} + diff --git a/sas/src/model/HandleSecurityEventsResult.cc b/sas/src/model/HandleSecurityEventsResult.cc new file mode 100644 index 000000000..41b346885 --- /dev/null +++ b/sas/src/model/HandleSecurityEventsResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas; +using namespace AlibabaCloud::Sas::Model; + +HandleSecurityEventsResult::HandleSecurityEventsResult() : + ServiceResult() +{} + +HandleSecurityEventsResult::HandleSecurityEventsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +HandleSecurityEventsResult::~HandleSecurityEventsResult() +{} + +void HandleSecurityEventsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto handleSecurityEventsResponse1Node = value["HandleSecurityEventsResponse"]; + if(!handleSecurityEventsResponse1Node["TaskId"].isNull()) + handleSecurityEventsResponse1_.taskId = std::stol(handleSecurityEventsResponse1Node["TaskId"].asString()); + +} + +HandleSecurityEventsResult::HandleSecurityEventsResponse1 HandleSecurityEventsResult::getHandleSecurityEventsResponse1()const +{ + return handleSecurityEventsResponse1_; +} + diff --git a/sas/src/model/HandleSimilarSecurityEventsRequest.cc b/sas/src/model/HandleSimilarSecurityEventsRequest.cc index 75c7b297d..dc0a5440f 100644 --- a/sas/src/model/HandleSimilarSecurityEventsRequest.cc +++ b/sas/src/model/HandleSimilarSecurityEventsRequest.cc @@ -27,6 +27,17 @@ HandleSimilarSecurityEventsRequest::HandleSimilarSecurityEventsRequest() : HandleSimilarSecurityEventsRequest::~HandleSimilarSecurityEventsRequest() {} +std::string HandleSimilarSecurityEventsRequest::getMarkMissParam()const +{ + return markMissParam_; +} + +void HandleSimilarSecurityEventsRequest::setMarkMissParam(const std::string& markMissParam) +{ + markMissParam_ = markMissParam; + setParameter("MarkMissParam", markMissParam); +} + long HandleSimilarSecurityEventsRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/sas/src/model/IgnoreHcCheckWarningsRequest.cc b/sas/src/model/IgnoreHcCheckWarningsRequest.cc new file mode 100644 index 000000000..41807e9c2 --- /dev/null +++ b/sas/src/model/IgnoreHcCheckWarningsRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Sas::Model::IgnoreHcCheckWarningsRequest; + +IgnoreHcCheckWarningsRequest::IgnoreHcCheckWarningsRequest() : + RpcServiceRequest("sas", "2018-12-03", "IgnoreHcCheckWarnings") +{ + setMethod(HttpRequest::Method::Post); +} + +IgnoreHcCheckWarningsRequest::~IgnoreHcCheckWarningsRequest() +{} + +std::string IgnoreHcCheckWarningsRequest::getReason()const +{ + return reason_; +} + +void IgnoreHcCheckWarningsRequest::setReason(const std::string& reason) +{ + reason_ = reason; + setParameter("Reason", reason); +} + +std::string IgnoreHcCheckWarningsRequest::getCheckIds()const +{ + return checkIds_; +} + +void IgnoreHcCheckWarningsRequest::setCheckIds(const std::string& checkIds) +{ + checkIds_ = checkIds; + setParameter("CheckIds", checkIds); +} + +std::string IgnoreHcCheckWarningsRequest::getRiskId()const +{ + return riskId_; +} + +void IgnoreHcCheckWarningsRequest::setRiskId(const std::string& riskId) +{ + riskId_ = riskId; + setParameter("RiskId", riskId); +} + +long IgnoreHcCheckWarningsRequest::getType()const +{ + return type_; +} + +void IgnoreHcCheckWarningsRequest::setType(long type) +{ + type_ = type; + setParameter("Type", std::to_string(type)); +} + +std::string IgnoreHcCheckWarningsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void IgnoreHcCheckWarningsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string IgnoreHcCheckWarningsRequest::getCheckWarningIds()const +{ + return checkWarningIds_; +} + +void IgnoreHcCheckWarningsRequest::setCheckWarningIds(const std::string& checkWarningIds) +{ + checkWarningIds_ = checkWarningIds; + setParameter("CheckWarningIds", checkWarningIds); +} + diff --git a/sas/src/model/IgnoreHcCheckWarningsResult.cc b/sas/src/model/IgnoreHcCheckWarningsResult.cc new file mode 100644 index 000000000..877214ae9 --- /dev/null +++ b/sas/src/model/IgnoreHcCheckWarningsResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +IgnoreHcCheckWarningsResult::IgnoreHcCheckWarningsResult() : + ServiceResult() +{} + +IgnoreHcCheckWarningsResult::IgnoreHcCheckWarningsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +IgnoreHcCheckWarningsResult::~IgnoreHcCheckWarningsResult() +{} + +void IgnoreHcCheckWarningsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/InstallBackupClientRequest.cc b/sas/src/model/InstallBackupClientRequest.cc new file mode 100644 index 000000000..d62ff7c32 --- /dev/null +++ b/sas/src/model/InstallBackupClientRequest.cc @@ -0,0 +1,86 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Sas::Model::InstallBackupClientRequest; + +InstallBackupClientRequest::InstallBackupClientRequest() : + RpcServiceRequest("sas", "2018-12-03", "InstallBackupClient") +{ + setMethod(HttpRequest::Method::Post); +} + +InstallBackupClientRequest::~InstallBackupClientRequest() +{} + +long InstallBackupClientRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void InstallBackupClientRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string InstallBackupClientRequest::getPolicyVersion()const +{ + return policyVersion_; +} + +void InstallBackupClientRequest::setPolicyVersion(const std::string& policyVersion) +{ + policyVersion_ = policyVersion; + setParameter("PolicyVersion", policyVersion); +} + +std::string InstallBackupClientRequest::getUuid()const +{ + return uuid_; +} + +void InstallBackupClientRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setParameter("Uuid", uuid); +} + +std::string InstallBackupClientRequest::getSourceIp()const +{ + return sourceIp_; +} + +void InstallBackupClientRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::vector InstallBackupClientRequest::getUuidList()const +{ + return uuidList_; +} + +void InstallBackupClientRequest::setUuidList(const std::vector& uuidList) +{ + uuidList_ = uuidList; + for(int dep1 = 0; dep1!= uuidList.size(); dep1++) { + setParameter("UuidList."+ std::to_string(dep1), uuidList.at(dep1)); + } +} + diff --git a/sas/src/model/InstallBackupClientResult.cc b/sas/src/model/InstallBackupClientResult.cc new file mode 100644 index 000000000..fbc500894 --- /dev/null +++ b/sas/src/model/InstallBackupClientResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +InstallBackupClientResult::InstallBackupClientResult() : + ServiceResult() +{} + +InstallBackupClientResult::InstallBackupClientResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +InstallBackupClientResult::~InstallBackupClientResult() +{} + +void InstallBackupClientResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/ModifyAssetGroupRequest.cc b/sas/src/model/ModifyAssetGroupRequest.cc new file mode 100644 index 000000000..1ca867912 --- /dev/null +++ b/sas/src/model/ModifyAssetGroupRequest.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::Sas::Model::ModifyAssetGroupRequest; + +ModifyAssetGroupRequest::ModifyAssetGroupRequest() : + RpcServiceRequest("sas", "2018-12-03", "ModifyAssetGroup") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyAssetGroupRequest::~ModifyAssetGroupRequest() +{} + +long ModifyAssetGroupRequest::getGroupId()const +{ + return groupId_; +} + +void ModifyAssetGroupRequest::setGroupId(long groupId) +{ + groupId_ = groupId; + setParameter("GroupId", std::to_string(groupId)); +} + +std::string ModifyAssetGroupRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyAssetGroupRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string ModifyAssetGroupRequest::getUuids()const +{ + return uuids_; +} + +void ModifyAssetGroupRequest::setUuids(const std::string& uuids) +{ + uuids_ = uuids; + setParameter("Uuids", uuids); +} + diff --git a/sas/src/model/ModifyAssetGroupResult.cc b/sas/src/model/ModifyAssetGroupResult.cc new file mode 100644 index 000000000..b101a944c --- /dev/null +++ b/sas/src/model/ModifyAssetGroupResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +ModifyAssetGroupResult::ModifyAssetGroupResult() : + ServiceResult() +{} + +ModifyAssetGroupResult::ModifyAssetGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyAssetGroupResult::~ModifyAssetGroupResult() +{} + +void ModifyAssetGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/ModifyBackupPolicyRequest.cc b/sas/src/model/ModifyBackupPolicyRequest.cc new file mode 100644 index 000000000..ddeda4f0f --- /dev/null +++ b/sas/src/model/ModifyBackupPolicyRequest.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::Sas::Model::ModifyBackupPolicyRequest; + +ModifyBackupPolicyRequest::ModifyBackupPolicyRequest() : + RpcServiceRequest("sas", "2018-12-03", "ModifyBackupPolicy") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyBackupPolicyRequest::~ModifyBackupPolicyRequest() +{} + +long ModifyBackupPolicyRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ModifyBackupPolicyRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ModifyBackupPolicyRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyBackupPolicyRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::vector ModifyBackupPolicyRequest::getUuidList()const +{ + return uuidList_; +} + +void ModifyBackupPolicyRequest::setUuidList(const std::vector& uuidList) +{ + uuidList_ = uuidList; + for(int dep1 = 0; dep1!= uuidList.size(); dep1++) { + setParameter("UuidList."+ std::to_string(dep1), uuidList.at(dep1)); + } +} + +long ModifyBackupPolicyRequest::getId()const +{ + return id_; +} + +void ModifyBackupPolicyRequest::setId(long id) +{ + id_ = id; + setParameter("Id", std::to_string(id)); +} + +std::string ModifyBackupPolicyRequest::getPolicy()const +{ + return policy_; +} + +void ModifyBackupPolicyRequest::setPolicy(const std::string& policy) +{ + policy_ = policy; + setParameter("Policy", policy); +} + +std::string ModifyBackupPolicyRequest::getPolicyVersion()const +{ + return policyVersion_; +} + +void ModifyBackupPolicyRequest::setPolicyVersion(const std::string& policyVersion) +{ + policyVersion_ = policyVersion; + setParameter("PolicyVersion", policyVersion); +} + +std::string ModifyBackupPolicyRequest::getName()const +{ + return name_; +} + +void ModifyBackupPolicyRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + diff --git a/sas/src/model/ModifyBackupPolicyResult.cc b/sas/src/model/ModifyBackupPolicyResult.cc new file mode 100644 index 000000000..2a03b2169 --- /dev/null +++ b/sas/src/model/ModifyBackupPolicyResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +ModifyBackupPolicyResult::ModifyBackupPolicyResult() : + ServiceResult() +{} + +ModifyBackupPolicyResult::ModifyBackupPolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyBackupPolicyResult::~ModifyBackupPolicyResult() +{} + +void ModifyBackupPolicyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/ModifyBackupPolicyStatusRequest.cc b/sas/src/model/ModifyBackupPolicyStatusRequest.cc new file mode 100644 index 000000000..f2f6ba2ae --- /dev/null +++ b/sas/src/model/ModifyBackupPolicyStatusRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Sas::Model::ModifyBackupPolicyStatusRequest; + +ModifyBackupPolicyStatusRequest::ModifyBackupPolicyStatusRequest() : + RpcServiceRequest("sas", "2018-12-03", "ModifyBackupPolicyStatus") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyBackupPolicyStatusRequest::~ModifyBackupPolicyStatusRequest() +{} + +long ModifyBackupPolicyStatusRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ModifyBackupPolicyStatusRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ModifyBackupPolicyStatusRequest::getPolicyVersion()const +{ + return policyVersion_; +} + +void ModifyBackupPolicyStatusRequest::setPolicyVersion(const std::string& policyVersion) +{ + policyVersion_ = policyVersion; + setParameter("PolicyVersion", policyVersion); +} + +std::string ModifyBackupPolicyStatusRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyBackupPolicyStatusRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long ModifyBackupPolicyStatusRequest::getId()const +{ + return id_; +} + +void ModifyBackupPolicyStatusRequest::setId(long id) +{ + id_ = id; + setParameter("Id", std::to_string(id)); +} + +std::string ModifyBackupPolicyStatusRequest::getStatus()const +{ + return status_; +} + +void ModifyBackupPolicyStatusRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/sas/src/model/ModifyBackupPolicyStatusResult.cc b/sas/src/model/ModifyBackupPolicyStatusResult.cc new file mode 100644 index 000000000..6080cd8f1 --- /dev/null +++ b/sas/src/model/ModifyBackupPolicyStatusResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +ModifyBackupPolicyStatusResult::ModifyBackupPolicyStatusResult() : + ServiceResult() +{} + +ModifyBackupPolicyStatusResult::ModifyBackupPolicyStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyBackupPolicyStatusResult::~ModifyBackupPolicyStatusResult() +{} + +void ModifyBackupPolicyStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/ModifyInstanceAntiBruteForceRuleRequest.cc b/sas/src/model/ModifyInstanceAntiBruteForceRuleRequest.cc new file mode 100644 index 000000000..3f8313a09 --- /dev/null +++ b/sas/src/model/ModifyInstanceAntiBruteForceRuleRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::ModifyInstanceAntiBruteForceRuleRequest; + +ModifyInstanceAntiBruteForceRuleRequest::ModifyInstanceAntiBruteForceRuleRequest() : + RpcServiceRequest("sas", "2018-12-03", "ModifyInstanceAntiBruteForceRule") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyInstanceAntiBruteForceRuleRequest::~ModifyInstanceAntiBruteForceRuleRequest() +{} + +long ModifyInstanceAntiBruteForceRuleRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ModifyInstanceAntiBruteForceRuleRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ModifyInstanceAntiBruteForceRuleRequest::getUuid()const +{ + return uuid_; +} + +void ModifyInstanceAntiBruteForceRuleRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setParameter("Uuid", uuid); +} + +std::string ModifyInstanceAntiBruteForceRuleRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyInstanceAntiBruteForceRuleRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long ModifyInstanceAntiBruteForceRuleRequest::getNewRuleId()const +{ + return newRuleId_; +} + +void ModifyInstanceAntiBruteForceRuleRequest::setNewRuleId(long newRuleId) +{ + newRuleId_ = newRuleId; + setParameter("NewRuleId", std::to_string(newRuleId)); +} + diff --git a/sas/src/model/ModifyInstanceAntiBruteForceRuleResult.cc b/sas/src/model/ModifyInstanceAntiBruteForceRuleResult.cc new file mode 100644 index 000000000..0a3e388d0 --- /dev/null +++ b/sas/src/model/ModifyInstanceAntiBruteForceRuleResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +ModifyInstanceAntiBruteForceRuleResult::ModifyInstanceAntiBruteForceRuleResult() : + ServiceResult() +{} + +ModifyInstanceAntiBruteForceRuleResult::ModifyInstanceAntiBruteForceRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyInstanceAntiBruteForceRuleResult::~ModifyInstanceAntiBruteForceRuleResult() +{} + +void ModifyInstanceAntiBruteForceRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/ModifyOpenLogShipperRequest.cc b/sas/src/model/ModifyOpenLogShipperRequest.cc new file mode 100644 index 000000000..b1d5affc4 --- /dev/null +++ b/sas/src/model/ModifyOpenLogShipperRequest.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 + +using AlibabaCloud::Sas::Model::ModifyOpenLogShipperRequest; + +ModifyOpenLogShipperRequest::ModifyOpenLogShipperRequest() : + RpcServiceRequest("sas", "2018-12-03", "ModifyOpenLogShipper") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyOpenLogShipperRequest::~ModifyOpenLogShipperRequest() +{} + +std::string ModifyOpenLogShipperRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyOpenLogShipperRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string ModifyOpenLogShipperRequest::getFrom()const +{ + return from_; +} + +void ModifyOpenLogShipperRequest::setFrom(const std::string& from) +{ + from_ = from; + setParameter("From", from); +} + diff --git a/sas/src/model/ModifyOpenLogShipperResult.cc b/sas/src/model/ModifyOpenLogShipperResult.cc new file mode 100644 index 000000000..ba6f7d666 --- /dev/null +++ b/sas/src/model/ModifyOpenLogShipperResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +ModifyOpenLogShipperResult::ModifyOpenLogShipperResult() : + ServiceResult() +{} + +ModifyOpenLogShipperResult::ModifyOpenLogShipperResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyOpenLogShipperResult::~ModifyOpenLogShipperResult() +{} + +void ModifyOpenLogShipperResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/ModifyOperateVulRequest.cc b/sas/src/model/ModifyOperateVulRequest.cc index e382e0bb0..cd1306de6 100644 --- a/sas/src/model/ModifyOperateVulRequest.cc +++ b/sas/src/model/ModifyOperateVulRequest.cc @@ -60,17 +60,6 @@ void ModifyOperateVulRequest::setSourceIp(const std::string& sourceIp) setParameter("SourceIp", sourceIp); } -std::string ModifyOperateVulRequest::getOperateType()const -{ - return operateType_; -} - -void ModifyOperateVulRequest::setOperateType(const std::string& operateType) -{ - operateType_ = operateType; - setParameter("OperateType", operateType); -} - std::string ModifyOperateVulRequest::getInfo()const { return info_; @@ -82,3 +71,14 @@ void ModifyOperateVulRequest::setInfo(const std::string& info) setParameter("Info", info); } +std::string ModifyOperateVulRequest::getOperateType()const +{ + return operateType_; +} + +void ModifyOperateVulRequest::setOperateType(const std::string& operateType) +{ + operateType_ = operateType; + setParameter("OperateType", operateType); +} + diff --git a/sas/src/model/ModifyVpcHoneyPotRequest.cc b/sas/src/model/ModifyVpcHoneyPotRequest.cc new file mode 100644 index 000000000..ec183ea06 --- /dev/null +++ b/sas/src/model/ModifyVpcHoneyPotRequest.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::Sas::Model::ModifyVpcHoneyPotRequest; + +ModifyVpcHoneyPotRequest::ModifyVpcHoneyPotRequest() : + RpcServiceRequest("sas", "2018-12-03", "ModifyVpcHoneyPot") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyVpcHoneyPotRequest::~ModifyVpcHoneyPotRequest() +{} + +std::string ModifyVpcHoneyPotRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyVpcHoneyPotRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string ModifyVpcHoneyPotRequest::getHoneyPotAction()const +{ + return honeyPotAction_; +} + +void ModifyVpcHoneyPotRequest::setHoneyPotAction(const std::string& honeyPotAction) +{ + honeyPotAction_ = honeyPotAction; + setParameter("HoneyPotAction", honeyPotAction); +} + +std::string ModifyVpcHoneyPotRequest::getVpcId()const +{ + return vpcId_; +} + +void ModifyVpcHoneyPotRequest::setVpcId(const std::string& vpcId) +{ + vpcId_ = vpcId; + setParameter("VpcId", vpcId); +} + diff --git a/sas/src/model/ModifyVpcHoneyPotResult.cc b/sas/src/model/ModifyVpcHoneyPotResult.cc new file mode 100644 index 000000000..d28362f54 --- /dev/null +++ b/sas/src/model/ModifyVpcHoneyPotResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +ModifyVpcHoneyPotResult::ModifyVpcHoneyPotResult() : + ServiceResult() +{} + +ModifyVpcHoneyPotResult::ModifyVpcHoneyPotResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyVpcHoneyPotResult::~ModifyVpcHoneyPotResult() +{} + +void ModifyVpcHoneyPotResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/ModifyWebLockCreateConfigRequest.cc b/sas/src/model/ModifyWebLockCreateConfigRequest.cc new file mode 100644 index 000000000..508f765d4 --- /dev/null +++ b/sas/src/model/ModifyWebLockCreateConfigRequest.cc @@ -0,0 +1,161 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::ModifyWebLockCreateConfigRequest; + +ModifyWebLockCreateConfigRequest::ModifyWebLockCreateConfigRequest() : + RpcServiceRequest("sas", "2018-12-03", "ModifyWebLockCreateConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyWebLockCreateConfigRequest::~ModifyWebLockCreateConfigRequest() +{} + +std::string ModifyWebLockCreateConfigRequest::getLocalBackupDir()const +{ + return localBackupDir_; +} + +void ModifyWebLockCreateConfigRequest::setLocalBackupDir(const std::string& localBackupDir) +{ + localBackupDir_ = localBackupDir; + setParameter("LocalBackupDir", localBackupDir); +} + +std::string ModifyWebLockCreateConfigRequest::getExclusiveFile()const +{ + return exclusiveFile_; +} + +void ModifyWebLockCreateConfigRequest::setExclusiveFile(const std::string& exclusiveFile) +{ + exclusiveFile_ = exclusiveFile; + setParameter("ExclusiveFile", exclusiveFile); +} + +std::string ModifyWebLockCreateConfigRequest::getExclusiveFileType()const +{ + return exclusiveFileType_; +} + +void ModifyWebLockCreateConfigRequest::setExclusiveFileType(const std::string& exclusiveFileType) +{ + exclusiveFileType_ = exclusiveFileType; + setParameter("ExclusiveFileType", exclusiveFileType); +} + +std::string ModifyWebLockCreateConfigRequest::getDir()const +{ + return dir_; +} + +void ModifyWebLockCreateConfigRequest::setDir(const std::string& dir) +{ + dir_ = dir; + setParameter("Dir", dir); +} + +std::string ModifyWebLockCreateConfigRequest::getUuid()const +{ + return uuid_; +} + +void ModifyWebLockCreateConfigRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setParameter("Uuid", uuid); +} + +std::string ModifyWebLockCreateConfigRequest::getMode()const +{ + return mode_; +} + +void ModifyWebLockCreateConfigRequest::setMode(const std::string& mode) +{ + mode_ = mode; + setParameter("Mode", mode); +} + +std::string ModifyWebLockCreateConfigRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyWebLockCreateConfigRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string ModifyWebLockCreateConfigRequest::getLang()const +{ + return lang_; +} + +void ModifyWebLockCreateConfigRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string ModifyWebLockCreateConfigRequest::getInclusiveFile()const +{ + return inclusiveFile_; +} + +void ModifyWebLockCreateConfigRequest::setInclusiveFile(const std::string& inclusiveFile) +{ + inclusiveFile_ = inclusiveFile; + setParameter("InclusiveFile", inclusiveFile); +} + +std::string ModifyWebLockCreateConfigRequest::getExclusiveDir()const +{ + return exclusiveDir_; +} + +void ModifyWebLockCreateConfigRequest::setExclusiveDir(const std::string& exclusiveDir) +{ + exclusiveDir_ = exclusiveDir; + setParameter("ExclusiveDir", exclusiveDir); +} + +std::string ModifyWebLockCreateConfigRequest::getInclusiveFileType()const +{ + return inclusiveFileType_; +} + +void ModifyWebLockCreateConfigRequest::setInclusiveFileType(const std::string& inclusiveFileType) +{ + inclusiveFileType_ = inclusiveFileType; + setParameter("InclusiveFileType", inclusiveFileType); +} + +std::string ModifyWebLockCreateConfigRequest::getDefenceMode()const +{ + return defenceMode_; +} + +void ModifyWebLockCreateConfigRequest::setDefenceMode(const std::string& defenceMode) +{ + defenceMode_ = defenceMode; + setParameter("DefenceMode", defenceMode); +} + diff --git a/sas/src/model/ModifyWebLockCreateConfigResult.cc b/sas/src/model/ModifyWebLockCreateConfigResult.cc new file mode 100644 index 000000000..d0a21565f --- /dev/null +++ b/sas/src/model/ModifyWebLockCreateConfigResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +ModifyWebLockCreateConfigResult::ModifyWebLockCreateConfigResult() : + ServiceResult() +{} + +ModifyWebLockCreateConfigResult::ModifyWebLockCreateConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyWebLockCreateConfigResult::~ModifyWebLockCreateConfigResult() +{} + +void ModifyWebLockCreateConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/ModifyWebLockDeleteConfigRequest.cc b/sas/src/model/ModifyWebLockDeleteConfigRequest.cc new file mode 100644 index 000000000..0ea4f7f21 --- /dev/null +++ b/sas/src/model/ModifyWebLockDeleteConfigRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::ModifyWebLockDeleteConfigRequest; + +ModifyWebLockDeleteConfigRequest::ModifyWebLockDeleteConfigRequest() : + RpcServiceRequest("sas", "2018-12-03", "ModifyWebLockDeleteConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyWebLockDeleteConfigRequest::~ModifyWebLockDeleteConfigRequest() +{} + +std::string ModifyWebLockDeleteConfigRequest::getUuid()const +{ + return uuid_; +} + +void ModifyWebLockDeleteConfigRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setParameter("Uuid", uuid); +} + +std::string ModifyWebLockDeleteConfigRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyWebLockDeleteConfigRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +int ModifyWebLockDeleteConfigRequest::getId()const +{ + return id_; +} + +void ModifyWebLockDeleteConfigRequest::setId(int id) +{ + id_ = id; + setParameter("Id", std::to_string(id)); +} + +std::string ModifyWebLockDeleteConfigRequest::getLang()const +{ + return lang_; +} + +void ModifyWebLockDeleteConfigRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/sas/src/model/ModifyWebLockDeleteConfigResult.cc b/sas/src/model/ModifyWebLockDeleteConfigResult.cc new file mode 100644 index 000000000..44b366781 --- /dev/null +++ b/sas/src/model/ModifyWebLockDeleteConfigResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +ModifyWebLockDeleteConfigResult::ModifyWebLockDeleteConfigResult() : + ServiceResult() +{} + +ModifyWebLockDeleteConfigResult::ModifyWebLockDeleteConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyWebLockDeleteConfigResult::~ModifyWebLockDeleteConfigResult() +{} + +void ModifyWebLockDeleteConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/ModifyWebLockStartRequest.cc b/sas/src/model/ModifyWebLockStartRequest.cc new file mode 100644 index 000000000..64263a206 --- /dev/null +++ b/sas/src/model/ModifyWebLockStartRequest.cc @@ -0,0 +1,139 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Sas::Model::ModifyWebLockStartRequest; + +ModifyWebLockStartRequest::ModifyWebLockStartRequest() : + RpcServiceRequest("sas", "2018-12-03", "ModifyWebLockStart") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyWebLockStartRequest::~ModifyWebLockStartRequest() +{} + +std::string ModifyWebLockStartRequest::getLocalBackupDir()const +{ + return localBackupDir_; +} + +void ModifyWebLockStartRequest::setLocalBackupDir(const std::string& localBackupDir) +{ + localBackupDir_ = localBackupDir; + setParameter("LocalBackupDir", localBackupDir); +} + +std::string ModifyWebLockStartRequest::getExclusiveFile()const +{ + return exclusiveFile_; +} + +void ModifyWebLockStartRequest::setExclusiveFile(const std::string& exclusiveFile) +{ + exclusiveFile_ = exclusiveFile; + setParameter("ExclusiveFile", exclusiveFile); +} + +std::string ModifyWebLockStartRequest::getExclusiveFileType()const +{ + return exclusiveFileType_; +} + +void ModifyWebLockStartRequest::setExclusiveFileType(const std::string& exclusiveFileType) +{ + exclusiveFileType_ = exclusiveFileType; + setParameter("ExclusiveFileType", exclusiveFileType); +} + +std::string ModifyWebLockStartRequest::getDir()const +{ + return dir_; +} + +void ModifyWebLockStartRequest::setDir(const std::string& dir) +{ + dir_ = dir; + setParameter("Dir", dir); +} + +std::string ModifyWebLockStartRequest::getUuid()const +{ + return uuid_; +} + +void ModifyWebLockStartRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setParameter("Uuid", uuid); +} + +std::string ModifyWebLockStartRequest::getMode()const +{ + return mode_; +} + +void ModifyWebLockStartRequest::setMode(const std::string& mode) +{ + mode_ = mode; + setParameter("Mode", mode); +} + +std::string ModifyWebLockStartRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyWebLockStartRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string ModifyWebLockStartRequest::getExclusiveDir()const +{ + return exclusiveDir_; +} + +void ModifyWebLockStartRequest::setExclusiveDir(const std::string& exclusiveDir) +{ + exclusiveDir_ = exclusiveDir; + setParameter("ExclusiveDir", exclusiveDir); +} + +std::string ModifyWebLockStartRequest::getInclusiveFileType()const +{ + return inclusiveFileType_; +} + +void ModifyWebLockStartRequest::setInclusiveFileType(const std::string& inclusiveFileType) +{ + inclusiveFileType_ = inclusiveFileType; + setParameter("InclusiveFileType", inclusiveFileType); +} + +std::string ModifyWebLockStartRequest::getDefenceMode()const +{ + return defenceMode_; +} + +void ModifyWebLockStartRequest::setDefenceMode(const std::string& defenceMode) +{ + defenceMode_ = defenceMode; + setParameter("DefenceMode", defenceMode); +} + diff --git a/sas/src/model/ModifyWebLockStartResult.cc b/sas/src/model/ModifyWebLockStartResult.cc new file mode 100644 index 000000000..6293ed38e --- /dev/null +++ b/sas/src/model/ModifyWebLockStartResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +ModifyWebLockStartResult::ModifyWebLockStartResult() : + ServiceResult() +{} + +ModifyWebLockStartResult::ModifyWebLockStartResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyWebLockStartResult::~ModifyWebLockStartResult() +{} + +void ModifyWebLockStartResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/ModifyWebLockStatusRequest.cc b/sas/src/model/ModifyWebLockStatusRequest.cc new file mode 100644 index 000000000..db4e78874 --- /dev/null +++ b/sas/src/model/ModifyWebLockStatusRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::ModifyWebLockStatusRequest; + +ModifyWebLockStatusRequest::ModifyWebLockStatusRequest() : + RpcServiceRequest("sas", "2018-12-03", "ModifyWebLockStatus") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyWebLockStatusRequest::~ModifyWebLockStatusRequest() +{} + +std::string ModifyWebLockStatusRequest::getUuid()const +{ + return uuid_; +} + +void ModifyWebLockStatusRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setParameter("Uuid", uuid); +} + +std::string ModifyWebLockStatusRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyWebLockStatusRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string ModifyWebLockStatusRequest::getLang()const +{ + return lang_; +} + +void ModifyWebLockStatusRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string ModifyWebLockStatusRequest::getStatus()const +{ + return status_; +} + +void ModifyWebLockStatusRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/sas/src/model/ModifyWebLockStatusResult.cc b/sas/src/model/ModifyWebLockStatusResult.cc new file mode 100644 index 000000000..aee1f36ef --- /dev/null +++ b/sas/src/model/ModifyWebLockStatusResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +ModifyWebLockStatusResult::ModifyWebLockStatusResult() : + ServiceResult() +{} + +ModifyWebLockStatusResult::ModifyWebLockStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyWebLockStatusResult::~ModifyWebLockStatusResult() +{} + +void ModifyWebLockStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/DescribeEmgVulGroupRequest.cc b/sas/src/model/ModifyWebLockUnbindRequest.cc similarity index 55% rename from sas/src/model/DescribeEmgVulGroupRequest.cc rename to sas/src/model/ModifyWebLockUnbindRequest.cc index 0395f335b..ba9ad821a 100644 --- a/sas/src/model/DescribeEmgVulGroupRequest.cc +++ b/sas/src/model/ModifyWebLockUnbindRequest.cc @@ -14,38 +14,38 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Sas::Model::DescribeEmgVulGroupRequest; +using AlibabaCloud::Sas::Model::ModifyWebLockUnbindRequest; -DescribeEmgVulGroupRequest::DescribeEmgVulGroupRequest() : - RpcServiceRequest("sas", "2018-12-03", "DescribeEmgVulGroup") +ModifyWebLockUnbindRequest::ModifyWebLockUnbindRequest() : + RpcServiceRequest("sas", "2018-12-03", "ModifyWebLockUnbind") { setMethod(HttpRequest::Method::Post); } -DescribeEmgVulGroupRequest::~DescribeEmgVulGroupRequest() +ModifyWebLockUnbindRequest::~ModifyWebLockUnbindRequest() {} -std::string DescribeEmgVulGroupRequest::getSourceIp()const +std::string ModifyWebLockUnbindRequest::getUuid()const +{ + return uuid_; +} + +void ModifyWebLockUnbindRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setParameter("Uuid", uuid); +} + +std::string ModifyWebLockUnbindRequest::getSourceIp()const { return sourceIp_; } -void DescribeEmgVulGroupRequest::setSourceIp(const std::string& sourceIp) +void ModifyWebLockUnbindRequest::setSourceIp(const std::string& sourceIp) { sourceIp_ = sourceIp; setParameter("SourceIp", sourceIp); } -std::string DescribeEmgVulGroupRequest::getLang()const -{ - return lang_; -} - -void DescribeEmgVulGroupRequest::setLang(const std::string& lang) -{ - lang_ = lang; - setParameter("Lang", lang); -} - diff --git a/sas/src/model/ModifyWebLockUnbindResult.cc b/sas/src/model/ModifyWebLockUnbindResult.cc new file mode 100644 index 000000000..dcb7d831a --- /dev/null +++ b/sas/src/model/ModifyWebLockUnbindResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +ModifyWebLockUnbindResult::ModifyWebLockUnbindResult() : + ServiceResult() +{} + +ModifyWebLockUnbindResult::ModifyWebLockUnbindResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyWebLockUnbindResult::~ModifyWebLockUnbindResult() +{} + +void ModifyWebLockUnbindResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/ModifyWebLockUpdateConfigRequest.cc b/sas/src/model/ModifyWebLockUpdateConfigRequest.cc new file mode 100644 index 000000000..a97970155 --- /dev/null +++ b/sas/src/model/ModifyWebLockUpdateConfigRequest.cc @@ -0,0 +1,172 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::ModifyWebLockUpdateConfigRequest; + +ModifyWebLockUpdateConfigRequest::ModifyWebLockUpdateConfigRequest() : + RpcServiceRequest("sas", "2018-12-03", "ModifyWebLockUpdateConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyWebLockUpdateConfigRequest::~ModifyWebLockUpdateConfigRequest() +{} + +std::string ModifyWebLockUpdateConfigRequest::getLocalBackupDir()const +{ + return localBackupDir_; +} + +void ModifyWebLockUpdateConfigRequest::setLocalBackupDir(const std::string& localBackupDir) +{ + localBackupDir_ = localBackupDir; + setParameter("LocalBackupDir", localBackupDir); +} + +std::string ModifyWebLockUpdateConfigRequest::getExclusiveFile()const +{ + return exclusiveFile_; +} + +void ModifyWebLockUpdateConfigRequest::setExclusiveFile(const std::string& exclusiveFile) +{ + exclusiveFile_ = exclusiveFile; + setParameter("ExclusiveFile", exclusiveFile); +} + +std::string ModifyWebLockUpdateConfigRequest::getExclusiveFileType()const +{ + return exclusiveFileType_; +} + +void ModifyWebLockUpdateConfigRequest::setExclusiveFileType(const std::string& exclusiveFileType) +{ + exclusiveFileType_ = exclusiveFileType; + setParameter("ExclusiveFileType", exclusiveFileType); +} + +std::string ModifyWebLockUpdateConfigRequest::getDir()const +{ + return dir_; +} + +void ModifyWebLockUpdateConfigRequest::setDir(const std::string& dir) +{ + dir_ = dir; + setParameter("Dir", dir); +} + +std::string ModifyWebLockUpdateConfigRequest::getUuid()const +{ + return uuid_; +} + +void ModifyWebLockUpdateConfigRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setParameter("Uuid", uuid); +} + +std::string ModifyWebLockUpdateConfigRequest::getMode()const +{ + return mode_; +} + +void ModifyWebLockUpdateConfigRequest::setMode(const std::string& mode) +{ + mode_ = mode; + setParameter("Mode", mode); +} + +std::string ModifyWebLockUpdateConfigRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyWebLockUpdateConfigRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +int ModifyWebLockUpdateConfigRequest::getId()const +{ + return id_; +} + +void ModifyWebLockUpdateConfigRequest::setId(int id) +{ + id_ = id; + setParameter("Id", std::to_string(id)); +} + +std::string ModifyWebLockUpdateConfigRequest::getLang()const +{ + return lang_; +} + +void ModifyWebLockUpdateConfigRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string ModifyWebLockUpdateConfigRequest::getInclusiveFile()const +{ + return inclusiveFile_; +} + +void ModifyWebLockUpdateConfigRequest::setInclusiveFile(const std::string& inclusiveFile) +{ + inclusiveFile_ = inclusiveFile; + setParameter("InclusiveFile", inclusiveFile); +} + +std::string ModifyWebLockUpdateConfigRequest::getExclusiveDir()const +{ + return exclusiveDir_; +} + +void ModifyWebLockUpdateConfigRequest::setExclusiveDir(const std::string& exclusiveDir) +{ + exclusiveDir_ = exclusiveDir; + setParameter("ExclusiveDir", exclusiveDir); +} + +std::string ModifyWebLockUpdateConfigRequest::getInclusiveFileType()const +{ + return inclusiveFileType_; +} + +void ModifyWebLockUpdateConfigRequest::setInclusiveFileType(const std::string& inclusiveFileType) +{ + inclusiveFileType_ = inclusiveFileType; + setParameter("InclusiveFileType", inclusiveFileType); +} + +std::string ModifyWebLockUpdateConfigRequest::getDefenceMode()const +{ + return defenceMode_; +} + +void ModifyWebLockUpdateConfigRequest::setDefenceMode(const std::string& defenceMode) +{ + defenceMode_ = defenceMode; + setParameter("DefenceMode", defenceMode); +} + diff --git a/sas/src/model/ModifyWebLockUpdateConfigResult.cc b/sas/src/model/ModifyWebLockUpdateConfigResult.cc new file mode 100644 index 000000000..ed48d1425 --- /dev/null +++ b/sas/src/model/ModifyWebLockUpdateConfigResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +ModifyWebLockUpdateConfigResult::ModifyWebLockUpdateConfigResult() : + ServiceResult() +{} + +ModifyWebLockUpdateConfigResult::ModifyWebLockUpdateConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyWebLockUpdateConfigResult::~ModifyWebLockUpdateConfigResult() +{} + +void ModifyWebLockUpdateConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/OperateVulsRequest.cc b/sas/src/model/OperateVulsRequest.cc new file mode 100644 index 000000000..0ba641548 --- /dev/null +++ b/sas/src/model/OperateVulsRequest.cc @@ -0,0 +1,110 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Sas::Model::OperateVulsRequest; + +OperateVulsRequest::OperateVulsRequest() : + RpcServiceRequest("sas", "2018-12-03", "OperateVuls") +{ + setMethod(HttpRequest::Method::Post); +} + +OperateVulsRequest::~OperateVulsRequest() +{} + +std::string OperateVulsRequest::getReason()const +{ + return reason_; +} + +void OperateVulsRequest::setReason(const std::string& reason) +{ + reason_ = reason; + setParameter("Reason", reason); +} + +std::string OperateVulsRequest::getType()const +{ + return type_; +} + +void OperateVulsRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +std::vector OperateVulsRequest::getVulNames()const +{ + return vulNames_; +} + +void OperateVulsRequest::setVulNames(const std::vector& vulNames) +{ + vulNames_ = vulNames; + for(int dep1 = 0; dep1!= vulNames.size(); dep1++) { + setParameter("VulNames."+ std::to_string(dep1), vulNames.at(dep1)); + } +} + +std::string OperateVulsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void OperateVulsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +int OperateVulsRequest::getPrecondition()const +{ + return precondition_; +} + +void OperateVulsRequest::setPrecondition(int precondition) +{ + precondition_ = precondition; + setParameter("Precondition", std::to_string(precondition)); +} + +std::string OperateVulsRequest::getOperateType()const +{ + return operateType_; +} + +void OperateVulsRequest::setOperateType(const std::string& operateType) +{ + operateType_ = operateType; + setParameter("OperateType", operateType); +} + +std::vector OperateVulsRequest::getUuids()const +{ + return uuids_; +} + +void OperateVulsRequest::setUuids(const std::vector& uuids) +{ + uuids_ = uuids; + for(int dep1 = 0; dep1!= uuids.size(); dep1++) { + setParameter("Uuids."+ std::to_string(dep1), uuids.at(dep1)); + } +} + diff --git a/sas/src/model/OperateVulsResult.cc b/sas/src/model/OperateVulsResult.cc new file mode 100644 index 000000000..67aa17a15 --- /dev/null +++ b/sas/src/model/OperateVulsResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +OperateVulsResult::OperateVulsResult() : + ServiceResult() +{} + +OperateVulsResult::OperateVulsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +OperateVulsResult::~OperateVulsResult() +{} + +void OperateVulsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/RefreshContainerAssetsRequest.cc b/sas/src/model/RefreshContainerAssetsRequest.cc new file mode 100644 index 000000000..0a4fede84 --- /dev/null +++ b/sas/src/model/RefreshContainerAssetsRequest.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 + +using AlibabaCloud::Sas::Model::RefreshContainerAssetsRequest; + +RefreshContainerAssetsRequest::RefreshContainerAssetsRequest() : + RpcServiceRequest("sas", "2018-12-03", "RefreshContainerAssets") +{ + setMethod(HttpRequest::Method::Post); +} + +RefreshContainerAssetsRequest::~RefreshContainerAssetsRequest() +{} + +std::string RefreshContainerAssetsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void RefreshContainerAssetsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string RefreshContainerAssetsRequest::getAssetType()const +{ + return assetType_; +} + +void RefreshContainerAssetsRequest::setAssetType(const std::string& assetType) +{ + assetType_ = assetType; + setParameter("AssetType", assetType); +} + diff --git a/sas/src/model/RefreshContainerAssetsResult.cc b/sas/src/model/RefreshContainerAssetsResult.cc new file mode 100644 index 000000000..19e6104be --- /dev/null +++ b/sas/src/model/RefreshContainerAssetsResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +RefreshContainerAssetsResult::RefreshContainerAssetsResult() : + ServiceResult() +{} + +RefreshContainerAssetsResult::RefreshContainerAssetsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RefreshContainerAssetsResult::~RefreshContainerAssetsResult() +{} + +void RefreshContainerAssetsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/RollbackSuspEventQuaraFileRequest.cc b/sas/src/model/RollbackSuspEventQuaraFileRequest.cc new file mode 100644 index 000000000..9d14760b7 --- /dev/null +++ b/sas/src/model/RollbackSuspEventQuaraFileRequest.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::Sas::Model::RollbackSuspEventQuaraFileRequest; + +RollbackSuspEventQuaraFileRequest::RollbackSuspEventQuaraFileRequest() : + RpcServiceRequest("sas", "2018-12-03", "RollbackSuspEventQuaraFile") +{ + setMethod(HttpRequest::Method::Post); +} + +RollbackSuspEventQuaraFileRequest::~RollbackSuspEventQuaraFileRequest() +{} + +std::string RollbackSuspEventQuaraFileRequest::getSourceIp()const +{ + return sourceIp_; +} + +void RollbackSuspEventQuaraFileRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string RollbackSuspEventQuaraFileRequest::getFrom()const +{ + return from_; +} + +void RollbackSuspEventQuaraFileRequest::setFrom(const std::string& from) +{ + from_ = from; + setParameter("From", from); +} + +int RollbackSuspEventQuaraFileRequest::getQuaraFileId()const +{ + return quaraFileId_; +} + +void RollbackSuspEventQuaraFileRequest::setQuaraFileId(int quaraFileId) +{ + quaraFileId_ = quaraFileId; + setParameter("QuaraFileId", std::to_string(quaraFileId)); +} + diff --git a/sas/src/model/RollbackSuspEventQuaraFileResult.cc b/sas/src/model/RollbackSuspEventQuaraFileResult.cc new file mode 100644 index 000000000..57cd62696 --- /dev/null +++ b/sas/src/model/RollbackSuspEventQuaraFileResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +RollbackSuspEventQuaraFileResult::RollbackSuspEventQuaraFileResult() : + ServiceResult() +{} + +RollbackSuspEventQuaraFileResult::RollbackSuspEventQuaraFileResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RollbackSuspEventQuaraFileResult::~RollbackSuspEventQuaraFileResult() +{} + +void RollbackSuspEventQuaraFileResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/StartImageVulScanRequest.cc b/sas/src/model/StartImageVulScanRequest.cc new file mode 100644 index 000000000..7c8fbfb0d --- /dev/null +++ b/sas/src/model/StartImageVulScanRequest.cc @@ -0,0 +1,152 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Sas::Model::StartImageVulScanRequest; + +StartImageVulScanRequest::StartImageVulScanRequest() : + RpcServiceRequest("sas", "2018-12-03", "StartImageVulScan") +{ + setMethod(HttpRequest::Method::Post); +} + +StartImageVulScanRequest::~StartImageVulScanRequest() +{} + +std::string StartImageVulScanRequest::getRepoId()const +{ + return repoId_; +} + +void StartImageVulScanRequest::setRepoId(const std::string& repoId) +{ + repoId_ = repoId; + setParameter("RepoId", repoId); +} + +std::string StartImageVulScanRequest::getRepoNamespace()const +{ + return repoNamespace_; +} + +void StartImageVulScanRequest::setRepoNamespace(const std::string& repoNamespace) +{ + repoNamespace_ = repoNamespace; + setParameter("RepoNamespace", repoNamespace); +} + +std::string StartImageVulScanRequest::getSourceIp()const +{ + return sourceIp_; +} + +void StartImageVulScanRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string StartImageVulScanRequest::getImageDigest()const +{ + return imageDigest_; +} + +void StartImageVulScanRequest::setImageDigest(const std::string& imageDigest) +{ + imageDigest_ = imageDigest; + setParameter("ImageDigest", imageDigest); +} + +std::string StartImageVulScanRequest::getRepName()const +{ + return repName_; +} + +void StartImageVulScanRequest::setRepName(const std::string& repName) +{ + repName_ = repName; + setParameter("RepName", repName); +} + +std::string StartImageVulScanRequest::getLang()const +{ + return lang_; +} + +void StartImageVulScanRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string StartImageVulScanRequest::getImageTag()const +{ + return imageTag_; +} + +void StartImageVulScanRequest::setImageTag(const std::string& imageTag) +{ + imageTag_ = imageTag; + setParameter("ImageTag", imageTag); +} + +std::vector StartImageVulScanRequest::getRegistryTypes()const +{ + return registryTypes_; +} + +void StartImageVulScanRequest::setRegistryTypes(const std::vector& registryTypes) +{ + registryTypes_ = registryTypes; + for(int dep1 = 0; dep1!= registryTypes.size(); dep1++) { + setParameter("RegistryTypes."+ std::to_string(dep1), registryTypes.at(dep1)); + } +} + +std::string StartImageVulScanRequest::getRepoInstanceId()const +{ + return repoInstanceId_; +} + +void StartImageVulScanRequest::setRepoInstanceId(const std::string& repoInstanceId) +{ + repoInstanceId_ = repoInstanceId; + setParameter("RepoInstanceId", repoInstanceId); +} + +std::string StartImageVulScanRequest::getImageLayer()const +{ + return imageLayer_; +} + +void StartImageVulScanRequest::setImageLayer(const std::string& imageLayer) +{ + imageLayer_ = imageLayer; + setParameter("ImageLayer", imageLayer); +} + +std::string StartImageVulScanRequest::getRepoRegionId()const +{ + return repoRegionId_; +} + +void StartImageVulScanRequest::setRepoRegionId(const std::string& repoRegionId) +{ + repoRegionId_ = repoRegionId; + setParameter("RepoRegionId", repoRegionId); +} + diff --git a/sas/src/model/StartImageVulScanResult.cc b/sas/src/model/StartImageVulScanResult.cc new file mode 100644 index 000000000..b82d23091 --- /dev/null +++ b/sas/src/model/StartImageVulScanResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +StartImageVulScanResult::StartImageVulScanResult() : + ServiceResult() +{} + +StartImageVulScanResult::StartImageVulScanResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StartImageVulScanResult::~StartImageVulScanResult() +{} + +void StartImageVulScanResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/StartVirusScanTaskRequest.cc b/sas/src/model/StartVirusScanTaskRequest.cc new file mode 100644 index 000000000..fe9ac5876 --- /dev/null +++ b/sas/src/model/StartVirusScanTaskRequest.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 + +using AlibabaCloud::Sas::Model::StartVirusScanTaskRequest; + +StartVirusScanTaskRequest::StartVirusScanTaskRequest() : + RpcServiceRequest("sas", "2018-12-03", "StartVirusScanTask") +{ + setMethod(HttpRequest::Method::Post); +} + +StartVirusScanTaskRequest::~StartVirusScanTaskRequest() +{} + +std::string StartVirusScanTaskRequest::getSourceIp()const +{ + return sourceIp_; +} + +void StartVirusScanTaskRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string StartVirusScanTaskRequest::getTargetInfo()const +{ + return targetInfo_; +} + +void StartVirusScanTaskRequest::setTargetInfo(const std::string& targetInfo) +{ + targetInfo_ = targetInfo; + setParameter("TargetInfo", targetInfo); +} + diff --git a/sas/src/model/StartVirusScanTaskResult.cc b/sas/src/model/StartVirusScanTaskResult.cc new file mode 100644 index 000000000..c445c518b --- /dev/null +++ b/sas/src/model/StartVirusScanTaskResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +StartVirusScanTaskResult::StartVirusScanTaskResult() : + ServiceResult() +{} + +StartVirusScanTaskResult::StartVirusScanTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StartVirusScanTaskResult::~StartVirusScanTaskResult() +{} + +void StartVirusScanTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ScanTaskId"].isNull()) + scanTaskId_ = std::stol(value["ScanTaskId"].asString()); + +} + +long StartVirusScanTaskResult::getScanTaskId()const +{ + return scanTaskId_; +} + diff --git a/sas/src/model/UnbindAegisRequest.cc b/sas/src/model/UnbindAegisRequest.cc new file mode 100644 index 000000000..3b50c62c0 --- /dev/null +++ b/sas/src/model/UnbindAegisRequest.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 + +using AlibabaCloud::Sas::Model::UnbindAegisRequest; + +UnbindAegisRequest::UnbindAegisRequest() : + RpcServiceRequest("sas", "2018-12-03", "UnbindAegis") +{ + setMethod(HttpRequest::Method::Post); +} + +UnbindAegisRequest::~UnbindAegisRequest() +{} + +std::string UnbindAegisRequest::getSourceIp()const +{ + return sourceIp_; +} + +void UnbindAegisRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string UnbindAegisRequest::getUuids()const +{ + return uuids_; +} + +void UnbindAegisRequest::setUuids(const std::string& uuids) +{ + uuids_ = uuids; + setParameter("Uuids", uuids); +} + diff --git a/sas/src/model/UnbindAegisResult.cc b/sas/src/model/UnbindAegisResult.cc new file mode 100644 index 000000000..95db9ae71 --- /dev/null +++ b/sas/src/model/UnbindAegisResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +UnbindAegisResult::UnbindAegisResult() : + ServiceResult() +{} + +UnbindAegisResult::UnbindAegisResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UnbindAegisResult::~UnbindAegisResult() +{} + +void UnbindAegisResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/UninstallBackupClientRequest.cc b/sas/src/model/UninstallBackupClientRequest.cc new file mode 100644 index 000000000..60d74aea9 --- /dev/null +++ b/sas/src/model/UninstallBackupClientRequest.cc @@ -0,0 +1,86 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Sas::Model::UninstallBackupClientRequest; + +UninstallBackupClientRequest::UninstallBackupClientRequest() : + RpcServiceRequest("sas", "2018-12-03", "UninstallBackupClient") +{ + setMethod(HttpRequest::Method::Post); +} + +UninstallBackupClientRequest::~UninstallBackupClientRequest() +{} + +long UninstallBackupClientRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void UninstallBackupClientRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string UninstallBackupClientRequest::getPolicyVersion()const +{ + return policyVersion_; +} + +void UninstallBackupClientRequest::setPolicyVersion(const std::string& policyVersion) +{ + policyVersion_ = policyVersion; + setParameter("PolicyVersion", policyVersion); +} + +std::string UninstallBackupClientRequest::getUuid()const +{ + return uuid_; +} + +void UninstallBackupClientRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setParameter("Uuid", uuid); +} + +std::string UninstallBackupClientRequest::getSourceIp()const +{ + return sourceIp_; +} + +void UninstallBackupClientRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::vector UninstallBackupClientRequest::getUuidList()const +{ + return uuidList_; +} + +void UninstallBackupClientRequest::setUuidList(const std::vector& uuidList) +{ + uuidList_ = uuidList; + for(int dep1 = 0; dep1!= uuidList.size(); dep1++) { + setParameter("UuidList."+ std::to_string(dep1), uuidList.at(dep1)); + } +} + diff --git a/sas/src/model/UninstallBackupClientResult.cc b/sas/src/model/UninstallBackupClientResult.cc new file mode 100644 index 000000000..295b31c0e --- /dev/null +++ b/sas/src/model/UninstallBackupClientResult.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::Sas; +using namespace AlibabaCloud::Sas::Model; + +UninstallBackupClientResult::UninstallBackupClientResult() : + ServiceResult() +{} + +UninstallBackupClientResult::UninstallBackupClientResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UninstallBackupClientResult::~UninstallBackupClientResult() +{} + +void UninstallBackupClientResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} +