Support rd sdk.
This commit is contained in:
@@ -29,6 +29,8 @@ set(sas_public_header_model
|
||||
include/alibabacloud/sas/model/AddCheckResultWhiteListResult.h
|
||||
include/alibabacloud/sas/model/AddClientUserDefineRuleRequest.h
|
||||
include/alibabacloud/sas/model/AddClientUserDefineRuleResult.h
|
||||
include/alibabacloud/sas/model/AddImageVulWhiteListRequest.h
|
||||
include/alibabacloud/sas/model/AddImageVulWhiteListResult.h
|
||||
include/alibabacloud/sas/model/AddInstallCodeRequest.h
|
||||
include/alibabacloud/sas/model/AddInstallCodeResult.h
|
||||
include/alibabacloud/sas/model/AddPrivateRegistryRequest.h
|
||||
@@ -47,6 +49,8 @@ set(sas_public_header_model
|
||||
include/alibabacloud/sas/model/BindAuthToMachineResult.h
|
||||
include/alibabacloud/sas/model/CancelOnceTaskRequest.h
|
||||
include/alibabacloud/sas/model/CancelOnceTaskResult.h
|
||||
include/alibabacloud/sas/model/ChangeAssetRefreshTaskConfigRequest.h
|
||||
include/alibabacloud/sas/model/ChangeAssetRefreshTaskConfigResult.h
|
||||
include/alibabacloud/sas/model/ChangeCheckConfigRequest.h
|
||||
include/alibabacloud/sas/model/ChangeCheckConfigResult.h
|
||||
include/alibabacloud/sas/model/ChangeCheckCustomConfigRequest.h
|
||||
@@ -59,6 +63,8 @@ set(sas_public_header_model
|
||||
include/alibabacloud/sas/model/CheckUserHasEcsResult.h
|
||||
include/alibabacloud/sas/model/ConfirmVirusEventsRequest.h
|
||||
include/alibabacloud/sas/model/ConfirmVirusEventsResult.h
|
||||
include/alibabacloud/sas/model/CreateAgentlessScanTaskRequest.h
|
||||
include/alibabacloud/sas/model/CreateAgentlessScanTaskResult.h
|
||||
include/alibabacloud/sas/model/CreateAntiBruteForceRuleRequest.h
|
||||
include/alibabacloud/sas/model/CreateAntiBruteForceRuleResult.h
|
||||
include/alibabacloud/sas/model/CreateAssetSelectionConfigRequest.h
|
||||
@@ -97,6 +103,8 @@ set(sas_public_header_model
|
||||
include/alibabacloud/sas/model/CreateRestoreJobResult.h
|
||||
include/alibabacloud/sas/model/CreateServiceLinkedRoleRequest.h
|
||||
include/alibabacloud/sas/model/CreateServiceLinkedRoleResult.h
|
||||
include/alibabacloud/sas/model/CreateServiceTrailRequest.h
|
||||
include/alibabacloud/sas/model/CreateServiceTrailResult.h
|
||||
include/alibabacloud/sas/model/CreateSimilarSecurityEventsQueryTaskRequest.h
|
||||
include/alibabacloud/sas/model/CreateSimilarSecurityEventsQueryTaskResult.h
|
||||
include/alibabacloud/sas/model/CreateSuspEventNoteRequest.h
|
||||
@@ -113,6 +121,8 @@ set(sas_public_header_model
|
||||
include/alibabacloud/sas/model/DeleteBackupPolicyResult.h
|
||||
include/alibabacloud/sas/model/DeleteBackupPolicyMachineRequest.h
|
||||
include/alibabacloud/sas/model/DeleteBackupPolicyMachineResult.h
|
||||
include/alibabacloud/sas/model/DeleteBinarySecurityPolicyRequest.h
|
||||
include/alibabacloud/sas/model/DeleteBinarySecurityPolicyResult.h
|
||||
include/alibabacloud/sas/model/DeleteClientUserDefineRuleRequest.h
|
||||
include/alibabacloud/sas/model/DeleteClientUserDefineRuleResult.h
|
||||
include/alibabacloud/sas/model/DeleteCustomBlockRecordRequest.h
|
||||
@@ -141,6 +151,8 @@ set(sas_public_header_model
|
||||
include/alibabacloud/sas/model/DeletePrivateRegistryResult.h
|
||||
include/alibabacloud/sas/model/DeleteSecurityEventMarkMissListRequest.h
|
||||
include/alibabacloud/sas/model/DeleteSecurityEventMarkMissListResult.h
|
||||
include/alibabacloud/sas/model/DeleteServiceTrailRequest.h
|
||||
include/alibabacloud/sas/model/DeleteServiceTrailResult.h
|
||||
include/alibabacloud/sas/model/DeleteStrategyRequest.h
|
||||
include/alibabacloud/sas/model/DeleteStrategyResult.h
|
||||
include/alibabacloud/sas/model/DeleteSuspEventNodeRequest.h
|
||||
@@ -363,6 +375,8 @@ set(sas_public_header_model
|
||||
include/alibabacloud/sas/model/DescribeImageStatisticsResult.h
|
||||
include/alibabacloud/sas/model/DescribeImageVulListRequest.h
|
||||
include/alibabacloud/sas/model/DescribeImageVulListResult.h
|
||||
include/alibabacloud/sas/model/DescribeImageVulWhiteListRequest.h
|
||||
include/alibabacloud/sas/model/DescribeImageVulWhiteListResult.h
|
||||
include/alibabacloud/sas/model/DescribeInstallCaptchaRequest.h
|
||||
include/alibabacloud/sas/model/DescribeInstallCaptchaResult.h
|
||||
include/alibabacloud/sas/model/DescribeInstallCodeRequest.h
|
||||
@@ -393,6 +407,8 @@ set(sas_public_header_model
|
||||
include/alibabacloud/sas/model/DescribeMachineCanRebootResult.h
|
||||
include/alibabacloud/sas/model/DescribeModuleConfigRequest.h
|
||||
include/alibabacloud/sas/model/DescribeModuleConfigResult.h
|
||||
include/alibabacloud/sas/model/DescribeMonitorAccountsRequest.h
|
||||
include/alibabacloud/sas/model/DescribeMonitorAccountsResult.h
|
||||
include/alibabacloud/sas/model/DescribeNoticeConfigRequest.h
|
||||
include/alibabacloud/sas/model/DescribeNoticeConfigResult.h
|
||||
include/alibabacloud/sas/model/DescribeNsasSuspEventTypeRequest.h
|
||||
@@ -467,6 +483,8 @@ set(sas_public_header_model
|
||||
include/alibabacloud/sas/model/DescribeSecureSuggestionResult.h
|
||||
include/alibabacloud/sas/model/DescribeSecurityCheckScheduleConfigRequest.h
|
||||
include/alibabacloud/sas/model/DescribeSecurityCheckScheduleConfigResult.h
|
||||
include/alibabacloud/sas/model/DescribeSecurityEventMarkMissListRequest.h
|
||||
include/alibabacloud/sas/model/DescribeSecurityEventMarkMissListResult.h
|
||||
include/alibabacloud/sas/model/DescribeSecurityEventOperationStatusRequest.h
|
||||
include/alibabacloud/sas/model/DescribeSecurityEventOperationStatusResult.h
|
||||
include/alibabacloud/sas/model/DescribeSecurityEventOperationsRequest.h
|
||||
@@ -619,6 +637,8 @@ set(sas_public_header_model
|
||||
include/alibabacloud/sas/model/FixCheckWarningsResult.h
|
||||
include/alibabacloud/sas/model/GenerateOnceTaskRequest.h
|
||||
include/alibabacloud/sas/model/GenerateOnceTaskResult.h
|
||||
include/alibabacloud/sas/model/GetAgentlessTaskCountRequest.h
|
||||
include/alibabacloud/sas/model/GetAgentlessTaskCountResult.h
|
||||
include/alibabacloud/sas/model/GetAlarmMachineCountRequest.h
|
||||
include/alibabacloud/sas/model/GetAlarmMachineCountResult.h
|
||||
include/alibabacloud/sas/model/GetAppNetworkRequest.h
|
||||
@@ -643,6 +663,8 @@ set(sas_public_header_model
|
||||
include/alibabacloud/sas/model/GetCheckRiskStatisticsResult.h
|
||||
include/alibabacloud/sas/model/GetCheckSummaryRequest.h
|
||||
include/alibabacloud/sas/model/GetCheckSummaryResult.h
|
||||
include/alibabacloud/sas/model/GetClientRatioStatisticRequest.h
|
||||
include/alibabacloud/sas/model/GetClientRatioStatisticResult.h
|
||||
include/alibabacloud/sas/model/GetClientUserDefineRuleRequest.h
|
||||
include/alibabacloud/sas/model/GetClientUserDefineRuleResult.h
|
||||
include/alibabacloud/sas/model/GetCloudAssetCriteriaRequest.h
|
||||
@@ -685,6 +707,8 @@ set(sas_public_header_model
|
||||
include/alibabacloud/sas/model/GetPropertyScheduleConfigResult.h
|
||||
include/alibabacloud/sas/model/GetRulesCountRequest.h
|
||||
include/alibabacloud/sas/model/GetRulesCountResult.h
|
||||
include/alibabacloud/sas/model/GetServiceTrailRequest.h
|
||||
include/alibabacloud/sas/model/GetServiceTrailResult.h
|
||||
include/alibabacloud/sas/model/GetSuspiciousStatisticsRequest.h
|
||||
include/alibabacloud/sas/model/GetSuspiciousStatisticsResult.h
|
||||
include/alibabacloud/sas/model/GetVulStatisticsRequest.h
|
||||
@@ -709,6 +733,16 @@ set(sas_public_header_model
|
||||
include/alibabacloud/sas/model/InstallUniBackupAgentResult.h
|
||||
include/alibabacloud/sas/model/JoinWebLockProcessWhiteListRequest.h
|
||||
include/alibabacloud/sas/model/JoinWebLockProcessWhiteListResult.h
|
||||
include/alibabacloud/sas/model/ListAgentlessRegionRequest.h
|
||||
include/alibabacloud/sas/model/ListAgentlessRegionResult.h
|
||||
include/alibabacloud/sas/model/ListAgentlessRelateMaliciousRequest.h
|
||||
include/alibabacloud/sas/model/ListAgentlessRelateMaliciousResult.h
|
||||
include/alibabacloud/sas/model/ListAgentlessRiskUuidRequest.h
|
||||
include/alibabacloud/sas/model/ListAgentlessRiskUuidResult.h
|
||||
include/alibabacloud/sas/model/ListAgentlessTaskRequest.h
|
||||
include/alibabacloud/sas/model/ListAgentlessTaskResult.h
|
||||
include/alibabacloud/sas/model/ListAssetRefreshTaskConfigRequest.h
|
||||
include/alibabacloud/sas/model/ListAssetRefreshTaskConfigResult.h
|
||||
include/alibabacloud/sas/model/ListAssetSelectionSelectedTargetRequest.h
|
||||
include/alibabacloud/sas/model/ListAssetSelectionSelectedTargetResult.h
|
||||
include/alibabacloud/sas/model/ListAssetSelectionTargetRequest.h
|
||||
@@ -1006,6 +1040,8 @@ set(sas_src
|
||||
src/model/AddCheckResultWhiteListResult.cc
|
||||
src/model/AddClientUserDefineRuleRequest.cc
|
||||
src/model/AddClientUserDefineRuleResult.cc
|
||||
src/model/AddImageVulWhiteListRequest.cc
|
||||
src/model/AddImageVulWhiteListResult.cc
|
||||
src/model/AddInstallCodeRequest.cc
|
||||
src/model/AddInstallCodeResult.cc
|
||||
src/model/AddPrivateRegistryRequest.cc
|
||||
@@ -1024,6 +1060,8 @@ set(sas_src
|
||||
src/model/BindAuthToMachineResult.cc
|
||||
src/model/CancelOnceTaskRequest.cc
|
||||
src/model/CancelOnceTaskResult.cc
|
||||
src/model/ChangeAssetRefreshTaskConfigRequest.cc
|
||||
src/model/ChangeAssetRefreshTaskConfigResult.cc
|
||||
src/model/ChangeCheckConfigRequest.cc
|
||||
src/model/ChangeCheckConfigResult.cc
|
||||
src/model/ChangeCheckCustomConfigRequest.cc
|
||||
@@ -1036,6 +1074,8 @@ set(sas_src
|
||||
src/model/CheckUserHasEcsResult.cc
|
||||
src/model/ConfirmVirusEventsRequest.cc
|
||||
src/model/ConfirmVirusEventsResult.cc
|
||||
src/model/CreateAgentlessScanTaskRequest.cc
|
||||
src/model/CreateAgentlessScanTaskResult.cc
|
||||
src/model/CreateAntiBruteForceRuleRequest.cc
|
||||
src/model/CreateAntiBruteForceRuleResult.cc
|
||||
src/model/CreateAssetSelectionConfigRequest.cc
|
||||
@@ -1074,6 +1114,8 @@ set(sas_src
|
||||
src/model/CreateRestoreJobResult.cc
|
||||
src/model/CreateServiceLinkedRoleRequest.cc
|
||||
src/model/CreateServiceLinkedRoleResult.cc
|
||||
src/model/CreateServiceTrailRequest.cc
|
||||
src/model/CreateServiceTrailResult.cc
|
||||
src/model/CreateSimilarSecurityEventsQueryTaskRequest.cc
|
||||
src/model/CreateSimilarSecurityEventsQueryTaskResult.cc
|
||||
src/model/CreateSuspEventNoteRequest.cc
|
||||
@@ -1090,6 +1132,8 @@ set(sas_src
|
||||
src/model/DeleteBackupPolicyResult.cc
|
||||
src/model/DeleteBackupPolicyMachineRequest.cc
|
||||
src/model/DeleteBackupPolicyMachineResult.cc
|
||||
src/model/DeleteBinarySecurityPolicyRequest.cc
|
||||
src/model/DeleteBinarySecurityPolicyResult.cc
|
||||
src/model/DeleteClientUserDefineRuleRequest.cc
|
||||
src/model/DeleteClientUserDefineRuleResult.cc
|
||||
src/model/DeleteCustomBlockRecordRequest.cc
|
||||
@@ -1118,6 +1162,8 @@ set(sas_src
|
||||
src/model/DeletePrivateRegistryResult.cc
|
||||
src/model/DeleteSecurityEventMarkMissListRequest.cc
|
||||
src/model/DeleteSecurityEventMarkMissListResult.cc
|
||||
src/model/DeleteServiceTrailRequest.cc
|
||||
src/model/DeleteServiceTrailResult.cc
|
||||
src/model/DeleteStrategyRequest.cc
|
||||
src/model/DeleteStrategyResult.cc
|
||||
src/model/DeleteSuspEventNodeRequest.cc
|
||||
@@ -1340,6 +1386,8 @@ set(sas_src
|
||||
src/model/DescribeImageStatisticsResult.cc
|
||||
src/model/DescribeImageVulListRequest.cc
|
||||
src/model/DescribeImageVulListResult.cc
|
||||
src/model/DescribeImageVulWhiteListRequest.cc
|
||||
src/model/DescribeImageVulWhiteListResult.cc
|
||||
src/model/DescribeInstallCaptchaRequest.cc
|
||||
src/model/DescribeInstallCaptchaResult.cc
|
||||
src/model/DescribeInstallCodeRequest.cc
|
||||
@@ -1370,6 +1418,8 @@ set(sas_src
|
||||
src/model/DescribeMachineCanRebootResult.cc
|
||||
src/model/DescribeModuleConfigRequest.cc
|
||||
src/model/DescribeModuleConfigResult.cc
|
||||
src/model/DescribeMonitorAccountsRequest.cc
|
||||
src/model/DescribeMonitorAccountsResult.cc
|
||||
src/model/DescribeNoticeConfigRequest.cc
|
||||
src/model/DescribeNoticeConfigResult.cc
|
||||
src/model/DescribeNsasSuspEventTypeRequest.cc
|
||||
@@ -1444,6 +1494,8 @@ set(sas_src
|
||||
src/model/DescribeSecureSuggestionResult.cc
|
||||
src/model/DescribeSecurityCheckScheduleConfigRequest.cc
|
||||
src/model/DescribeSecurityCheckScheduleConfigResult.cc
|
||||
src/model/DescribeSecurityEventMarkMissListRequest.cc
|
||||
src/model/DescribeSecurityEventMarkMissListResult.cc
|
||||
src/model/DescribeSecurityEventOperationStatusRequest.cc
|
||||
src/model/DescribeSecurityEventOperationStatusResult.cc
|
||||
src/model/DescribeSecurityEventOperationsRequest.cc
|
||||
@@ -1596,6 +1648,8 @@ set(sas_src
|
||||
src/model/FixCheckWarningsResult.cc
|
||||
src/model/GenerateOnceTaskRequest.cc
|
||||
src/model/GenerateOnceTaskResult.cc
|
||||
src/model/GetAgentlessTaskCountRequest.cc
|
||||
src/model/GetAgentlessTaskCountResult.cc
|
||||
src/model/GetAlarmMachineCountRequest.cc
|
||||
src/model/GetAlarmMachineCountResult.cc
|
||||
src/model/GetAppNetworkRequest.cc
|
||||
@@ -1620,6 +1674,8 @@ set(sas_src
|
||||
src/model/GetCheckRiskStatisticsResult.cc
|
||||
src/model/GetCheckSummaryRequest.cc
|
||||
src/model/GetCheckSummaryResult.cc
|
||||
src/model/GetClientRatioStatisticRequest.cc
|
||||
src/model/GetClientRatioStatisticResult.cc
|
||||
src/model/GetClientUserDefineRuleRequest.cc
|
||||
src/model/GetClientUserDefineRuleResult.cc
|
||||
src/model/GetCloudAssetCriteriaRequest.cc
|
||||
@@ -1662,6 +1718,8 @@ set(sas_src
|
||||
src/model/GetPropertyScheduleConfigResult.cc
|
||||
src/model/GetRulesCountRequest.cc
|
||||
src/model/GetRulesCountResult.cc
|
||||
src/model/GetServiceTrailRequest.cc
|
||||
src/model/GetServiceTrailResult.cc
|
||||
src/model/GetSuspiciousStatisticsRequest.cc
|
||||
src/model/GetSuspiciousStatisticsResult.cc
|
||||
src/model/GetVulStatisticsRequest.cc
|
||||
@@ -1686,6 +1744,16 @@ set(sas_src
|
||||
src/model/InstallUniBackupAgentResult.cc
|
||||
src/model/JoinWebLockProcessWhiteListRequest.cc
|
||||
src/model/JoinWebLockProcessWhiteListResult.cc
|
||||
src/model/ListAgentlessRegionRequest.cc
|
||||
src/model/ListAgentlessRegionResult.cc
|
||||
src/model/ListAgentlessRelateMaliciousRequest.cc
|
||||
src/model/ListAgentlessRelateMaliciousResult.cc
|
||||
src/model/ListAgentlessRiskUuidRequest.cc
|
||||
src/model/ListAgentlessRiskUuidResult.cc
|
||||
src/model/ListAgentlessTaskRequest.cc
|
||||
src/model/ListAgentlessTaskResult.cc
|
||||
src/model/ListAssetRefreshTaskConfigRequest.cc
|
||||
src/model/ListAssetRefreshTaskConfigResult.cc
|
||||
src/model/ListAssetSelectionSelectedTargetRequest.cc
|
||||
src/model/ListAssetSelectionSelectedTargetResult.cc
|
||||
src/model/ListAssetSelectionTargetRequest.cc
|
||||
|
||||
@@ -30,6 +30,8 @@
|
||||
#include "model/AddCheckResultWhiteListResult.h"
|
||||
#include "model/AddClientUserDefineRuleRequest.h"
|
||||
#include "model/AddClientUserDefineRuleResult.h"
|
||||
#include "model/AddImageVulWhiteListRequest.h"
|
||||
#include "model/AddImageVulWhiteListResult.h"
|
||||
#include "model/AddInstallCodeRequest.h"
|
||||
#include "model/AddInstallCodeResult.h"
|
||||
#include "model/AddPrivateRegistryRequest.h"
|
||||
@@ -48,6 +50,8 @@
|
||||
#include "model/BindAuthToMachineResult.h"
|
||||
#include "model/CancelOnceTaskRequest.h"
|
||||
#include "model/CancelOnceTaskResult.h"
|
||||
#include "model/ChangeAssetRefreshTaskConfigRequest.h"
|
||||
#include "model/ChangeAssetRefreshTaskConfigResult.h"
|
||||
#include "model/ChangeCheckConfigRequest.h"
|
||||
#include "model/ChangeCheckConfigResult.h"
|
||||
#include "model/ChangeCheckCustomConfigRequest.h"
|
||||
@@ -60,6 +64,8 @@
|
||||
#include "model/CheckUserHasEcsResult.h"
|
||||
#include "model/ConfirmVirusEventsRequest.h"
|
||||
#include "model/ConfirmVirusEventsResult.h"
|
||||
#include "model/CreateAgentlessScanTaskRequest.h"
|
||||
#include "model/CreateAgentlessScanTaskResult.h"
|
||||
#include "model/CreateAntiBruteForceRuleRequest.h"
|
||||
#include "model/CreateAntiBruteForceRuleResult.h"
|
||||
#include "model/CreateAssetSelectionConfigRequest.h"
|
||||
@@ -98,6 +104,8 @@
|
||||
#include "model/CreateRestoreJobResult.h"
|
||||
#include "model/CreateServiceLinkedRoleRequest.h"
|
||||
#include "model/CreateServiceLinkedRoleResult.h"
|
||||
#include "model/CreateServiceTrailRequest.h"
|
||||
#include "model/CreateServiceTrailResult.h"
|
||||
#include "model/CreateSimilarSecurityEventsQueryTaskRequest.h"
|
||||
#include "model/CreateSimilarSecurityEventsQueryTaskResult.h"
|
||||
#include "model/CreateSuspEventNoteRequest.h"
|
||||
@@ -114,6 +122,8 @@
|
||||
#include "model/DeleteBackupPolicyResult.h"
|
||||
#include "model/DeleteBackupPolicyMachineRequest.h"
|
||||
#include "model/DeleteBackupPolicyMachineResult.h"
|
||||
#include "model/DeleteBinarySecurityPolicyRequest.h"
|
||||
#include "model/DeleteBinarySecurityPolicyResult.h"
|
||||
#include "model/DeleteClientUserDefineRuleRequest.h"
|
||||
#include "model/DeleteClientUserDefineRuleResult.h"
|
||||
#include "model/DeleteCustomBlockRecordRequest.h"
|
||||
@@ -142,6 +152,8 @@
|
||||
#include "model/DeletePrivateRegistryResult.h"
|
||||
#include "model/DeleteSecurityEventMarkMissListRequest.h"
|
||||
#include "model/DeleteSecurityEventMarkMissListResult.h"
|
||||
#include "model/DeleteServiceTrailRequest.h"
|
||||
#include "model/DeleteServiceTrailResult.h"
|
||||
#include "model/DeleteStrategyRequest.h"
|
||||
#include "model/DeleteStrategyResult.h"
|
||||
#include "model/DeleteSuspEventNodeRequest.h"
|
||||
@@ -364,6 +376,8 @@
|
||||
#include "model/DescribeImageStatisticsResult.h"
|
||||
#include "model/DescribeImageVulListRequest.h"
|
||||
#include "model/DescribeImageVulListResult.h"
|
||||
#include "model/DescribeImageVulWhiteListRequest.h"
|
||||
#include "model/DescribeImageVulWhiteListResult.h"
|
||||
#include "model/DescribeInstallCaptchaRequest.h"
|
||||
#include "model/DescribeInstallCaptchaResult.h"
|
||||
#include "model/DescribeInstallCodeRequest.h"
|
||||
@@ -394,6 +408,8 @@
|
||||
#include "model/DescribeMachineCanRebootResult.h"
|
||||
#include "model/DescribeModuleConfigRequest.h"
|
||||
#include "model/DescribeModuleConfigResult.h"
|
||||
#include "model/DescribeMonitorAccountsRequest.h"
|
||||
#include "model/DescribeMonitorAccountsResult.h"
|
||||
#include "model/DescribeNoticeConfigRequest.h"
|
||||
#include "model/DescribeNoticeConfigResult.h"
|
||||
#include "model/DescribeNsasSuspEventTypeRequest.h"
|
||||
@@ -468,6 +484,8 @@
|
||||
#include "model/DescribeSecureSuggestionResult.h"
|
||||
#include "model/DescribeSecurityCheckScheduleConfigRequest.h"
|
||||
#include "model/DescribeSecurityCheckScheduleConfigResult.h"
|
||||
#include "model/DescribeSecurityEventMarkMissListRequest.h"
|
||||
#include "model/DescribeSecurityEventMarkMissListResult.h"
|
||||
#include "model/DescribeSecurityEventOperationStatusRequest.h"
|
||||
#include "model/DescribeSecurityEventOperationStatusResult.h"
|
||||
#include "model/DescribeSecurityEventOperationsRequest.h"
|
||||
@@ -620,6 +638,8 @@
|
||||
#include "model/FixCheckWarningsResult.h"
|
||||
#include "model/GenerateOnceTaskRequest.h"
|
||||
#include "model/GenerateOnceTaskResult.h"
|
||||
#include "model/GetAgentlessTaskCountRequest.h"
|
||||
#include "model/GetAgentlessTaskCountResult.h"
|
||||
#include "model/GetAlarmMachineCountRequest.h"
|
||||
#include "model/GetAlarmMachineCountResult.h"
|
||||
#include "model/GetAppNetworkRequest.h"
|
||||
@@ -644,6 +664,8 @@
|
||||
#include "model/GetCheckRiskStatisticsResult.h"
|
||||
#include "model/GetCheckSummaryRequest.h"
|
||||
#include "model/GetCheckSummaryResult.h"
|
||||
#include "model/GetClientRatioStatisticRequest.h"
|
||||
#include "model/GetClientRatioStatisticResult.h"
|
||||
#include "model/GetClientUserDefineRuleRequest.h"
|
||||
#include "model/GetClientUserDefineRuleResult.h"
|
||||
#include "model/GetCloudAssetCriteriaRequest.h"
|
||||
@@ -686,6 +708,8 @@
|
||||
#include "model/GetPropertyScheduleConfigResult.h"
|
||||
#include "model/GetRulesCountRequest.h"
|
||||
#include "model/GetRulesCountResult.h"
|
||||
#include "model/GetServiceTrailRequest.h"
|
||||
#include "model/GetServiceTrailResult.h"
|
||||
#include "model/GetSuspiciousStatisticsRequest.h"
|
||||
#include "model/GetSuspiciousStatisticsResult.h"
|
||||
#include "model/GetVulStatisticsRequest.h"
|
||||
@@ -710,6 +734,16 @@
|
||||
#include "model/InstallUniBackupAgentResult.h"
|
||||
#include "model/JoinWebLockProcessWhiteListRequest.h"
|
||||
#include "model/JoinWebLockProcessWhiteListResult.h"
|
||||
#include "model/ListAgentlessRegionRequest.h"
|
||||
#include "model/ListAgentlessRegionResult.h"
|
||||
#include "model/ListAgentlessRelateMaliciousRequest.h"
|
||||
#include "model/ListAgentlessRelateMaliciousResult.h"
|
||||
#include "model/ListAgentlessRiskUuidRequest.h"
|
||||
#include "model/ListAgentlessRiskUuidResult.h"
|
||||
#include "model/ListAgentlessTaskRequest.h"
|
||||
#include "model/ListAgentlessTaskResult.h"
|
||||
#include "model/ListAssetRefreshTaskConfigRequest.h"
|
||||
#include "model/ListAssetRefreshTaskConfigResult.h"
|
||||
#include "model/ListAssetSelectionSelectedTargetRequest.h"
|
||||
#include "model/ListAssetSelectionSelectedTargetResult.h"
|
||||
#include "model/ListAssetSelectionTargetRequest.h"
|
||||
@@ -1017,6 +1051,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::AddClientUserDefineRuleResult> AddClientUserDefineRuleOutcome;
|
||||
typedef std::future<AddClientUserDefineRuleOutcome> AddClientUserDefineRuleOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::AddClientUserDefineRuleRequest&, const AddClientUserDefineRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddClientUserDefineRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddImageVulWhiteListResult> AddImageVulWhiteListOutcome;
|
||||
typedef std::future<AddImageVulWhiteListOutcome> AddImageVulWhiteListOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::AddImageVulWhiteListRequest&, const AddImageVulWhiteListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddImageVulWhiteListAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddInstallCodeResult> AddInstallCodeOutcome;
|
||||
typedef std::future<AddInstallCodeOutcome> AddInstallCodeOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::AddInstallCodeRequest&, const AddInstallCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddInstallCodeAsyncHandler;
|
||||
@@ -1044,6 +1081,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CancelOnceTaskResult> CancelOnceTaskOutcome;
|
||||
typedef std::future<CancelOnceTaskOutcome> CancelOnceTaskOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::CancelOnceTaskRequest&, const CancelOnceTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelOnceTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::ChangeAssetRefreshTaskConfigResult> ChangeAssetRefreshTaskConfigOutcome;
|
||||
typedef std::future<ChangeAssetRefreshTaskConfigOutcome> ChangeAssetRefreshTaskConfigOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::ChangeAssetRefreshTaskConfigRequest&, const ChangeAssetRefreshTaskConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeAssetRefreshTaskConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::ChangeCheckConfigResult> ChangeCheckConfigOutcome;
|
||||
typedef std::future<ChangeCheckConfigOutcome> ChangeCheckConfigOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::ChangeCheckConfigRequest&, const ChangeCheckConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeCheckConfigAsyncHandler;
|
||||
@@ -1062,6 +1102,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ConfirmVirusEventsResult> ConfirmVirusEventsOutcome;
|
||||
typedef std::future<ConfirmVirusEventsOutcome> ConfirmVirusEventsOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::ConfirmVirusEventsRequest&, const ConfirmVirusEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfirmVirusEventsAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateAgentlessScanTaskResult> CreateAgentlessScanTaskOutcome;
|
||||
typedef std::future<CreateAgentlessScanTaskOutcome> CreateAgentlessScanTaskOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::CreateAgentlessScanTaskRequest&, const CreateAgentlessScanTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAgentlessScanTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateAntiBruteForceRuleResult> CreateAntiBruteForceRuleOutcome;
|
||||
typedef std::future<CreateAntiBruteForceRuleOutcome> CreateAntiBruteForceRuleOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::CreateAntiBruteForceRuleRequest&, const CreateAntiBruteForceRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAntiBruteForceRuleAsyncHandler;
|
||||
@@ -1119,6 +1162,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateServiceLinkedRoleResult> CreateServiceLinkedRoleOutcome;
|
||||
typedef std::future<CreateServiceLinkedRoleOutcome> CreateServiceLinkedRoleOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::CreateServiceLinkedRoleRequest&, const CreateServiceLinkedRoleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateServiceLinkedRoleAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateServiceTrailResult> CreateServiceTrailOutcome;
|
||||
typedef std::future<CreateServiceTrailOutcome> CreateServiceTrailOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::CreateServiceTrailRequest&, const CreateServiceTrailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateServiceTrailAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateSimilarSecurityEventsQueryTaskResult> CreateSimilarSecurityEventsQueryTaskOutcome;
|
||||
typedef std::future<CreateSimilarSecurityEventsQueryTaskOutcome> CreateSimilarSecurityEventsQueryTaskOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::CreateSimilarSecurityEventsQueryTaskRequest&, const CreateSimilarSecurityEventsQueryTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSimilarSecurityEventsQueryTaskAsyncHandler;
|
||||
@@ -1143,6 +1189,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteBackupPolicyMachineResult> DeleteBackupPolicyMachineOutcome;
|
||||
typedef std::future<DeleteBackupPolicyMachineOutcome> DeleteBackupPolicyMachineOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::DeleteBackupPolicyMachineRequest&, const DeleteBackupPolicyMachineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteBackupPolicyMachineAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteBinarySecurityPolicyResult> DeleteBinarySecurityPolicyOutcome;
|
||||
typedef std::future<DeleteBinarySecurityPolicyOutcome> DeleteBinarySecurityPolicyOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::DeleteBinarySecurityPolicyRequest&, const DeleteBinarySecurityPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteBinarySecurityPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteClientUserDefineRuleResult> DeleteClientUserDefineRuleOutcome;
|
||||
typedef std::future<DeleteClientUserDefineRuleOutcome> DeleteClientUserDefineRuleOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::DeleteClientUserDefineRuleRequest&, const DeleteClientUserDefineRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteClientUserDefineRuleAsyncHandler;
|
||||
@@ -1185,6 +1234,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteSecurityEventMarkMissListResult> DeleteSecurityEventMarkMissListOutcome;
|
||||
typedef std::future<DeleteSecurityEventMarkMissListOutcome> DeleteSecurityEventMarkMissListOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::DeleteSecurityEventMarkMissListRequest&, const DeleteSecurityEventMarkMissListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSecurityEventMarkMissListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteServiceTrailResult> DeleteServiceTrailOutcome;
|
||||
typedef std::future<DeleteServiceTrailOutcome> DeleteServiceTrailOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::DeleteServiceTrailRequest&, const DeleteServiceTrailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteServiceTrailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteStrategyResult> DeleteStrategyOutcome;
|
||||
typedef std::future<DeleteStrategyOutcome> DeleteStrategyOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::DeleteStrategyRequest&, const DeleteStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteStrategyAsyncHandler;
|
||||
@@ -1518,6 +1570,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeImageVulListResult> DescribeImageVulListOutcome;
|
||||
typedef std::future<DescribeImageVulListOutcome> DescribeImageVulListOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::DescribeImageVulListRequest&, const DescribeImageVulListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeImageVulListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeImageVulWhiteListResult> DescribeImageVulWhiteListOutcome;
|
||||
typedef std::future<DescribeImageVulWhiteListOutcome> DescribeImageVulWhiteListOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::DescribeImageVulWhiteListRequest&, const DescribeImageVulWhiteListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeImageVulWhiteListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeInstallCaptchaResult> DescribeInstallCaptchaOutcome;
|
||||
typedef std::future<DescribeInstallCaptchaOutcome> DescribeInstallCaptchaOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::DescribeInstallCaptchaRequest&, const DescribeInstallCaptchaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInstallCaptchaAsyncHandler;
|
||||
@@ -1563,6 +1618,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeModuleConfigResult> DescribeModuleConfigOutcome;
|
||||
typedef std::future<DescribeModuleConfigOutcome> DescribeModuleConfigOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::DescribeModuleConfigRequest&, const DescribeModuleConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeModuleConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeMonitorAccountsResult> DescribeMonitorAccountsOutcome;
|
||||
typedef std::future<DescribeMonitorAccountsOutcome> DescribeMonitorAccountsOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::DescribeMonitorAccountsRequest&, const DescribeMonitorAccountsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMonitorAccountsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeNoticeConfigResult> DescribeNoticeConfigOutcome;
|
||||
typedef std::future<DescribeNoticeConfigOutcome> DescribeNoticeConfigOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::DescribeNoticeConfigRequest&, const DescribeNoticeConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNoticeConfigAsyncHandler;
|
||||
@@ -1674,6 +1732,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeSecurityCheckScheduleConfigResult> DescribeSecurityCheckScheduleConfigOutcome;
|
||||
typedef std::future<DescribeSecurityCheckScheduleConfigOutcome> DescribeSecurityCheckScheduleConfigOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::DescribeSecurityCheckScheduleConfigRequest&, const DescribeSecurityCheckScheduleConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSecurityCheckScheduleConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSecurityEventMarkMissListResult> DescribeSecurityEventMarkMissListOutcome;
|
||||
typedef std::future<DescribeSecurityEventMarkMissListOutcome> DescribeSecurityEventMarkMissListOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::DescribeSecurityEventMarkMissListRequest&, const DescribeSecurityEventMarkMissListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSecurityEventMarkMissListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSecurityEventOperationStatusResult> DescribeSecurityEventOperationStatusOutcome;
|
||||
typedef std::future<DescribeSecurityEventOperationStatusOutcome> DescribeSecurityEventOperationStatusOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::DescribeSecurityEventOperationStatusRequest&, const DescribeSecurityEventOperationStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSecurityEventOperationStatusAsyncHandler;
|
||||
@@ -1902,6 +1963,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GenerateOnceTaskResult> GenerateOnceTaskOutcome;
|
||||
typedef std::future<GenerateOnceTaskOutcome> GenerateOnceTaskOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::GenerateOnceTaskRequest&, const GenerateOnceTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GenerateOnceTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAgentlessTaskCountResult> GetAgentlessTaskCountOutcome;
|
||||
typedef std::future<GetAgentlessTaskCountOutcome> GetAgentlessTaskCountOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::GetAgentlessTaskCountRequest&, const GetAgentlessTaskCountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAgentlessTaskCountAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAlarmMachineCountResult> GetAlarmMachineCountOutcome;
|
||||
typedef std::future<GetAlarmMachineCountOutcome> GetAlarmMachineCountOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::GetAlarmMachineCountRequest&, const GetAlarmMachineCountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAlarmMachineCountAsyncHandler;
|
||||
@@ -1938,6 +2002,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetCheckSummaryResult> GetCheckSummaryOutcome;
|
||||
typedef std::future<GetCheckSummaryOutcome> GetCheckSummaryOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::GetCheckSummaryRequest&, const GetCheckSummaryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCheckSummaryAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetClientRatioStatisticResult> GetClientRatioStatisticOutcome;
|
||||
typedef std::future<GetClientRatioStatisticOutcome> GetClientRatioStatisticOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::GetClientRatioStatisticRequest&, const GetClientRatioStatisticOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetClientRatioStatisticAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetClientUserDefineRuleResult> GetClientUserDefineRuleOutcome;
|
||||
typedef std::future<GetClientUserDefineRuleOutcome> GetClientUserDefineRuleOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::GetClientUserDefineRuleRequest&, const GetClientUserDefineRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetClientUserDefineRuleAsyncHandler;
|
||||
@@ -2001,6 +2068,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetRulesCountResult> GetRulesCountOutcome;
|
||||
typedef std::future<GetRulesCountOutcome> GetRulesCountOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::GetRulesCountRequest&, const GetRulesCountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRulesCountAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetServiceTrailResult> GetServiceTrailOutcome;
|
||||
typedef std::future<GetServiceTrailOutcome> GetServiceTrailOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::GetServiceTrailRequest&, const GetServiceTrailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServiceTrailAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetSuspiciousStatisticsResult> GetSuspiciousStatisticsOutcome;
|
||||
typedef std::future<GetSuspiciousStatisticsOutcome> GetSuspiciousStatisticsOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::GetSuspiciousStatisticsRequest&, const GetSuspiciousStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSuspiciousStatisticsAsyncHandler;
|
||||
@@ -2037,6 +2107,21 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::JoinWebLockProcessWhiteListResult> JoinWebLockProcessWhiteListOutcome;
|
||||
typedef std::future<JoinWebLockProcessWhiteListOutcome> JoinWebLockProcessWhiteListOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::JoinWebLockProcessWhiteListRequest&, const JoinWebLockProcessWhiteListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> JoinWebLockProcessWhiteListAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListAgentlessRegionResult> ListAgentlessRegionOutcome;
|
||||
typedef std::future<ListAgentlessRegionOutcome> ListAgentlessRegionOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::ListAgentlessRegionRequest&, const ListAgentlessRegionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAgentlessRegionAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListAgentlessRelateMaliciousResult> ListAgentlessRelateMaliciousOutcome;
|
||||
typedef std::future<ListAgentlessRelateMaliciousOutcome> ListAgentlessRelateMaliciousOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::ListAgentlessRelateMaliciousRequest&, const ListAgentlessRelateMaliciousOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAgentlessRelateMaliciousAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListAgentlessRiskUuidResult> ListAgentlessRiskUuidOutcome;
|
||||
typedef std::future<ListAgentlessRiskUuidOutcome> ListAgentlessRiskUuidOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::ListAgentlessRiskUuidRequest&, const ListAgentlessRiskUuidOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAgentlessRiskUuidAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListAgentlessTaskResult> ListAgentlessTaskOutcome;
|
||||
typedef std::future<ListAgentlessTaskOutcome> ListAgentlessTaskOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::ListAgentlessTaskRequest&, const ListAgentlessTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAgentlessTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListAssetRefreshTaskConfigResult> ListAssetRefreshTaskConfigOutcome;
|
||||
typedef std::future<ListAssetRefreshTaskConfigOutcome> ListAssetRefreshTaskConfigOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::ListAssetRefreshTaskConfigRequest&, const ListAssetRefreshTaskConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAssetRefreshTaskConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListAssetSelectionSelectedTargetResult> ListAssetSelectionSelectedTargetOutcome;
|
||||
typedef std::future<ListAssetSelectionSelectedTargetOutcome> ListAssetSelectionSelectedTargetOutcomeCallable;
|
||||
typedef std::function<void(const SasClient*, const Model::ListAssetSelectionSelectedTargetRequest&, const ListAssetSelectionSelectedTargetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAssetSelectionSelectedTargetAsyncHandler;
|
||||
@@ -2483,6 +2568,9 @@ namespace AlibabaCloud
|
||||
AddClientUserDefineRuleOutcome addClientUserDefineRule(const Model::AddClientUserDefineRuleRequest &request)const;
|
||||
void addClientUserDefineRuleAsync(const Model::AddClientUserDefineRuleRequest& request, const AddClientUserDefineRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddClientUserDefineRuleOutcomeCallable addClientUserDefineRuleCallable(const Model::AddClientUserDefineRuleRequest& request) const;
|
||||
AddImageVulWhiteListOutcome addImageVulWhiteList(const Model::AddImageVulWhiteListRequest &request)const;
|
||||
void addImageVulWhiteListAsync(const Model::AddImageVulWhiteListRequest& request, const AddImageVulWhiteListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddImageVulWhiteListOutcomeCallable addImageVulWhiteListCallable(const Model::AddImageVulWhiteListRequest& request) const;
|
||||
AddInstallCodeOutcome addInstallCode(const Model::AddInstallCodeRequest &request)const;
|
||||
void addInstallCodeAsync(const Model::AddInstallCodeRequest& request, const AddInstallCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddInstallCodeOutcomeCallable addInstallCodeCallable(const Model::AddInstallCodeRequest& request) const;
|
||||
@@ -2510,6 +2598,9 @@ namespace AlibabaCloud
|
||||
CancelOnceTaskOutcome cancelOnceTask(const Model::CancelOnceTaskRequest &request)const;
|
||||
void cancelOnceTaskAsync(const Model::CancelOnceTaskRequest& request, const CancelOnceTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CancelOnceTaskOutcomeCallable cancelOnceTaskCallable(const Model::CancelOnceTaskRequest& request) const;
|
||||
ChangeAssetRefreshTaskConfigOutcome changeAssetRefreshTaskConfig(const Model::ChangeAssetRefreshTaskConfigRequest &request)const;
|
||||
void changeAssetRefreshTaskConfigAsync(const Model::ChangeAssetRefreshTaskConfigRequest& request, const ChangeAssetRefreshTaskConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ChangeAssetRefreshTaskConfigOutcomeCallable changeAssetRefreshTaskConfigCallable(const Model::ChangeAssetRefreshTaskConfigRequest& request) const;
|
||||
ChangeCheckConfigOutcome changeCheckConfig(const Model::ChangeCheckConfigRequest &request)const;
|
||||
void changeCheckConfigAsync(const Model::ChangeCheckConfigRequest& request, const ChangeCheckConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ChangeCheckConfigOutcomeCallable changeCheckConfigCallable(const Model::ChangeCheckConfigRequest& request) const;
|
||||
@@ -2528,6 +2619,9 @@ namespace AlibabaCloud
|
||||
ConfirmVirusEventsOutcome confirmVirusEvents(const Model::ConfirmVirusEventsRequest &request)const;
|
||||
void confirmVirusEventsAsync(const Model::ConfirmVirusEventsRequest& request, const ConfirmVirusEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConfirmVirusEventsOutcomeCallable confirmVirusEventsCallable(const Model::ConfirmVirusEventsRequest& request) const;
|
||||
CreateAgentlessScanTaskOutcome createAgentlessScanTask(const Model::CreateAgentlessScanTaskRequest &request)const;
|
||||
void createAgentlessScanTaskAsync(const Model::CreateAgentlessScanTaskRequest& request, const CreateAgentlessScanTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateAgentlessScanTaskOutcomeCallable createAgentlessScanTaskCallable(const Model::CreateAgentlessScanTaskRequest& request) const;
|
||||
CreateAntiBruteForceRuleOutcome createAntiBruteForceRule(const Model::CreateAntiBruteForceRuleRequest &request)const;
|
||||
void createAntiBruteForceRuleAsync(const Model::CreateAntiBruteForceRuleRequest& request, const CreateAntiBruteForceRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateAntiBruteForceRuleOutcomeCallable createAntiBruteForceRuleCallable(const Model::CreateAntiBruteForceRuleRequest& request) const;
|
||||
@@ -2585,6 +2679,9 @@ namespace AlibabaCloud
|
||||
CreateServiceLinkedRoleOutcome createServiceLinkedRole(const Model::CreateServiceLinkedRoleRequest &request)const;
|
||||
void createServiceLinkedRoleAsync(const Model::CreateServiceLinkedRoleRequest& request, const CreateServiceLinkedRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateServiceLinkedRoleOutcomeCallable createServiceLinkedRoleCallable(const Model::CreateServiceLinkedRoleRequest& request) const;
|
||||
CreateServiceTrailOutcome createServiceTrail(const Model::CreateServiceTrailRequest &request)const;
|
||||
void createServiceTrailAsync(const Model::CreateServiceTrailRequest& request, const CreateServiceTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateServiceTrailOutcomeCallable createServiceTrailCallable(const Model::CreateServiceTrailRequest& request) const;
|
||||
CreateSimilarSecurityEventsQueryTaskOutcome createSimilarSecurityEventsQueryTask(const Model::CreateSimilarSecurityEventsQueryTaskRequest &request)const;
|
||||
void createSimilarSecurityEventsQueryTaskAsync(const Model::CreateSimilarSecurityEventsQueryTaskRequest& request, const CreateSimilarSecurityEventsQueryTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateSimilarSecurityEventsQueryTaskOutcomeCallable createSimilarSecurityEventsQueryTaskCallable(const Model::CreateSimilarSecurityEventsQueryTaskRequest& request) const;
|
||||
@@ -2609,6 +2706,9 @@ namespace AlibabaCloud
|
||||
DeleteBackupPolicyMachineOutcome deleteBackupPolicyMachine(const Model::DeleteBackupPolicyMachineRequest &request)const;
|
||||
void deleteBackupPolicyMachineAsync(const Model::DeleteBackupPolicyMachineRequest& request, const DeleteBackupPolicyMachineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteBackupPolicyMachineOutcomeCallable deleteBackupPolicyMachineCallable(const Model::DeleteBackupPolicyMachineRequest& request) const;
|
||||
DeleteBinarySecurityPolicyOutcome deleteBinarySecurityPolicy(const Model::DeleteBinarySecurityPolicyRequest &request)const;
|
||||
void deleteBinarySecurityPolicyAsync(const Model::DeleteBinarySecurityPolicyRequest& request, const DeleteBinarySecurityPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteBinarySecurityPolicyOutcomeCallable deleteBinarySecurityPolicyCallable(const Model::DeleteBinarySecurityPolicyRequest& request) const;
|
||||
DeleteClientUserDefineRuleOutcome deleteClientUserDefineRule(const Model::DeleteClientUserDefineRuleRequest &request)const;
|
||||
void deleteClientUserDefineRuleAsync(const Model::DeleteClientUserDefineRuleRequest& request, const DeleteClientUserDefineRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteClientUserDefineRuleOutcomeCallable deleteClientUserDefineRuleCallable(const Model::DeleteClientUserDefineRuleRequest& request) const;
|
||||
@@ -2651,6 +2751,9 @@ namespace AlibabaCloud
|
||||
DeleteSecurityEventMarkMissListOutcome deleteSecurityEventMarkMissList(const Model::DeleteSecurityEventMarkMissListRequest &request)const;
|
||||
void deleteSecurityEventMarkMissListAsync(const Model::DeleteSecurityEventMarkMissListRequest& request, const DeleteSecurityEventMarkMissListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteSecurityEventMarkMissListOutcomeCallable deleteSecurityEventMarkMissListCallable(const Model::DeleteSecurityEventMarkMissListRequest& request) const;
|
||||
DeleteServiceTrailOutcome deleteServiceTrail(const Model::DeleteServiceTrailRequest &request)const;
|
||||
void deleteServiceTrailAsync(const Model::DeleteServiceTrailRequest& request, const DeleteServiceTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteServiceTrailOutcomeCallable deleteServiceTrailCallable(const Model::DeleteServiceTrailRequest& request) const;
|
||||
DeleteStrategyOutcome deleteStrategy(const Model::DeleteStrategyRequest &request)const;
|
||||
void deleteStrategyAsync(const Model::DeleteStrategyRequest& request, const DeleteStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteStrategyOutcomeCallable deleteStrategyCallable(const Model::DeleteStrategyRequest& request) const;
|
||||
@@ -2984,6 +3087,9 @@ namespace AlibabaCloud
|
||||
DescribeImageVulListOutcome describeImageVulList(const Model::DescribeImageVulListRequest &request)const;
|
||||
void describeImageVulListAsync(const Model::DescribeImageVulListRequest& request, const DescribeImageVulListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeImageVulListOutcomeCallable describeImageVulListCallable(const Model::DescribeImageVulListRequest& request) const;
|
||||
DescribeImageVulWhiteListOutcome describeImageVulWhiteList(const Model::DescribeImageVulWhiteListRequest &request)const;
|
||||
void describeImageVulWhiteListAsync(const Model::DescribeImageVulWhiteListRequest& request, const DescribeImageVulWhiteListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeImageVulWhiteListOutcomeCallable describeImageVulWhiteListCallable(const Model::DescribeImageVulWhiteListRequest& request) const;
|
||||
DescribeInstallCaptchaOutcome describeInstallCaptcha(const Model::DescribeInstallCaptchaRequest &request)const;
|
||||
void describeInstallCaptchaAsync(const Model::DescribeInstallCaptchaRequest& request, const DescribeInstallCaptchaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeInstallCaptchaOutcomeCallable describeInstallCaptchaCallable(const Model::DescribeInstallCaptchaRequest& request) const;
|
||||
@@ -3029,6 +3135,9 @@ namespace AlibabaCloud
|
||||
DescribeModuleConfigOutcome describeModuleConfig(const Model::DescribeModuleConfigRequest &request)const;
|
||||
void describeModuleConfigAsync(const Model::DescribeModuleConfigRequest& request, const DescribeModuleConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeModuleConfigOutcomeCallable describeModuleConfigCallable(const Model::DescribeModuleConfigRequest& request) const;
|
||||
DescribeMonitorAccountsOutcome describeMonitorAccounts(const Model::DescribeMonitorAccountsRequest &request)const;
|
||||
void describeMonitorAccountsAsync(const Model::DescribeMonitorAccountsRequest& request, const DescribeMonitorAccountsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeMonitorAccountsOutcomeCallable describeMonitorAccountsCallable(const Model::DescribeMonitorAccountsRequest& request) const;
|
||||
DescribeNoticeConfigOutcome describeNoticeConfig(const Model::DescribeNoticeConfigRequest &request)const;
|
||||
void describeNoticeConfigAsync(const Model::DescribeNoticeConfigRequest& request, const DescribeNoticeConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeNoticeConfigOutcomeCallable describeNoticeConfigCallable(const Model::DescribeNoticeConfigRequest& request) const;
|
||||
@@ -3140,6 +3249,9 @@ namespace AlibabaCloud
|
||||
DescribeSecurityCheckScheduleConfigOutcome describeSecurityCheckScheduleConfig(const Model::DescribeSecurityCheckScheduleConfigRequest &request)const;
|
||||
void describeSecurityCheckScheduleConfigAsync(const Model::DescribeSecurityCheckScheduleConfigRequest& request, const DescribeSecurityCheckScheduleConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSecurityCheckScheduleConfigOutcomeCallable describeSecurityCheckScheduleConfigCallable(const Model::DescribeSecurityCheckScheduleConfigRequest& request) const;
|
||||
DescribeSecurityEventMarkMissListOutcome describeSecurityEventMarkMissList(const Model::DescribeSecurityEventMarkMissListRequest &request)const;
|
||||
void describeSecurityEventMarkMissListAsync(const Model::DescribeSecurityEventMarkMissListRequest& request, const DescribeSecurityEventMarkMissListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSecurityEventMarkMissListOutcomeCallable describeSecurityEventMarkMissListCallable(const Model::DescribeSecurityEventMarkMissListRequest& request) const;
|
||||
DescribeSecurityEventOperationStatusOutcome describeSecurityEventOperationStatus(const Model::DescribeSecurityEventOperationStatusRequest &request)const;
|
||||
void describeSecurityEventOperationStatusAsync(const Model::DescribeSecurityEventOperationStatusRequest& request, const DescribeSecurityEventOperationStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSecurityEventOperationStatusOutcomeCallable describeSecurityEventOperationStatusCallable(const Model::DescribeSecurityEventOperationStatusRequest& request) const;
|
||||
@@ -3368,6 +3480,9 @@ namespace AlibabaCloud
|
||||
GenerateOnceTaskOutcome generateOnceTask(const Model::GenerateOnceTaskRequest &request)const;
|
||||
void generateOnceTaskAsync(const Model::GenerateOnceTaskRequest& request, const GenerateOnceTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GenerateOnceTaskOutcomeCallable generateOnceTaskCallable(const Model::GenerateOnceTaskRequest& request) const;
|
||||
GetAgentlessTaskCountOutcome getAgentlessTaskCount(const Model::GetAgentlessTaskCountRequest &request)const;
|
||||
void getAgentlessTaskCountAsync(const Model::GetAgentlessTaskCountRequest& request, const GetAgentlessTaskCountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAgentlessTaskCountOutcomeCallable getAgentlessTaskCountCallable(const Model::GetAgentlessTaskCountRequest& request) const;
|
||||
GetAlarmMachineCountOutcome getAlarmMachineCount(const Model::GetAlarmMachineCountRequest &request)const;
|
||||
void getAlarmMachineCountAsync(const Model::GetAlarmMachineCountRequest& request, const GetAlarmMachineCountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAlarmMachineCountOutcomeCallable getAlarmMachineCountCallable(const Model::GetAlarmMachineCountRequest& request) const;
|
||||
@@ -3404,6 +3519,9 @@ namespace AlibabaCloud
|
||||
GetCheckSummaryOutcome getCheckSummary(const Model::GetCheckSummaryRequest &request)const;
|
||||
void getCheckSummaryAsync(const Model::GetCheckSummaryRequest& request, const GetCheckSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetCheckSummaryOutcomeCallable getCheckSummaryCallable(const Model::GetCheckSummaryRequest& request) const;
|
||||
GetClientRatioStatisticOutcome getClientRatioStatistic(const Model::GetClientRatioStatisticRequest &request)const;
|
||||
void getClientRatioStatisticAsync(const Model::GetClientRatioStatisticRequest& request, const GetClientRatioStatisticAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetClientRatioStatisticOutcomeCallable getClientRatioStatisticCallable(const Model::GetClientRatioStatisticRequest& request) const;
|
||||
GetClientUserDefineRuleOutcome getClientUserDefineRule(const Model::GetClientUserDefineRuleRequest &request)const;
|
||||
void getClientUserDefineRuleAsync(const Model::GetClientUserDefineRuleRequest& request, const GetClientUserDefineRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetClientUserDefineRuleOutcomeCallable getClientUserDefineRuleCallable(const Model::GetClientUserDefineRuleRequest& request) const;
|
||||
@@ -3467,6 +3585,9 @@ namespace AlibabaCloud
|
||||
GetRulesCountOutcome getRulesCount(const Model::GetRulesCountRequest &request)const;
|
||||
void getRulesCountAsync(const Model::GetRulesCountRequest& request, const GetRulesCountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetRulesCountOutcomeCallable getRulesCountCallable(const Model::GetRulesCountRequest& request) const;
|
||||
GetServiceTrailOutcome getServiceTrail(const Model::GetServiceTrailRequest &request)const;
|
||||
void getServiceTrailAsync(const Model::GetServiceTrailRequest& request, const GetServiceTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetServiceTrailOutcomeCallable getServiceTrailCallable(const Model::GetServiceTrailRequest& request) const;
|
||||
GetSuspiciousStatisticsOutcome getSuspiciousStatistics(const Model::GetSuspiciousStatisticsRequest &request)const;
|
||||
void getSuspiciousStatisticsAsync(const Model::GetSuspiciousStatisticsRequest& request, const GetSuspiciousStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetSuspiciousStatisticsOutcomeCallable getSuspiciousStatisticsCallable(const Model::GetSuspiciousStatisticsRequest& request) const;
|
||||
@@ -3503,6 +3624,21 @@ namespace AlibabaCloud
|
||||
JoinWebLockProcessWhiteListOutcome joinWebLockProcessWhiteList(const Model::JoinWebLockProcessWhiteListRequest &request)const;
|
||||
void joinWebLockProcessWhiteListAsync(const Model::JoinWebLockProcessWhiteListRequest& request, const JoinWebLockProcessWhiteListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
JoinWebLockProcessWhiteListOutcomeCallable joinWebLockProcessWhiteListCallable(const Model::JoinWebLockProcessWhiteListRequest& request) const;
|
||||
ListAgentlessRegionOutcome listAgentlessRegion(const Model::ListAgentlessRegionRequest &request)const;
|
||||
void listAgentlessRegionAsync(const Model::ListAgentlessRegionRequest& request, const ListAgentlessRegionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListAgentlessRegionOutcomeCallable listAgentlessRegionCallable(const Model::ListAgentlessRegionRequest& request) const;
|
||||
ListAgentlessRelateMaliciousOutcome listAgentlessRelateMalicious(const Model::ListAgentlessRelateMaliciousRequest &request)const;
|
||||
void listAgentlessRelateMaliciousAsync(const Model::ListAgentlessRelateMaliciousRequest& request, const ListAgentlessRelateMaliciousAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListAgentlessRelateMaliciousOutcomeCallable listAgentlessRelateMaliciousCallable(const Model::ListAgentlessRelateMaliciousRequest& request) const;
|
||||
ListAgentlessRiskUuidOutcome listAgentlessRiskUuid(const Model::ListAgentlessRiskUuidRequest &request)const;
|
||||
void listAgentlessRiskUuidAsync(const Model::ListAgentlessRiskUuidRequest& request, const ListAgentlessRiskUuidAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListAgentlessRiskUuidOutcomeCallable listAgentlessRiskUuidCallable(const Model::ListAgentlessRiskUuidRequest& request) const;
|
||||
ListAgentlessTaskOutcome listAgentlessTask(const Model::ListAgentlessTaskRequest &request)const;
|
||||
void listAgentlessTaskAsync(const Model::ListAgentlessTaskRequest& request, const ListAgentlessTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListAgentlessTaskOutcomeCallable listAgentlessTaskCallable(const Model::ListAgentlessTaskRequest& request) const;
|
||||
ListAssetRefreshTaskConfigOutcome listAssetRefreshTaskConfig(const Model::ListAssetRefreshTaskConfigRequest &request)const;
|
||||
void listAssetRefreshTaskConfigAsync(const Model::ListAssetRefreshTaskConfigRequest& request, const ListAssetRefreshTaskConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListAssetRefreshTaskConfigOutcomeCallable listAssetRefreshTaskConfigCallable(const Model::ListAssetRefreshTaskConfigRequest& request) const;
|
||||
ListAssetSelectionSelectedTargetOutcome listAssetSelectionSelectedTarget(const Model::ListAssetSelectionSelectedTargetRequest &request)const;
|
||||
void listAssetSelectionSelectedTargetAsync(const Model::ListAssetSelectionSelectedTargetRequest& request, const ListAssetSelectionSelectedTargetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListAssetSelectionSelectedTargetOutcomeCallable listAssetSelectionSelectedTargetCallable(const Model::ListAssetSelectionSelectedTargetRequest& request) const;
|
||||
|
||||
@@ -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_ADDIMAGEVULWHITELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_ADDIMAGEVULWHITELISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Sas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_SAS_EXPORT AddImageVulWhiteListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
AddImageVulWhiteListRequest();
|
||||
~AddImageVulWhiteListRequest();
|
||||
std::string getReason() const;
|
||||
void setReason(const std::string &reason);
|
||||
std::string getType() const;
|
||||
void setType(const std::string &type);
|
||||
std::string getLang() const;
|
||||
void setLang(const std::string &lang);
|
||||
std::string getWhitelist() const;
|
||||
void setWhitelist(const std::string &whitelist);
|
||||
std::string getTarget() const;
|
||||
void setTarget(const std::string &target);
|
||||
|
||||
private:
|
||||
std::string reason_;
|
||||
std::string type_;
|
||||
std::string lang_;
|
||||
std::string whitelist_;
|
||||
std::string target_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Sas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_ADDIMAGEVULWHITELISTREQUEST_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_ADDIMAGEVULWHITELISTRESULT_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_ADDIMAGEVULWHITELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Sas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SAS_EXPORT AddImageVulWhiteListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddImageVulWhiteListResult();
|
||||
explicit AddImageVulWhiteListResult(const std::string &payload);
|
||||
~AddImageVulWhiteListResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
bool getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
bool data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_ADDIMAGEVULWHITELISTRESULT_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_CHANGEASSETREFRESHTASKCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_CHANGEASSETREFRESHTASKCONFIGREQUEST_H_
|
||||
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Sas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_SAS_EXPORT ChangeAssetRefreshTaskConfigRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct AssetRefreshConfigs {
|
||||
int vendor;
|
||||
int schedulePeriod;
|
||||
int status;
|
||||
};
|
||||
ChangeAssetRefreshTaskConfigRequest();
|
||||
~ChangeAssetRefreshTaskConfigRequest();
|
||||
std::vector<AssetRefreshConfigs> getAssetRefreshConfigs() const;
|
||||
void setAssetRefreshConfigs(const std::vector<AssetRefreshConfigs> &assetRefreshConfigs);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::vector<AssetRefreshConfigs> assetRefreshConfigs_;
|
||||
std::string sourceIp_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Sas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_CHANGEASSETREFRESHTASKCONFIGREQUEST_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_CHANGEASSETREFRESHTASKCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_CHANGEASSETREFRESHTASKCONFIGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Sas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SAS_EXPORT ChangeAssetRefreshTaskConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ChangeAssetRefreshTaskConfigResult();
|
||||
explicit ChangeAssetRefreshTaskConfigResult(const std::string &payload);
|
||||
~ChangeAssetRefreshTaskConfigResult();
|
||||
std::string getMessage()const;
|
||||
bool getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
bool data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_CHANGEASSETREFRESHTASKCONFIGRESULT_H_
|
||||
@@ -28,6 +28,14 @@ namespace Sas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_SAS_EXPORT ChangeCheckConfigRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct RemovedCheck {
|
||||
long sectionId;
|
||||
long checkId;
|
||||
};
|
||||
struct AddedCheck {
|
||||
long sectionId;
|
||||
long checkId;
|
||||
};
|
||||
ChangeCheckConfigRequest();
|
||||
~ChangeCheckConfigRequest();
|
||||
std::vector<long> getStandardIds() const;
|
||||
@@ -40,8 +48,16 @@ public:
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::vector<RemovedCheck> getRemovedCheck() const;
|
||||
void setRemovedCheck(const std::vector<RemovedCheck> &removedCheck);
|
||||
bool getEnableAddCheck() const;
|
||||
void setEnableAddCheck(bool enableAddCheck);
|
||||
bool getEnableAutoCheck() const;
|
||||
void setEnableAutoCheck(bool enableAutoCheck);
|
||||
int getEndTime() const;
|
||||
void setEndTime(int endTime);
|
||||
std::vector<AddedCheck> getAddedCheck() const;
|
||||
void setAddedCheck(const std::vector<AddedCheck> &addedCheck);
|
||||
|
||||
private:
|
||||
std::vector<long> standardIds_;
|
||||
@@ -49,7 +65,11 @@ private:
|
||||
int startTime_;
|
||||
std::string sourceIp_;
|
||||
std::string regionId_;
|
||||
std::vector<RemovedCheck> removedCheck_;
|
||||
bool enableAddCheck_;
|
||||
bool enableAutoCheck_;
|
||||
int endTime_;
|
||||
std::vector<AddedCheck> addedCheck_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Sas
|
||||
|
||||
@@ -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_CREATEAGENTLESSSCANTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_CREATEAGENTLESSSCANTASKREQUEST_H_
|
||||
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Sas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_SAS_EXPORT CreateAgentlessScanTaskRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateAgentlessScanTaskRequest();
|
||||
~CreateAgentlessScanTaskRequest();
|
||||
int getTargetType() const;
|
||||
void setTargetType(int targetType);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::vector<std::string> getUuidList() const;
|
||||
void setUuidList(const std::vector<std::string> &uuidList);
|
||||
bool getScanDataDisk() const;
|
||||
void setScanDataDisk(bool scanDataDisk);
|
||||
bool getReleaseAfterScan() const;
|
||||
void setReleaseAfterScan(bool releaseAfterScan);
|
||||
int getAutoDeleteDays() const;
|
||||
void setAutoDeleteDays(int autoDeleteDays);
|
||||
|
||||
private:
|
||||
int targetType_;
|
||||
std::string sourceIp_;
|
||||
std::vector<std::string> uuidList_;
|
||||
bool scanDataDisk_;
|
||||
bool releaseAfterScan_;
|
||||
int autoDeleteDays_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Sas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_CREATEAGENTLESSSCANTASKREQUEST_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_CREATEAGENTLESSSCANTASKRESULT_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_CREATEAGENTLESSSCANTASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Sas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SAS_EXPORT CreateAgentlessScanTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateAgentlessScanTaskResult();
|
||||
explicit CreateAgentlessScanTaskResult(const std::string &payload);
|
||||
~CreateAgentlessScanTaskResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_CREATEAGENTLESSSCANTASKRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SAS_MODEL_CREATESERVICETRAILREQUEST_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_CREATESERVICETRAILREQUEST_H_
|
||||
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Sas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_SAS_EXPORT CreateServiceTrailRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateServiceTrailRequest();
|
||||
~CreateServiceTrailRequest();
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Sas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_CREATESERVICETRAILREQUEST_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_CREATESERVICETRAILRESULT_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_CREATESERVICETRAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Sas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SAS_EXPORT CreateServiceTrailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateServiceTrailResult();
|
||||
explicit CreateServiceTrailResult(const std::string &payload);
|
||||
~CreateServiceTrailResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_CREATESERVICETRAILRESULT_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_DELETEBINARYSECURITYPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_DELETEBINARYSECURITYPOLICYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Sas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_SAS_EXPORT DeleteBinarySecurityPolicyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteBinarySecurityPolicyRequest();
|
||||
~DeleteBinarySecurityPolicyRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string sourceIp_;
|
||||
std::string name_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Sas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_DELETEBINARYSECURITYPOLICYREQUEST_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_DELETEBINARYSECURITYPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_DELETEBINARYSECURITYPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Sas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SAS_EXPORT DeleteBinarySecurityPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteBinarySecurityPolicyResult();
|
||||
explicit DeleteBinarySecurityPolicyResult(const std::string &payload);
|
||||
~DeleteBinarySecurityPolicyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_DELETEBINARYSECURITYPOLICYRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SAS_MODEL_DELETESERVICETRAILREQUEST_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_DELETESERVICETRAILREQUEST_H_
|
||||
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Sas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_SAS_EXPORT DeleteServiceTrailRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteServiceTrailRequest();
|
||||
~DeleteServiceTrailRequest();
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Sas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_DELETESERVICETRAILREQUEST_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_DELETESERVICETRAILRESULT_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_DELETESERVICETRAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Sas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SAS_EXPORT DeleteServiceTrailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteServiceTrailResult();
|
||||
explicit DeleteServiceTrailResult(const std::string &payload);
|
||||
~DeleteServiceTrailResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_DELETESERVICETRAILRESULT_H_
|
||||
@@ -46,10 +46,12 @@ namespace AlibabaCloud
|
||||
std::string getCode()const;
|
||||
std::string getSource()const;
|
||||
std::string getRemark()const;
|
||||
long getWhitelistTime()const;
|
||||
std::string getType()const;
|
||||
std::string getGithubUserPicUrl()const;
|
||||
std::string getGithubFileUpdateTime()const;
|
||||
std::string getGmtCreate()const;
|
||||
int getTokenValid()const;
|
||||
std::string getAccesskeyId()const;
|
||||
std::string getGithubFileUrl()const;
|
||||
std::string getGithubFileType()const;
|
||||
@@ -69,10 +71,12 @@ namespace AlibabaCloud
|
||||
std::string code_;
|
||||
std::string source_;
|
||||
std::string remark_;
|
||||
long whitelistTime_;
|
||||
std::string type_;
|
||||
std::string githubUserPicUrl_;
|
||||
std::string githubFileUpdateTime_;
|
||||
std::string gmtCreate_;
|
||||
int tokenValid_;
|
||||
std::string accesskeyId_;
|
||||
std::string githubFileUrl_;
|
||||
std::string githubFileType_;
|
||||
|
||||
@@ -38,6 +38,8 @@ public:
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getLang() const;
|
||||
void setLang(const std::string &lang);
|
||||
long getResourceDirectoryAccountId() const;
|
||||
void setResourceDirectoryAccountId(long resourceDirectoryAccountId);
|
||||
std::string getUniqueInfo() const;
|
||||
void setUniqueInfo(const std::string &uniqueInfo);
|
||||
|
||||
@@ -46,6 +48,7 @@ private:
|
||||
std::string eventName_;
|
||||
std::string sourceIp_;
|
||||
std::string lang_;
|
||||
long resourceDirectoryAccountId_;
|
||||
std::string uniqueInfo_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -50,6 +50,7 @@ namespace AlibabaCloud
|
||||
int machineCount;
|
||||
long id;
|
||||
int span;
|
||||
long createTimestamp;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
@@ -34,12 +34,15 @@ public:
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getLang() const;
|
||||
void setLang(const std::string &lang);
|
||||
long getResourceDirectoryAccountId() const;
|
||||
void setResourceDirectoryAccountId(long resourceDirectoryAccountId);
|
||||
std::string getUuids() const;
|
||||
void setUuids(const std::string &uuids);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string lang_;
|
||||
long resourceDirectoryAccountId_;
|
||||
std::string uuids_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -40,14 +40,18 @@ public:
|
||||
void setRegionId(const std::string ®ionId);
|
||||
bool getNoPage() const;
|
||||
void setNoPage(bool noPage);
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getLogicalExp() const;
|
||||
void setLogicalExp(const std::string &logicalExp);
|
||||
std::string getLang() const;
|
||||
void setLang(const std::string &lang);
|
||||
std::string getResourceDirectoryAccountId() const;
|
||||
void setResourceDirectoryAccountId(const std::string &resourceDirectoryAccountId);
|
||||
long getResourceDirectoryAccountId() const;
|
||||
void setResourceDirectoryAccountId(long resourceDirectoryAccountId);
|
||||
bool getUseNextToken() const;
|
||||
void setUseNextToken(bool useNextToken);
|
||||
int getCurrentPage() const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getMachineTypes() const;
|
||||
@@ -61,10 +65,12 @@ private:
|
||||
std::string sourceIp_;
|
||||
std::string regionId_;
|
||||
bool noPage_;
|
||||
std::string nextToken_;
|
||||
int pageSize_;
|
||||
std::string logicalExp_;
|
||||
std::string lang_;
|
||||
std::string resourceDirectoryAccountId_;
|
||||
long resourceDirectoryAccountId_;
|
||||
bool useNextToken_;
|
||||
int currentPage_;
|
||||
std::string machineTypes_;
|
||||
bool noGroupTrace_;
|
||||
|
||||
@@ -36,6 +36,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
std::string nextToken;
|
||||
int currentPage;
|
||||
int count;
|
||||
};
|
||||
|
||||
@@ -63,6 +63,7 @@ namespace AlibabaCloud
|
||||
std::string riskStatus;
|
||||
int vulCount;
|
||||
std::string imageRepoName;
|
||||
int exposed;
|
||||
std::string nodeInfo;
|
||||
std::string podIp;
|
||||
std::string alarmStatus;
|
||||
@@ -70,6 +71,7 @@ namespace AlibabaCloud
|
||||
std::string imageRepoTag;
|
||||
std::string hcStatus;
|
||||
std::string updateMark;
|
||||
std::string exposedDetail;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -30,17 +30,20 @@ class ALIBABACLOUD_SAS_EXPORT DescribeFieldStatisticsRequest : public RpcService
|
||||
public:
|
||||
DescribeFieldStatisticsRequest();
|
||||
~DescribeFieldStatisticsRequest();
|
||||
std::string getMachineTypes() const;
|
||||
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 ®ionId);
|
||||
long getResourceDirectoryAccountId() const;
|
||||
void setResourceDirectoryAccountId(long resourceDirectoryAccountId);
|
||||
std::string getMachineTypes() const;
|
||||
void setMachineTypes(const std::string &machineTypes);
|
||||
|
||||
private:
|
||||
std::string machineTypes_;
|
||||
std::string sourceIp_;
|
||||
std::string regionId_;
|
||||
long resourceDirectoryAccountId_;
|
||||
std::string machineTypes_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Sas
|
||||
|
||||
@@ -44,6 +44,7 @@ namespace AlibabaCloud
|
||||
std::string fieldAliasName;
|
||||
std::string instanceCount;
|
||||
long asapVulInstanceCount;
|
||||
std::string os;
|
||||
int authVersionCheckCount;
|
||||
std::string unProtectedInstanceCount;
|
||||
long fieldId;
|
||||
|
||||
@@ -78,6 +78,8 @@ public:
|
||||
void setLang(const std::string &lang);
|
||||
long getLastTsStart() const;
|
||||
void setLastTsStart(long lastTsStart);
|
||||
long getResourceDirectoryAccountId() const;
|
||||
void setResourceDirectoryAccountId(long resourceDirectoryAccountId);
|
||||
std::string getAssetType() const;
|
||||
void setAssetType(const std::string &assetType);
|
||||
std::string getDirection() const;
|
||||
@@ -116,6 +118,7 @@ private:
|
||||
int pageSize_;
|
||||
std::string lang_;
|
||||
long lastTsStart_;
|
||||
long resourceDirectoryAccountId_;
|
||||
std::string assetType_;
|
||||
std::string direction_;
|
||||
std::string dealed_;
|
||||
|
||||
@@ -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_DESCRIBEIMAGEVULWHITELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_DESCRIBEIMAGEVULWHITELISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Sas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_SAS_EXPORT DescribeImageVulWhiteListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeImageVulWhiteListRequest();
|
||||
~DescribeImageVulWhiteListRequest();
|
||||
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 getAliasName() const;
|
||||
void setAliasName(const std::string &aliasName);
|
||||
|
||||
private:
|
||||
int pageSize_;
|
||||
std::string lang_;
|
||||
int currentPage_;
|
||||
std::string aliasName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Sas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEIMAGEVULWHITELISTREQUEST_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_DESCRIBEIMAGEVULWHITELISTRESULT_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_DESCRIBEIMAGEVULWHITELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Sas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SAS_EXPORT DescribeImageVulWhiteListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PageInfo
|
||||
{
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int currentPage;
|
||||
int count;
|
||||
};
|
||||
struct VulList
|
||||
{
|
||||
std::string target;
|
||||
std::string type;
|
||||
std::string aliasName;
|
||||
long id;
|
||||
std::string reason;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
DescribeImageVulWhiteListResult();
|
||||
explicit DescribeImageVulWhiteListResult(const std::string &payload);
|
||||
~DescribeImageVulWhiteListResult();
|
||||
PageInfo getPageInfo()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
long getTimeCost()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
std::vector<VulList> getImageVulWhitelist()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
PageInfo pageInfo_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
long timeCost_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
std::vector<VulList> imageVulWhitelist_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEIMAGEVULWHITELISTRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEMONITORACCOUNTSREQUEST_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_DESCRIBEMONITORACCOUNTSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Sas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_SAS_EXPORT DescribeMonitorAccountsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeMonitorAccountsRequest();
|
||||
~DescribeMonitorAccountsRequest();
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getAccountIds() const;
|
||||
void setAccountIds(const std::string &accountIds);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string accountIds_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Sas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEMONITORACCOUNTSREQUEST_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_DESCRIBEMONITORACCOUNTSRESULT_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_DESCRIBEMONITORACCOUNTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Sas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SAS_EXPORT DescribeMonitorAccountsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeMonitorAccountsResult();
|
||||
explicit DescribeMonitorAccountsResult(const std::string &payload);
|
||||
~DescribeMonitorAccountsResult();
|
||||
std::vector<std::string> getAccountIds()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> accountIds_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEMONITORACCOUNTSRESULT_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_DESCRIBESECURITYEVENTMARKMISSLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_DESCRIBESECURITYEVENTMARKMISSLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Sas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_SAS_EXPORT DescribeSecurityEventMarkMissListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeSecurityEventMarkMissListRequest();
|
||||
~DescribeSecurityEventMarkMissListRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getRemark() const;
|
||||
void setRemark(const std::string &remark);
|
||||
std::string getEventName() const;
|
||||
void setEventName(const std::string &eventName);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
int getCurrentPage() const;
|
||||
void setCurrentPage(int currentPage);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string remark_;
|
||||
std::string eventName_;
|
||||
std::string sourceIp_;
|
||||
int pageSize_;
|
||||
int currentPage_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Sas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBESECURITYEVENTMARKMISSLISTREQUEST_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_DESCRIBESECURITYEVENTMARKMISSLISTRESULT_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_DESCRIBESECURITYEVENTMARKMISSLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Sas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SAS_EXPORT DescribeSecurityEventMarkMissListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PageInfo
|
||||
{
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int currentPage;
|
||||
int count;
|
||||
};
|
||||
struct SecurityEventMarkMissReponse
|
||||
{
|
||||
std::string instanceId;
|
||||
std::string eventType;
|
||||
std::string eventName;
|
||||
std::string operate;
|
||||
std::string eventNameOriginal;
|
||||
std::string intranetIp;
|
||||
std::string instanceName;
|
||||
std::string field;
|
||||
std::string uuid;
|
||||
std::string internetIp;
|
||||
std::string eventTypeOriginal;
|
||||
std::string fieldValue;
|
||||
long id;
|
||||
long aliUid;
|
||||
std::string filedAliasName;
|
||||
};
|
||||
|
||||
|
||||
DescribeSecurityEventMarkMissListResult();
|
||||
explicit DescribeSecurityEventMarkMissListResult(const std::string &payload);
|
||||
~DescribeSecurityEventMarkMissListResult();
|
||||
PageInfo getPageInfo()const;
|
||||
std::vector<SecurityEventMarkMissReponse> getList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
PageInfo pageInfo_;
|
||||
std::vector<SecurityEventMarkMissReponse> list_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBESECURITYEVENTMARKMISSLISTRESULT_H_
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
void setFrom(const std::string &from);
|
||||
std::string getLang() const;
|
||||
void setLang(const std::string &lang);
|
||||
long getResourceDirectoryAccountId() const;
|
||||
void setResourceDirectoryAccountId(long resourceDirectoryAccountId);
|
||||
int getSuspiciousEventId() const;
|
||||
void setSuspiciousEventId(int suspiciousEventId);
|
||||
|
||||
@@ -43,6 +45,7 @@ private:
|
||||
std::string sourceIp_;
|
||||
std::string from_;
|
||||
std::string lang_;
|
||||
long resourceDirectoryAccountId_;
|
||||
int suspiciousEventId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -72,6 +72,8 @@ public:
|
||||
void setPageSize(const std::string &pageSize);
|
||||
std::string getLang() const;
|
||||
void setLang(const std::string &lang);
|
||||
long getResourceDirectoryAccountId() const;
|
||||
void setResourceDirectoryAccountId(long resourceDirectoryAccountId);
|
||||
std::string getDealed() const;
|
||||
void setDealed(const std::string &dealed);
|
||||
std::string getCurrentPage() const;
|
||||
@@ -115,6 +117,7 @@ private:
|
||||
std::string containerFieldValue_;
|
||||
std::string pageSize_;
|
||||
std::string lang_;
|
||||
long resourceDirectoryAccountId_;
|
||||
std::string dealed_;
|
||||
std::string currentPage_;
|
||||
std::string clusterId_;
|
||||
|
||||
@@ -47,11 +47,13 @@ namespace AlibabaCloud
|
||||
explicit DescribeUuidsByVulNamesResult(const std::string &payload);
|
||||
~DescribeUuidsByVulNamesResult();
|
||||
std::vector<MachineInfoStatistic> getMachineInfoStatistics()const;
|
||||
int getVulCount()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<MachineInfoStatistic> machineInfoStatistics_;
|
||||
int vulCount_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -42,6 +42,7 @@ namespace AlibabaCloud
|
||||
long getImageScanCapacity()const;
|
||||
long getAppWhiteListAuthCount()const;
|
||||
int getLogTime()const;
|
||||
long getRaspCapacity()const;
|
||||
int getSasLog()const;
|
||||
long getOpenTime()const;
|
||||
int getVersion()const;
|
||||
@@ -52,16 +53,19 @@ namespace AlibabaCloud
|
||||
long getSlsCapacity()const;
|
||||
int getUserDefinedAlarms()const;
|
||||
int getAllowPartialBuy()const;
|
||||
long getAgentlessCapacity()const;
|
||||
int getWebLock()const;
|
||||
long getThreatAnalysisCapacity()const;
|
||||
bool getIsOverBalance()const;
|
||||
int getVmCores()const;
|
||||
long getHoneypotCapacity()const;
|
||||
long getVulFixCapacity()const;
|
||||
int getAssetLevel()const;
|
||||
std::string getInstanceId()const;
|
||||
long getLastInstanceReleaseTime()const;
|
||||
long getCreateTime()const;
|
||||
int getSasScreen()const;
|
||||
long getCspmCapacity()const;
|
||||
bool getIsSasOpening()const;
|
||||
int getLogCapacity()const;
|
||||
int getFlag()const;
|
||||
@@ -81,6 +85,7 @@ namespace AlibabaCloud
|
||||
long imageScanCapacity_;
|
||||
long appWhiteListAuthCount_;
|
||||
int logTime_;
|
||||
long raspCapacity_;
|
||||
int sasLog_;
|
||||
long openTime_;
|
||||
int version_;
|
||||
@@ -91,16 +96,19 @@ namespace AlibabaCloud
|
||||
long slsCapacity_;
|
||||
int userDefinedAlarms_;
|
||||
int allowPartialBuy_;
|
||||
long agentlessCapacity_;
|
||||
int webLock_;
|
||||
long threatAnalysisCapacity_;
|
||||
bool isOverBalance_;
|
||||
int vmCores_;
|
||||
long honeypotCapacity_;
|
||||
long vulFixCapacity_;
|
||||
int assetLevel_;
|
||||
std::string instanceId_;
|
||||
long lastInstanceReleaseTime_;
|
||||
long createTime_;
|
||||
int sasScreen_;
|
||||
long cspmCapacity_;
|
||||
bool isSasOpening_;
|
||||
int logCapacity_;
|
||||
int flag_;
|
||||
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getLang() const;
|
||||
void setLang(const std::string &lang);
|
||||
long getResourceDirectoryAccountId() const;
|
||||
void setResourceDirectoryAccountId(long resourceDirectoryAccountId);
|
||||
std::string getAliasName() const;
|
||||
void setAliasName(const std::string &aliasName);
|
||||
std::string getName() const;
|
||||
@@ -45,6 +47,7 @@ private:
|
||||
std::string type_;
|
||||
std::string sourceIp_;
|
||||
std::string lang_;
|
||||
long resourceDirectoryAccountId_;
|
||||
std::string aliasName_;
|
||||
std::string name_;
|
||||
};
|
||||
|
||||
@@ -86,6 +86,8 @@ public:
|
||||
void setModifyTsStart(long modifyTsStart);
|
||||
std::string getLang() const;
|
||||
void setLang(const std::string &lang);
|
||||
long getResourceDirectoryAccountId() const;
|
||||
void setResourceDirectoryAccountId(long resourceDirectoryAccountId);
|
||||
std::string getAssetType() const;
|
||||
void setAssetType(const std::string &assetType);
|
||||
std::string getDealed() const;
|
||||
@@ -126,6 +128,7 @@ private:
|
||||
int pageSize_;
|
||||
long modifyTsStart_;
|
||||
std::string lang_;
|
||||
long resourceDirectoryAccountId_;
|
||||
std::string assetType_;
|
||||
std::string dealed_;
|
||||
int currentPage_;
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SAS_MODEL_GETAGENTLESSTASKCOUNTREQUEST_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_GETAGENTLESSTASKCOUNTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Sas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_SAS_EXPORT GetAgentlessTaskCountRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetAgentlessTaskCountRequest();
|
||||
~GetAgentlessTaskCountRequest();
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Sas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_GETAGENTLESSTASKCOUNTREQUEST_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_GETAGENTLESSTASKCOUNTRESULT_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_GETAGENTLESSTASKCOUNTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Sas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SAS_EXPORT GetAgentlessTaskCountResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetAgentlessTaskCountResult();
|
||||
explicit GetAgentlessTaskCountResult(const std::string &payload);
|
||||
~GetAgentlessTaskCountResult();
|
||||
int getBaselineCheckCount()const;
|
||||
int getMaliciousFile()const;
|
||||
long getLastTaskTime()const;
|
||||
int getCveVulCount()const;
|
||||
int getVulnerability()const;
|
||||
int getScaVulCount()const;
|
||||
int getRiskMachine()const;
|
||||
int getScanMachine()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int baselineCheckCount_;
|
||||
int maliciousFile_;
|
||||
long lastTaskTime_;
|
||||
int cveVulCount_;
|
||||
int vulnerability_;
|
||||
int scaVulCount_;
|
||||
int riskMachine_;
|
||||
int scanMachine_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_GETAGENTLESSTASKCOUNTRESULT_H_
|
||||
@@ -32,32 +32,43 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_SAS_EXPORT GetCheckConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct StandardsItem
|
||||
struct Standard
|
||||
{
|
||||
std::string status;
|
||||
std::string type;
|
||||
long id;
|
||||
std::string showName;
|
||||
};
|
||||
struct SelectedCheck
|
||||
{
|
||||
long checkId;
|
||||
long sectionId;
|
||||
};
|
||||
|
||||
|
||||
GetCheckConfigResult();
|
||||
explicit GetCheckConfigResult(const std::string &payload);
|
||||
~GetCheckConfigResult();
|
||||
std::vector<SelectedCheck> getSelectedChecks()const;
|
||||
int getEndTime()const;
|
||||
bool getEnableAutoCheck()const;
|
||||
std::vector<std::string> getCycleDays()const;
|
||||
bool getEnableAddCheck()const;
|
||||
int getStartTime()const;
|
||||
std::string getData()const;
|
||||
std::vector<StandardsItem> getStandards()const;
|
||||
std::vector<Standard> getStandards()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<SelectedCheck> selectedChecks_;
|
||||
int endTime_;
|
||||
bool enableAutoCheck_;
|
||||
std::vector<std::string> cycleDays_;
|
||||
bool enableAddCheck_;
|
||||
int startTime_;
|
||||
std::string data_;
|
||||
std::vector<StandardsItem> standards_;
|
||||
std::vector<Standard> standards_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_GETCLIENTRATIOSTATISTICREQUEST_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_GETCLIENTRATIOSTATISTICREQUEST_H_
|
||||
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Sas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_SAS_EXPORT GetClientRatioStatisticRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetClientRatioStatisticRequest();
|
||||
~GetClientRatioStatisticRequest();
|
||||
long getTimeEnd() const;
|
||||
void setTimeEnd(long timeEnd);
|
||||
long getResourceDirectoryAccountId() const;
|
||||
void setResourceDirectoryAccountId(long resourceDirectoryAccountId);
|
||||
std::vector<std::string> getStatisticTypes() const;
|
||||
void setStatisticTypes(const std::vector<std::string> &statisticTypes);
|
||||
long getTimeStart() const;
|
||||
void setTimeStart(long timeStart);
|
||||
|
||||
private:
|
||||
long timeEnd_;
|
||||
long resourceDirectoryAccountId_;
|
||||
std::vector<std::string> statisticTypes_;
|
||||
long timeStart_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Sas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_GETCLIENTRATIOSTATISTICREQUEST_H_
|
||||
@@ -0,0 +1,113 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR 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_GETCLIENTRATIOSTATISTICRESULT_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_GETCLIENTRATIOSTATISTICRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Sas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SAS_EXPORT GetClientRatioStatisticResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ClientInstallRatio
|
||||
{
|
||||
struct HistoryItemsItem
|
||||
{
|
||||
struct HistoryItem
|
||||
{
|
||||
int installedAssetCount;
|
||||
long calculateTime;
|
||||
double installRatio;
|
||||
int assetTotalCount;
|
||||
};
|
||||
std::vector<HistoryItemsItem::HistoryItem> items;
|
||||
long vendor;
|
||||
};
|
||||
struct CurrentItemsItem
|
||||
{
|
||||
struct ItemsItem
|
||||
{
|
||||
int installedAssetCount;
|
||||
long calculateTime;
|
||||
double installRatio;
|
||||
int assetTotalCount;
|
||||
};
|
||||
std::vector<CurrentItemsItem::ItemsItem> items1;
|
||||
long vendor;
|
||||
};
|
||||
std::vector<CurrentItemsItem> currentItems;
|
||||
std::vector<HistoryItemsItem> historyItems;
|
||||
};
|
||||
struct ClientOnlineRatio
|
||||
{
|
||||
struct HistoryItemsItem4
|
||||
{
|
||||
struct HistoryItem6
|
||||
{
|
||||
int onlineAssetCount;
|
||||
long calculateTime;
|
||||
int assetInstallCount;
|
||||
double onlineRatio;
|
||||
};
|
||||
std::vector<HistoryItemsItem4::HistoryItem6> items5;
|
||||
long vendor;
|
||||
};
|
||||
struct CurrentItemsItem7
|
||||
{
|
||||
struct ItemsItem9
|
||||
{
|
||||
int onlineAssetCount;
|
||||
long calculateTime;
|
||||
int assetInstallCount;
|
||||
double onlineRatio;
|
||||
};
|
||||
std::vector<CurrentItemsItem7::ItemsItem9> items8;
|
||||
long vendor;
|
||||
};
|
||||
std::vector<CurrentItemsItem7> currentItems3;
|
||||
std::vector<HistoryItemsItem4> historyItems2;
|
||||
};
|
||||
|
||||
|
||||
GetClientRatioStatisticResult();
|
||||
explicit GetClientRatioStatisticResult(const std::string &payload);
|
||||
~GetClientRatioStatisticResult();
|
||||
ClientOnlineRatio getClientOnlineRatio()const;
|
||||
std::vector<std::string> getDates()const;
|
||||
ClientInstallRatio getClientInstallRatio()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
ClientOnlineRatio clientOnlineRatio_;
|
||||
std::vector<std::string> dates_;
|
||||
ClientInstallRatio clientInstallRatio_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_GETCLIENTRATIOSTATISTICRESULT_H_
|
||||
45
sas/include/alibabacloud/sas/model/GetServiceTrailRequest.h
Normal file
45
sas/include/alibabacloud/sas/model/GetServiceTrailRequest.h
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SAS_MODEL_GETSERVICETRAILREQUEST_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_GETSERVICETRAILREQUEST_H_
|
||||
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Sas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_SAS_EXPORT GetServiceTrailRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetServiceTrailRequest();
|
||||
~GetServiceTrailRequest();
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Sas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_GETSERVICETRAILREQUEST_H_
|
||||
57
sas/include/alibabacloud/sas/model/GetServiceTrailResult.h
Normal file
57
sas/include/alibabacloud/sas/model/GetServiceTrailResult.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SAS_MODEL_GETSERVICETRAILRESULT_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_GETSERVICETRAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Sas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SAS_EXPORT GetServiceTrailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ServiceTrail
|
||||
{
|
||||
std::string config;
|
||||
long createTime;
|
||||
long updateTime;
|
||||
};
|
||||
|
||||
|
||||
GetServiceTrailResult();
|
||||
explicit GetServiceTrailResult(const std::string &payload);
|
||||
~GetServiceTrailResult();
|
||||
ServiceTrail getServiceTrail()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
ServiceTrail serviceTrail_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_GETSERVICETRAILRESULT_H_
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::vector<std::string> getSecurityEventIds() const;
|
||||
void setSecurityEventIds(const std::vector<std::string> &securityEventIds);
|
||||
std::string getRemark() const;
|
||||
void setRemark(const std::string &remark);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getOperationCode() const;
|
||||
@@ -49,6 +51,7 @@ private:
|
||||
std::string markMissParam_;
|
||||
long resourceOwnerId_;
|
||||
std::vector<std::string> securityEventIds_;
|
||||
std::string remark_;
|
||||
std::string sourceIp_;
|
||||
std::string operationCode_;
|
||||
std::string operationParams_;
|
||||
|
||||
@@ -34,6 +34,8 @@ public:
|
||||
void setMarkMissParam(const std::string &markMissParam);
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getRemark() const;
|
||||
void setRemark(const std::string &remark);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getOperationCode() const;
|
||||
@@ -46,6 +48,7 @@ public:
|
||||
private:
|
||||
std::string markMissParam_;
|
||||
long resourceOwnerId_;
|
||||
std::string remark_;
|
||||
std::string sourceIp_;
|
||||
std::string operationCode_;
|
||||
long taskId_;
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SAS_MODEL_LISTAGENTLESSREGIONREQUEST_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_LISTAGENTLESSREGIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Sas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_SAS_EXPORT ListAgentlessRegionRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListAgentlessRegionRequest();
|
||||
~ListAgentlessRegionRequest();
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Sas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_LISTAGENTLESSREGIONREQUEST_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_LISTAGENTLESSREGIONRESULT_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_LISTAGENTLESSREGIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Sas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SAS_EXPORT ListAgentlessRegionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ListAgentlessRegionResult();
|
||||
explicit ListAgentlessRegionResult(const std::string &payload);
|
||||
~ListAgentlessRegionResult();
|
||||
std::vector<std::string> getRegionList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> regionList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_LISTAGENTLESSREGIONRESULT_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_LISTAGENTLESSRELATEMALICIOUSREQUEST_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_LISTAGENTLESSRELATEMALICIOUSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Sas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_SAS_EXPORT ListAgentlessRelateMaliciousRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListAgentlessRelateMaliciousRequest();
|
||||
~ListAgentlessRelateMaliciousRequest();
|
||||
long getEventId() const;
|
||||
void setEventId(long eventId);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getPageSize() const;
|
||||
void setPageSize(const std::string &pageSize);
|
||||
int getCurrentPage() const;
|
||||
void setCurrentPage(int currentPage);
|
||||
|
||||
private:
|
||||
long eventId_;
|
||||
std::string sourceIp_;
|
||||
std::string pageSize_;
|
||||
int currentPage_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Sas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_LISTAGENTLESSRELATEMALICIOUSREQUEST_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_LISTAGENTLESSRELATEMALICIOUSRESULT_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_LISTAGENTLESSRELATEMALICIOUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Sas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SAS_EXPORT ListAgentlessRelateMaliciousResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PageInfo
|
||||
{
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int currentPage;
|
||||
int count;
|
||||
};
|
||||
struct ListItem
|
||||
{
|
||||
std::string instanceName;
|
||||
std::string filePath;
|
||||
long latestScanTimestamp;
|
||||
std::string uuid;
|
||||
std::string internetIp;
|
||||
std::string intranetIp;
|
||||
long firstScanTimestamp;
|
||||
};
|
||||
|
||||
|
||||
ListAgentlessRelateMaliciousResult();
|
||||
explicit ListAgentlessRelateMaliciousResult(const std::string &payload);
|
||||
~ListAgentlessRelateMaliciousResult();
|
||||
PageInfo getPageInfo()const;
|
||||
std::vector<ListItem> getList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
PageInfo pageInfo_;
|
||||
std::vector<ListItem> list_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_LISTAGENTLESSRELATEMALICIOUSRESULT_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_LISTAGENTLESSRISKUUIDREQUEST_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_LISTAGENTLESSRISKUUIDREQUEST_H_
|
||||
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Sas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_SAS_EXPORT ListAgentlessRiskUuidRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListAgentlessRiskUuidRequest();
|
||||
~ListAgentlessRiskUuidRequest();
|
||||
std::string getInternetIp() const;
|
||||
void setInternetIp(const std::string &internetIp);
|
||||
std::string getTargetName() const;
|
||||
void setTargetName(const std::string &targetName);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getMachineName() const;
|
||||
void setMachineName(const std::string &machineName);
|
||||
int getCurrentPage() const;
|
||||
void setCurrentPage(int currentPage);
|
||||
bool getRisk() const;
|
||||
void setRisk(bool risk);
|
||||
std::string getIntranetIp() const;
|
||||
void setIntranetIp(const std::string &intranetIp);
|
||||
|
||||
private:
|
||||
std::string internetIp_;
|
||||
std::string targetName_;
|
||||
std::string sourceIp_;
|
||||
int pageSize_;
|
||||
std::string machineName_;
|
||||
int currentPage_;
|
||||
bool risk_;
|
||||
std::string intranetIp_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Sas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_LISTAGENTLESSRISKUUIDREQUEST_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_LISTAGENTLESSRISKUUIDRESULT_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_LISTAGENTLESSRISKUUIDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Sas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SAS_EXPORT ListAgentlessRiskUuidResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PageInfo
|
||||
{
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int currentPage;
|
||||
};
|
||||
struct ListItem
|
||||
{
|
||||
std::string instanceName;
|
||||
std::string uuid;
|
||||
std::string internetIp;
|
||||
int maliciousCount;
|
||||
int baselineCount;
|
||||
std::string targetName;
|
||||
long scanTime;
|
||||
std::string intranetIp;
|
||||
std::string targetId;
|
||||
int vulCount;
|
||||
};
|
||||
|
||||
|
||||
ListAgentlessRiskUuidResult();
|
||||
explicit ListAgentlessRiskUuidResult(const std::string &payload);
|
||||
~ListAgentlessRiskUuidResult();
|
||||
PageInfo getPageInfo()const;
|
||||
std::vector<ListItem> getList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
PageInfo pageInfo_;
|
||||
std::vector<ListItem> list_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_LISTAGENTLESSRISKUUIDRESULT_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_LISTAGENTLESSTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_LISTAGENTLESSTASKREQUEST_H_
|
||||
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Sas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_SAS_EXPORT ListAgentlessTaskRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListAgentlessTaskRequest();
|
||||
~ListAgentlessTaskRequest();
|
||||
std::string getInternetIp() const;
|
||||
void setInternetIp(const std::string &internetIp);
|
||||
int getTargetType() const;
|
||||
void setTargetType(int targetType);
|
||||
long getStartTime() const;
|
||||
void setStartTime(long startTime);
|
||||
std::string getUuid() const;
|
||||
void setUuid(const std::string &uuid);
|
||||
std::string getTargetName() const;
|
||||
void setTargetName(const std::string &targetName);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getRootTaskId() const;
|
||||
void setRootTaskId(const std::string &rootTaskId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getMachineName() const;
|
||||
void setMachineName(const std::string &machineName);
|
||||
std::string getLang() const;
|
||||
void setLang(const std::string &lang);
|
||||
std::string getTaskId() const;
|
||||
void setTaskId(const std::string &taskId);
|
||||
long getEndTime() const;
|
||||
void setEndTime(long endTime);
|
||||
int getCurrentPage() const;
|
||||
void setCurrentPage(int currentPage);
|
||||
bool getRootTask() const;
|
||||
void setRootTask(bool rootTask);
|
||||
int getStatus() const;
|
||||
void setStatus(int status);
|
||||
std::string getIntranetIp() const;
|
||||
void setIntranetIp(const std::string &intranetIp);
|
||||
|
||||
private:
|
||||
std::string internetIp_;
|
||||
int targetType_;
|
||||
long startTime_;
|
||||
std::string uuid_;
|
||||
std::string targetName_;
|
||||
std::string sourceIp_;
|
||||
std::string rootTaskId_;
|
||||
int pageSize_;
|
||||
std::string machineName_;
|
||||
std::string lang_;
|
||||
std::string taskId_;
|
||||
long endTime_;
|
||||
int currentPage_;
|
||||
bool rootTask_;
|
||||
int status_;
|
||||
std::string intranetIp_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Sas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_LISTAGENTLESSTASKREQUEST_H_
|
||||
75
sas/include/alibabacloud/sas/model/ListAgentlessTaskResult.h
Normal file
75
sas/include/alibabacloud/sas/model/ListAgentlessTaskResult.h
Normal file
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SAS_MODEL_LISTAGENTLESSTASKRESULT_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_LISTAGENTLESSTASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Sas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SAS_EXPORT ListAgentlessTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PageInfo
|
||||
{
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int currentPage;
|
||||
};
|
||||
struct ListItem
|
||||
{
|
||||
int status;
|
||||
int progress;
|
||||
std::string taskId;
|
||||
long endTime;
|
||||
long startTime;
|
||||
std::string targetName;
|
||||
std::string intranetIp;
|
||||
std::string result;
|
||||
std::string instanceName;
|
||||
std::string uuid;
|
||||
std::string internetIp;
|
||||
std::string taskName;
|
||||
int targetType;
|
||||
};
|
||||
|
||||
|
||||
ListAgentlessTaskResult();
|
||||
explicit ListAgentlessTaskResult(const std::string &payload);
|
||||
~ListAgentlessTaskResult();
|
||||
PageInfo getPageInfo()const;
|
||||
std::vector<ListItem> getList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
PageInfo pageInfo_;
|
||||
std::vector<ListItem> list_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_LISTAGENTLESSTASKRESULT_H_
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SAS_MODEL_LISTASSETREFRESHTASKCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_LISTASSETREFRESHTASKCONFIGREQUEST_H_
|
||||
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Sas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_SAS_EXPORT ListAssetRefreshTaskConfigRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListAssetRefreshTaskConfigRequest();
|
||||
~ListAssetRefreshTaskConfigRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Sas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_LISTASSETREFRESHTASKCONFIGREQUEST_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_LISTASSETREFRESHTASKCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_LISTASSETREFRESHTASKCONFIGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Sas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SAS_EXPORT ListAssetRefreshTaskConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AssetRefreshConfigItem
|
||||
{
|
||||
int status;
|
||||
int schedulePeriod;
|
||||
int vendor;
|
||||
};
|
||||
|
||||
|
||||
ListAssetRefreshTaskConfigResult();
|
||||
explicit ListAssetRefreshTaskConfigResult(const std::string &payload);
|
||||
~ListAssetRefreshTaskConfigResult();
|
||||
std::vector<AssetRefreshConfigItem> getAssetRefreshConfig()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<AssetRefreshConfigItem> assetRefreshConfig_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_LISTASSETREFRESHTASKCONFIGRESULT_H_
|
||||
@@ -48,6 +48,7 @@ namespace AlibabaCloud
|
||||
std::string instanceId;
|
||||
long id;
|
||||
std::string regionId;
|
||||
std::string statusMessage;
|
||||
};
|
||||
struct ColumnsItem
|
||||
{
|
||||
|
||||
@@ -38,6 +38,8 @@ public:
|
||||
void setRiskLevels(const std::vector<std::string> &riskLevels);
|
||||
std::vector<std::string> getInstanceTypes() const;
|
||||
void setInstanceTypes(const std::vector<std::string> &instanceTypes);
|
||||
bool getCustomParam() const;
|
||||
void setCustomParam(bool customParam);
|
||||
std::string getCheckKey() const;
|
||||
void setCheckKey(const std::string &checkKey);
|
||||
std::string getSourceIp() const;
|
||||
@@ -68,6 +70,7 @@ private:
|
||||
std::vector<long> standardIds_;
|
||||
std::vector<std::string> riskLevels_;
|
||||
std::vector<std::string> instanceTypes_;
|
||||
bool customParam_;
|
||||
std::string checkKey_;
|
||||
std::string sourceIp_;
|
||||
std::string regionId_;
|
||||
|
||||
@@ -52,15 +52,16 @@ namespace AlibabaCloud
|
||||
long sectionId;
|
||||
std::string sectionShowName;
|
||||
};
|
||||
std::string instanceSubType;
|
||||
std::string status;
|
||||
long lastCheckTime;
|
||||
std::string taskId;
|
||||
long checkId;
|
||||
std::string vendorShowName;
|
||||
std::string checkShowName;
|
||||
bool trialPermission;
|
||||
std::string vendor;
|
||||
std::string statusMessage;
|
||||
std::string instanceSubType;
|
||||
long lastCheckTime;
|
||||
long checkId;
|
||||
std::vector<ChecksItem::CheckPolicie> checkPolicies;
|
||||
std::string instanceType;
|
||||
std::string riskLevel;
|
||||
|
||||
@@ -32,9 +32,12 @@ public:
|
||||
~OperationCancelIgnoreSuspEventRequest();
|
||||
std::vector<long> getSecurityEventIds() const;
|
||||
void setSecurityEventIds(const std::vector<long> &securityEventIds);
|
||||
std::string getRemark() const;
|
||||
void setRemark(const std::string &remark);
|
||||
|
||||
private:
|
||||
std::vector<long> securityEventIds_;
|
||||
std::string remark_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Sas
|
||||
|
||||
@@ -32,9 +32,12 @@ public:
|
||||
~SubmitCheckRequest();
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getScanRange() const;
|
||||
void setScanRange(const std::string &scanRange);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string scanRange_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Sas
|
||||
|
||||
@@ -195,6 +195,42 @@ SasClient::AddClientUserDefineRuleOutcomeCallable SasClient::addClientUserDefine
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::AddImageVulWhiteListOutcome SasClient::addImageVulWhiteList(const AddImageVulWhiteListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddImageVulWhiteListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddImageVulWhiteListOutcome(AddImageVulWhiteListResult(outcome.result()));
|
||||
else
|
||||
return AddImageVulWhiteListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SasClient::addImageVulWhiteListAsync(const AddImageVulWhiteListRequest& request, const AddImageVulWhiteListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addImageVulWhiteList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SasClient::AddImageVulWhiteListOutcomeCallable SasClient::addImageVulWhiteListCallable(const AddImageVulWhiteListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddImageVulWhiteListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addImageVulWhiteList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::AddInstallCodeOutcome SasClient::addInstallCode(const AddInstallCodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -519,6 +555,42 @@ SasClient::CancelOnceTaskOutcomeCallable SasClient::cancelOnceTaskCallable(const
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::ChangeAssetRefreshTaskConfigOutcome SasClient::changeAssetRefreshTaskConfig(const ChangeAssetRefreshTaskConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ChangeAssetRefreshTaskConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ChangeAssetRefreshTaskConfigOutcome(ChangeAssetRefreshTaskConfigResult(outcome.result()));
|
||||
else
|
||||
return ChangeAssetRefreshTaskConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SasClient::changeAssetRefreshTaskConfigAsync(const ChangeAssetRefreshTaskConfigRequest& request, const ChangeAssetRefreshTaskConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, changeAssetRefreshTaskConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SasClient::ChangeAssetRefreshTaskConfigOutcomeCallable SasClient::changeAssetRefreshTaskConfigCallable(const ChangeAssetRefreshTaskConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ChangeAssetRefreshTaskConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->changeAssetRefreshTaskConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::ChangeCheckConfigOutcome SasClient::changeCheckConfig(const ChangeCheckConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -735,6 +807,42 @@ SasClient::ConfirmVirusEventsOutcomeCallable SasClient::confirmVirusEventsCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::CreateAgentlessScanTaskOutcome SasClient::createAgentlessScanTask(const CreateAgentlessScanTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateAgentlessScanTaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateAgentlessScanTaskOutcome(CreateAgentlessScanTaskResult(outcome.result()));
|
||||
else
|
||||
return CreateAgentlessScanTaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SasClient::createAgentlessScanTaskAsync(const CreateAgentlessScanTaskRequest& request, const CreateAgentlessScanTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createAgentlessScanTask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SasClient::CreateAgentlessScanTaskOutcomeCallable SasClient::createAgentlessScanTaskCallable(const CreateAgentlessScanTaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateAgentlessScanTaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createAgentlessScanTask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::CreateAntiBruteForceRuleOutcome SasClient::createAntiBruteForceRule(const CreateAntiBruteForceRuleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1419,6 +1527,42 @@ SasClient::CreateServiceLinkedRoleOutcomeCallable SasClient::createServiceLinked
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::CreateServiceTrailOutcome SasClient::createServiceTrail(const CreateServiceTrailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateServiceTrailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateServiceTrailOutcome(CreateServiceTrailResult(outcome.result()));
|
||||
else
|
||||
return CreateServiceTrailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SasClient::createServiceTrailAsync(const CreateServiceTrailRequest& request, const CreateServiceTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createServiceTrail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SasClient::CreateServiceTrailOutcomeCallable SasClient::createServiceTrailCallable(const CreateServiceTrailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateServiceTrailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createServiceTrail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::CreateSimilarSecurityEventsQueryTaskOutcome SasClient::createSimilarSecurityEventsQueryTask(const CreateSimilarSecurityEventsQueryTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1707,6 +1851,42 @@ SasClient::DeleteBackupPolicyMachineOutcomeCallable SasClient::deleteBackupPolic
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::DeleteBinarySecurityPolicyOutcome SasClient::deleteBinarySecurityPolicy(const DeleteBinarySecurityPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteBinarySecurityPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteBinarySecurityPolicyOutcome(DeleteBinarySecurityPolicyResult(outcome.result()));
|
||||
else
|
||||
return DeleteBinarySecurityPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SasClient::deleteBinarySecurityPolicyAsync(const DeleteBinarySecurityPolicyRequest& request, const DeleteBinarySecurityPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteBinarySecurityPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SasClient::DeleteBinarySecurityPolicyOutcomeCallable SasClient::deleteBinarySecurityPolicyCallable(const DeleteBinarySecurityPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteBinarySecurityPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteBinarySecurityPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::DeleteClientUserDefineRuleOutcome SasClient::deleteClientUserDefineRule(const DeleteClientUserDefineRuleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2211,6 +2391,42 @@ SasClient::DeleteSecurityEventMarkMissListOutcomeCallable SasClient::deleteSecur
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::DeleteServiceTrailOutcome SasClient::deleteServiceTrail(const DeleteServiceTrailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteServiceTrailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteServiceTrailOutcome(DeleteServiceTrailResult(outcome.result()));
|
||||
else
|
||||
return DeleteServiceTrailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SasClient::deleteServiceTrailAsync(const DeleteServiceTrailRequest& request, const DeleteServiceTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteServiceTrail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SasClient::DeleteServiceTrailOutcomeCallable SasClient::deleteServiceTrailCallable(const DeleteServiceTrailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteServiceTrailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteServiceTrail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::DeleteStrategyOutcome SasClient::deleteStrategy(const DeleteStrategyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -6207,6 +6423,42 @@ SasClient::DescribeImageVulListOutcomeCallable SasClient::describeImageVulListCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::DescribeImageVulWhiteListOutcome SasClient::describeImageVulWhiteList(const DescribeImageVulWhiteListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeImageVulWhiteListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeImageVulWhiteListOutcome(DescribeImageVulWhiteListResult(outcome.result()));
|
||||
else
|
||||
return DescribeImageVulWhiteListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SasClient::describeImageVulWhiteListAsync(const DescribeImageVulWhiteListRequest& request, const DescribeImageVulWhiteListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeImageVulWhiteList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SasClient::DescribeImageVulWhiteListOutcomeCallable SasClient::describeImageVulWhiteListCallable(const DescribeImageVulWhiteListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeImageVulWhiteListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeImageVulWhiteList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::DescribeInstallCaptchaOutcome SasClient::describeInstallCaptcha(const DescribeInstallCaptchaRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -6747,6 +6999,42 @@ SasClient::DescribeModuleConfigOutcomeCallable SasClient::describeModuleConfigCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::DescribeMonitorAccountsOutcome SasClient::describeMonitorAccounts(const DescribeMonitorAccountsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeMonitorAccountsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeMonitorAccountsOutcome(DescribeMonitorAccountsResult(outcome.result()));
|
||||
else
|
||||
return DescribeMonitorAccountsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SasClient::describeMonitorAccountsAsync(const DescribeMonitorAccountsRequest& request, const DescribeMonitorAccountsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeMonitorAccounts(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SasClient::DescribeMonitorAccountsOutcomeCallable SasClient::describeMonitorAccountsCallable(const DescribeMonitorAccountsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeMonitorAccountsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeMonitorAccounts(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::DescribeNoticeConfigOutcome SasClient::describeNoticeConfig(const DescribeNoticeConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -8079,6 +8367,42 @@ SasClient::DescribeSecurityCheckScheduleConfigOutcomeCallable SasClient::describ
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::DescribeSecurityEventMarkMissListOutcome SasClient::describeSecurityEventMarkMissList(const DescribeSecurityEventMarkMissListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeSecurityEventMarkMissListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeSecurityEventMarkMissListOutcome(DescribeSecurityEventMarkMissListResult(outcome.result()));
|
||||
else
|
||||
return DescribeSecurityEventMarkMissListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SasClient::describeSecurityEventMarkMissListAsync(const DescribeSecurityEventMarkMissListRequest& request, const DescribeSecurityEventMarkMissListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeSecurityEventMarkMissList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SasClient::DescribeSecurityEventMarkMissListOutcomeCallable SasClient::describeSecurityEventMarkMissListCallable(const DescribeSecurityEventMarkMissListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeSecurityEventMarkMissListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeSecurityEventMarkMissList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::DescribeSecurityEventOperationStatusOutcome SasClient::describeSecurityEventOperationStatus(const DescribeSecurityEventOperationStatusRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -10815,6 +11139,42 @@ SasClient::GenerateOnceTaskOutcomeCallable SasClient::generateOnceTaskCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::GetAgentlessTaskCountOutcome SasClient::getAgentlessTaskCount(const GetAgentlessTaskCountRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetAgentlessTaskCountOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetAgentlessTaskCountOutcome(GetAgentlessTaskCountResult(outcome.result()));
|
||||
else
|
||||
return GetAgentlessTaskCountOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SasClient::getAgentlessTaskCountAsync(const GetAgentlessTaskCountRequest& request, const GetAgentlessTaskCountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getAgentlessTaskCount(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SasClient::GetAgentlessTaskCountOutcomeCallable SasClient::getAgentlessTaskCountCallable(const GetAgentlessTaskCountRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetAgentlessTaskCountOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getAgentlessTaskCount(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::GetAlarmMachineCountOutcome SasClient::getAlarmMachineCount(const GetAlarmMachineCountRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -11247,6 +11607,42 @@ SasClient::GetCheckSummaryOutcomeCallable SasClient::getCheckSummaryCallable(con
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::GetClientRatioStatisticOutcome SasClient::getClientRatioStatistic(const GetClientRatioStatisticRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetClientRatioStatisticOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetClientRatioStatisticOutcome(GetClientRatioStatisticResult(outcome.result()));
|
||||
else
|
||||
return GetClientRatioStatisticOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SasClient::getClientRatioStatisticAsync(const GetClientRatioStatisticRequest& request, const GetClientRatioStatisticAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getClientRatioStatistic(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SasClient::GetClientRatioStatisticOutcomeCallable SasClient::getClientRatioStatisticCallable(const GetClientRatioStatisticRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetClientRatioStatisticOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getClientRatioStatistic(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::GetClientUserDefineRuleOutcome SasClient::getClientUserDefineRule(const GetClientUserDefineRuleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -12003,6 +12399,42 @@ SasClient::GetRulesCountOutcomeCallable SasClient::getRulesCountCallable(const G
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::GetServiceTrailOutcome SasClient::getServiceTrail(const GetServiceTrailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetServiceTrailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetServiceTrailOutcome(GetServiceTrailResult(outcome.result()));
|
||||
else
|
||||
return GetServiceTrailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SasClient::getServiceTrailAsync(const GetServiceTrailRequest& request, const GetServiceTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getServiceTrail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SasClient::GetServiceTrailOutcomeCallable SasClient::getServiceTrailCallable(const GetServiceTrailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetServiceTrailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getServiceTrail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::GetSuspiciousStatisticsOutcome SasClient::getSuspiciousStatistics(const GetSuspiciousStatisticsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -12435,6 +12867,186 @@ SasClient::JoinWebLockProcessWhiteListOutcomeCallable SasClient::joinWebLockProc
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::ListAgentlessRegionOutcome SasClient::listAgentlessRegion(const ListAgentlessRegionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListAgentlessRegionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListAgentlessRegionOutcome(ListAgentlessRegionResult(outcome.result()));
|
||||
else
|
||||
return ListAgentlessRegionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SasClient::listAgentlessRegionAsync(const ListAgentlessRegionRequest& request, const ListAgentlessRegionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listAgentlessRegion(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SasClient::ListAgentlessRegionOutcomeCallable SasClient::listAgentlessRegionCallable(const ListAgentlessRegionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListAgentlessRegionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listAgentlessRegion(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::ListAgentlessRelateMaliciousOutcome SasClient::listAgentlessRelateMalicious(const ListAgentlessRelateMaliciousRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListAgentlessRelateMaliciousOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListAgentlessRelateMaliciousOutcome(ListAgentlessRelateMaliciousResult(outcome.result()));
|
||||
else
|
||||
return ListAgentlessRelateMaliciousOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SasClient::listAgentlessRelateMaliciousAsync(const ListAgentlessRelateMaliciousRequest& request, const ListAgentlessRelateMaliciousAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listAgentlessRelateMalicious(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SasClient::ListAgentlessRelateMaliciousOutcomeCallable SasClient::listAgentlessRelateMaliciousCallable(const ListAgentlessRelateMaliciousRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListAgentlessRelateMaliciousOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listAgentlessRelateMalicious(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::ListAgentlessRiskUuidOutcome SasClient::listAgentlessRiskUuid(const ListAgentlessRiskUuidRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListAgentlessRiskUuidOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListAgentlessRiskUuidOutcome(ListAgentlessRiskUuidResult(outcome.result()));
|
||||
else
|
||||
return ListAgentlessRiskUuidOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SasClient::listAgentlessRiskUuidAsync(const ListAgentlessRiskUuidRequest& request, const ListAgentlessRiskUuidAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listAgentlessRiskUuid(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SasClient::ListAgentlessRiskUuidOutcomeCallable SasClient::listAgentlessRiskUuidCallable(const ListAgentlessRiskUuidRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListAgentlessRiskUuidOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listAgentlessRiskUuid(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::ListAgentlessTaskOutcome SasClient::listAgentlessTask(const ListAgentlessTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListAgentlessTaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListAgentlessTaskOutcome(ListAgentlessTaskResult(outcome.result()));
|
||||
else
|
||||
return ListAgentlessTaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SasClient::listAgentlessTaskAsync(const ListAgentlessTaskRequest& request, const ListAgentlessTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listAgentlessTask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SasClient::ListAgentlessTaskOutcomeCallable SasClient::listAgentlessTaskCallable(const ListAgentlessTaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListAgentlessTaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listAgentlessTask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::ListAssetRefreshTaskConfigOutcome SasClient::listAssetRefreshTaskConfig(const ListAssetRefreshTaskConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListAssetRefreshTaskConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListAssetRefreshTaskConfigOutcome(ListAssetRefreshTaskConfigResult(outcome.result()));
|
||||
else
|
||||
return ListAssetRefreshTaskConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SasClient::listAssetRefreshTaskConfigAsync(const ListAssetRefreshTaskConfigRequest& request, const ListAssetRefreshTaskConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listAssetRefreshTaskConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SasClient::ListAssetRefreshTaskConfigOutcomeCallable SasClient::listAssetRefreshTaskConfigCallable(const ListAssetRefreshTaskConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListAssetRefreshTaskConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listAssetRefreshTaskConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::ListAssetSelectionSelectedTargetOutcome SasClient::listAssetSelectionSelectedTarget(const ListAssetSelectionSelectedTargetRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
72
sas/src/model/AddImageVulWhiteListRequest.cc
Normal file
72
sas/src/model/AddImageVulWhiteListRequest.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/AddImageVulWhiteListRequest.h>
|
||||
|
||||
using AlibabaCloud::Sas::Model::AddImageVulWhiteListRequest;
|
||||
|
||||
AddImageVulWhiteListRequest::AddImageVulWhiteListRequest()
|
||||
: RpcServiceRequest("sas", "2018-12-03", "AddImageVulWhiteList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddImageVulWhiteListRequest::~AddImageVulWhiteListRequest() {}
|
||||
|
||||
std::string AddImageVulWhiteListRequest::getReason() const {
|
||||
return reason_;
|
||||
}
|
||||
|
||||
void AddImageVulWhiteListRequest::setReason(const std::string &reason) {
|
||||
reason_ = reason;
|
||||
setParameter(std::string("Reason"), reason);
|
||||
}
|
||||
|
||||
std::string AddImageVulWhiteListRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
void AddImageVulWhiteListRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
std::string AddImageVulWhiteListRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void AddImageVulWhiteListRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
std::string AddImageVulWhiteListRequest::getWhitelist() const {
|
||||
return whitelist_;
|
||||
}
|
||||
|
||||
void AddImageVulWhiteListRequest::setWhitelist(const std::string &whitelist) {
|
||||
whitelist_ = whitelist;
|
||||
setParameter(std::string("Whitelist"), whitelist);
|
||||
}
|
||||
|
||||
std::string AddImageVulWhiteListRequest::getTarget() const {
|
||||
return target_;
|
||||
}
|
||||
|
||||
void AddImageVulWhiteListRequest::setTarget(const std::string &target) {
|
||||
target_ = target;
|
||||
setParameter(std::string("Target"), target);
|
||||
}
|
||||
|
||||
79
sas/src/model/AddImageVulWhiteListResult.cc
Normal file
79
sas/src/model/AddImageVulWhiteListResult.cc
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/AddImageVulWhiteListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Sas;
|
||||
using namespace AlibabaCloud::Sas::Model;
|
||||
|
||||
AddImageVulWhiteListResult::AddImageVulWhiteListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddImageVulWhiteListResult::AddImageVulWhiteListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddImageVulWhiteListResult::~AddImageVulWhiteListResult()
|
||||
{}
|
||||
|
||||
void AddImageVulWhiteListResult::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";
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string AddImageVulWhiteListResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int AddImageVulWhiteListResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
bool AddImageVulWhiteListResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string AddImageVulWhiteListResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool AddImageVulWhiteListResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
60
sas/src/model/ChangeAssetRefreshTaskConfigRequest.cc
Normal file
60
sas/src/model/ChangeAssetRefreshTaskConfigRequest.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/ChangeAssetRefreshTaskConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Sas::Model::ChangeAssetRefreshTaskConfigRequest;
|
||||
|
||||
ChangeAssetRefreshTaskConfigRequest::ChangeAssetRefreshTaskConfigRequest()
|
||||
: RpcServiceRequest("sas", "2018-12-03", "ChangeAssetRefreshTaskConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ChangeAssetRefreshTaskConfigRequest::~ChangeAssetRefreshTaskConfigRequest() {}
|
||||
|
||||
std::vector<ChangeAssetRefreshTaskConfigRequest::AssetRefreshConfigs> ChangeAssetRefreshTaskConfigRequest::getAssetRefreshConfigs() const {
|
||||
return assetRefreshConfigs_;
|
||||
}
|
||||
|
||||
void ChangeAssetRefreshTaskConfigRequest::setAssetRefreshConfigs(const std::vector<ChangeAssetRefreshTaskConfigRequest::AssetRefreshConfigs> &assetRefreshConfigs) {
|
||||
assetRefreshConfigs_ = assetRefreshConfigs;
|
||||
for(int dep1 = 0; dep1 != assetRefreshConfigs.size(); dep1++) {
|
||||
auto assetRefreshConfigsObj = assetRefreshConfigs.at(dep1);
|
||||
std::string assetRefreshConfigsObjStr = std::string("AssetRefreshConfigs") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(assetRefreshConfigsObjStr + ".Vendor", std::to_string(assetRefreshConfigsObj.vendor));
|
||||
setParameter(assetRefreshConfigsObjStr + ".SchedulePeriod", std::to_string(assetRefreshConfigsObj.schedulePeriod));
|
||||
setParameter(assetRefreshConfigsObjStr + ".Status", std::to_string(assetRefreshConfigsObj.status));
|
||||
}
|
||||
}
|
||||
|
||||
std::string ChangeAssetRefreshTaskConfigRequest::getSourceIp() const {
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void ChangeAssetRefreshTaskConfigRequest::setSourceIp(const std::string &sourceIp) {
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter(std::string("SourceIp"), sourceIp);
|
||||
}
|
||||
|
||||
std::string ChangeAssetRefreshTaskConfigRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ChangeAssetRefreshTaskConfigRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
58
sas/src/model/ChangeAssetRefreshTaskConfigResult.cc
Normal file
58
sas/src/model/ChangeAssetRefreshTaskConfigResult.cc
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/ChangeAssetRefreshTaskConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Sas;
|
||||
using namespace AlibabaCloud::Sas::Model;
|
||||
|
||||
ChangeAssetRefreshTaskConfigResult::ChangeAssetRefreshTaskConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ChangeAssetRefreshTaskConfigResult::ChangeAssetRefreshTaskConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ChangeAssetRefreshTaskConfigResult::~ChangeAssetRefreshTaskConfigResult()
|
||||
{}
|
||||
|
||||
void ChangeAssetRefreshTaskConfigResult::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";
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ChangeAssetRefreshTaskConfigResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
bool ChangeAssetRefreshTaskConfigResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -68,6 +68,36 @@ void ChangeCheckConfigRequest::setRegionId(const std::string ®ionId) {
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::vector<ChangeCheckConfigRequest::RemovedCheck> ChangeCheckConfigRequest::getRemovedCheck() const {
|
||||
return removedCheck_;
|
||||
}
|
||||
|
||||
void ChangeCheckConfigRequest::setRemovedCheck(const std::vector<ChangeCheckConfigRequest::RemovedCheck> &removedCheck) {
|
||||
removedCheck_ = removedCheck;
|
||||
for(int dep1 = 0; dep1 != removedCheck.size(); dep1++) {
|
||||
setParameter(std::string("RemovedCheck") + "." + std::to_string(dep1 + 1) + ".SectionId", std::to_string(removedCheck[dep1].sectionId));
|
||||
setParameter(std::string("RemovedCheck") + "." + std::to_string(dep1 + 1) + ".CheckId", std::to_string(removedCheck[dep1].checkId));
|
||||
}
|
||||
}
|
||||
|
||||
bool ChangeCheckConfigRequest::getEnableAddCheck() const {
|
||||
return enableAddCheck_;
|
||||
}
|
||||
|
||||
void ChangeCheckConfigRequest::setEnableAddCheck(bool enableAddCheck) {
|
||||
enableAddCheck_ = enableAddCheck;
|
||||
setParameter(std::string("EnableAddCheck"), enableAddCheck ? "true" : "false");
|
||||
}
|
||||
|
||||
bool ChangeCheckConfigRequest::getEnableAutoCheck() const {
|
||||
return enableAutoCheck_;
|
||||
}
|
||||
|
||||
void ChangeCheckConfigRequest::setEnableAutoCheck(bool enableAutoCheck) {
|
||||
enableAutoCheck_ = enableAutoCheck;
|
||||
setParameter(std::string("EnableAutoCheck"), enableAutoCheck ? "true" : "false");
|
||||
}
|
||||
|
||||
int ChangeCheckConfigRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
@@ -77,3 +107,15 @@ void ChangeCheckConfigRequest::setEndTime(int endTime) {
|
||||
setParameter(std::string("EndTime"), std::to_string(endTime));
|
||||
}
|
||||
|
||||
std::vector<ChangeCheckConfigRequest::AddedCheck> ChangeCheckConfigRequest::getAddedCheck() const {
|
||||
return addedCheck_;
|
||||
}
|
||||
|
||||
void ChangeCheckConfigRequest::setAddedCheck(const std::vector<ChangeCheckConfigRequest::AddedCheck> &addedCheck) {
|
||||
addedCheck_ = addedCheck;
|
||||
for(int dep1 = 0; dep1 != addedCheck.size(); dep1++) {
|
||||
setParameter(std::string("AddedCheck") + "." + std::to_string(dep1 + 1) + ".SectionId", std::to_string(addedCheck[dep1].sectionId));
|
||||
setParameter(std::string("AddedCheck") + "." + std::to_string(dep1 + 1) + ".CheckId", std::to_string(addedCheck[dep1].checkId));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
80
sas/src/model/CreateAgentlessScanTaskRequest.cc
Normal file
80
sas/src/model/CreateAgentlessScanTaskRequest.cc
Normal file
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/CreateAgentlessScanTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Sas::Model::CreateAgentlessScanTaskRequest;
|
||||
|
||||
CreateAgentlessScanTaskRequest::CreateAgentlessScanTaskRequest()
|
||||
: RpcServiceRequest("sas", "2018-12-03", "CreateAgentlessScanTask") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateAgentlessScanTaskRequest::~CreateAgentlessScanTaskRequest() {}
|
||||
|
||||
int CreateAgentlessScanTaskRequest::getTargetType() const {
|
||||
return targetType_;
|
||||
}
|
||||
|
||||
void CreateAgentlessScanTaskRequest::setTargetType(int targetType) {
|
||||
targetType_ = targetType;
|
||||
setParameter(std::string("TargetType"), std::to_string(targetType));
|
||||
}
|
||||
|
||||
std::string CreateAgentlessScanTaskRequest::getSourceIp() const {
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void CreateAgentlessScanTaskRequest::setSourceIp(const std::string &sourceIp) {
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter(std::string("SourceIp"), sourceIp);
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateAgentlessScanTaskRequest::getUuidList() const {
|
||||
return uuidList_;
|
||||
}
|
||||
|
||||
void CreateAgentlessScanTaskRequest::setUuidList(const std::vector<std::string> &uuidList) {
|
||||
uuidList_ = uuidList;
|
||||
}
|
||||
|
||||
bool CreateAgentlessScanTaskRequest::getScanDataDisk() const {
|
||||
return scanDataDisk_;
|
||||
}
|
||||
|
||||
void CreateAgentlessScanTaskRequest::setScanDataDisk(bool scanDataDisk) {
|
||||
scanDataDisk_ = scanDataDisk;
|
||||
setParameter(std::string("ScanDataDisk"), scanDataDisk ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateAgentlessScanTaskRequest::getReleaseAfterScan() const {
|
||||
return releaseAfterScan_;
|
||||
}
|
||||
|
||||
void CreateAgentlessScanTaskRequest::setReleaseAfterScan(bool releaseAfterScan) {
|
||||
releaseAfterScan_ = releaseAfterScan;
|
||||
setParameter(std::string("ReleaseAfterScan"), releaseAfterScan ? "true" : "false");
|
||||
}
|
||||
|
||||
int CreateAgentlessScanTaskRequest::getAutoDeleteDays() const {
|
||||
return autoDeleteDays_;
|
||||
}
|
||||
|
||||
void CreateAgentlessScanTaskRequest::setAutoDeleteDays(int autoDeleteDays) {
|
||||
autoDeleteDays_ = autoDeleteDays;
|
||||
setParameter(std::string("AutoDeleteDays"), std::to_string(autoDeleteDays));
|
||||
}
|
||||
|
||||
44
sas/src/model/CreateAgentlessScanTaskResult.cc
Normal file
44
sas/src/model/CreateAgentlessScanTaskResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/CreateAgentlessScanTaskResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Sas;
|
||||
using namespace AlibabaCloud::Sas::Model;
|
||||
|
||||
CreateAgentlessScanTaskResult::CreateAgentlessScanTaskResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateAgentlessScanTaskResult::CreateAgentlessScanTaskResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateAgentlessScanTaskResult::~CreateAgentlessScanTaskResult()
|
||||
{}
|
||||
|
||||
void CreateAgentlessScanTaskResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
45
sas/src/model/CreateServiceTrailRequest.cc
Normal file
45
sas/src/model/CreateServiceTrailRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/CreateServiceTrailRequest.h>
|
||||
|
||||
using AlibabaCloud::Sas::Model::CreateServiceTrailRequest;
|
||||
|
||||
CreateServiceTrailRequest::CreateServiceTrailRequest()
|
||||
: RpcServiceRequest("sas", "2018-12-03", "CreateServiceTrail") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateServiceTrailRequest::~CreateServiceTrailRequest() {}
|
||||
|
||||
std::string CreateServiceTrailRequest::getSourceIp() const {
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void CreateServiceTrailRequest::setSourceIp(const std::string &sourceIp) {
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter(std::string("SourceIp"), sourceIp);
|
||||
}
|
||||
|
||||
std::string CreateServiceTrailRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateServiceTrailRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
44
sas/src/model/CreateServiceTrailResult.cc
Normal file
44
sas/src/model/CreateServiceTrailResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/CreateServiceTrailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Sas;
|
||||
using namespace AlibabaCloud::Sas::Model;
|
||||
|
||||
CreateServiceTrailResult::CreateServiceTrailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateServiceTrailResult::CreateServiceTrailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateServiceTrailResult::~CreateServiceTrailResult()
|
||||
{}
|
||||
|
||||
void CreateServiceTrailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
54
sas/src/model/DeleteBinarySecurityPolicyRequest.cc
Normal file
54
sas/src/model/DeleteBinarySecurityPolicyRequest.cc
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/DeleteBinarySecurityPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Sas::Model::DeleteBinarySecurityPolicyRequest;
|
||||
|
||||
DeleteBinarySecurityPolicyRequest::DeleteBinarySecurityPolicyRequest()
|
||||
: RpcServiceRequest("sas", "2018-12-03", "DeleteBinarySecurityPolicy") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteBinarySecurityPolicyRequest::~DeleteBinarySecurityPolicyRequest() {}
|
||||
|
||||
long DeleteBinarySecurityPolicyRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteBinarySecurityPolicyRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteBinarySecurityPolicyRequest::getSourceIp() const {
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DeleteBinarySecurityPolicyRequest::setSourceIp(const std::string &sourceIp) {
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter(std::string("SourceIp"), sourceIp);
|
||||
}
|
||||
|
||||
std::string DeleteBinarySecurityPolicyRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
void DeleteBinarySecurityPolicyRequest::setName(const std::string &name) {
|
||||
name_ = name;
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
44
sas/src/model/DeleteBinarySecurityPolicyResult.cc
Normal file
44
sas/src/model/DeleteBinarySecurityPolicyResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/DeleteBinarySecurityPolicyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Sas;
|
||||
using namespace AlibabaCloud::Sas::Model;
|
||||
|
||||
DeleteBinarySecurityPolicyResult::DeleteBinarySecurityPolicyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteBinarySecurityPolicyResult::DeleteBinarySecurityPolicyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteBinarySecurityPolicyResult::~DeleteBinarySecurityPolicyResult()
|
||||
{}
|
||||
|
||||
void DeleteBinarySecurityPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
45
sas/src/model/DeleteServiceTrailRequest.cc
Normal file
45
sas/src/model/DeleteServiceTrailRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/DeleteServiceTrailRequest.h>
|
||||
|
||||
using AlibabaCloud::Sas::Model::DeleteServiceTrailRequest;
|
||||
|
||||
DeleteServiceTrailRequest::DeleteServiceTrailRequest()
|
||||
: RpcServiceRequest("sas", "2018-12-03", "DeleteServiceTrail") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteServiceTrailRequest::~DeleteServiceTrailRequest() {}
|
||||
|
||||
std::string DeleteServiceTrailRequest::getSourceIp() const {
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DeleteServiceTrailRequest::setSourceIp(const std::string &sourceIp) {
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter(std::string("SourceIp"), sourceIp);
|
||||
}
|
||||
|
||||
std::string DeleteServiceTrailRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DeleteServiceTrailRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
44
sas/src/model/DeleteServiceTrailResult.cc
Normal file
44
sas/src/model/DeleteServiceTrailResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/DeleteServiceTrailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Sas;
|
||||
using namespace AlibabaCloud::Sas::Model;
|
||||
|
||||
DeleteServiceTrailResult::DeleteServiceTrailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteServiceTrailResult::DeleteServiceTrailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteServiceTrailResult::~DeleteServiceTrailResult()
|
||||
{}
|
||||
|
||||
void DeleteServiceTrailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -77,6 +77,10 @@ void DescribeAccessKeyLeakDetailResult::parse(const std::string &payload)
|
||||
gmtCreate_ = value["GmtCreate"].asString();
|
||||
if(!value["GithubRepoUrl"].isNull())
|
||||
githubRepoUrl_ = value["GithubRepoUrl"].asString();
|
||||
if(!value["TokenValid"].isNull())
|
||||
tokenValid_ = std::stoi(value["TokenValid"].asString());
|
||||
if(!value["WhitelistTime"].isNull())
|
||||
whitelistTime_ = std::stol(value["WhitelistTime"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -125,6 +129,11 @@ std::string DescribeAccessKeyLeakDetailResult::getRemark()const
|
||||
return remark_;
|
||||
}
|
||||
|
||||
long DescribeAccessKeyLeakDetailResult::getWhitelistTime()const
|
||||
{
|
||||
return whitelistTime_;
|
||||
}
|
||||
|
||||
std::string DescribeAccessKeyLeakDetailResult::getType()const
|
||||
{
|
||||
return type_;
|
||||
@@ -145,6 +154,11 @@ std::string DescribeAccessKeyLeakDetailResult::getGmtCreate()const
|
||||
return gmtCreate_;
|
||||
}
|
||||
|
||||
int DescribeAccessKeyLeakDetailResult::getTokenValid()const
|
||||
{
|
||||
return tokenValid_;
|
||||
}
|
||||
|
||||
std::string DescribeAccessKeyLeakDetailResult::getAccesskeyId()const
|
||||
{
|
||||
return accesskeyId_;
|
||||
|
||||
@@ -61,6 +61,15 @@ void DescribeAlarmEventStackInfoRequest::setLang(const std::string &lang) {
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
long DescribeAlarmEventStackInfoRequest::getResourceDirectoryAccountId() const {
|
||||
return resourceDirectoryAccountId_;
|
||||
}
|
||||
|
||||
void DescribeAlarmEventStackInfoRequest::setResourceDirectoryAccountId(long resourceDirectoryAccountId) {
|
||||
resourceDirectoryAccountId_ = resourceDirectoryAccountId;
|
||||
setParameter(std::string("ResourceDirectoryAccountId"), std::to_string(resourceDirectoryAccountId));
|
||||
}
|
||||
|
||||
std::string DescribeAlarmEventStackInfoRequest::getUniqueInfo() const {
|
||||
return uniqueInfo_;
|
||||
}
|
||||
|
||||
@@ -61,6 +61,8 @@ void DescribeAntiBruteForceRulesResult::parse(const std::string &payload)
|
||||
rulesObject.id = std::stol(valueRulesAntiBruteForceRule["Id"].asString());
|
||||
if(!valueRulesAntiBruteForceRule["CreateTime"].isNull())
|
||||
rulesObject.createTime = valueRulesAntiBruteForceRule["CreateTime"].asString();
|
||||
if(!valueRulesAntiBruteForceRule["CreateTimestamp"].isNull())
|
||||
rulesObject.createTimestamp = std::stol(valueRulesAntiBruteForceRule["CreateTimestamp"].asString());
|
||||
auto allUuidList = value["UuidList"]["uuid"];
|
||||
for (auto value : allUuidList)
|
||||
rulesObject.uuidList.push_back(value.asString());
|
||||
|
||||
@@ -43,6 +43,15 @@ void DescribeAssetDetailByUuidsRequest::setLang(const std::string &lang) {
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
long DescribeAssetDetailByUuidsRequest::getResourceDirectoryAccountId() const {
|
||||
return resourceDirectoryAccountId_;
|
||||
}
|
||||
|
||||
void DescribeAssetDetailByUuidsRequest::setResourceDirectoryAccountId(long resourceDirectoryAccountId) {
|
||||
resourceDirectoryAccountId_ = resourceDirectoryAccountId;
|
||||
setParameter(std::string("ResourceDirectoryAccountId"), std::to_string(resourceDirectoryAccountId));
|
||||
}
|
||||
|
||||
std::string DescribeAssetDetailByUuidsRequest::getUuids() const {
|
||||
return uuids_;
|
||||
}
|
||||
|
||||
@@ -70,6 +70,15 @@ void DescribeCloudCenterInstancesRequest::setNoPage(bool noPage) {
|
||||
setParameter(std::string("NoPage"), noPage ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeCloudCenterInstancesRequest::getNextToken() const {
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void DescribeCloudCenterInstancesRequest::setNextToken(const std::string &nextToken) {
|
||||
nextToken_ = nextToken;
|
||||
setParameter(std::string("NextToken"), nextToken);
|
||||
}
|
||||
|
||||
int DescribeCloudCenterInstancesRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
@@ -97,13 +106,22 @@ void DescribeCloudCenterInstancesRequest::setLang(const std::string &lang) {
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
std::string DescribeCloudCenterInstancesRequest::getResourceDirectoryAccountId() const {
|
||||
long DescribeCloudCenterInstancesRequest::getResourceDirectoryAccountId() const {
|
||||
return resourceDirectoryAccountId_;
|
||||
}
|
||||
|
||||
void DescribeCloudCenterInstancesRequest::setResourceDirectoryAccountId(const std::string &resourceDirectoryAccountId) {
|
||||
void DescribeCloudCenterInstancesRequest::setResourceDirectoryAccountId(long resourceDirectoryAccountId) {
|
||||
resourceDirectoryAccountId_ = resourceDirectoryAccountId;
|
||||
setParameter(std::string("ResourceDirectoryAccountId"), resourceDirectoryAccountId);
|
||||
setParameter(std::string("ResourceDirectoryAccountId"), std::to_string(resourceDirectoryAccountId));
|
||||
}
|
||||
|
||||
bool DescribeCloudCenterInstancesRequest::getUseNextToken() const {
|
||||
return useNextToken_;
|
||||
}
|
||||
|
||||
void DescribeCloudCenterInstancesRequest::setUseNextToken(bool useNextToken) {
|
||||
useNextToken_ = useNextToken;
|
||||
setParameter(std::string("UseNextToken"), useNextToken ? "true" : "false");
|
||||
}
|
||||
|
||||
int DescribeCloudCenterInstancesRequest::getCurrentPage() const {
|
||||
|
||||
@@ -148,6 +148,8 @@ void DescribeCloudCenterInstancesResult::parse(const std::string &payload)
|
||||
pageInfo_.totalCount = std::stoi(pageInfoNode["TotalCount"].asString());
|
||||
if(!pageInfoNode["Count"].isNull())
|
||||
pageInfo_.count = std::stoi(pageInfoNode["Count"].asString());
|
||||
if(!pageInfoNode["NextToken"].isNull())
|
||||
pageInfo_.nextToken = pageInfoNode["NextToken"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
|
||||
@@ -101,6 +101,10 @@ void DescribeContainerInstancesResult::parse(const std::string &payload)
|
||||
containerInstanceListObject.alarmCount = std::stoi(valueContainerInstanceListContainerInstance["AlarmCount"].asString());
|
||||
if(!valueContainerInstanceListContainerInstance["CreateTimestamp"].isNull())
|
||||
containerInstanceListObject.createTimestamp = std::stol(valueContainerInstanceListContainerInstance["CreateTimestamp"].asString());
|
||||
if(!valueContainerInstanceListContainerInstance["Exposed"].isNull())
|
||||
containerInstanceListObject.exposed = std::stoi(valueContainerInstanceListContainerInstance["Exposed"].asString());
|
||||
if(!valueContainerInstanceListContainerInstance["ExposedDetail"].isNull())
|
||||
containerInstanceListObject.exposedDetail = valueContainerInstanceListContainerInstance["ExposedDetail"].asString();
|
||||
containerInstanceList_.push_back(containerInstanceListObject);
|
||||
}
|
||||
auto pageInfoNode = value["PageInfo"];
|
||||
|
||||
@@ -25,15 +25,6 @@ DescribeFieldStatisticsRequest::DescribeFieldStatisticsRequest()
|
||||
|
||||
DescribeFieldStatisticsRequest::~DescribeFieldStatisticsRequest() {}
|
||||
|
||||
std::string DescribeFieldStatisticsRequest::getMachineTypes() const {
|
||||
return machineTypes_;
|
||||
}
|
||||
|
||||
void DescribeFieldStatisticsRequest::setMachineTypes(const std::string &machineTypes) {
|
||||
machineTypes_ = machineTypes;
|
||||
setParameter(std::string("MachineTypes"), machineTypes);
|
||||
}
|
||||
|
||||
std::string DescribeFieldStatisticsRequest::getSourceIp() const {
|
||||
return sourceIp_;
|
||||
}
|
||||
@@ -52,3 +43,21 @@ void DescribeFieldStatisticsRequest::setRegionId(const std::string ®ionId) {
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
long DescribeFieldStatisticsRequest::getResourceDirectoryAccountId() const {
|
||||
return resourceDirectoryAccountId_;
|
||||
}
|
||||
|
||||
void DescribeFieldStatisticsRequest::setResourceDirectoryAccountId(long resourceDirectoryAccountId) {
|
||||
resourceDirectoryAccountId_ = resourceDirectoryAccountId;
|
||||
setParameter(std::string("ResourceDirectoryAccountId"), std::to_string(resourceDirectoryAccountId));
|
||||
}
|
||||
|
||||
std::string DescribeFieldStatisticsRequest::getMachineTypes() const {
|
||||
return machineTypes_;
|
||||
}
|
||||
|
||||
void DescribeFieldStatisticsRequest::setMachineTypes(const std::string &machineTypes) {
|
||||
machineTypes_ = machineTypes;
|
||||
setParameter(std::string("MachineTypes"), machineTypes);
|
||||
}
|
||||
|
||||
|
||||
@@ -59,6 +59,8 @@ void DescribeGroupedInstancesResult::parse(const std::string &payload)
|
||||
instancesObject.groupFlag = std::stoi(valueInstancesInstance["GroupFlag"].asString());
|
||||
if(!valueInstancesInstance["AuthVersionCheckCount"].isNull())
|
||||
instancesObject.authVersionCheckCount = std::stoi(valueInstancesInstance["AuthVersionCheckCount"].asString());
|
||||
if(!valueInstancesInstance["Os"].isNull())
|
||||
instancesObject.os = valueInstancesInstance["Os"].asString();
|
||||
auto allGroupPath = value["GroupPath"]["groupPath"];
|
||||
for (auto value : allGroupPath)
|
||||
instancesObject.groupPath.push_back(value.asString());
|
||||
|
||||
@@ -241,6 +241,15 @@ void DescribeGroupedVulRequest::setLastTsStart(long lastTsStart) {
|
||||
setParameter(std::string("LastTsStart"), std::to_string(lastTsStart));
|
||||
}
|
||||
|
||||
long DescribeGroupedVulRequest::getResourceDirectoryAccountId() const {
|
||||
return resourceDirectoryAccountId_;
|
||||
}
|
||||
|
||||
void DescribeGroupedVulRequest::setResourceDirectoryAccountId(long resourceDirectoryAccountId) {
|
||||
resourceDirectoryAccountId_ = resourceDirectoryAccountId;
|
||||
setParameter(std::string("ResourceDirectoryAccountId"), std::to_string(resourceDirectoryAccountId));
|
||||
}
|
||||
|
||||
std::string DescribeGroupedVulRequest::getAssetType() const {
|
||||
return assetType_;
|
||||
}
|
||||
|
||||
63
sas/src/model/DescribeImageVulWhiteListRequest.cc
Normal file
63
sas/src/model/DescribeImageVulWhiteListRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/DescribeImageVulWhiteListRequest.h>
|
||||
|
||||
using AlibabaCloud::Sas::Model::DescribeImageVulWhiteListRequest;
|
||||
|
||||
DescribeImageVulWhiteListRequest::DescribeImageVulWhiteListRequest()
|
||||
: RpcServiceRequest("sas", "2018-12-03", "DescribeImageVulWhiteList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeImageVulWhiteListRequest::~DescribeImageVulWhiteListRequest() {}
|
||||
|
||||
int DescribeImageVulWhiteListRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeImageVulWhiteListRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeImageVulWhiteListRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeImageVulWhiteListRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
int DescribeImageVulWhiteListRequest::getCurrentPage() const {
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void DescribeImageVulWhiteListRequest::setCurrentPage(int currentPage) {
|
||||
currentPage_ = currentPage;
|
||||
setParameter(std::string("CurrentPage"), std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribeImageVulWhiteListRequest::getAliasName() const {
|
||||
return aliasName_;
|
||||
}
|
||||
|
||||
void DescribeImageVulWhiteListRequest::setAliasName(const std::string &aliasName) {
|
||||
aliasName_ = aliasName;
|
||||
setParameter(std::string("AliasName"), aliasName);
|
||||
}
|
||||
|
||||
116
sas/src/model/DescribeImageVulWhiteListResult.cc
Normal file
116
sas/src/model/DescribeImageVulWhiteListResult.cc
Normal file
@@ -0,0 +1,116 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/DescribeImageVulWhiteListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Sas;
|
||||
using namespace AlibabaCloud::Sas::Model;
|
||||
|
||||
DescribeImageVulWhiteListResult::DescribeImageVulWhiteListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeImageVulWhiteListResult::DescribeImageVulWhiteListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeImageVulWhiteListResult::~DescribeImageVulWhiteListResult()
|
||||
{}
|
||||
|
||||
void DescribeImageVulWhiteListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allImageVulWhitelistNode = value["ImageVulWhitelist"]["VulList"];
|
||||
for (auto valueImageVulWhitelistVulList : allImageVulWhitelistNode)
|
||||
{
|
||||
VulList imageVulWhitelistObject;
|
||||
if(!valueImageVulWhitelistVulList["Name"].isNull())
|
||||
imageVulWhitelistObject.name = valueImageVulWhitelistVulList["Name"].asString();
|
||||
if(!valueImageVulWhitelistVulList["AliasName"].isNull())
|
||||
imageVulWhitelistObject.aliasName = valueImageVulWhitelistVulList["AliasName"].asString();
|
||||
if(!valueImageVulWhitelistVulList["Target"].isNull())
|
||||
imageVulWhitelistObject.target = valueImageVulWhitelistVulList["Target"].asString();
|
||||
if(!valueImageVulWhitelistVulList["Reason"].isNull())
|
||||
imageVulWhitelistObject.reason = valueImageVulWhitelistVulList["Reason"].asString();
|
||||
if(!valueImageVulWhitelistVulList["Type"].isNull())
|
||||
imageVulWhitelistObject.type = valueImageVulWhitelistVulList["Type"].asString();
|
||||
if(!valueImageVulWhitelistVulList["Id"].isNull())
|
||||
imageVulWhitelistObject.id = std::stol(valueImageVulWhitelistVulList["Id"].asString());
|
||||
imageVulWhitelist_.push_back(imageVulWhitelistObject);
|
||||
}
|
||||
auto pageInfoNode = value["PageInfo"];
|
||||
if(!pageInfoNode["CurrentPage"].isNull())
|
||||
pageInfo_.currentPage = std::stoi(pageInfoNode["CurrentPage"].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["Count"].isNull())
|
||||
pageInfo_.count = std::stoi(pageInfoNode["Count"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["TimeCost"].isNull())
|
||||
timeCost_ = std::stol(value["TimeCost"].asString());
|
||||
|
||||
}
|
||||
|
||||
DescribeImageVulWhiteListResult::PageInfo DescribeImageVulWhiteListResult::getPageInfo()const
|
||||
{
|
||||
return pageInfo_;
|
||||
}
|
||||
|
||||
std::string DescribeImageVulWhiteListResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int DescribeImageVulWhiteListResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
long DescribeImageVulWhiteListResult::getTimeCost()const
|
||||
{
|
||||
return timeCost_;
|
||||
}
|
||||
|
||||
std::string DescribeImageVulWhiteListResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool DescribeImageVulWhiteListResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::vector<DescribeImageVulWhiteListResult::VulList> DescribeImageVulWhiteListResult::getImageVulWhitelist()const
|
||||
{
|
||||
return imageVulWhitelist_;
|
||||
}
|
||||
|
||||
45
sas/src/model/DescribeMonitorAccountsRequest.cc
Normal file
45
sas/src/model/DescribeMonitorAccountsRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/DescribeMonitorAccountsRequest.h>
|
||||
|
||||
using AlibabaCloud::Sas::Model::DescribeMonitorAccountsRequest;
|
||||
|
||||
DescribeMonitorAccountsRequest::DescribeMonitorAccountsRequest()
|
||||
: RpcServiceRequest("sas", "2018-12-03", "DescribeMonitorAccounts") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeMonitorAccountsRequest::~DescribeMonitorAccountsRequest() {}
|
||||
|
||||
std::string DescribeMonitorAccountsRequest::getSourceIp() const {
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DescribeMonitorAccountsRequest::setSourceIp(const std::string &sourceIp) {
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter(std::string("SourceIp"), sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeMonitorAccountsRequest::getAccountIds() const {
|
||||
return accountIds_;
|
||||
}
|
||||
|
||||
void DescribeMonitorAccountsRequest::setAccountIds(const std::string &accountIds) {
|
||||
accountIds_ = accountIds;
|
||||
setParameter(std::string("AccountIds"), accountIds);
|
||||
}
|
||||
|
||||
52
sas/src/model/DescribeMonitorAccountsResult.cc
Normal file
52
sas/src/model/DescribeMonitorAccountsResult.cc
Normal file
@@ -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 <alibabacloud/sas/model/DescribeMonitorAccountsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Sas;
|
||||
using namespace AlibabaCloud::Sas::Model;
|
||||
|
||||
DescribeMonitorAccountsResult::DescribeMonitorAccountsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeMonitorAccountsResult::DescribeMonitorAccountsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeMonitorAccountsResult::~DescribeMonitorAccountsResult()
|
||||
{}
|
||||
|
||||
void DescribeMonitorAccountsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allAccountIds = value["AccountIds"]["AccountId"];
|
||||
for (const auto &item : allAccountIds)
|
||||
accountIds_.push_back(item.asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeMonitorAccountsResult::getAccountIds()const
|
||||
{
|
||||
return accountIds_;
|
||||
}
|
||||
|
||||
81
sas/src/model/DescribeSecurityEventMarkMissListRequest.cc
Normal file
81
sas/src/model/DescribeSecurityEventMarkMissListRequest.cc
Normal file
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/DescribeSecurityEventMarkMissListRequest.h>
|
||||
|
||||
using AlibabaCloud::Sas::Model::DescribeSecurityEventMarkMissListRequest;
|
||||
|
||||
DescribeSecurityEventMarkMissListRequest::DescribeSecurityEventMarkMissListRequest()
|
||||
: RpcServiceRequest("sas", "2018-12-03", "DescribeSecurityEventMarkMissList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeSecurityEventMarkMissListRequest::~DescribeSecurityEventMarkMissListRequest() {}
|
||||
|
||||
long DescribeSecurityEventMarkMissListRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeSecurityEventMarkMissListRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeSecurityEventMarkMissListRequest::getRemark() const {
|
||||
return remark_;
|
||||
}
|
||||
|
||||
void DescribeSecurityEventMarkMissListRequest::setRemark(const std::string &remark) {
|
||||
remark_ = remark;
|
||||
setParameter(std::string("Remark"), remark);
|
||||
}
|
||||
|
||||
std::string DescribeSecurityEventMarkMissListRequest::getEventName() const {
|
||||
return eventName_;
|
||||
}
|
||||
|
||||
void DescribeSecurityEventMarkMissListRequest::setEventName(const std::string &eventName) {
|
||||
eventName_ = eventName;
|
||||
setParameter(std::string("EventName"), eventName);
|
||||
}
|
||||
|
||||
std::string DescribeSecurityEventMarkMissListRequest::getSourceIp() const {
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DescribeSecurityEventMarkMissListRequest::setSourceIp(const std::string &sourceIp) {
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter(std::string("SourceIp"), sourceIp);
|
||||
}
|
||||
|
||||
int DescribeSecurityEventMarkMissListRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeSecurityEventMarkMissListRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
int DescribeSecurityEventMarkMissListRequest::getCurrentPage() const {
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void DescribeSecurityEventMarkMissListRequest::setCurrentPage(int currentPage) {
|
||||
currentPage_ = currentPage;
|
||||
setParameter(std::string("CurrentPage"), std::to_string(currentPage));
|
||||
}
|
||||
|
||||
99
sas/src/model/DescribeSecurityEventMarkMissListResult.cc
Normal file
99
sas/src/model/DescribeSecurityEventMarkMissListResult.cc
Normal file
@@ -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 <alibabacloud/sas/model/DescribeSecurityEventMarkMissListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Sas;
|
||||
using namespace AlibabaCloud::Sas::Model;
|
||||
|
||||
DescribeSecurityEventMarkMissListResult::DescribeSecurityEventMarkMissListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeSecurityEventMarkMissListResult::DescribeSecurityEventMarkMissListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeSecurityEventMarkMissListResult::~DescribeSecurityEventMarkMissListResult()
|
||||
{}
|
||||
|
||||
void DescribeSecurityEventMarkMissListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allListNode = value["List"]["SecurityEventMarkMissReponse"];
|
||||
for (auto valueListSecurityEventMarkMissReponse : allListNode)
|
||||
{
|
||||
SecurityEventMarkMissReponse listObject;
|
||||
if(!valueListSecurityEventMarkMissReponse["EventName"].isNull())
|
||||
listObject.eventName = valueListSecurityEventMarkMissReponse["EventName"].asString();
|
||||
if(!valueListSecurityEventMarkMissReponse["InternetIp"].isNull())
|
||||
listObject.internetIp = valueListSecurityEventMarkMissReponse["InternetIp"].asString();
|
||||
if(!valueListSecurityEventMarkMissReponse["EventNameOriginal"].isNull())
|
||||
listObject.eventNameOriginal = valueListSecurityEventMarkMissReponse["EventNameOriginal"].asString();
|
||||
if(!valueListSecurityEventMarkMissReponse["AliUid"].isNull())
|
||||
listObject.aliUid = std::stol(valueListSecurityEventMarkMissReponse["AliUid"].asString());
|
||||
if(!valueListSecurityEventMarkMissReponse["FieldValue"].isNull())
|
||||
listObject.fieldValue = valueListSecurityEventMarkMissReponse["FieldValue"].asString();
|
||||
if(!valueListSecurityEventMarkMissReponse["InstanceId"].isNull())
|
||||
listObject.instanceId = valueListSecurityEventMarkMissReponse["InstanceId"].asString();
|
||||
if(!valueListSecurityEventMarkMissReponse["Field"].isNull())
|
||||
listObject.field = valueListSecurityEventMarkMissReponse["Field"].asString();
|
||||
if(!valueListSecurityEventMarkMissReponse["IntranetIp"].isNull())
|
||||
listObject.intranetIp = valueListSecurityEventMarkMissReponse["IntranetIp"].asString();
|
||||
if(!valueListSecurityEventMarkMissReponse["FiledAliasName"].isNull())
|
||||
listObject.filedAliasName = valueListSecurityEventMarkMissReponse["FiledAliasName"].asString();
|
||||
if(!valueListSecurityEventMarkMissReponse["Uuid"].isNull())
|
||||
listObject.uuid = valueListSecurityEventMarkMissReponse["Uuid"].asString();
|
||||
if(!valueListSecurityEventMarkMissReponse["Operate"].isNull())
|
||||
listObject.operate = valueListSecurityEventMarkMissReponse["Operate"].asString();
|
||||
if(!valueListSecurityEventMarkMissReponse["EventTypeOriginal"].isNull())
|
||||
listObject.eventTypeOriginal = valueListSecurityEventMarkMissReponse["EventTypeOriginal"].asString();
|
||||
if(!valueListSecurityEventMarkMissReponse["EventType"].isNull())
|
||||
listObject.eventType = valueListSecurityEventMarkMissReponse["EventType"].asString();
|
||||
if(!valueListSecurityEventMarkMissReponse["InstanceName"].isNull())
|
||||
listObject.instanceName = valueListSecurityEventMarkMissReponse["InstanceName"].asString();
|
||||
if(!valueListSecurityEventMarkMissReponse["Id"].isNull())
|
||||
listObject.id = std::stol(valueListSecurityEventMarkMissReponse["Id"].asString());
|
||||
list_.push_back(listObject);
|
||||
}
|
||||
auto pageInfoNode = value["PageInfo"];
|
||||
if(!pageInfoNode["CurrentPage"].isNull())
|
||||
pageInfo_.currentPage = std::stoi(pageInfoNode["CurrentPage"].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["Count"].isNull())
|
||||
pageInfo_.count = std::stoi(pageInfoNode["Count"].asString());
|
||||
|
||||
}
|
||||
|
||||
DescribeSecurityEventMarkMissListResult::PageInfo DescribeSecurityEventMarkMissListResult::getPageInfo()const
|
||||
{
|
||||
return pageInfo_;
|
||||
}
|
||||
|
||||
std::vector<DescribeSecurityEventMarkMissListResult::SecurityEventMarkMissReponse> DescribeSecurityEventMarkMissListResult::getList()const
|
||||
{
|
||||
return list_;
|
||||
}
|
||||
|
||||
@@ -52,6 +52,15 @@ void DescribeSuspEventDetailRequest::setLang(const std::string &lang) {
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
long DescribeSuspEventDetailRequest::getResourceDirectoryAccountId() const {
|
||||
return resourceDirectoryAccountId_;
|
||||
}
|
||||
|
||||
void DescribeSuspEventDetailRequest::setResourceDirectoryAccountId(long resourceDirectoryAccountId) {
|
||||
resourceDirectoryAccountId_ = resourceDirectoryAccountId;
|
||||
setParameter(std::string("ResourceDirectoryAccountId"), std::to_string(resourceDirectoryAccountId));
|
||||
}
|
||||
|
||||
int DescribeSuspEventDetailRequest::getSuspiciousEventId() const {
|
||||
return suspiciousEventId_;
|
||||
}
|
||||
|
||||
@@ -214,6 +214,15 @@ void DescribeSuspEventsRequest::setLang(const std::string &lang) {
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
long DescribeSuspEventsRequest::getResourceDirectoryAccountId() const {
|
||||
return resourceDirectoryAccountId_;
|
||||
}
|
||||
|
||||
void DescribeSuspEventsRequest::setResourceDirectoryAccountId(long resourceDirectoryAccountId) {
|
||||
resourceDirectoryAccountId_ = resourceDirectoryAccountId;
|
||||
setParameter(std::string("ResourceDirectoryAccountId"), std::to_string(resourceDirectoryAccountId));
|
||||
}
|
||||
|
||||
std::string DescribeSuspEventsRequest::getDealed() const {
|
||||
return dealed_;
|
||||
}
|
||||
|
||||
@@ -57,6 +57,8 @@ void DescribeUuidsByVulNamesResult::parse(const std::string &payload)
|
||||
machineInfoStatisticsObject.regionId = valueMachineInfoStatisticsMachineInfoStatistic["RegionId"].asString();
|
||||
machineInfoStatistics_.push_back(machineInfoStatisticsObject);
|
||||
}
|
||||
if(!value["VulCount"].isNull())
|
||||
vulCount_ = std::stoi(value["VulCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -65,3 +67,8 @@ std::vector<DescribeUuidsByVulNamesResult::MachineInfoStatistic> DescribeUuidsBy
|
||||
return machineInfoStatistics_;
|
||||
}
|
||||
|
||||
int DescribeUuidsByVulNamesResult::getVulCount()const
|
||||
{
|
||||
return vulCount_;
|
||||
}
|
||||
|
||||
|
||||
@@ -109,6 +109,14 @@ void DescribeVersionConfigResult::parse(const std::string &payload)
|
||||
isNewMultiVersion_ = value["IsNewMultiVersion"].asString() == "true";
|
||||
if(!value["ThreatAnalysisCapacity"].isNull())
|
||||
threatAnalysisCapacity_ = std::stol(value["ThreatAnalysisCapacity"].asString());
|
||||
if(!value["CspmCapacity"].isNull())
|
||||
cspmCapacity_ = std::stol(value["CspmCapacity"].asString());
|
||||
if(!value["VulFixCapacity"].isNull())
|
||||
vulFixCapacity_ = std::stol(value["VulFixCapacity"].asString());
|
||||
if(!value["RaspCapacity"].isNull())
|
||||
raspCapacity_ = std::stol(value["RaspCapacity"].asString());
|
||||
if(!value["AgentlessCapacity"].isNull())
|
||||
agentlessCapacity_ = std::stol(value["AgentlessCapacity"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -137,6 +145,11 @@ int DescribeVersionConfigResult::getLogTime()const
|
||||
return logTime_;
|
||||
}
|
||||
|
||||
long DescribeVersionConfigResult::getRaspCapacity()const
|
||||
{
|
||||
return raspCapacity_;
|
||||
}
|
||||
|
||||
int DescribeVersionConfigResult::getSasLog()const
|
||||
{
|
||||
return sasLog_;
|
||||
@@ -187,6 +200,11 @@ int DescribeVersionConfigResult::getAllowPartialBuy()const
|
||||
return allowPartialBuy_;
|
||||
}
|
||||
|
||||
long DescribeVersionConfigResult::getAgentlessCapacity()const
|
||||
{
|
||||
return agentlessCapacity_;
|
||||
}
|
||||
|
||||
int DescribeVersionConfigResult::getWebLock()const
|
||||
{
|
||||
return webLock_;
|
||||
@@ -212,6 +230,11 @@ long DescribeVersionConfigResult::getHoneypotCapacity()const
|
||||
return honeypotCapacity_;
|
||||
}
|
||||
|
||||
long DescribeVersionConfigResult::getVulFixCapacity()const
|
||||
{
|
||||
return vulFixCapacity_;
|
||||
}
|
||||
|
||||
int DescribeVersionConfigResult::getAssetLevel()const
|
||||
{
|
||||
return assetLevel_;
|
||||
@@ -237,6 +260,11 @@ int DescribeVersionConfigResult::getSasScreen()const
|
||||
return sasScreen_;
|
||||
}
|
||||
|
||||
long DescribeVersionConfigResult::getCspmCapacity()const
|
||||
{
|
||||
return cspmCapacity_;
|
||||
}
|
||||
|
||||
bool DescribeVersionConfigResult::getIsSasOpening()const
|
||||
{
|
||||
return isSasOpening_;
|
||||
|
||||
@@ -52,6 +52,15 @@ void DescribeVulDetailsRequest::setLang(const std::string &lang) {
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
long DescribeVulDetailsRequest::getResourceDirectoryAccountId() const {
|
||||
return resourceDirectoryAccountId_;
|
||||
}
|
||||
|
||||
void DescribeVulDetailsRequest::setResourceDirectoryAccountId(long resourceDirectoryAccountId) {
|
||||
resourceDirectoryAccountId_ = resourceDirectoryAccountId;
|
||||
setParameter(std::string("ResourceDirectoryAccountId"), std::to_string(resourceDirectoryAccountId));
|
||||
}
|
||||
|
||||
std::string DescribeVulDetailsRequest::getAliasName() const {
|
||||
return aliasName_;
|
||||
}
|
||||
|
||||
@@ -277,6 +277,15 @@ void DescribeVulListRequest::setLang(const std::string &lang) {
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
long DescribeVulListRequest::getResourceDirectoryAccountId() const {
|
||||
return resourceDirectoryAccountId_;
|
||||
}
|
||||
|
||||
void DescribeVulListRequest::setResourceDirectoryAccountId(long resourceDirectoryAccountId) {
|
||||
resourceDirectoryAccountId_ = resourceDirectoryAccountId;
|
||||
setParameter(std::string("ResourceDirectoryAccountId"), std::to_string(resourceDirectoryAccountId));
|
||||
}
|
||||
|
||||
std::string DescribeVulListRequest::getAssetType() const {
|
||||
return assetType_;
|
||||
}
|
||||
|
||||
36
sas/src/model/GetAgentlessTaskCountRequest.cc
Normal file
36
sas/src/model/GetAgentlessTaskCountRequest.cc
Normal file
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/GetAgentlessTaskCountRequest.h>
|
||||
|
||||
using AlibabaCloud::Sas::Model::GetAgentlessTaskCountRequest;
|
||||
|
||||
GetAgentlessTaskCountRequest::GetAgentlessTaskCountRequest()
|
||||
: RpcServiceRequest("sas", "2018-12-03", "GetAgentlessTaskCount") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAgentlessTaskCountRequest::~GetAgentlessTaskCountRequest() {}
|
||||
|
||||
std::string GetAgentlessTaskCountRequest::getSourceIp() const {
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void GetAgentlessTaskCountRequest::setSourceIp(const std::string &sourceIp) {
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter(std::string("SourceIp"), sourceIp);
|
||||
}
|
||||
|
||||
100
sas/src/model/GetAgentlessTaskCountResult.cc
Normal file
100
sas/src/model/GetAgentlessTaskCountResult.cc
Normal file
@@ -0,0 +1,100 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/GetAgentlessTaskCountResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Sas;
|
||||
using namespace AlibabaCloud::Sas::Model;
|
||||
|
||||
GetAgentlessTaskCountResult::GetAgentlessTaskCountResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetAgentlessTaskCountResult::GetAgentlessTaskCountResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetAgentlessTaskCountResult::~GetAgentlessTaskCountResult()
|
||||
{}
|
||||
|
||||
void GetAgentlessTaskCountResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["RiskMachine"].isNull())
|
||||
riskMachine_ = std::stoi(value["RiskMachine"].asString());
|
||||
if(!value["ScanMachine"].isNull())
|
||||
scanMachine_ = std::stoi(value["ScanMachine"].asString());
|
||||
if(!value["MaliciousFile"].isNull())
|
||||
maliciousFile_ = std::stoi(value["MaliciousFile"].asString());
|
||||
if(!value["Vulnerability"].isNull())
|
||||
vulnerability_ = std::stoi(value["Vulnerability"].asString());
|
||||
if(!value["LastTaskTime"].isNull())
|
||||
lastTaskTime_ = std::stol(value["LastTaskTime"].asString());
|
||||
if(!value["BaselineCheckCount"].isNull())
|
||||
baselineCheckCount_ = std::stoi(value["BaselineCheckCount"].asString());
|
||||
if(!value["ScaVulCount"].isNull())
|
||||
scaVulCount_ = std::stoi(value["ScaVulCount"].asString());
|
||||
if(!value["CveVulCount"].isNull())
|
||||
cveVulCount_ = std::stoi(value["CveVulCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
int GetAgentlessTaskCountResult::getBaselineCheckCount()const
|
||||
{
|
||||
return baselineCheckCount_;
|
||||
}
|
||||
|
||||
int GetAgentlessTaskCountResult::getMaliciousFile()const
|
||||
{
|
||||
return maliciousFile_;
|
||||
}
|
||||
|
||||
long GetAgentlessTaskCountResult::getLastTaskTime()const
|
||||
{
|
||||
return lastTaskTime_;
|
||||
}
|
||||
|
||||
int GetAgentlessTaskCountResult::getCveVulCount()const
|
||||
{
|
||||
return cveVulCount_;
|
||||
}
|
||||
|
||||
int GetAgentlessTaskCountResult::getVulnerability()const
|
||||
{
|
||||
return vulnerability_;
|
||||
}
|
||||
|
||||
int GetAgentlessTaskCountResult::getScaVulCount()const
|
||||
{
|
||||
return scaVulCount_;
|
||||
}
|
||||
|
||||
int GetAgentlessTaskCountResult::getRiskMachine()const
|
||||
{
|
||||
return riskMachine_;
|
||||
}
|
||||
|
||||
int GetAgentlessTaskCountResult::getScanMachine()const
|
||||
{
|
||||
return scanMachine_;
|
||||
}
|
||||
|
||||
@@ -39,21 +39,31 @@ void GetCheckConfigResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allStandardsNode = value["Standards"]["StandardsItem"];
|
||||
for (auto valueStandardsStandardsItem : allStandardsNode)
|
||||
auto allStandardsNode = value["Standards"]["Standard"];
|
||||
for (auto valueStandardsStandard : allStandardsNode)
|
||||
{
|
||||
StandardsItem standardsObject;
|
||||
if(!valueStandardsStandardsItem["Id"].isNull())
|
||||
standardsObject.id = std::stol(valueStandardsStandardsItem["Id"].asString());
|
||||
if(!valueStandardsStandardsItem["ShowName"].isNull())
|
||||
standardsObject.showName = valueStandardsStandardsItem["ShowName"].asString();
|
||||
if(!valueStandardsStandardsItem["Type"].isNull())
|
||||
standardsObject.type = valueStandardsStandardsItem["Type"].asString();
|
||||
if(!valueStandardsStandardsItem["Status"].isNull())
|
||||
standardsObject.status = valueStandardsStandardsItem["Status"].asString();
|
||||
Standard standardsObject;
|
||||
if(!valueStandardsStandard["Id"].isNull())
|
||||
standardsObject.id = std::stol(valueStandardsStandard["Id"].asString());
|
||||
if(!valueStandardsStandard["ShowName"].isNull())
|
||||
standardsObject.showName = valueStandardsStandard["ShowName"].asString();
|
||||
if(!valueStandardsStandard["Type"].isNull())
|
||||
standardsObject.type = valueStandardsStandard["Type"].asString();
|
||||
if(!valueStandardsStandard["Status"].isNull())
|
||||
standardsObject.status = valueStandardsStandard["Status"].asString();
|
||||
standards_.push_back(standardsObject);
|
||||
}
|
||||
auto allCycleDays = value["CycleDays"]["CycleDays"];
|
||||
auto allSelectedChecksNode = value["SelectedChecks"]["SelectedCheck"];
|
||||
for (auto valueSelectedChecksSelectedCheck : allSelectedChecksNode)
|
||||
{
|
||||
SelectedCheck selectedChecksObject;
|
||||
if(!valueSelectedChecksSelectedCheck["CheckId"].isNull())
|
||||
selectedChecksObject.checkId = std::stol(valueSelectedChecksSelectedCheck["CheckId"].asString());
|
||||
if(!valueSelectedChecksSelectedCheck["SectionId"].isNull())
|
||||
selectedChecksObject.sectionId = std::stol(valueSelectedChecksSelectedCheck["SectionId"].asString());
|
||||
selectedChecks_.push_back(selectedChecksObject);
|
||||
}
|
||||
auto allCycleDays = value["CycleDays"]["CycleDay"];
|
||||
for (const auto &item : allCycleDays)
|
||||
cycleDays_.push_back(item.asString());
|
||||
if(!value["StartTime"].isNull())
|
||||
@@ -62,19 +72,38 @@ void GetCheckConfigResult::parse(const std::string &payload)
|
||||
endTime_ = std::stoi(value["EndTime"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
if(!value["EnableAutoCheck"].isNull())
|
||||
enableAutoCheck_ = value["EnableAutoCheck"].asString() == "true";
|
||||
if(!value["EnableAddCheck"].isNull())
|
||||
enableAddCheck_ = value["EnableAddCheck"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::vector<GetCheckConfigResult::SelectedCheck> GetCheckConfigResult::getSelectedChecks()const
|
||||
{
|
||||
return selectedChecks_;
|
||||
}
|
||||
|
||||
int GetCheckConfigResult::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
bool GetCheckConfigResult::getEnableAutoCheck()const
|
||||
{
|
||||
return enableAutoCheck_;
|
||||
}
|
||||
|
||||
std::vector<std::string> GetCheckConfigResult::getCycleDays()const
|
||||
{
|
||||
return cycleDays_;
|
||||
}
|
||||
|
||||
bool GetCheckConfigResult::getEnableAddCheck()const
|
||||
{
|
||||
return enableAddCheck_;
|
||||
}
|
||||
|
||||
int GetCheckConfigResult::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
@@ -85,7 +114,7 @@ std::string GetCheckConfigResult::getData()const
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::vector<GetCheckConfigResult::StandardsItem> GetCheckConfigResult::getStandards()const
|
||||
std::vector<GetCheckConfigResult::Standard> GetCheckConfigResult::getStandards()const
|
||||
{
|
||||
return standards_;
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user